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>
Subject: bug#73952: closed (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 21:34:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 73952 <at> debbugs.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: 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.

[Message part 3 (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 4 (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)]

This bug report was last modified 214 days ago.

Previous Next


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