From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#30064: 27.0.50; Improve grammar of map-y-or-n-p help text Date: Wed, 10 Jan 2018 14:25:36 +0000 Message-ID: <871sixg59b.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1515594262 30381 195.159.176.226 (10 Jan 2018 14:24:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Jan 2018 14:24:22 +0000 (UTC) To: 30064@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 10 15:24:17 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZHId-0007Yf-Ta for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jan 2018 15:24:16 +0100 Original-Received: from localhost ([::1]:45035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZHKd-0004EF-Gp for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jan 2018 09:26:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZHKS-0004CD-IT for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 09:26:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZHKM-0000yK-DC for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 09:26:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42478) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZHKM-0000y8-8q for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 09:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eZHKL-0007tP-Vq for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 09:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jan 2018 14:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30064 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.151559436030330 (code B ref -1); Wed, 10 Jan 2018 14:26:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Jan 2018 14:26:00 +0000 Original-Received: from localhost ([127.0.0.1]:50375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZHKK-0007t8-K5 for submit@debbugs.gnu.org; Wed, 10 Jan 2018 09:26:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZHKI-0007sv-Lo for submit@debbugs.gnu.org; Wed, 10 Jan 2018 09:25:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZHKC-0000r7-5G for submit@debbugs.gnu.org; Wed, 10 Jan 2018 09:25:53 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35948) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eZHKC-0000qp-2G for submit@debbugs.gnu.org; Wed, 10 Jan 2018 09:25:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZHK7-0003wa-O3 for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 09:25:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZHK4-0000mc-KQ for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 09:25:47 -0500 Original-Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:34115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZHK4-0000lL-Ct for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 09:25:44 -0500 Original-Received: by mail-wm0-x22a.google.com with SMTP id 81so2100568wmb.1 for ; Wed, 10 Jan 2018 06:25:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=QeQQHEDL49EqtLKsPTJQu8rlYBPPKWpiIS2iaoe/M+Y=; b=VhYPWzVwyQWdep0aM22Nmc8oMo0m7/sB05obVjPmAyIyy/Tu5LjszoUHtnXFnFT+2e QBwjyO6ZEWOkMXkK79MSw2YyjTYp0y9BTDlxMLn5Ve+O96nZb1W8Ef+Xl7sC+/2t6ga5 O/ykbr46K+KgDycjB9R+GL0fXltxmkHfukhwMMfQ2y2DV0pxDH1JSFG6cXiZzMfNLpeM A+pV54LqNPe3+xJF1+D2EmbARr9HEDthBg+doboLBCO+AdehTVRq8ZSiLODoTWs2A4ig M5rm2wVYGJpcZhMQVw3+DOyXJEnz/aZDAS+Vq9SIDFhIkhkDm9TiTb2BmqybgCklpNEr 6aTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=QeQQHEDL49EqtLKsPTJQu8rlYBPPKWpiIS2iaoe/M+Y=; b=OUJ/k+CF8FwaQgtXjVv9fU6oVAM3jmAr2QrGEG4sxUR/DnkN3ElljY9HJuq1YQMJ8D T2FBRO9l5Y3yVfjJhAiq+LX1WKej7GFJWH7AQPzz3fPSzv0s4mqnU8k1sIYe1Ymwomco eD8ju1QHXEI2m2M079tnqSrfXf9/ic+N7NIZ8oOuxDZTKPf430tTDrkFS+jk/QC4WcAA /IUr5rppfHbCWJSe5is3bwJqdWphbKadcPDhhcrf4Udszo0+b4vrtzZhOWzYP+hKwcv4 PZTdJ1Oh8Bg13lo7IxH6RJGfcNeuWhtq+zQbwaD/c794/gl1eAZejxbnnZgbz1g/RlFu m6QQ== X-Gm-Message-State: AKwxytcn1gBQSPhZQFnPJCQk6rGD/6zpH2Lv3kEf8zgbJpF1kCMHecDJ uVxg1TMZbIGn9HkydTMN6nsMkh0k X-Google-Smtp-Source: ACJfBotEBDz6pXZxNy9i6IqbPWVj0ZlIVIUke4APDbSowfflDFqzmpmPa+qoSOHW5ViN7+x5E2trUw== X-Received: by 10.80.182.181 with SMTP id d50mr1920539ede.116.1515594342622; Wed, 10 Jan 2018 06:25:42 -0800 (PST) Original-Received: from localhost ([213.233.148.28]) by smtp.gmail.com with ESMTPSA id 4sm9246954edf.81.2018.01.10.06.25.40 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Jan 2018 06:25:41 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 208.118.235.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:141977 Archived-At: --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Improve-grammar-of-map-y-or-n-p-help-text.patch >From c846d0f52a398e97f0cf705c2ae17a93629e2e66 Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Wed, 10 Jan 2018 13:55:29 +0000 Subject: [PATCH] Improve grammar of map-y-or-n-p help text * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Do not follow a definite article with an action verb in C-h help text. --- lisp/emacs-lisp/map-ynp.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/emacs-lisp/map-ynp.el b/lisp/emacs-lisp/map-ynp.el index 2a7eddedad..5aa2a6fad1 100644 --- a/lisp/emacs-lisp/map-ynp.el +++ b/lisp/emacs-lisp/map-ynp.el @@ -197,14 +197,14 @@ map-y-or-n-p (objects (if help (nth 1 help) "objects")) (action (if help (nth 2 help) "act on"))) (concat - (format-message "\ + (format-message + "\ Type SPC or `y' to %s the current %s; DEL or `n' to skip the current %s; -RET or `q' to give up on the %s (skip all remaining %s); +RET or `q' to skip the current and all remaining %s; C-g to quit (cancel the whole command); ! to %s all remaining %s;\n" - action object object action objects action - objects) + action object object objects action objects) (mapconcat (function (lambda (elt) (format "%s to %s" -- 2.15.1 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The help text displayed by the function map-y-or-n-p when the user types C-h contains the following grammatically dubious phrase: RET or =E2=80=98q=E2=80=99 to give up on the act on (skip all remaining o= bjects); ^^^^^^^^^^ where an (configurable) action verb follows the definite article. I attach a patch to both avoid this and clarify that the current object is skipped as well as all remaining ones. Thanks, --=20 Basil In GNU Emacs 27.0.50 (build 13, x86_64-pc-linux-gnu, X toolkit, Xaw3d scrol= l bars) of 2018-01-03 built on thunk Repository revision: f8b4e87d5d4f57954b50677add76ce5136211dc1 Windowing system distributor 'The X.Org Foundation', version 11.0.11905000 System Description: Debian GNU/Linux testing (buster) --=-=-=--