emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62452: closed (30.0.50; [PATCH] Avoid shadowing variables in some Es


From: GNU bug Tracking System
Subject: bug#62452: closed (30.0.50; [PATCH] Avoid shadowing variables in some Eshell command forms)
Date: Sat, 01 Apr 2023 23:32:01 +0000

Your message dated Sat, 1 Apr 2023 16:31:01 -0700
with message-id <e1f60507-7563-79c3-809a-7e1f6012686c@gmail.com>
and subject line Re: bug#62452: 30.0.50; [PATCH] Avoid shadowing variables in 
some Eshell command forms
has caused the debbugs.gnu.org bug report #62452,
regarding 30.0.50; [PATCH] Avoid shadowing variables in some Eshell command 
forms
to be marked as done.

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


-- 
62452: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62452
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 30.0.50; [PATCH] Avoid shadowing variables in some Eshell command forms Date: Sat, 25 Mar 2023 21:48:13 -0700
To see this in action, start from "emacs -Q -f eshell", then:

  ~ $ setq value "hi there"
  hi there
  ~ $ echo $value
  hi there
  ~ $ echo ${echo $value}
  eshell-temp

The last command should *also* print "hi there", but the variable 'value' gets shadowed by some internal Eshell code. (A similar problem occurs for 'for-items' when using a for loop in Eshell.)

Patch attached.

Attachment: 0001-Avoid-shadowing-variables-in-some-Eshell-command-for.patch
Description: Text document


--- End Message ---
--- Begin Message --- Subject: Re: bug#62452: 30.0.50; [PATCH] Avoid shadowing variables in some Eshell command forms Date: Sat, 1 Apr 2023 16:31:01 -0700
On 3/25/2023 9:48 PM, Jim Porter wrote:
Patch attached.

Pushed as 97e35b14987. Closing this bug now.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]