From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Link abbreviations: include abbreviation table and linkwords with spaces Date: Tue, 13 Mar 2018 10:18:08 +0100 Message-ID: <871sgo8hbj.fsf@nicolasgoaziou.fr> References: <1520886927.1793.99.camel@gmail.com> <87r2ooanzd.fsf@nicolasgoaziou.fr> <1520931065.1930.4.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evg4Z-0004JA-58 for Emacs-orgmode@gnu.org; Tue, 13 Mar 2018 05:18:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evg4T-0003AG-5G for Emacs-orgmode@gnu.org; Tue, 13 Mar 2018 05:18:19 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:45509) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1evg4S-00038P-U7 for Emacs-orgmode@gnu.org; Tue, 13 Mar 2018 05:18:13 -0400 In-Reply-To: <1520931065.1930.4.camel@gmail.com> (ST's message of "Tue, 13 Mar 2018 10:51:05 +0200") 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: ST Cc: Emacs-orgmode@gnu.org Hello, ST writes: >> > 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]]? >>=20 >> 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. My bad. Spaces are not allowed, because #+LINK: linkword URL would not be parse-able. The manual states The linkword must be a word, starting with a letter, followed by letters, numbers, =E2=80=98-=E2=80=99, and =E2=80=98_=E2=80=99. but it seems implementation only disallows spaces (for LINK keyword) and colons (for links). Regards, --=20 Nicolas Goaziou 0x80A93738