Subject: Re: bug#58137: 28.1; M-x setenv RET PATH RET should default to the current $PATH

From: Andreas Schwab <[email-masked]>
Date: Wed, 28 Sep 2022 14:45:58 +0200

On Sep 28 2022, Trent W. Buck wrote:

> I wish M-x setenv, when setting a variable that already has a value,
> defaulted to that value (instead of the empty string).
>
> This would make it easier to make minor adjustments to a long messy value.
> The history is already there (M-p), but it's input history.
> If the variable was initially set outside of Emacs, it won't be in history.

Emacs puts the current value on the history list as the first element
for M-p.

-- 
Andreas Schwab, SUSE Labs, [email-masked]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."