From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Damien Cassou Newsgroups: gmane.emacs.bugs Subject: bug#31628: 26.1; Problem in read-multiple-choice's docstring Date: Tue, 29 May 2018 08:04:49 +0200 Message-ID: <87in77hu9q.fsf@cassou.me> References: <87lgc3pzxf.fsf@cassou.me> <877enn64de.fsf@tcd.ie> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1527574213 15733 195.159.176.226 (29 May 2018 06:10:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 May 2018 06:10:13 +0000 (UTC) Cc: 31628@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 29 08:10:09 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 1fNXpg-00042p-Oi for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2018 08:10:08 +0200 Original-Received: from localhost ([::1]:59140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNXrn-0006js-QQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2018 02:12:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNXko-0001H5-7n for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 02:05:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNXkk-00063t-U1 for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 02:05:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45107) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNXkk-00063U-I4 for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 02:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fNXkk-0003Ma-2G for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 02:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Damien Cassou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 May 2018 06:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31628 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31628-submit@debbugs.gnu.org id=B31628.152757389712913 (code B ref 31628); Tue, 29 May 2018 06:05:02 +0000 Original-Received: (at 31628) by debbugs.gnu.org; 29 May 2018 06:04:57 +0000 Original-Received: from localhost ([127.0.0.1]:53004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNXkf-0003MC-3l for submit@debbugs.gnu.org; Tue, 29 May 2018 02:04:57 -0400 Original-Received: from mail.choca.pics ([62.210.108.126]:38908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNXkd-0003M4-BV for 31628@debbugs.gnu.org; Tue, 29 May 2018 02:04:56 -0400 Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 5C11423320EE; Tue, 29 May 2018 08:04:54 +0200 (CEST) Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id xvNzTzbtH51T; Tue, 29 May 2018 08:04:52 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 8B30023320EF; Tue, 29 May 2018 08:04:52 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.choca.pics 8B30023320EF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cassou.me; s=9EA44F5C-DEF4-11E6-A83F-A08DF322D8FB; t=1527573892; bh=Bm4jmIBccidUqHKsN6hCRhUCUioLlEtnNE9J5pjLe8A=; h=From:To:Date:Message-ID:MIME-Version; b=KLfILYBY9JY7kiApwOo6nSrHnWzrsX3c/AWWzm3vpj3jKzyDmzHAJd4UWvj8ZHtll zUo2pTAR/ikcR0l73nuHedzzV6emKXabO4WATjSQm8i9xWNZpFbOCeIWbtSIW+1EcU V7q6h0dC+05N3VzHhJfB0+Gki91E7kNNk37jqrzc+oy+WIxcV4/fLD8UpdcFsVJDbN 0YOIw/1kwKN9ExM2CvPrD1rZpOm8lFpoFxHXgEi5HO41vcboOYbksLVTZElht/XyUX T58w3BLR/Mav7ef8viSKNBRf+uUFac7C4DvI8P9wNGs+d5fKebntUJLqcnn/mPbkJJ gCyppEmb0WqWQ== X-Virus-Scanned: amavisd-new at choca.pics Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id j-ys14ml65t3; Tue, 29 May 2018 08:04:52 +0200 (CEST) Original-Received: from luz4 (20-44-190-109.dsl.ovh.fr [109.190.44.20]) by mail.choca.pics (Postfix) with ESMTPSA id 3054D23320EE; Tue, 29 May 2018 08:04:52 +0200 (CEST) In-Reply-To: <877enn64de.fsf@tcd.ie> 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:146671 Archived-At: --=-=-= Content-Type: text/plain "Basil L. Contovounesios" writes: > I think the full stops should be followed by two spaces, as per the > default sentence-end-double-space. fixed in attached patch. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-lisp-emacs-lisp-rmc.el-read-multiple-choice-Improve-.patch >From bad5de6b568d7730c4b3f48ae255a57eb91af421 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Mon, 28 May 2018 17:12:34 +0200 Subject: [PATCH] * lisp/emacs-lisp/rmc.el (read-multiple-choice): Improve docstring. --- lisp/emacs-lisp/rmc.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lisp/emacs-lisp/rmc.el b/lisp/emacs-lisp/rmc.el index 3dd3508903..6a0031cc4c 100644 --- a/lisp/emacs-lisp/rmc.el +++ b/lisp/emacs-lisp/rmc.el @@ -30,12 +30,12 @@ read-multiple-choice "Ask user a multiple choice question. PROMPT should be a string that will be displayed as the prompt. -CHOICES is an alist where the first element in each entry is a -character to be entered, the second element is a short name for -the entry to be displayed while prompting (if there's room, it -might be shortened), and the third, optional entry is a longer -explanation that will be displayed in a help buffer if the user -requests more help. +CHOICES is a list of (KEY NAME [DESCRIPTION]). KEY is a +character to be entered. NAME a short name for the entry to be +displayed while prompting (if there's room, it might be +shortened). DESCRIPTION is an optional longer explanation that +will be displayed in a help buffer if the user requests more +help. This function translates user input into responses by consulting the bindings in `query-replace-map'; see the documentation of @@ -46,7 +46,7 @@ read-multiple-choice again. When `use-dialog-box' is t (the default), this function can pop -up a dialog window to collect the user input. That functionality +up a dialog window to collect the user input. That functionality requires `display-popup-menus-p' to return t. Otherwise, a text dialog will be used. -- 2.17.0 --=-=-=--