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

2017-03-03 Thread Eric S Fraga
On Thursday,  2 Mar 2017 at 18:39, Uwe Brauer wrote:

[...]

> Yep I upgraded to 9.0.5 and this problem seems to be gone.

Excellent.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.4-242-g2c27b8


signature.asc
Description: PGP signature


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

2017-03-02 Thread Eric S Fraga
On Thursday,  2 Mar 2017 at 15:57, Uwe Brauer wrote:
> Hi
>
> I have even put in my init file
> (setq org-store-link-functions

In my org, which is reasonably up to date, there is no such
variable.  There *is* a function by that name, however.

What version of org are you using?

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.4-242-g2c27b8


signature.asc
Description: PGP signature


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

2017-03-02 Thread Uwe Brauer
>>> "Eric" == Eric S Fraga  writes:

   > On Thursday,  2 Mar 2017 at 15:57, Uwe Brauer wrote:
   >> I have even put in my init file
   >> (setq org-store-link-functions

   > Following this up, in org v8, this was a variable but in org v9 it is
   > now a function.

Yep I upgraded to 9.0.5 and this problem seems to be gone.




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

2017-03-02 Thread Uwe Brauer

   > Uwe Brauer  writes:

   > 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?

As I said to Eric A., yes I had a terrible mix of old org installations
in my elpa directory. I deleted them all and started with a fresh 9.0.5
version and everything seems fine, now.
Thanks

Uwe 




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

2017-03-02 Thread Uwe Brauer
>>> "Eric" == Eric S Fraga  writes:

   > On Thursday,  2 Mar 2017 at 15:57, Uwe Brauer wrote:
   >> I have even put in my init file
   >> (setq org-store-link-functions

   > Following this up, in org v8, this was a variable but in org v9 it is
   > now a function.

Right, but I am still using
org-version is a variable defined in ‘org.el’.
Its value is "8.3.6"


So that setting should work, but maybe gnorb thinks that it is a
functions and this is where the trouble comes from.


Do you recommend to upgrade?

Eric Abrahamsen, if you read this, what do you say?

Uwe Brauer 




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

2017-03-02 Thread Nick Dokos
Uwe Brauer  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




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

2017-03-02 Thread Eric S Fraga
On Thursday,  2 Mar 2017 at 15:57, Uwe Brauer wrote:
> I have even put in my init file
> (setq org-store-link-functions

Following this up, in org v8, this was a variable but in org v9 it is
now a function.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.4-242-g2c27b8


signature.asc
Description: PGP signature


[O] the evil org-store-link-functions variable (was: "Which function for creating the link?)

2017-03-02 Thread Uwe Brauer
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 

,
| 
| 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.
`