* Possible bug in org-open-at-point when filename includes ampersand
@ 2012-12-11 14:36 Johnny
2012-12-11 17:12 ` Memnon Anon
0 siblings, 1 reply; 2+ messages in thread
From: Johnny @ 2012-12-11 14:36 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Possible bug in org-open-at-point when filename includes ampersand
2012-12-11 14:36 Possible bug in org-open-at-point when filename includes ampersand Johnny
@ 2012-12-11 17:12 ` Memnon Anon
0 siblings, 0 replies; 2+ messages in thread
From: Memnon Anon @ 2012-12-11 17:12 UTC (permalink / raw)
To: emacs-orgmode
Johnny <yggdrasil@gmx.co.uk> writes:
> 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.
It does open here with
,----
| ELISP> (emacs-version)
| "GNU Emacs 24.3.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2)\n of
| 2012-12-09 on dex, modified by Debian"
| ELISP> (org-version t t)
| "Org-mode version 7.9.2 (release_7.9.2-661-g66c664 @
| /home/kyilma/bin/elisp/org-latest/lisp/)"
`----
Memnon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-11 17:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-11 14:36 Possible bug in org-open-at-point when filename includes ampersand Johnny
2012-12-11 17:12 ` Memnon Anon
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).