From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alex Branham Newsgroups: gmane.emacs.bugs Subject: bug#37022: 27.0.50; gnus-1 and gnus have identical docstrings Date: Fri, 23 Aug 2019 10:55:31 -0500 Message-ID: <87tva76fm4.fsf@gmail.com> References: <87o90sh990.fsf@gmail.com> <87a7cb8qtl.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="24211"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 37022@debbugs.gnu.org, Alex Branham To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 23 17:56:22 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 1i1BvJ-0006DQ-DR for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Aug 2019 17:56:21 +0200 Original-Received: from localhost ([::1]:58636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1BvI-00069h-5P for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Aug 2019 11:56:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39341) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1Bv1-0005xo-Kd for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 11:56:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i1Bv0-00050o-Ix for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 11:56:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60447) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i1Bv0-00050Z-DV for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 11:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i1Bv0-0004q2-5h; Fri, 23 Aug 2019 11:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Branham Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 23 Aug 2019 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37022 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 37022-submit@debbugs.gnu.org id=B37022.156657575018575 (code B ref 37022); Fri, 23 Aug 2019 15:56:02 +0000 Original-Received: (at 37022) by debbugs.gnu.org; 23 Aug 2019 15:55:50 +0000 Original-Received: from localhost ([127.0.0.1]:41034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1Bun-0004pR-Iy for submit@debbugs.gnu.org; Fri, 23 Aug 2019 11:55:49 -0400 Original-Received: from mail-oi1-f172.google.com ([209.85.167.172]:45590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1Bul-0004p3-Ci; Fri, 23 Aug 2019 11:55:47 -0400 Original-Received: by mail-oi1-f172.google.com with SMTP id v12so7346427oic.12; Fri, 23 Aug 2019 08:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=a+vE9j564BwSxgXHvRahCDdUn/wnNhmn8mfITYRf/rw=; b=r3LDDWMkYEMubeHqJ6OThkURcZzr9Lvg9kHB3Wld6J67i71dW8DAy34IfxZWV9WxaE gYvaJSzDxeOZ7i+G7SQdDEZJ3yLnOZ7z6G616VqoI8Zbk5zmJ+zqm5Jh+LL6dP+e7LQ8 RCTF9pho5kgBpHgtOK+dBZA8hqPtIEpSpGbbB9qOiPIJaYI7Co3xiEJNRGHpDHSiBccG wEvYqqB2ouOYG+TRBWNmWsfk4hHPl34i2apMeceT3/Joiq+6IEDl7pkxpfbfhU3LeWey othbZLsYZMdMgE//Ofm9sHV+iCTXjONecSzaKjMT4S0T58OQrI/7HYJL7MGibF9A64EN 1AwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=a+vE9j564BwSxgXHvRahCDdUn/wnNhmn8mfITYRf/rw=; b=DITNNFMpOHcB3x7ixghVAKzin9jXvFq/nujR29quDcZ4SDMaxXbZs2iOSbLHDR8qna xdY02Num71TkO/Jd44iisAySFb20h3o5Vy1tjE5zFRlUYMa5Mh1AN7QUdjuPofmFMSzj M7LnEd0d3TwJg/Ws6bwg2PeMONrnMucGLT6GI5WEf5QeAqqw2yP+V7Ju7vAnTxSRVEdw foF6jxs1OJczdgq0ViQAt/9aAhhAxCrzMEJtERqa68Za9DqiER+/2B5s0iMtHjo72pzE VFq+LRbQTjPrK8YzyC2Syuqn/4uX36UJAflnu7crLB0+NpAIb8PpV/6kINcu/96DFbjb h9ZA== X-Gm-Message-State: APjAAAVBpSp2g5zvKY5n808qUn4DuJtedlEOxVKoz8gRt8ehRocdecVJ MCdDvbAT8eB3DCvyFojTDzAqmEuY X-Google-Smtp-Source: APXvYqyUaGQ3eztPnqeZ2NPwC081iibyR4QHCVBrQ/HvEXTyyHYYYz1on7a2czYzSUSw4nr9Pj2yfA== X-Received: by 2002:aca:f057:: with SMTP id o84mr3713282oih.71.1566575741295; Fri, 23 Aug 2019 08:55:41 -0700 (PDT) Original-Received: from mars (cpe-70-114-192-208.austin.res.rr.com. [70.114.192.208]) by smtp.gmail.com with ESMTPSA id s24sm1094749otd.81.2019.08.23.08.55.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Aug 2019 08:55:39 -0700 (PDT) In-Reply-To: <87a7cb8qtl.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 14 Aug 2019 12:55:34 -0700") 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:165699 Archived-At: --=-=-= Content-Type: text/plain tags 37022 + patch quit On Wed 14 Aug 2019 at 12:55, Eric Abrahamsen wrote: > Alex Branham writes: > >> Hi - >> >> The commands gnus-1 and gnus have identical docstrings. gnus-1 should >> probably specify how it differs from just M-x gnus (or be >> noninterative). > > I'm inclined to think that gnus-1 (and gnus-no-server-1) shouldn't be > interactive. I can't see any point to it -- the *-1 variants live in > gnus-start.el and are not autoloaded. It seems like Gnus' entry points > should be interactive and autoloaded, and what happens after that is > internals. Here's a patch that makes them noninteractive. Alex --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-lisp-gnus-gnus-start.el-gnus-1-gnus-no-server-1-Make.patch >From 2c2411d94618d8c719c2583fe7ed1c19d02cbae9 Mon Sep 17 00:00:00 2001 From: Alex Branham Date: Fri, 23 Aug 2019 10:51:48 -0500 Subject: [PATCH] * lisp/gnus/gnus-start.el (gnus-1, gnus-no-server-1): Make noninteractive bug#37022 --- lisp/gnus/gnus-start.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index 930d522c41..e8775c6667 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el @@ -738,7 +738,6 @@ gnus-no-server-1 and not a positive number, Gnus will prompt the user for the name of an NNTP server to use. As opposed to \\[gnus], this command will not connect to the local server." - (interactive "P") (let ((val (or arg (1- gnus-level-default-subscribed)))) (gnus val t slave) (make-local-variable 'gnus-group-use-permanent-levels) @@ -749,8 +748,6 @@ gnus-1 If ARG is non-nil and a positive number, Gnus will use that as the startup level. If ARG is non-nil and not a positive number, Gnus will prompt the user for the name of an NNTP server to use." - (interactive "P") - (if (gnus-alive-p) (progn (gnus-run-hooks 'gnus-before-resume-hook) -- 2.22.0 --=-=-=--