* Make file:... directory links open dired by default
@ 2011-01-24 4:38 Leo Alekseyev
2011-02-02 15:35 ` Jan Böcker
0 siblings, 1 reply; 2+ messages in thread
From: Leo Alekseyev @ 2011-01-24 4:38 UTC (permalink / raw)
To: emacs-orgmode
I am working under Windows, and by default links like file:~/path...
open in Explorer. I can manually change the link to
file+emacs:~/path... and then it opens in dired -- but is there a way
to change the default behavior so that when I press C-c C-l to store
the directory links as file+emacs to begin with?.. Alternatively, is
there a way to make file: links behave like file+emacs? (I'm not sure
if this is a good idea since it might impact things other than
directories).
--Leo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Make file:... directory links open dired by default
2011-01-24 4:38 Make file:... directory links open dired by default Leo Alekseyev
@ 2011-02-02 15:35 ` Jan Böcker
0 siblings, 0 replies; 2+ messages in thread
From: Jan Böcker @ 2011-02-02 15:35 UTC (permalink / raw)
To: Leo Alekseyev; +Cc: emacs-orgmode
On 01/24/2011 05:38 AM, Leo Alekseyev wrote:
> I am working under Windows, and by default links like file:~/path...
> open in Explorer. I can manually change the link to
> file+emacs:~/path... and then it opens in dired -- but is there a way
> to change the default behavior so that when I press C-c C-l to store
> the directory links as file+emacs to begin with?.. Alternatively, is
> there a way to make file: links behave like file+emacs? (I'm not sure
> if this is a good idea since it might impact things other than
> directories).
> --Leo
>
Hi Leo,
take a look at the variable org-file-apps:
M-x customize-variable RET org-file-apps RET
Try adding an entry like this:
[INS] [DEL] Cons-cell:
Choice: [Value Menu] Links to a directory
Choice: [Value Menu] Visit with Emacs
I have not tested this (since I am not using Org on Windows), but it
looks to me like it should work.
Regards,
Jan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-02 15:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-24 4:38 Make file:... directory links open dired by default Leo Alekseyev
2011-02-02 15:35 ` Jan Böcker
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).