From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter 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:50:10 -0700 Message-ID: References: <87a6ckkath.fsf@melete.silentflame.com> <34785f50-0c61-332a-180a-4fe7038fee8b@gmail.com> <87ilr8xpwp.fsf@athena.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2113"; mail-complaints-to="usenet@ciao.gmane.io" To: Sean Whitton , 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:51:41 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 1nfxoy-0000SB-Vy for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Apr 2022 07:51:40 +0200 Original-Received: from localhost ([::1]:40524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfxox-00010O-HY for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Apr 2022 01:51:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfxoM-0000xp-G4 for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2022 01:51:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40993) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nfxoM-00075z-3u for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2022 01:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nfxoL-0006LF-W0 for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2022 01:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Apr 2022 05:51:01 +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.165017461823537 (code B ref 54977); Sun, 17 Apr 2022 05:51:01 +0000 Original-Received: (at 54977) by debbugs.gnu.org; 17 Apr 2022 05:50:18 +0000 Original-Received: from localhost ([127.0.0.1]:34890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfxne-00067Z-8v for submit@debbugs.gnu.org; Sun, 17 Apr 2022 01:50:18 -0400 Original-Received: from mail-pg1-f178.google.com ([209.85.215.178]:33655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfxnc-00067K-LG for 54977@debbugs.gnu.org; Sun, 17 Apr 2022 01:50:17 -0400 Original-Received: by mail-pg1-f178.google.com with SMTP id k14so13555612pga.0 for <54977@debbugs.gnu.org>; Sat, 16 Apr 2022 22:50:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=tENvl69Fr9x/QdcjO8N9rXb6qm3C5QUMdDrYAxfMeUs=; b=H5DbU8OBRtmpwgtZqPRFxieZ/DBGGhKsIIVF+pTcbQM+ThSo5biExWHRMxBCTIR/KT ECEA5I/hOT4a4hckE4dds48Yu0oT9iA6gPPh3PXknyMAM8WVVuMw47IL8bdYElef+TnA KUSA1VOFrTqjnzC2d5cOZjxXZYXfSrbLevtvBXflcRWg/rYD55AvG3vudF2I4o8AFXxP QrxhOwgNF1PErEquMPIiYFvlRy0i9LHVWcrkoPDddO5uR4UBs+nVn3/YB/pb0RtNu9LF 7pa4JQPqzVK5Ef4w/IHUFlKeAUFIlM1Sm7T19goZLgPNheRxYC2Vm1qYVfuCpQnvo+tz nJaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tENvl69Fr9x/QdcjO8N9rXb6qm3C5QUMdDrYAxfMeUs=; b=AS+P8OBSMYhbjYZKe6ZHbFUdjfLHK44Z3lhqayR35Ojq96CI/yJlQQn9EJVXa57gGZ /eHBZVq66aNlNlc0MEnEAKNRKRveGXhQKmCmC/bHbobgHR1jmEKEo21Pi9eg0FCV1lAz KV8CatTPcEPfL8lBlZaRBL0gafyAKW7Sb370KexNIATyfx23HbgKw+ZFrEhThM7kXMcQ yeOprl1cWUjLIl9+sj48dxF5Thf97QtKped/RUkgV2T/xar0eYYVvenxdC2ocdf3ObO5 Tz3HW0Kig8HsUuDRn75a8JEu7voHtOwd7UsVjX6fI8YT1boSysvyjxiqMNtNEhqAmnFR xvXA== X-Gm-Message-State: AOAM533dxEVhnwBXrxzwzW67b09FuokAFsSc3VF1EI1HEVrVNDkf4pYD hyAiJAP+txrVrdLZtW3Th0LEAHf/MqU= X-Google-Smtp-Source: ABdhPJzcMyQyHLa+TxgUGlccmorpA2fF07mY819yumw6RZfErUO/PUk2eIOhAxwVE4tVpdLrGvkOEA== X-Received: by 2002:a05:6a00:190a:b0:4fa:e4e9:7126 with SMTP id y10-20020a056a00190a00b004fae4e97126mr6253640pfi.65.1650174610773; Sat, 16 Apr 2022 22:50:10 -0700 (PDT) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id q60-20020a17090a17c200b001cd567fecaesm9022510pja.26.2022.04.16.22.50.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 16 Apr 2022 22:50:10 -0700 (PDT) In-Reply-To: <87ilr8xpwp.fsf@athena.silentflame.com> Content-Language: en-US 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:230029 Archived-At: On 4/16/2022 10:03 PM, Sean Whitton wrote: > On Sat 16 Apr 2022 at 10:01pm -07, Jim Porter wrote: > >> 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. True, for this case it might be simpler to use two defcustoms, especially if it turns out that adding the necessary bits to the Customize interface proves difficult. I've never looked at the Customize internals, so I'm not sure how hard that would be (though I'm sure it's considerably harder than adding a defcustom to Eshell). Still, enhancing Customize would also (probably) solve this issue for `erc-modules' and `org-modules', and I'm sure lots of third-party packages would benefit too.