From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: "Which function for creating the link? Date: Thu, 02 Mar 2017 16:11:01 +0000 Message-ID: <87y3wnhd62.fsf@mat.ucm.es> References: <97aef9c09931431a8f71427e73567741@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87tw7bkh1f.fsf@ucl.ac.uk> <8737evx1uw.fsf@mat.ucm.es> <87y3wnsm5i.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjUOW-0002r4-Cu for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 12:20:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjUOS-0007cd-6b for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 12:20:00 -0500 Received: from [195.159.176.226] (port=45785 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjUOR-0007cI-WD for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 12:19:56 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cjTJt-0000uu-Ec for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 17:11:09 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org >>> "Nick" == Nick Dokos writes: > Uwe Brauer writes: >> org-store-link-functions is a variable defined in ‘org.el’. >> Its value is >> >> >> (org-mairix-store-gnus-link org-rmail-store-link org-mhe-store-link >> org-irc-store-link org-info-store-link org-gnus-store-link >> org-docview-store-link org-bibtex-store-link org-bbdb-store-link >> org-w3m-store-link) >> >> And org-store link takes the first entry. I prefer him to take >> org-gnus-store-link instead, how can I do this?? >> > You are probably either loading explicitly org-mairix (from contrib) > or requiring 'org-mairix (explicitly or implicitly). That is my feeling too, but I greped org-mairix in all my lisp files, and found nothing. > Try > emacs -q -l /path/to/minimal.el I am not sure what minimal.el is supposed to be, but emacs -q I might try. > and evaluate > (org-store-link-functions) > The returned list should not contain org-mairix-store-gnus-link. > Then > (load-file "/path/to/org-mode/contrib/lisp/org-mairix.el") > and evaluate > (org-store-link-functions) > The returned list will now contain org-mairix-store-gnus-link. > If you cannot find the place where org-mairix gets loaded (e.g with > find and grep), by using this method, you could bisect through your > init files to find it. Yeah I was hoping to avoid this, but maybe I have to do it sigh. >> >> I have the feeling that this is relatively new (say from 2016). > I don't know why you are seeing it now, but I don't think anything > has changed in the mairix space for years. Yes but there is a change proposed by John Kitchin which makes my suspicious https://lists.gnu.org/archive/html/emacs-orgmode/2016-07/msg00047.html Uwe