[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: howto open attachment directory in external program?
From: |
Matthew Lundin |
Subject: |
[Orgmode] Re: howto open attachment directory in external program? |
Date: |
Fri, 18 Jun 2010 15:32:47 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Matt Lundin <address@hidden> writes:
> Kestutis Matonis <address@hidden> 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