On 21 April 2014 20:00, Bastien wrote: > Hi Reuben, > > Reuben Thomas 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