From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Fox Subject: Re: Issue with internal directory links Date: Mon, 6 Jan 2020 22:44:52 -0500 Message-ID: References: <87a773umrw.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ec48a0059b849996" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46622) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iofnn-0008OI-6K for emacs-orgmode@gnu.org; Mon, 06 Jan 2020 22:45:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iofnl-0003s7-Gu for emacs-orgmode@gnu.org; Mon, 06 Jan 2020 22:45:06 -0500 Received: from mail-il1-x131.google.com ([2607:f8b0:4864:20::131]:41462) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iofnl-0003rP-Bm for emacs-orgmode@gnu.org; Mon, 06 Jan 2020 22:45:05 -0500 Received: by mail-il1-x131.google.com with SMTP id f10so44549305ils.8 for ; Mon, 06 Jan 2020 19:45:04 -0800 (PST) In-Reply-To: <87a773umrw.fsf@nicolasgoaziou.fr> 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 , emacs-orgmode@gnu.org --000000000000ec48a0059b849996 Content-Type: text/plain; charset="UTF-8" Hello, 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'". On Sat, Jan 4, 2020 at 12:58 PM Nicolas Goaziou wrote: > Hello, > > Jonathan Fox writes: > > > When calling `org-open-at-point' with the cursor on an internal link > > to a directory, the directory is not opened in a new dired buffer and > > the following message is printed in the minibuffer: > > > > "Running less path/to/directory...done" > > > > > -------------------------------------------------------------------------------- > > > > Expected behavior: > > > > A dired buffer is opened using the directory in the link. > > > > > -------------------------------------------------------------------------------- > > Could you show the link you're using? FWIW, I don't have trouble opening > links to directories. > > Regards, > > -- > Nicolas Goaziou > --000000000000ec48a0059b849996 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Here&#= 39;s a link I'm using:

[[./templates][Template= s]]

I think the issue I'm having arises wi= thin the `org-open-file' function at the following variable assignment = inside a let* expression:

(command (mailcap-mime-i= nfo mime-type))

= In 26.1, the value assigned is `view-mode'. In 27.0.50, the value assig= ned is "less '%s'".

On Sat, Jan 4, 2020 at 12:58 PM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,

Jonathan Fox <jonathanfox223@gmail.com> writes:

> When calling `org-open-at-point' with the cursor on an internal li= nk
> to a directory, the directory is not opened in a new dired buffer and<= br> > the following message is printed in the minibuffer:
>
> "Running less path/to/directory...done"
>
> ----------------------------------------------------------------------= ----------
>
> Expected behavior:
>
> A dired buffer is opened using the directory in the link.
>
> ----------------------------------------------------------------------= ----------

Could you show the link you're using? FWIW, I don't have trouble op= ening
links to directories.

Regards,

--
Nicolas Goaziou
--000000000000ec48a0059b849996--