GNU bug report logs - #73952
30.0.91; [PATCH] Fix error when an Eshell glob has no results and 'eshell-glob-splice-results' is t

Previous Next

Package: emacs;

Reported by: Jim Porter <jporterbugs <at> gmail.com>

Date: Tue, 22 Oct 2024 16:59:01 UTC

Severity: normal

Tags: patch

Found in version 30.0.91

Done: Jim Porter <jporterbugs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#73952: closed (30.0.91; [PATCH] Fix error when an Eshell glob
 has no results and 'eshell-glob-splice-results' is t)
Date: Tue, 22 Oct 2024 21:34:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 22 Oct 2024 14:31:58 -0700
with message-id <8305d6fa-d768-e4e0-d12b-59d84474bb31 <at> gmail.com>
and subject line Re: bug#73952: 30.0.91; [PATCH] Fix error when an Eshell glob has no results and 'eshell-glob-splice-results' is t
has caused the debbugs.gnu.org bug report #73952,
regarding 30.0.91; [PATCH] Fix error when an Eshell glob has no results and 'eshell-glob-splice-results' is t
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
73952: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73952
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jim Porter <jporterbugs <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.91; [PATCH] Fix error when an Eshell glob has no results and
 'eshell-glob-splice-results' is t
Date: Tue, 22 Oct 2024 09:57:42 -0700
[Message part 3 (text/plain, inline)]
X-Debbugs-CC: eliz <at> gnu.org

Starting from "emacs -Q -f eshell":

  ~ $ (setq eshell-glob-splice-results t)
  t
  ~ $ echo /ssh:localhost:~/file.txt
  /ssh:localhost:~/file.txt
  ~ $ echo /ssh:localhost:~/file.txt
  Wrong type argument: listp, "/ssh:localhost:~/file.txt"

The third command should have the same result as the second (the second 
works because Tramp isn't loaded yet at the time).

This is a bug in a new Eshell feature in Emacs 30 and thankfully has an 
easy fix (see attached). Eli, is this ok for the release branch? I added 
a regression test for this too.
[0001-Fix-error-when-splicing-Eshell-globs-and-a-glob-expa.patch (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Jim Porter <jporterbugs <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 73952-done <at> debbugs.gnu.org
Subject: Re: bug#73952: 30.0.91; [PATCH] Fix error when an Eshell glob has no
 results and 'eshell-glob-splice-results' is t
Date: Tue, 22 Oct 2024 14:31:58 -0700
On 10/22/2024 10:43 AM, Eli Zaretskii wrote:
>> Cc: eliz <at> gnu.org
>> Date: Tue, 22 Oct 2024 09:57:42 -0700
>> From: Jim Porter <jporterbugs <at> gmail.com>
>>
>> This is a bug in a new Eshell feature in Emacs 30 and thankfully has an
>> easy fix (see attached). Eli, is this ok for the release branch?
> 
> Yes, thanks.

Thanks. Merged to the release branch as b7a375f5c49, and closing this now.


This bug report was last modified 213 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.