From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Issue with internal directory links Date: Tue, 07 Jan 2020 09:11:20 +0100 Message-ID: <87o8vfsn2v.fsf@nicolasgoaziou.fr> References: <87a773umrw.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57473) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iojxY-0003wl-6e for emacs-orgmode@gnu.org; Tue, 07 Jan 2020 03:11:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iojxX-0000KS-4R for emacs-orgmode@gnu.org; Tue, 07 Jan 2020 03:11:28 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:54835) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iojxW-0000GB-VA for emacs-orgmode@gnu.org; Tue, 07 Jan 2020 03:11:27 -0500 In-Reply-To: (Jonathan Fox's message of "Mon, 6 Jan 2020 22:44:52 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Jonathan Fox Cc: emacs-orgmode@gnu.org Hello, Jonathan Fox writes: > Here's a link I'm using: > > [[./templates][Templates]] > > I think the issue I'm having arises within the `org-open-file' function at > the following variable assignment inside a let* expression: > > (command (mailcap-mime-info mime-type)) > > In 26.1, the value assigned is `view-mode'. In 27.0.50, the value assigned > is "less '%s'". I still cannot reproduce it, so your .mailcap file is different than mine. Anyway, you can tweak `org-file-apps' variable to use whatever you want to open the file. HTH, -- Nicolas Goaziou