From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johnny Subject: Possible bug in org-open-at-point when filename includes ampersand Date: Tue, 11 Dec 2012 14:36:28 +0000 Message-ID: <87fw3coe34.fsf@gmx.co.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiSxC-0005lb-BQ for emacs-orgmode@gnu.org; Tue, 11 Dec 2012 11:45:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiSx4-0000f8-JO for emacs-orgmode@gnu.org; Tue, 11 Dec 2012 11:45:10 -0500 Received: from mailout-eu.gmx.com ([213.165.64.42]:36856) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TiSx4-0000bS-82 for emacs-orgmode@gnu.org; Tue, 11 Dec 2012 11:45:02 -0500 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, When working with org-capture and inserting links to files, I noticed that some files do not open properly and found out that the filename contains "&" which causes this issue. To replicate: - Create a file test_&_file.txt - In dired, locate the file and capture the link C-c l - In an org file, insert link by C-c C-l - Place point at file and C-c C-o (org-open-at-point) The link org stores is e.g "~/test_&_file.txt". This cannot be opened in a shell, but escaping the ampersand, the file is opened fine, e.g. evince ~/test_\&_file.txt I inserted the escape character in the org link, but this to my dismay still doesn't work. Any ideas? (except the obvious change of ampersand in filenames) Thanks, Johnny -- Johnny