emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] the evil org-store-link-functions variable


From: Nick Dokos
Subject: Re: [O] the evil org-store-link-functions variable
Date: Thu, 02 Mar 2017 13:03:19 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Uwe Brauer <address@hidden> writes:

> Hi
>
> I have even put in my init file
> (setq org-store-link-functions
>       (list  'org-gnus-store-link
>             'org-rmail-store-link
>             'org-mhe-store-link
>             'org-irc-store-link
>             'org-info-store-link
>             'org-docview-store-link
>             'org-bibtex-store-link
>             'org-bbdb-store-link
>             'org-w3m-store-link))
>
> But I always obtain when using
> describe-variable org-store-link-functions
> which is annoying any help is appreciated.
>
> Uwe Brauer

What version of org are you using? In 9.0.5, I don't have a variable
called 'org-store-link-functions', but I have a function called that.
Is it possible that you have a mixed install?

>
> ,----
> | 
> | org-store-link-functions is a variable defined in ‘org.el’.
> | Its value is
> | (org-mairix-store-gnus-link org-gnus-store-link org-rmail-store-link 
> org-mhe-store-link org-irc-store-link org-info-store-link 
> org-docview-store-link org-bibtex-store-link org-bbdb-store-link 
> org-w3m-store-link)
> | 
> |   This variable may be risky if used as a file-local variable.
> | 
> | Documentation:
> | List of functions that are called to create and store a link.
> | Each function will be called in turn until one returns a non-nil
> | value.  Each function should check if it is responsible for creating
> | this link (for example by looking at the major mode).
> | If not, it must exit and return nil.
> | If yes, it should return a non-nil value after a calling
> | ‘org-store-link-props’ with a list of properties and values.
> | Special properties are:
> | 
> | :type         The link prefix, like "http".  This must be given.
> | :link         The link, like "http://www.astro.uva.nl/~dominik";.
> |               This is obligatory as well.
> | :description  Optional default description for the second pair
> |               of brackets in an Org-mode link.  The user can still change
> |               this when inserting this link into an Org-mode buffer.
> | 
> | In addition to these, any additional properties can be specified
> | and then used in capture templates.
> `----
>
>
>

-- 
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]