From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: "Which function for creating the link? Date: Thu, 02 Mar 2017 11:01:29 -0500 Message-ID: <87y3wnsm5i.fsf@alphaville.usersys.redhat.com> References: <97aef9c09931431a8f71427e73567741@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87tw7bkh1f.fsf@ucl.ac.uk> <8737evx1uw.fsf@mat.ucm.es> 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]:45038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjTAw-0001c8-11 for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 11:01:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjTAs-0003yG-Rz for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 11:01:54 -0500 Received: from [195.159.176.226] (port=57055 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjTAs-0003y1-MY for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 11:01:50 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cjTAb-0005J6-J2 for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 17:01:33 +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 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). Try emacs -q -l /path/to/minimal.el 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. > > 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. -- Nick