From mboxrd@z Thu Jan 1 00:00:00 1970 From: ST Subject: Re: Link abbreviations: include abbreviation table and linkwords with spaces Date: Tue, 13 Mar 2018 10:51:05 +0200 Message-ID: <1520931065.1930.4.camel@gmail.com> References: <1520886927.1793.99.camel@gmail.com> <87r2ooanzd.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evfeL-0004Y5-6P for Emacs-orgmode@gnu.org; Tue, 13 Mar 2018 04:51:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evfeH-0006Up-5E for Emacs-orgmode@gnu.org; Tue, 13 Mar 2018 04:51:13 -0400 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:45568) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evfeG-0006Rz-U9 for Emacs-orgmode@gnu.org; Tue, 13 Mar 2018 04:51:09 -0400 Received: by mail-wr0-x242.google.com with SMTP id h2so12870905wre.12 for ; Tue, 13 Mar 2018 01:51:08 -0700 (PDT) In-Reply-To: <87r2ooanzd.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: Emacs-orgmode@gnu.org > > after reading "4.6 Link abbreviations" of the manual I have two > > questions: > > > > 1. is it possible to define linkwords with spaces, like this: [[Harry > > Potter:Chapter1]], it looks much more nice than > > [[Harry_Potter:Chapter1]]? > > I think so. If yes, then it's really worth mentioning this fact in the manual (4.6 Link abbreviations) because ones get the impression that only - and _ are allowed. One of the most strong sides of org is its readability as raw text and in this case space makes link more readable. > > > 2. is it possible to define a "links catalog" of abbreviations, like > > > > #+LINK: bugzilla http://10.1.2.9/bugzilla/show_bug.cgi?id= > > #+LINK: google http://www.google.com/search?q=%s > > > > > > and then include them in all possible org files with > > > > #+INCLUDE: "links_catalog.org" > > SETUPFILE would be more appropriate. Also, you can define abbreviations > globally. See `org-link-abbrev-alist'. I wanted to avoid `org-link-abbrev-alist' as it is Emacs specific, while #+INCLUDE: is part of the org-mode standard which should work also on other platforms (theoretically). Thank you!