GNU bug report logs - #9952
Default value displayed twice in `goto-line' prompt

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Fri, 4 Nov 2011 16:48:01 UTC

Severity: wishlist

Tags: patch

Merged with 9201

Done: Juri Linkov <juri <at> jurta.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 9952 in the body.
You can then email your comments to 9952 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#9952; Package emacs. (Fri, 04 Nov 2011 16:48:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dani Moncayo <dmoncayo <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 04 Nov 2011 16:48:02 GMT) Full text and rfc822 format available.

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

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Default value displayed twice in `goto-line' prompt
Date: Fri, 4 Nov 2011 17:44:30 +0100
Hi,

From "emacs -Q":
1. Type "3 M-g g".

Observed minibuffer prompt: "Goto line (3) (default 3): ".
Expected: "Goto line (default 3): ".

I think that the following patch fixes this problem:

=== modified file 'lisp/simple.el'
--- lisp/simple.el      2011-10-27 03:01:40 +0000
+++ lisp/simple.el      2011-11-04 16:36:39 +0000
@@ -924,10 +924,7 @@
                 (concat " in " (buffer-name buffer))
               "")))
        ;; Read the argument, offering that number (if any) as default.
-       (list (read-number (format (if default "Goto line%s (%s): "
-                                    "Goto line%s: ")
-                                  buffer-prompt
-                                  default)
+       (list (read-number (format "Goto line%s: " buffer-prompt)
                           default)
             buffer))))
   ;; Switch to the desired buffer, one way or another.



In GNU Emacs 24.0.90.1 (i386-mingw-nt6.1.7601)
 of 2011-10-27 on DANI-PC
Windowing system distributor `Microsoft Corp.', version 6.1.7601
configured using `configure --with-gcc (4.5)'

-- 
Dani Moncayo




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9952; Package emacs. (Fri, 04 Nov 2011 20:38:01 GMT) Full text and rfc822 format available.

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

From: Juri Linkov <juri <at> jurta.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 9952 <at> debbugs.gnu.org
Subject: Re: bug#9952: Default value displayed twice in `goto-line' prompt
Date: Fri, 04 Nov 2011 22:33:27 +0200
> Observed minibuffer prompt: "Goto line (3) (default 3): ".
> Expected: "Goto line (default 3): ".

Please see bug#9201.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9952; Package emacs. (Fri, 04 Nov 2011 21:44:01 GMT) Full text and rfc822 format available.

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

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: 9952 <at> debbugs.gnu.org
Subject: Re: bug#9952: Default value displayed twice in `goto-line' prompt
Date: Fri, 4 Nov 2011 22:41:06 +0100
On Fri, Nov 4, 2011 at 21:33, Juri Linkov <juri <at> jurta.org> wrote:
>> Observed minibuffer prompt: "Goto line (3) (default 3): ".
>> Expected: "Goto line (default 3): ".
>
> Please see bug#9201.

Oops, I'm Sorry, my patch is a subset of yours.

So, may we close this bug report or merge both of them?

-- 
Dani Moncayo




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9952; Package emacs. (Sat, 05 Nov 2011 08:26:01 GMT) Full text and rfc822 format available.

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

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: 9952 <at> debbugs.gnu.org
Subject: Re: bug#9952: Default value displayed twice in `goto-line' prompt
Date: Sat, 5 Nov 2011 09:23:12 +0100
forcemerge 9201 9952
stop

>>> Observed minibuffer prompt: "Goto line (3) (default 3): ".
>>> Expected: "Goto line (default 3): ".
>>
>> Please see bug#9201.
>
> Oops, I'm Sorry, my patch is a subset of yours.
>
> So, may we close this bug report or merge both of them?

I'm merging them, although #9952 is actually a subset of #9201.


-- 
Dani Moncayo




Forcibly Merged 9201 9952. Request was from Dani Moncayo <dmoncayo <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 05 Nov 2011 08:26:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9952; Package emacs. (Sun, 06 Nov 2011 14:42:01 GMT) Full text and rfc822 format available.

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

From: Juri Linkov <juri <at> jurta.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 9952 <at> debbugs.gnu.org
Subject: Re: bug#9952: Default value displayed twice in `goto-line' prompt
Date: Sun, 06 Nov 2011 16:34:28 +0200
>>>> Observed minibuffer prompt: "Goto line (3) (default 3): ".
>>>> Expected: "Goto line (default 3): ".
>>>
>>> Please see bug#9201.
>>
>> Oops, I'm Sorry, my patch is a subset of yours.
>>
>> So, may we close this bug report or merge both of them?
>
> I'm merging them, although #9952 is actually a subset of #9201.

Thanks for merging.  This is not considered a bug, so will be fixed in 24.2.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9952; Package emacs. (Sat, 28 Jul 2012 18:10:01 GMT) Full text and rfc822 format available.

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

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: 9952 <at> debbugs.gnu.org
Subject: Re: bug#9952: Default value displayed twice in `goto-line' prompt
Date: Sat, 28 Jul 2012 20:02:29 +0200
>> I'm merging them, although #9952 is actually a subset of #9201.
>
> Thanks for merging.  This is not considered a bug, so will be fixed in 24.2.

Ping.

-- 
Dani Moncayo




Reply sent to Juri Linkov <juri <at> jurta.org>:
You have taken responsibility. (Sun, 29 Jul 2012 18:20:02 GMT) Full text and rfc822 format available.

Notification sent to Dani Moncayo <dmoncayo <at> gmail.com>:
bug acknowledged by developer. (Sun, 29 Jul 2012 18:20:02 GMT) Full text and rfc822 format available.

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

From: Juri Linkov <juri <at> jurta.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 9952-done <at> debbugs.gnu.org
Subject: Re: bug#9952: Default value displayed twice in `goto-line' prompt
Date: Sun, 29 Jul 2012 21:12:07 +0300
> Ping.

Thanks, installed.




Reply sent to Juri Linkov <juri <at> jurta.org>:
You have taken responsibility. (Sun, 29 Jul 2012 18:20:02 GMT) Full text and rfc822 format available.

Notification sent to Juri Linkov <juri <at> jurta.org>:
bug acknowledged by developer. (Sun, 29 Jul 2012 18:20:02 GMT) Full text and rfc822 format available.

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

This bug report was last modified 11 years and 251 days ago.

Previous Next


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