From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2533: 23.0.90; [PATCH] rmail: improve rmail-add/kill-label docstring Date: Mon, 2 Mar 2009 02:25:03 +0100 Organization: GNU's Not UNIX! Message-ID: <200903020125.n221P3dY004861@zogzog.maillard.mobi> Reply-To: Xavier Maillard , 2533@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1235958236 3912 80.91.229.12 (2 Mar 2009 01:43:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Mar 2009 01:43:56 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 02 02:45:11 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LdxDS-0004iv-Pd for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Mar 2009 02:45:11 +0100 Original-Received: from localhost ([127.0.0.1]:45467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdxC7-0007fD-O6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Mar 2009 20:43:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LdxC2-0007de-Vi for bug-gnu-emacs@gnu.org; Sun, 01 Mar 2009 20:43:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LdxC2-0007cq-7p for bug-gnu-emacs@gnu.org; Sun, 01 Mar 2009 20:43:42 -0500 Original-Received: from [199.232.76.173] (port=35821 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdxC1-0007cW-VB for bug-gnu-emacs@gnu.org; Sun, 01 Mar 2009 20:43:41 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52314) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LdxC1-0006Q2-5A for bug-gnu-emacs@gnu.org; Sun, 01 Mar 2009 20:43:41 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n221hcNf012978; Sun, 1 Mar 2009 17:43:39 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n221Z5uk010851; Sun, 1 Mar 2009 17:35:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Xavier Maillard Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 02 Mar 2009 01:35:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2533 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12359571479369 (code B ref -1); Mon, 02 Mar 2009 01:35:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 2 Mar 2009 01:25:47 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n221PhpJ009350 for ; Sun, 1 Mar 2009 17:25:44 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:53542) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LdwsL-0007UL-6M for emacs-pretest-bug@gnu.org; Sun, 01 Mar 2009 20:23:21 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ldwub-00042p-Cz for emacs-pretest-bug@gnu.org; Sun, 01 Mar 2009 20:25:42 -0500 Original-Received: from ded1.conovae.com ([88.191.52.166]:49476 helo=mf1.conovae.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ldwua-00042U-S8 for emacs-pretest-bug@gnu.org; Sun, 01 Mar 2009 20:25:41 -0500 Original-Received: by mf1.conovae.net (Postfix, from userid 10) id 047D1260EE0; Mon, 2 Mar 2009 02:24:28 +0100 (CET) Original-Received: from zogzog.maillard.mobi (IDENT:1000@localhost [127.0.0.1]) by zogzog.maillard.mobi (8.14.3/8.13.8) with ESMTP id n221P76h004865 for ; Mon, 2 Mar 2009 02:25:07 +0100 Original-Received: (from xma@localhost) by zogzog.maillard.mobi (8.14.3/8.13.8/Submit) id n221P3dY004861; Mon, 2 Mar 2009 02:25:03 +0100 User-Agent: Rmail GNU emacs 23.0 on Slackware 12.2.0 Jabber-ID: xma01@jabber.fr X-UUCPssh-Information: Please contact the ISP for more information X-UUCPssh: Found to be clean X-UUCPssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 6, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-UUCPssh-From: xma@gnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 01 Mar 2009 20:43:42 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25900 gmane.emacs.pretest.bugs:24034 Archived-At: When using keys 'a' or 'k' in a `rmail-summary' buffer, it is not obvious user can type multiple labels as "comma-separated list of labels". OTOH, it is clearly announced when user wants to summarize by labels. The patch enclosed tries to clarify this. Hope that'll help. ChangeLog proposed: 2009-03-01 Xavier Maillard * mail/rmailsum.el (rmail-summary-add-label) (rmail-summary-kill-label): Fix docstrings. Indicate user can type multiple comma-separted list of labels. Patch: diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 6940f3d..1ae0bd9 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el @@ -1542,7 +1542,8 @@ Interactively, empty argument means use same regexp used last time." (defun rmail-summary-add-label (label) "Add LABEL to labels associated with current Rmail message. -Completion is performed over known labels when reading." +Completion is performed over known labels when reading. +LABEL may be a comma-separated list of labels." (interactive (list (save-excursion (set-buffer rmail-buffer) (rmail-read-label "Add label")))) @@ -1552,7 +1553,8 @@ Completion is performed over known labels when reading." (defun rmail-summary-kill-label (label) "Remove LABEL from labels associated with current Rmail message. -Completion is performed over known labels when reading." +Completion is performed over known labels when reading. +LABEL may be a comma-separated list of labels." (interactive (list (save-excursion (set-buffer rmail-buffer) (rmail-read-label "Kill label")))) Recent input: C-x u C-x u C-SPC C-w C-SPC C-a M-w C-x b C-s C-s C-s C-s C-y C-SPC C-w C-x b x m a - s u a ' t e s t k g n u - e m k ' t e k e t e s t SPC t e s t k SPC C-x C-b C-x 1 C-SPC C-w C-SPC C-w C-a C-SPC C-e M-w C-e C-y C-SPC C-w C-x C-s C-x v = C-x 1 M-k C-x 1 C-x 1 C-x 0 C-x b C-g C-x 1 C-x b C-x 1 C-l / b C-x 5 0 M-x e m r e p o r t - e m Recent messages: Mark activated Updating buffer list... Mark set Updating buffer list...done Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help Mark set [5 times] Saving file /home/xma/usr/src/GITed/emacs/lisp/mail/rmailsum.el... Wrote /home/xma/usr/src/GITed/emacs/lisp/mail/rmailsum.el Finding changes in /home/xma/usr/src/GITed/emacs/lisp/mail/rmailsum.el... call-interactively: Attempt to delete minibuffer or sole ordinary window Quit Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org