GNU bug report logs - #11002
23.1; Some interactive prompts lack trailing spaces

Previous Next

Package: emacs;

Reported by: Tim Landscheidt <tim <at> tim-landscheidt.de>

Date: Tue, 13 Mar 2012 02:29:01 UTC

Severity: normal

Found in version 23.1

Fixed in version 24.0.95

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11002 in the body.
You can then email your comments to 11002 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#11002; Package emacs. (Tue, 13 Mar 2012 02:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tim Landscheidt <tim <at> tim-landscheidt.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 13 Mar 2012 02:29:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tim Landscheidt <tim <at> tim-landscheidt.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; Some interactive prompts lack trailing spaces
Date: Tue, 13 Mar 2012 01:58:04 +0000
[Message part 1 (text/plain, inline)]
Hi,

some interactive prompts are missing trailing spaces.  This
issue is still around in HEAD.  The attached patch should
fix it.

HTH,
Tim
[0001-Fix-interactive-prompts-with-missing-trailing-spaces.patch (text/x-patch, inline)]
From 7757d23e8bd81f4361f4c80017e74fe949c6d545 Mon Sep 17 00:00:00 2001
From: Tim Landscheidt <tim <at> tim-landscheidt.de>
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


Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Tue, 13 Mar 2012 07:26:01 GMT) Full text and rfc822 format available.

Notification sent to Tim Landscheidt <tim <at> tim-landscheidt.de>:
bug acknowledged by developer. (Tue, 13 Mar 2012 07:26:02 GMT) Full text and rfc822 format available.

Message #10 received at 11002-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 11002-done <at> debbugs.gnu.org
Subject: Re: bug#11002: 23.1; Some interactive prompts lack trailing spaces
Date: Tue, 13 Mar 2012 02:55:56 -0400
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).




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 10 Apr 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 28 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.