From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian =?utf-8?Q?Reu=C3=9Fe?= Subject: Headlines with slashes when refiling Date: Sun, 14 Oct 2018 10:58:46 +0200 Message-ID: <87a7ngj455.fsf@wirrsal.net> References: <87tvlpdlke.fsf@nicolasgoaziou.fr> <20181014080449.28048-1-seb@wirrsal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBcEf-0005eD-Lc for emacs-orgmode@gnu.org; Sun, 14 Oct 2018 04:58:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBcEa-0001MI-Mz for emacs-orgmode@gnu.org; Sun, 14 Oct 2018 04:58:53 -0400 Received: from wirrsal.net ([188.68.36.149]:42268 helo=mail.wirrsal.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gBcEa-0001Lu-Dh for emacs-orgmode@gnu.org; Sun, 14 Oct 2018 04:58:48 -0400 In-reply-to: <20181014080449.28048-1-seb@wirrsal.net> 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 Cc: mail@nicolasgoaziou.fr BTW this reminds me of some issues I ran into on master a while=20 back. When a refile target has a headline containing a slash,=20 there are some issues: 1. When an existing headline contains a slash, completing-read=20 will display the target as =C2=BBA\/Slash=C2=AB. However, when entering the= =20 string manually, it must be input as =C2=BBA\\/Slash=C2=AB. 2. It=E2=80=99s not possible to refile under a newly created node when the= =20 new headline contains a slash, since there is no way to escape=20 them. I=E2=80=99ll go and look into 2 when I find some extra time. This might=20 involve some awkwardness, since we don=E2=80=99t have regex=20 look-ahead/behind in Emacs. Kind regards, S. --=20 Insane cobra split the wood Trader of the lowland breed Call a jittney, drive away In the slipstream we will stay