[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: |
Phil Jackson |
Subject: |
Re: [Orgmode] [BUG?] org-open-file cannot handle spaces in file name? |
Date: |
Tue, 29 Jan 2008 16:12:56 +0000 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
Phil Jackson <address@hidden> writes:
[...]
> I'll try with 22 tomorrow and see what I get.
22.1.50.1 (5.19a):
[[file:~/this is a file with space.pdf]]
,----[ 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)
`----
Cheers,
Phil
--
Phil Jackson
http://www.shellarchive.co.uk