From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Bad %20 in links pointing to files Date: Tue, 24 Oct 2006 16:16:41 +0200 Message-ID: <873b9dol2u.fsf@tallis.ilo.ucl.ac.uk> 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 1GcN5H-0005u6-9Y for emacs-orgmode@gnu.org; Tue, 24 Oct 2006 10:16:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GcN5C-0005rV-P6 for emacs-orgmode@gnu.org; Tue, 24 Oct 2006 10:16:50 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GcN5C-0005rQ-Jt for emacs-orgmode@gnu.org; Tue, 24 Oct 2006 10:16:46 -0400 Received: from [129.199.96.40] (helo=nef2.ens.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GcN5B-0002xc-5m for emacs-orgmode@gnu.org; Tue, 24 Oct 2006 10:16:45 -0400 Received: from lumiere.ens.fr (lumiere.ens.fr [129.199.80.1]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id k9OEGh9n002982 for ; Tue, 24 Oct 2006 16:16:43 +0200 (CEST) Received: from [129.199.80.155] (helo=tallis.ilo.ucl.ac.uk) by lumiere.ens.fr with esmtp (Exim 4.34) id 1GcN5F-00033M-DB for emacs-orgmode@gnu.org; Tue, 24 Oct 2006 16:16:50 +0200 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 Hi, When making a link, org-mode (always?) converts whitespaces as "%20". This is okay for web URL, but not for links pointing to local files For example, ~/test is a file containing "This is a test" as its first line. Hence org-store-link remembers the context string "This is a test" when called from the beginning of the buffer. When you call org-insert-link, it produces this (explicit) link: [[file:~/test::This%20is%20a%20test][file:~/test::This is a test]] But the %20 are misplaced... Is there some variable that I have to switch off? Regards, -- Bastien