[Top][All Lists]

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

[O] Default application for org-reveal

From: Florian Lindner
Subject: [O] Default application for org-reveal
Date: Fri, 6 Jan 2017 21:50:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0


the Org Attach dispatcher offers a key "f" to open the attachment directory not 
in Emacs.

(defun org-attach-reveal (&optional if-exists)
  "Show the attachment directory of the current task.
This will attempt to use an external program to show the directory."
  (interactive "P")
  (let ((attach-dir (org-attach-dir (not if-exists))))
    (and attach-dir (org-open-file attach-dir))))

On my two systems this is the same a F, it opens in dired. xdg-open . uses 
dolphin to open inode/directory. How does Emacs/org determine which
application to use? How can I influence it?


P.S. Why are file associations such a mess on Linux. Emacs? KDE and Thunderbird 
all use different applications to open the same file...

reply via email to

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