GNU bug report logs - #8832
24.0.50; Line truncation in the minibuffer

Previous Next

Package: emacs;

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

Date: Fri, 10 Jun 2011 09:48:02 UTC

Severity: normal

Merged with 5715, 9572

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 8832 in the body.
You can then email your comments to 8832 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8832; Package emacs. (Fri, 10 Jun 2011 09:48:02 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, 10 Jun 2011 09: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: 24.0.50; Line truncation in the minibuffer
Date: Fri, 10 Jun 2011 11:47:35 +0200
[Message part 1 (text/plain, inline)]
Hi,

0. Start Emacs (emacs -Q).
1. Set line truncation on by default (setq-default truncate-lines 1).
2. Visit a remote file, with a long path, in a host that require login
(C-x C-f /myuser <at> host-that-require-login:/very-long-path-to-some-remote-file-that-i-want-to-visit-right-now).
Obviously, replace "myuser" and "host-that-require-login" with
suitable values of user/host (that require login) accessible from your
PC.

After step #2, there is a problem: The minibuffer prompt (in this case
"Password for myuser <at> host-that-require-login:") is not visible [1].
Even typing C-a, C-b, etc don't bring the prompt back.  This is very
disconcerting.

[1] See attached screenshot "minibuffer-truncate.png", and compare it
with the case when `truncate-lines' is turned off
"minibuffer-wrap.png".

Solution that I suggest for this: Create a variable
`truncate-lines-minibuffer', similar to `truncate-lines' but to
control line truncation only in the minibuffer.  The default value
would be 0 (off), because I think that line truncation is in general
counterproductive in the minibuffer (I what to see the prompt and
whole input I'm writing).


In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-06-07 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags
-Ic:/build/include'


-- 
Dani Moncayo
[minibuffer-truncate.png (image/png, attachment)]
[minibuffer-wrap.png (image/png, attachment)]

Merged 5715 8832. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 22 Sep 2011 20:27:01 GMT) Full text and rfc822 format available.

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:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 241 days ago.

Previous Next


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