From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: howto open attachment directory in external program? Date: Fri, 18 Jun 2010 15:29:17 -0400 Message-ID: <87wrtwcf76.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=52957 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPhCi-0006Rx-0U for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 15:26:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPhCg-00040G-HM for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 15:26:15 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:54163) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPhCg-0003zz-Eb for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 15:26:14 -0400 In-Reply-To: (Kestutis Matonis's message of "Fri, 18 Jun 2010 00:48:54 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Kestutis Matonis Cc: emacs-orgmode@gnu.org Kestutis Matonis 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