emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: Setting system command org-file-apps does not allow other s


From: Reuben Thomas
Subject: Re: [O] Bug: Setting system command org-file-apps does not allow other settings to refer to it [8.2.5h (release_8.2.5h-620-g7fd183 @ /home/rrt/.emacs.d/el-get/package/elpa/org-20140210/)]
Date: Wed, 23 Apr 2014 14:29:44 +0100

On 21 April 2014 20:00, Bastien <address@hidden> wrote:
Hi Reuben,

Reuben Thomas <address@hidden> writes:

> 1. I customize org-file-apps's system command to be "xdg-open %s",
> then customize the default command to be the system command.

Please share the value of `org-file-apps' (C-h v org-file-apps RET).

Value: ((auto-mode . emacs)
 ("\\.mm\\'" . default)
 ("\\.x?html?\\'" . default)
 ("\\.pdf\\'" . default)
 (t . "xdg-open %s")
 (system . "xdg-open %s"))
 
What I've found is that, since .pdf documents can be opened in Emacs
and since org-file-apps contains (auto-mode . emacs) as its first
element, then changing the system's value to xdg-open after that will
fail because (auto-mode . emacs) is applied first.

That's interesting, but I'm no less confused. With the value above, PDF files *are* opened with xdg-open.
 
Sure, the docstring needs a bit of simplification, thought.

That would be a good start: if I can understand what is supposed to happen, I have some chance to tell whether the actual behaviour is correct or not!

Thanks for your continued attention to this issue.

--
http://rrt.sc3d.org

reply via email to

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