emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: Re: "Which function for creating the link?
Date: Thu, 02 Mar 2017 13:20:37 +0000	[thread overview]
Message-ID: <8737evx1uw.fsf@mat.ucm.es> (raw)
In-Reply-To: 87tw7bkh1f.fsf@ucl.ac.uk

>>> "Eric" == Eric S Fraga <e.fraga@ucl.ac.uk> 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 

  reply	other threads:[~2017-03-02 13:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <97aef9c09931431a8f71427e73567741@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-03-02 12:19 ` "Which function for creating the link? Eric S Fraga
2017-03-02 13:20   ` Uwe Brauer [this message]
2017-03-02 15:57     ` the evil org-store-link-functions variable (was: "Which function for creating the link?) Uwe Brauer
2017-03-02 18:03       ` the evil org-store-link-functions variable Nick Dokos
2017-03-02 18:40         ` Uwe Brauer
2017-03-02 16:01     ` "Which function for creating the link? Nick Dokos
2017-03-02 16:11       ` Uwe Brauer
2017-03-02 18:12         ` Nick Dokos
2017-03-02 16:23       ` Uwe Brauer
2017-03-02 17:46         ` Eric Abrahamsen
2017-03-02 18:38           ` Uwe Brauer
2017-03-02 21:05             ` Eric Abrahamsen
     [not found]     ` <68f9b6ff8e1e435cb7318f4041a30c4b@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-03-02 16:38       ` the evil org-store-link-functions variable Eric S Fraga
2017-03-02 16:41       ` Eric S Fraga
2017-03-02 17:40         ` Uwe Brauer
2017-03-02 18:39         ` Uwe Brauer
     [not found]         ` <e1bc522b85a045338b8d74ef58c49c0c@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-03-03  6:41           ` Eric S Fraga
     [not found]   ` <0ad9ff963915495a8a3923603db96aac@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-03-02 14:24     ` "Which function for creating the link? Eric S Fraga
2017-03-02 11:38 Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8737evx1uw.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).