From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jari Aalto Subject: [PATCH] org-link-abbrev-alist improve docstring "linkword" Date: Mon, 23 Feb 2009 01:30:09 +0200 Message-ID: <87d4darqwu.fsf@jondo.cante.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LbNmM-0003ft-0j for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 18:30:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LbNmL-0003fI-Am for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 18:30:33 -0500 Received: from [199.232.76.173] (port=52439 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbNmL-0003f9-5J for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 18:30:33 -0500 Received: from main.gmane.org ([80.91.229.2]:56105 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LbNmK-0008AE-QQ for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 18:30:33 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LbNmF-00088r-Sn for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 23:30:27 +0000 Received: from a91-155-187-216.elisa-laajakaista.fi ([91.155.187.216]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Feb 2009 23:30:27 +0000 Received: from jari.aalto by a91-155-187-216.elisa-laajakaista.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Feb 2009 23:30:27 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org > [Carsten Dominik] > please send your reports to emacs-orgmode@gnu.org, there I have > them in one place, and a public record is created of your question > and any answers - and, most importantly, someone else might > answer for me. > > Link abbreviation starts with a "linkword" similar to http or so, > and the conventions in Org require it to be a word, starting > with a character, followed by letters, numbers, "-" and "_". Let's move that information available for C-h v. Jari 2009-02-22 Jari Aalto * org.el (org-link-abbrev-alist-local): Document what characters are allowed in linkword. >From dff73c60674054b5054f10a2d2d1dc66f00eb4fb Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Mon, 23 Feb 2009 01:16:41 +0200 Subject: [PATCH] org.el: improve doctring org-link-abbrev-alist-local Signed-off-by: Jari Aalto --- lisp/org.el | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index c0fd99f..d43bba1 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -928,6 +928,9 @@ links in Org-mode buffers can have an optional tag after a double colon, e.g. [[linkkey:tag][description]] +NOTE: The 'linkkey' must be a word word, starting with a +character, followed by letters, numbers, characters '-' or '_'. + If REPLACE is a string, the tag will simply be appended to create the link. If the string contains \"%s\", the tag will be inserted there. Alternatively, the placeholder \"%h\" will cause a url-encoded version of the tag to -- 1.5.6.5