From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#37926: [PATCH] Unify Gnus select methods Date: Sun, 27 Oct 2019 11:21:40 -0700 Message-ID: <87y2x62gnf.fsf@ericabrahamsen.net> References: <87zhhoh9kn.fsf@dick> <87a79mcmoi.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="158469"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 37926@debbugs.gnu.org, dick.r.chiang@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 27 19:40:42 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iOnT0-000f4e-Gu for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Oct 2019 19:40:42 +0100 Original-Received: from localhost ([::1]:46588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOnSz-0006f7-4a for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Oct 2019 14:40:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34995) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOnAx-0004HY-Gc for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 14:22:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iOnAw-0000fc-EU for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 14:22:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34714) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iOnAw-0000fR-BI for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 14:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iOnAw-0007Kk-00; Sun, 27 Oct 2019 14:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sun, 27 Oct 2019 18:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37926 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: patch Original-Received: via spool by 37926-submit@debbugs.gnu.org id=B37926.157220051028172 (code B ref 37926); Sun, 27 Oct 2019 18:22:01 +0000 Original-Received: (at 37926) by debbugs.gnu.org; 27 Oct 2019 18:21:50 +0000 Original-Received: from localhost ([127.0.0.1]:43534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iOnAk-0007KJ-GZ for submit@debbugs.gnu.org; Sun, 27 Oct 2019 14:21:50 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:55538 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iOnAi-0007K7-Gc for 37926@debbugs.gnu.org; Sun, 27 Oct 2019 14:21:48 -0400 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 1CE97FA028; Sun, 27 Oct 2019 18:21:42 +0000 (UTC) In-Reply-To: <87a79mcmoi.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 27 Oct 2019 15:01:17 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:170266 Archived-At: Lars Ingebrigtsen writes: > dick.r.chiang@gmail.com writes: > >> Subject: [PATCH] Unify gnus select methods into one defcustom > > That was a long patch, and I'm not sure I understand what it's doing. > Won't this basically break everybody's .newsrc.eld files? Basically it's introducing a new customization option, `gnus-select-methods' to obsolete `gnus-select-method' and `gnus-secondary-select-methods'. The latter two options are retained, and obsoleted only for 'set, not 'get. Then the defcustoms are jimmied so that customizing any of the options also sets the other two, so that: gnus-select-methods = (cons gnus-select-method gnus-secondary-select-methods) `gnus-select-method' is still used, `gnus-secondary-select-methods' not anymore. It only works if you customize those options though, not setq, so I don't see this being practically usable... Eric