From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#58137: 28.1; M-x setenv RET PATH RET should default to the current $PATH Date: Wed, 28 Sep 2022 14:45:58 +0200 Message-ID: References: <87o7uzg6ul.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26170"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: 58137@debbugs.gnu.org To: "Trent W. Buck" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 28 17:01:40 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1odYZ9-0006bd-GM for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Sep 2022 17:01:39 +0200 Original-Received: from localhost ([::1]:39288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odYZ8-0001wK-BX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Sep 2022 11:01:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odWSt-0001Y7-1G for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2022 08:47:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33224) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odWSs-00019s-Ny for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2022 08:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odWSr-0002X2-JD for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2022 08:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Sep 2022 12:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58137 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 58137-submit@debbugs.gnu.org id=B58137.16643691789680 (code B ref 58137); Wed, 28 Sep 2022 12:47:01 +0000 Original-Received: (at 58137) by debbugs.gnu.org; 28 Sep 2022 12:46:18 +0000 Original-Received: from localhost ([127.0.0.1]:60535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odWS9-0002W4-QR for submit@debbugs.gnu.org; Wed, 28 Sep 2022 08:46:18 -0400 Original-Received: from smtp-out2.suse.de ([195.135.220.29]:40520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odWRz-0002Un-2I for 58137@debbugs.gnu.org; Wed, 28 Sep 2022 08:46:17 -0400 Original-Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 1E5B31F94D; Wed, 28 Sep 2022 12:46:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1664369161; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SjdQtcO1GswFH2MEDOcExjwQHUaRrwO0JEJuRZaAM4E=; b=TtLLCZnwPrdC1ff9NHPb3TkrXocjDbN+9LV1J+3gKdRird9l+WuaKSvDvA2v8qnIH+ZJ1T wPvSSKTxqY8r6JryQa2dbgHomnJFGEWkE3TYEu8AxNSB7IsKxs4bUJ06Uil7hEtjiOxUHG ZaWQ+cxXI3wwFQkOSCJAeoP3DvCXFx4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1664369161; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SjdQtcO1GswFH2MEDOcExjwQHUaRrwO0JEJuRZaAM4E=; b=rvjyIP8l+PVAXxyNeiHbNs0v149qgkndTLxdun7vRosQbLWt6V9rpLNfA0KQsCkVe9SUU2 5ipsv8BxiuDRYzCw== Original-Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 188532C18F; Wed, 28 Sep 2022 12:45:59 +0000 (UTC) Original-Received: by hawking.suse.de (Postfix, from userid 17005) id 797F644011F; Wed, 28 Sep 2022 14:45:59 +0200 (CEST) X-Yow: Yes, but will I see the EASTER BUNNY in skintight leather at an IRON MAIDEN concert? In-Reply-To: <87o7uzg6ul.fsf@gmail.com> (Trent W. Buck's message of "Wed, 28 Sep 2022 19:56:34 +1000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:243812 Archived-At: 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, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."