From unknown Sun Jun 22 07:51:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11002: 23.1; Some interactive prompts lack trailing spaces Resent-From: Tim Landscheidt Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Mar 2012 02:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11002 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 11002@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.133160569614133 (code B ref -1); Tue, 13 Mar 2012 02:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Mar 2012 02:28:16 +0000 Received: from localhost ([127.0.0.1]:47697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7HTD-0003ft-Cs for submit@debbugs.gnu.org; Mon, 12 Mar 2012 22:28:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58396) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7HT9-0003fg-2Z for submit@debbugs.gnu.org; Mon, 12 Mar 2012 22:28:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7H0B-0001yV-SL for submit@debbugs.gnu.org; Mon, 12 Mar 2012 21:58:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_TVD_MIME_NO_HEADERS autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:57772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7H0B-0001yQ-Mb for submit@debbugs.gnu.org; Mon, 12 Mar 2012 21:58:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7H09-0005Tu-T5 for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 21:58:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7H07-0001xf-Oe for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 21:58:13 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.161]:64198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7H07-0001xD-F2 for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 21:58:11 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1331603889; l=3029; s=domk; d=tim-landscheidt.de; h=Content-Type:MIME-Version:Date:Subject:To:From:X-RZG-CLASS-ID: X-RZG-AUTH; bh=gecnGq3WwXd5tkRm9C8ukajqQx4=; b=CSnymRs3fsbWtUsbFafNt9X9+dZnNoOKWAKV0y2zr1UaMFW7bp+LgrFTYhpK8grg1rX Twl9KolBDH4CFe9Br2xLWYlzDSDat0bC6HH0KY2pLE9FKfNGtolb7jXcDCyMDJW6hvXhN tt6BHBY9FvtsS/S647f5QmP8Az2W5f4l4Rk= X-RZG-AUTH: :O2kGeEG7b/pS1FmwRjK/iE70SAFAhFmfc+zHXduyf9BrI1bL11XibYEqV1kX27nT2tDRs9oglEo= X-RZG-CLASS-ID: mo00 Received: from passepartout.tim-landscheidt.de (g224045039.adsl.alicedsl.de [92.224.45.39]) by smtp.strato.de (jimi mo4) (RZmta 28.1 DYNA|AUTH) with ESMTPA id h039b8o2D035rd for ; Tue, 13 Mar 2012 02:58:08 +0100 (MET) From: Tim Landscheidt Organization: Date: Tue, 13 Mar 2012 01:58:04 +0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) --=-=-= Hi, some interactive prompts are missing trailing spaces. This issue is still around in HEAD. The attached patch should fix it. HTH, Tim --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Fix-interactive-prompts-with-missing-trailing-spaces.patch >From 7757d23e8bd81f4361f4c80017e74fe949c6d545 Mon Sep 17 00:00:00 2001 From: Tim Landscheidt Date: Tue, 13 Mar 2012 01:46:55 +0000 Subject: [PATCH] Fix interactive prompts with missing trailing spaces. * lisp/calendar/icalendar.el (icalendar-export-file) (icalendar-import-file): Here ... * lisp/emulation/ws-mode.el (ws-query-replace): ... and here ... * lisp/sort.el (sort-regexp-fields): ... and here. --- lisp/calendar/icalendar.el | 4 ++-- lisp/emulation/ws-mode.el | 2 +- lisp/sort.el | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el index 83bda94..f1549ec 100644 --- a/lisp/calendar/icalendar.el +++ b/lisp/calendar/icalendar.el @@ -915,7 +915,7 @@ would be \"pm\"." "Export diary file to iCalendar format. All diary entries in the file DIARY-FILENAME are converted to iCalendar format. The result is appended to the file ICAL-FILENAME." - (interactive "FExport diary data from file: + (interactive "FExport diary data from file: \n\ Finto iCalendar file: ") (save-current-buffer (set-buffer (find-file diary-filename)) @@ -1794,7 +1794,7 @@ Argument ICAL-FILENAME output iCalendar file. Argument DIARY-FILENAME input `diary-file'. Optional argument NON-MARKING determines whether events are created as non-marking or not." - (interactive "fImport iCalendar data from file: + (interactive "fImport iCalendar data from file: \n\ Finto diary file: p") ;; clean up the diary file diff --git a/lisp/emulation/ws-mode.el b/lisp/emulation/ws-mode.el index aa8d647..0c7be14 100644 --- a/lisp/emulation/ws-mode.el +++ b/lisp/emulation/ws-mode.el @@ -716,7 +716,7 @@ This will only work for errors raised by WordStar mode functions." (defun ws-query-replace (from to) "In WordStar mode: Search string, remember string for repetition." - (interactive "sReplace: + (interactive "sReplace: \n\ sWith: " ) (setq ws-search-string from) (setq ws-search-direction t) diff --git a/lisp/sort.el b/lisp/sort.el index d38e475..8cfe69f 100644 --- a/lisp/sort.el +++ b/lisp/sort.el @@ -423,7 +423,7 @@ For example: to sort lines in the region by the first word on each line ;; using negative prefix arg to mean "reverse" is now inconsistent with ;; other sort-.*fields functions but then again this was before, since it ;; didn't use the magnitude of the arg to specify anything. - (interactive "P\nsRegexp specifying records to sort: + (interactive "P\nsRegexp specifying records to sort: \n\ sRegexp specifying key within record: \nr") (cond ((or (equal key-regexp "") (equal key-regexp "\\&")) (setq key-regexp 0)) -- 1.6.2.5 --=-=-=-- From unknown Sun Jun 22 07:51:49 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tim Landscheidt Subject: bug#11002: closed (Re: bug#11002: 23.1; Some interactive prompts lack trailing spaces) Message-ID: References: X-Gnu-PR-Message: they-closed 11002 X-Gnu-PR-Package: emacs Reply-To: 11002@debbugs.gnu.org Date: Tue, 13 Mar 2012 07:26:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1331623562-7710-1" This is a multi-part message in MIME format... ------------=_1331623562-7710-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #11002: 23.1; Some interactive prompts lack trailing spaces which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 11002@debbugs.gnu.org. --=20 11002: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D11002 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1331623562-7710-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 11002-done) by debbugs.gnu.org; 13 Mar 2012 07:25:55 +0000 Received: from localhost ([127.0.0.1]:47970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7M7H-000203-8C for submit@debbugs.gnu.org; Tue, 13 Mar 2012 03:25:55 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:49515) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7M7F-0001zw-5D for 11002-done@debbugs.gnu.org; Tue, 13 Mar 2012 03:25:54 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S7LeG-00053p-Ly; Tue, 13 Mar 2012 02:55:56 -0400 From: Glenn Morris To: 11002-done@debbugs.gnu.org Subject: Re: bug#11002: 23.1; Some interactive prompts lack trailing spaces References: X-Spook: passwd Hamas John Kerry Putin CBNRC Abu Ghraib Syria X-Ran: W*}j5IP8z%w\v_\(!]fZw9]^p-D.>N)0g)5KeW5|xorXj-]|)tgL%r9?yO-~0lH4onJ(>g X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 13 Mar 2012 02:55:56 -0400 In-Reply-To: (Tim Landscheidt's message of "Tue, 13 Mar 2012 01:58:04 +0000") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11002-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Version: 24.0.95 Thanks; applied. At least of these had the correct whitespace to start with, but it tends to get removed by careless application of delete-trailing-whitespace (I assume). ------------=_1331623562-7710-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Mar 2012 02:28:16 +0000 Received: from localhost ([127.0.0.1]:47697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7HTD-0003ft-Cs for submit@debbugs.gnu.org; Mon, 12 Mar 2012 22:28:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58396) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7HT9-0003fg-2Z for submit@debbugs.gnu.org; Mon, 12 Mar 2012 22:28:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7H0B-0001yV-SL for submit@debbugs.gnu.org; Mon, 12 Mar 2012 21:58:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_TVD_MIME_NO_HEADERS autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:57772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7H0B-0001yQ-Mb for submit@debbugs.gnu.org; Mon, 12 Mar 2012 21:58:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7H09-0005Tu-T5 for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 21:58:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7H07-0001xf-Oe for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 21:58:13 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.161]:64198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7H07-0001xD-F2 for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 21:58:11 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1331603889; l=3029; s=domk; d=tim-landscheidt.de; h=Content-Type:MIME-Version:Date:Subject:To:From:X-RZG-CLASS-ID: X-RZG-AUTH; bh=gecnGq3WwXd5tkRm9C8ukajqQx4=; b=CSnymRs3fsbWtUsbFafNt9X9+dZnNoOKWAKV0y2zr1UaMFW7bp+LgrFTYhpK8grg1rX Twl9KolBDH4CFe9Br2xLWYlzDSDat0bC6HH0KY2pLE9FKfNGtolb7jXcDCyMDJW6hvXhN tt6BHBY9FvtsS/S647f5QmP8Az2W5f4l4Rk= X-RZG-AUTH: :O2kGeEG7b/pS1FmwRjK/iE70SAFAhFmfc+zHXduyf9BrI1bL11XibYEqV1kX27nT2tDRs9oglEo= X-RZG-CLASS-ID: mo00 Received: from passepartout.tim-landscheidt.de (g224045039.adsl.alicedsl.de [92.224.45.39]) by smtp.strato.de (jimi mo4) (RZmta 28.1 DYNA|AUTH) with ESMTPA id h039b8o2D035rd for ; Tue, 13 Mar 2012 02:58:08 +0100 (MET) From: Tim Landscheidt To: bug-gnu-emacs@gnu.org Subject: 23.1; Some interactive prompts lack trailing spaces Organization: Date: Tue, 13 Mar 2012 01:58:04 +0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) --=-=-= Hi, some interactive prompts are missing trailing spaces. This issue is still around in HEAD. The attached patch should fix it. HTH, Tim --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Fix-interactive-prompts-with-missing-trailing-spaces.patch >From 7757d23e8bd81f4361f4c80017e74fe949c6d545 Mon Sep 17 00:00:00 2001 From: Tim Landscheidt Date: Tue, 13 Mar 2012 01:46:55 +0000 Subject: [PATCH] Fix interactive prompts with missing trailing spaces. * lisp/calendar/icalendar.el (icalendar-export-file) (icalendar-import-file): Here ... * lisp/emulation/ws-mode.el (ws-query-replace): ... and here ... * lisp/sort.el (sort-regexp-fields): ... and here. --- lisp/calendar/icalendar.el | 4 ++-- lisp/emulation/ws-mode.el | 2 +- lisp/sort.el | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el index 83bda94..f1549ec 100644 --- a/lisp/calendar/icalendar.el +++ b/lisp/calendar/icalendar.el @@ -915,7 +915,7 @@ would be \"pm\"." "Export diary file to iCalendar format. All diary entries in the file DIARY-FILENAME are converted to iCalendar format. The result is appended to the file ICAL-FILENAME." - (interactive "FExport diary data from file: + (interactive "FExport diary data from file: \n\ Finto iCalendar file: ") (save-current-buffer (set-buffer (find-file diary-filename)) @@ -1794,7 +1794,7 @@ Argument ICAL-FILENAME output iCalendar file. Argument DIARY-FILENAME input `diary-file'. Optional argument NON-MARKING determines whether events are created as non-marking or not." - (interactive "fImport iCalendar data from file: + (interactive "fImport iCalendar data from file: \n\ Finto diary file: p") ;; clean up the diary file diff --git a/lisp/emulation/ws-mode.el b/lisp/emulation/ws-mode.el index aa8d647..0c7be14 100644 --- a/lisp/emulation/ws-mode.el +++ b/lisp/emulation/ws-mode.el @@ -716,7 +716,7 @@ This will only work for errors raised by WordStar mode functions." (defun ws-query-replace (from to) "In WordStar mode: Search string, remember string for repetition." - (interactive "sReplace: + (interactive "sReplace: \n\ sWith: " ) (setq ws-search-string from) (setq ws-search-direction t) diff --git a/lisp/sort.el b/lisp/sort.el index d38e475..8cfe69f 100644 --- a/lisp/sort.el +++ b/lisp/sort.el @@ -423,7 +423,7 @@ For example: to sort lines in the region by the first word on each line ;; using negative prefix arg to mean "reverse" is now inconsistent with ;; other sort-.*fields functions but then again this was before, since it ;; didn't use the magnitude of the arg to specify anything. - (interactive "P\nsRegexp specifying records to sort: + (interactive "P\nsRegexp specifying records to sort: \n\ sRegexp specifying key within record: \nr") (cond ((or (equal key-regexp "") (equal key-regexp "\\&")) (setq key-regexp 0)) -- 1.6.2.5 --=-=-=-- ------------=_1331623562-7710-1--