[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [BUG?] org-open-file cannot handle spaces in file name?

From: Carsten Dominik
Subject: Re: [Orgmode] [BUG?] org-open-file cannot handle spaces in file name?
Date: Thu, 31 Jan 2008 00:09:57 +0100

On Jan 29, 2008, at 5:12 PM, Phil Jackson wrote:

Phil Jackson <address@hidden> writes:


I'll try with 22 tomorrow and see what I get. (5.19a):

[[file:~/this is a file with space.pdf]]

Hi Phil, this is part of the problem, the link should look like this:

[[file:~/this%20is%02a%20file%20with%20space.pdf][file:~/this is a file with space.pdf]]

When you enter links with C-c C-l, this will be done automatically.

There is also another bug here which you have discovered, I have fixed it
for the next version.

- Carsten

,----[ trace ]
| Debugger entered--Lisp error: (args-out-of-range 34 35)
| replace-match("/home/pjackso1/this\\ is\\ a\\ file\\ with\\ space.pdf" | t t "evince %s") (setq cmd (replace-match (shell-quote-argument file)
|   t t cmd)) (while (string-match "%s" cmd) (setq cmd (replace-match
| ... t t cmd))) (cond ((and ... ...) (while ... ...) (while ... ...) | (save-window-excursion ...)) ((or $ (let* ((file ...) (apps ...) (remp
|   ...) (dirp ...) (dfile ...)  (old-buffer ...) (old-po$
|   org-open-file("~/this is a file with space.pdf" nil nil nil) (if
|   (string-match "[*?{]" (file-name-nondirectory path)) (dired path)
|   (org-open-file pa$ (cond ((assoc type org-link-protocols) (funcall
|   ... path)) ((equal type "mailto") (let $ (let (type path link line
|   search (pos ...)) (catch (quote match) (save-excursion ... ..$ (if
|   (org-at-timestamp-p t) (org-follow-timestamp-link) (let (type path
|   link line search$ (catch (quote abort) (move-marker
|   org-open-link-marker (point)) (setq org-window-config$
|   org-open-at-point(nil) call-interactively(org-open-at-point)

Phil Jackson

Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]