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

From: Robert Pluim <[email-masked]>
Date: Wed, 28 Sep 2022 15:09:27 +0200

>>>>> On Wed, 28 Sep 2022 19:56:34 +1000, "Trent W. Buck" <[email-masked]> said:

    Trent> Just a minor wishlist item.
    Trent> I wish M-x setenv, when setting a variable that already has a value,
    Trent> defaulted to that value (instead of the empty string).

    Trent> This would make it easier to make minor adjustments to a long messy value.
    Trent> The history is already there (M-p), but it's input history.
    Trent> If the variable was initially set outside of Emacs, it won't be in history.

Itʼs in the 'future history', which you get by 'M-n'

Robert
--