GNU bug report logs - #9572
23.3.50; minibuffer prompt disappears

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Thu, 22 Sep 2011 07:13:02 UTC

Severity: normal

Merged with 5715, 8832

Found in versions 23.3.50, 24.0.50

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 9572 in the body.
You can then email your comments to 9572 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 monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Thu, 22 Sep 2011 07:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org. (Thu, 22 Sep 2011 07:13:03 GMT) Full text and rfc822 format available.

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

From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.3.50; minibuffer prompt disappears
Date: Thu, 22 Sep 2011 15:11:22 +0800
[Message part 1 (text/plain, inline)]
1. Emacs -q

2. (setq-default truncate-lines t)

3. M-x icomplete-mode

4. C-h v eval M-p

You will get an error and a promptless minibuffer as shown in this
screenshot:

[icomplete.png (image/png, inline)]
[Message part 3 (text/plain, inline)]
[GNU Emacs 23.3.50.1 (x86_64-apple-darwin10.8.0, Carbon Version 1.6.0
 AppKit 1038.36) of 2011-09-15]

Leo

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Thu, 22 Sep 2011 12:03:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Leo <sdl.web <at> gmail.com>
Cc: 9572 <at> debbugs.gnu.org
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Thu, 22 Sep 2011 08:01:56 -0400
> From: Leo <sdl.web <at> gmail.com>
> Date: Thu, 22 Sep 2011 15:11:22 +0800
> 
> 1. Emacs -q
> 
> 2. (setq-default truncate-lines t)
> 
> 3. M-x icomplete-mode
> 
> 4. C-h v eval M-p
> 
> You will get an error and a promptless minibuffer as shown in this
> screenshot:
> 
> [GNU Emacs 23.3.50.1 (x86_64-apple-darwin10.8.0, Carbon Version 1.6.0
>  AppKit 1038.36) of 2011-09-15]

Do you see this problem in Emacs 24?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Thu, 22 Sep 2011 13:29:02 GMT) Full text and rfc822 format available.

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

From: Leo <sdl.web <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 9572 <at> debbugs.gnu.org
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Thu, 22 Sep 2011 21:24:41 +0800
[Message part 1 (text/plain, inline)]
On 2011-09-22 20:01 +0800, Eli Zaretskii wrote:
> Do you see this problem in Emacs 24?

My emacs-24 (X11 on OSX) build is from the end of July and I see a
different problem there. The cursor is moved to the end as shown here:

[icomplete-24.png (image/png, attachment)]
[Message part 3 (text/plain, inline)]
Leo

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Thu, 22 Sep 2011 16:08:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 9572 <at> debbugs.gnu.org, Leo <sdl.web <at> gmail.com>
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Thu, 22 Sep 2011 12:07:23 -0400
Eli Zaretskii wrote:

>> [GNU Emacs 23.3.50.1 (x86_64-apple-darwin10.8.0, Carbon Version 1.6.0
>>  AppKit 1038.36) of 2011-09-15]
>
> Do you see this problem in Emacs 24?

I do. (Note that isn't even "Emacs 23" as we know it.)

Ref also

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5715  ?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Thu, 22 Sep 2011 16:15:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Leo <sdl.web <at> gmail.com>
Cc: 9572 <at> debbugs.gnu.org
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Thu, 22 Sep 2011 19:12:16 +0300
> From: Leo <sdl.web <at> gmail.com>
> Cc: 9572 <at> debbugs.gnu.org
> Date: Thu, 22 Sep 2011 21:24:41 +0800
> 
> On 2011-09-22 20:01 +0800, Eli Zaretskii wrote:
> > Do you see this problem in Emacs 24?
> 
> My emacs-24 (X11 on OSX) build is from the end of July and I see a
> different problem there. The cursor is moved to the end as shown here:

This is bug #9524, it was fixed on the trunk 5 days ago.

Anyway, I do see the same problem in Emacs 24.  But it disappears if
you type C-b or <left> arrow.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Thu, 22 Sep 2011 18:13:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 9572 <at> debbugs.gnu.org, Leo <sdl.web <at> gmail.com>
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Thu, 22 Sep 2011 14:12:00 -0400
How about simply disabling truncate-lines in the minibuffer (same as
seems to happen with tooltips)? Fixes this and #5715.

*** src/minibuf.c	2011-09-11 22:04:52 +0000
--- src/minibuf.c	2011-09-22 18:09:00 +0000
***************
*** 559,564 ****
--- 559,566 ----
    minibuffer = get_minibuffer (minibuf_level);
    Fset_buffer (minibuffer);
  
+   BVAR (current_buffer, truncate_lines) = Qnil;
+ 
    /* If appropriate, copy enable-multibyte-characters into the minibuffer.  */
    if (inherit_input_method)
      BVAR (current_buffer, enable_multibyte_characters) = enable_multibyte;





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Thu, 22 Sep 2011 18:17:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 9572 <at> debbugs.gnu.org, sdl.web <at> gmail.com
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Thu, 22 Sep 2011 21:14:53 +0300
> From: Glenn Morris <rgm <at> gnu.org>
> Cc: 9572 <at> debbugs.gnu.org,  Leo <sdl.web <at> gmail.com>
> Date: Thu, 22 Sep 2011 14:12:00 -0400
> 
> 
> How about simply disabling truncate-lines in the minibuffer (same as
> seems to happen with tooltips)?

I don't mind, but don't expect me to fight over this with
bike-shedders...




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Thu, 22 Sep 2011 18:30:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 9572 <at> debbugs.gnu.org, sdl.web <at> gmail.com
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Thu, 22 Sep 2011 14:28:51 -0400
Eli Zaretskii wrote:

> I don't mind, but don't expect me to fight over this with
> bike-shedders...

Surely no Emacs user would be so petty as to stoop to bike-shedding? ;)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Thu, 22 Sep 2011 20:23:01 GMT) Full text and rfc822 format available.

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

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 9572 <at> debbugs.gnu.org, Leo <sdl.web <at> gmail.com>
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Thu, 22 Sep 2011 22:21:58 +0200
> How about simply disabling truncate-lines in the minibuffer (same as
> seems to happen with tooltips)? Fixes this and #5715.

...and #8832 too: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8832

-- 
Dani Moncayo




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Thu, 22 Sep 2011 23:10:02 GMT) Full text and rfc822 format available.

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

From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Fri, 23 Sep 2011 07:09:01 +0800
On 2011-09-23 02:12 +0800, Glenn Morris wrote:
> *** src/minibuf.c	2011-09-11 22:04:52 +0000
> --- src/minibuf.c	2011-09-22 18:09:00 +0000
> ***************
> *** 559,564 ****
> --- 559,566 ----
>     minibuffer = get_minibuffer (minibuf_level);
>     Fset_buffer (minibuffer);
>   
> +   BVAR (current_buffer, truncate_lines) = Qnil;
> + 
>     /* If appropriate, copy enable-multibyte-characters into the minibuffer.  */
>     if (inherit_input_method)
>       BVAR (current_buffer, enable_multibyte_characters) = enable_multibyte;

Does this mean the minibuffer will unconditionally resize to fit its
contents? That would be quite annoying.

Leo





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Fri, 23 Sep 2011 03:37:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Leo <sdl.web <at> gmail.com>
Cc: 9572 <at> debbugs.gnu.org
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Thu, 22 Sep 2011 23:36:16 -0400
Leo wrote:

> Does this mean the minibuffer will unconditionally resize to fit its
> contents?

That's the default behaviour.
You can (setq resize-mini-windows nil) and enjoy your unusable
minibuffer.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Fri, 23 Sep 2011 05:05:02 GMT) Full text and rfc822 format available.

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

From: Leo <sdl.web <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 9572 <at> debbugs.gnu.org
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Fri, 23 Sep 2011 13:03:33 +0800
On 2011-09-23 11:36 +0800, Glenn Morris wrote:
> That's the default behaviour.
> You can (setq resize-mini-windows nil) and enjoy your unusable
> minibuffer.

In the case, I am not sure unconditionally setting trunk-lines to nil in
minibuffer is the right fix.

Leo




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Fri, 23 Sep 2011 21:46:01 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Leo <sdl.web <at> gmail.com>
Cc: Glenn Morris <rgm <at> gnu.org>, 9572 <at> debbugs.gnu.org
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Fri, 23 Sep 2011 17:44:44 -0400
Leo <sdl.web <at> gmail.com> writes:

> In the case, I am not sure unconditionally setting trunk-lines to nil
> in minibuffer is the right fix.

Could you explain what you expect Emacs to do?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Sat, 24 Sep 2011 01:23:01 GMT) Full text and rfc822 format available.

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

From: Leo <sdl.web <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 9572 <at> debbugs.gnu.org
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Sat, 24 Sep 2011 09:20:32 +0800
On 2011-09-24 05:44 +0800, Chong Yidong wrote:
>> In the case, I am not sure unconditionally setting trunk-lines to nil
>> in minibuffer is the right fix.
>
> Could you explain what you expect Emacs to do?

Not sure because I am not sure about the root cause of the bug.

Leo




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Sat, 24 Sep 2011 18:31:02 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Leo <sdl.web <at> gmail.com>
Cc: 9572 <at> debbugs.gnu.org
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Sat, 24 Sep 2011 14:29:50 -0400
Leo <sdl.web <at> gmail.com> writes:

> On 2011-09-24 05:44 +0800, Chong Yidong wrote:
>>> In the case, I am not sure unconditionally setting trunk-lines to nil
>>> in minibuffer is the right fix.
>>
>> Could you explain what you expect Emacs to do?
>
> Not sure because I am not sure about the root cause of the bug.

Well, what do you consider the bug?  You can't want to have line
truncation in the minibuffer, and simultaneously want to be able to see
the start of the minibuffer when the line runs long.  Those are pretty
much incompatible.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9572; Package emacs. (Sat, 24 Sep 2011 18:32:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Leo <sdl.web <at> gmail.com>
Cc: 9572 <at> debbugs.gnu.org
Subject: Re: bug#9572: 23.3.50; minibuffer prompt disappears
Date: Sat, 24 Sep 2011 14:30:54 -0400
Leo wrote:

> In the case, I am not sure unconditionally setting trunk-lines to nil in
> minibuffer is the right fix.

I am sure it is better than the current situation, so I installed it for
the coming pretest. 

If you figure out how exactly how you think truncated lines in the
minibuffer should work, I suggest opening a new wishlist bug; since the
issue reported here no longer exists.




Forcibly Merged 5715 8832 9572. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 27 Sep 2011 19:19: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. (Wed, 26 Oct 2011 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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