From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#54977: 29.0.50; Customising eshell-modules-list means you won't get new default entries Date: Sat, 16 Apr 2022 22:03:18 -0700 Message-ID: <87ilr8xpwp.fsf@athena.silentflame.com> References: <87a6ckkath.fsf@melete.silentflame.com> <34785f50-0c61-332a-180a-4fe7038fee8b@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="37886"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Emacs/29.0.50 (x86_64-pc-linux-gnu) To: Jim Porter , 54977@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 17 07:04:46 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 1nfx5Y-0009bW-05 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Apr 2022 07:04:46 +0200 Original-Received: from localhost ([::1]:58406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfx5W-0000M5-Ni for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Apr 2022 01:04:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfx4u-0000JR-30 for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2022 01:04:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40950) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nfx4t-0000bB-M2 for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2022 01:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nfx4s-0004j5-G4 for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2022 01:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Apr 2022 05:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54977 X-GNU-PR-Package: emacs Original-Received: via spool by 54977-submit@debbugs.gnu.org id=B54977.165017180618119 (code B ref 54977); Sun, 17 Apr 2022 05:04:02 +0000 Original-Received: (at 54977) by debbugs.gnu.org; 17 Apr 2022 05:03:26 +0000 Original-Received: from localhost ([127.0.0.1]:34847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfx4I-0004iB-Kc for submit@debbugs.gnu.org; Sun, 17 Apr 2022 01:03:26 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:60695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfx4H-0004hz-2S for 54977@debbugs.gnu.org; Sun, 17 Apr 2022 01:03:25 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D96F75C00D4; Sun, 17 Apr 2022 01:03:19 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 17 Apr 2022 01:03:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1650171799; x=1650258199; bh=YgG6gD55Dd zFZWUg5XZ60z19x5/KsVBj9Hor5u4sM0U=; b=TIpuhu0dIDqyjWSVqY5fakKmo8 NQRqzat58mwSYnedB1B/qqhOcqBQauA5vlhzUUB8RBeyFLOx5Mg1mdMt4F4wbUXg Up1Is0nVFfLHLQC5iEDPthI0Q2ggdJJoFG069QLPAOAmuNKh47hEr8dRUIWr+vEF RUW1O3/aKQliHQgKglUbLneEKQmAbPj9sJo1+EItvhEc4Glf+I0xHNik1vLUEZM/ DH9tKo2Nux8dW8F/xCY0BtAOCMlO/0eBfw9RiKJ8vr7xVCS93SD+XKw7JZFO2lPU VfSijciA9OiJgoVXl6dO24OZyw9tTXLq6AGA6Wjc2S05+A64LyIuVv4qvIiQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1650171799; x= 1650258199; bh=YgG6gD55DdzFZWUg5XZ60z19x5/KsVBj9Hor5u4sM0U=; b=M 4kJ39fF+gWiviy3TSZXT64ch7O3txhq8hNbMyWOk2xI2QBP58FX9cdRrn3wid+d+ l9WLDSVk91D/tC/S57/xj6hG/wJkzIELV9Y5b/3MK3z9ppPgKuTRweDA5hdK4rqg mOepShoZS4OCj+wAdFhb7j6ocYF8neQf+AIqNJdffdacg1EUvARH+obwknMcGMbC y4ZY0s905IcqgqrdPFYnHuFnjN0GXsQbJ0SM54sBEYhRXhLPO4GJ44/85leJOAMj OL5sJ2nquofH4SEgnN4x4kuwzPsfwXU5/wbttQH3oxa7xVdGQPRd094ETGrtXI1L 83WmbvRvGMid3Vdnf6khg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudelkedgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffgffkfggtgesthdttd dttdertdenucfhrhhomhepufgvrghnucghhhhithhtohhnuceoshhpfihhihhtthhonhes shhpfihhihhtthhonhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeelgeeggfdvieejvd fhudfggeetgfekkeeuieeljeejhedugeegfeetgefhueffkeenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsphifhhhithhtohhnsehsphifhh hithhtohhnrdhnrghmvg X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 17 Apr 2022 01:03:19 -0400 (EDT) Original-Received: by athena.silentflame.com (Postfix, from userid 1000) id 715441B6ABB; Sun, 17 Apr 2022 05:03:18 +0000 (UTC) In-Reply-To: <34785f50-0c61-332a-180a-4fe7038fee8b@gmail.com> 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:230027 Archived-At: Hello, On Sat 16 Apr 2022 at 10:01pm -07, Jim Porter wrote: > On 4/16/2022 1:55 PM, Sean Whitton wrote: >> Suppose that you use the customisation interface to enable the >> eshell-rebind module, and save the result in your init. Now upstream >> Emacs gains a new on-by-default module, e.g. the recently added >> em-extpipe. While everyone who hasn't customised eshell-modules-list >> gets the new module automatically, you'll have to customise the variable >> again, and you can't even just tick a box to add it, as with the other >> truly optional modules, but must manually insert it at the end of the >> list. This is no good. > > Generally I resolve this in my config by using a combination of > `add-to-list' and `delete' to manually customize lists like this. Right, me too. > Maybe it would be good to provide something like that for users of the > Customize interface as well? Then any defcustom that takes a list > could either be customized to have an exact set of elements (as it is > today), or to have "the default, but with FOO added and BAR removed". That might be a good enhancement, but I think the Eshell case is a bit simpler -- using two defcustoms mostly solves it. -- Sean Whitton