[Orgmode] Re: howto open attachment directory in external program?

2010-06-18 Thread Matt Lundin
Kestutis Matonis maton...@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


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: howto open attachment directory in external program?

2010-06-18 Thread Matthew Lundin
Matt Lundin m...@imapmail.org writes:

 Kestutis Matonis maton...@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

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode