From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Scott Bell via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74773: [PATCH] Elaborate doc string for rcirc-next-active-buffer Date: Tue, 10 Dec 2024 12:20:04 -0700 Message-ID: Reply-To: Scott Bell Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13494"; mail-complaints-to="usenet@ciao.gmane.io" To: 74773@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 10 20:21:22 2024 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 1tL5nO-0003Jp-5M for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Dec 2024 20:21:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tL5n7-0000By-Cc; Tue, 10 Dec 2024 14:21:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tL5n5-0000Bp-LJ for bug-gnu-emacs@gnu.org; Tue, 10 Dec 2024 14:21:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tL5n5-00027H-DE for bug-gnu-emacs@gnu.org; Tue, 10 Dec 2024 14:21:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=QfWQOo/FajJSvy+Dr49GhFn73Dd/kLrdIf+l0eld5RI=; b=l8SJZssq8W8VLFwy2d70PoYXd9Rj0ddakIPuX6bJbw1iHbsHBLOnJU2F4XCh1Gvz7vsSbs1CZLBrQTZMEbHGD1JnxuczB37iSy80KI6a0F/KkTN9vwwcn2okkuyQdt2Oaj8VQx1gptRN5rAajygm4+glmuxz7+2glr2pd/Bu+HTuvk8RAIrIdWMi4EWiPr9tAmAzCqPa9HJxMj5lzrPDIqQpg29ptGCZVTbVJYAkBl7Roax+Nd3V6rLGJ8M7iqkWuDevHl8jsmtvOxKGtgOHbcYzgQQ0Uw5/cSNoFUUPHmPq7/zygBrkxCCTeThflhT3lKtU+2/y+Y4eZTF+Eb00lg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tL5n4-0000qN-SG for bug-gnu-emacs@gnu.org; Tue, 10 Dec 2024 14:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Scott Bell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Dec 2024 19:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74773 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17338584293043 (code B ref -1); Tue, 10 Dec 2024 19:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Dec 2024 19:20:29 +0000 Original-Received: from localhost ([127.0.0.1]:59641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL5mW-0000my-EU for submit@debbugs.gnu.org; Tue, 10 Dec 2024 14:20:28 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:40434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL5mT-0000md-8M for submit@debbugs.gnu.org; Tue, 10 Dec 2024 14:20:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tL5mS-000070-TH for bug-gnu-emacs@gnu.org; Tue, 10 Dec 2024 14:20:24 -0500 Original-Received: from pv50p00im-ztdg10021101.me.com ([17.58.6.44]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tL5mQ-00022j-DO for bug-gnu-emacs@gnu.org; Tue, 10 Dec 2024 14:20:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1733858419; bh=QfWQOo/FajJSvy+Dr49GhFn73Dd/kLrdIf+l0eld5RI=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type: x-icloud-hme; b=eiRq+ph3WP1s8w7BL5L0v3QffrGJKBZhNVw+EBSqMAoAPe9H82VjfBE5K+C3hJ9OZ l4WoXbxeaBpKcnHlqi7pQLLPOpE7obVgMYiqmfltn1YA69D9/K/hAwDSf55yN4/Rk5 pjEv5LBlbrKaSGgpgp1+d03h9mZ6vC2qUqrknq+OxTPRagxHwgCNVk05BvzCI9NJa5 U/+LzF/DC/FZdZvw/l3/DnO888h5rh37eGsr17axi35fZwHkc/UNPJKuXXTL2l2Trv dMYFSds2KsqvHuVYem/QBCpPpZr1hxC0P7jqWYedYSzqyGw2ReKfB6qnmAWlM8kikV YNPu7C+PF9YEQ== Original-Received: from neun.local (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-ztdg10021101.me.com (Postfix) with ESMTPSA id 0423AD00309 for ; Tue, 10 Dec 2024 19:20:16 +0000 (UTC) X-Proofpoint-GUID: 8InweN-SWywOkSCFvIXPLk9TkczNh6aB X-Proofpoint-ORIG-GUID: 8InweN-SWywOkSCFvIXPLk9TkczNh6aB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2024-12-10_11,2024-12-10_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 malwarescore=0 mlxlogscore=532 bulkscore=0 clxscore=1015 phishscore=0 adultscore=0 suspectscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2412100141 Received-SPF: pass client-ip=17.58.6.44; envelope-from=sctb@me.com; helo=pv50p00im-ztdg10021101.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296779 Archived-At: --=-=-= Content-Type: text/plain I found the current behavior of rcirc-next-active-buffer surprising in the case where there is no activity, so I thought it could be described in the doc string. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-lisp-net-rcirc.el-rcirc-next-active-buffer-Doc-strin.patch Content-Description: Patch file >From b5a3f93c006316d53139bbd308afbf4c70c89289 Mon Sep 17 00:00:00 2001 From: Scott Bell Date: Tue, 10 Dec 2024 12:02:54 -0700 Subject: [PATCH] ; * lisp/net/rcirc.el (rcirc-next-active-buffer): Doc string --- lisp/net/rcirc.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index c41e2ec153f..33e4008fc0b 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -2448,7 +2448,8 @@ rcirc-bury-buffers (defun rcirc-next-active-buffer (arg) "Switch to the next rcirc buffer with activity. -With prefix ARG, go to the next low priority buffer with activity." +With prefix ARG, go to the next low priority buffer with activity. +When there are no buffers with activity, bury all rcirc buffers." (interactive "P") (let* ((pair (rcirc-split-activity rcirc-activity)) (lopri (car pair)) -- 2.39.5 (Apple Git-154) --=-=-=--