* howto open attachment directory in external program?
@ 2010-06-17 22:48 Kestutis Matonis
2010-06-18 19:29 ` Matt Lundin
0 siblings, 1 reply; 3+ messages in thread
From: Kestutis Matonis @ 2010-06-17 22:48 UTC (permalink / raw)
To: emacs-orgmode
in .mailcap i have set-upped:
inode/directory-locked; pcmanfm2 '%s';
inode/directory; pcmanfm2 '%s';
text/directory; pcmanfm2 '%s';
but when I'm trying to open attachments directory, it is still opened in emacs.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: howto open attachment directory in external program?
2010-06-17 22:48 howto open attachment directory in external program? Kestutis Matonis
@ 2010-06-18 19:29 ` Matt Lundin
2010-06-18 19:32 ` Matthew Lundin
0 siblings, 1 reply; 3+ messages in thread
From: Matt Lundin @ 2010-06-18 19:29 UTC (permalink / raw)
To: Kestutis Matonis; +Cc: emacs-orgmode
Kestutis Matonis <matonisk@gmail.com> writes:
> in .mailcap i have set-upped:
>
> inode/directory-locked; pcmanfm2 '%s';
> inode/directory; pcmanfm2 '%s';
> text/directory; pcmanfm2 '%s';
>
> but when I'm trying to open attachments directory, it is still opened
> in emacs.
I'm not sure why org-attach is not respecting the mailcap settings. But
for a simple solution you could add a setting to org-file-apps:
(add-to-list 'org-file-apps '(directory . "pcmanfm2"))
Best,
Matt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: howto open attachment directory in external program?
2010-06-18 19:29 ` Matt Lundin
@ 2010-06-18 19:32 ` Matthew Lundin
0 siblings, 0 replies; 3+ messages in thread
From: Matthew Lundin @ 2010-06-18 19:32 UTC (permalink / raw)
To: Kestutis Matonis; +Cc: emacs-orgmode
Matt Lundin <mdl@imapmail.org> writes:
> Kestutis Matonis <matonisk@gmail.com> writes:
>
>> in .mailcap i have set-upped:
>>
>> inode/directory-locked; pcmanfm2 '%s';
>> inode/directory; pcmanfm2 '%s';
>> text/directory; pcmanfm2 '%s';
>>
>> but when I'm trying to open attachments directory, it is still opened
>> in emacs.
>
> I'm not sure why org-attach is not respecting the mailcap settings. But
> for a simple solution you could add a setting to org-file-apps:
>
> (add-to-list 'org-file-apps '(directory . "pcmanfm2"))
>
Oops. The above line should read:
(add-to-list 'org-file-apps '(directory . "pcmanfm2 %s"))
Hope this helps.
Matt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-06-18 19:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-17 22:48 howto open attachment directory in external program? Kestutis Matonis
2010-06-18 19:29 ` Matt Lundin
2010-06-18 19:32 ` Matthew Lundin
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.