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 13:20:37 +0000 Message-ID: <8737evx1uw.fsf@mat.ucm.es> References: <97aef9c09931431a8f71427e73567741@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87tw7bkh1f.fsf@ucl.ac.uk> 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]:49680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjQf6-0004RP-CS for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 08:20:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjQf2-000445-3e for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 08:20:52 -0500 Received: from [195.159.176.226] (port=46148 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjQf1-00043H-T9 for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 08:20:48 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cjQer-0007IU-Vg for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 14:20:37 +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 >>> "Eric" == Eric S Fraga writes: > On Thursday, 2 Mar 2017 at 11:38, Uwe Brauer wrote: >> Hi >> >> When I try to open some messages[1] the minibuffer pops up asking >> orglist >> "Which function for creating the link? > Maybe give a bit more context? What messages? How is this related to > org? Hm I am using gnus. For example your message which I read via gmane in the newsgroup gmane.emacs.orgmode I hit enter or space, which I always do in order to read message via gnus and again the minibuffer poped up with this question. I searched my elpa archive and the only place where such a question is asked is in (defun org-store-link Now I don't understand why this function is called nor do I understand why this question is asked without having set any variable. Hm I have to search my init files, Ok found it (add-hook 'gnus-select-article-hook 'my-org-store-link-simple) (defun my-org-store-link-simple () "Translate TeX commands to png generated by org-preview-latex-fragment into overlays or extents." (interactive) (call-interactively 'org-store-link)) But the funny part is: if I call org-store-link directly, *no* question is asked about mairix, So what do I have to do to get rid of the question, could org-gnus-prefer-web-links be the culprit? org-gnus-prefer-web-links is a variable defined in ‘org-gnus.el’. Its value is t Hm I debugged org-store-link, which was a considerable ordeal, and it seems it is this 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?? I have the feeling that this is relatively new (say from 2016). Regards Uwe Brauer