From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: the evil org-store-link-functions variable Date: Thu, 02 Mar 2017 13:03:19 -0500 Message-ID: <87pohzsgig.fsf@alphaville.usersys.redhat.com> References: <97aef9c09931431a8f71427e73567741@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87tw7bkh1f.fsf@ucl.ac.uk> <8737evx1uw.fsf@mat.ucm.es> <87innrisdm.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]:39147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjVXq-0001ap-66 for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 13:33:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjVXl-0000rw-Tp for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 13:33:42 -0500 Received: from [195.159.176.226] (port=52394 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjVXl-0000rX-NO for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 13:33:37 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cjV4T-0001rG-R7 for emacs-orgmode@gnu.org; Thu, 02 Mar 2017 19:03:21 +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: > 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