all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: 8832@debbugs.gnu.org
Subject: bug#8832: 24.0.50; Line truncation in the minibuffer
Date: Fri, 10 Jun 2011 11:47:35 +0200	[thread overview]
Message-ID: <BANLkTik-RwchJSCinwqh3y5XGh=odftWvQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1376 bytes --]

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@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@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

[-- Attachment #2: minibuffer-truncate.png --]
[-- Type: image/png, Size: 2096 bytes --]

[-- Attachment #3: minibuffer-wrap.png --]
[-- Type: image/png, Size: 3004 bytes --]

                 reply	other threads:[~2011-06-10  9:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTik-RwchJSCinwqh3y5XGh=odftWvQ@mail.gmail.com' \
    --to=dmoncayo@gmail.com \
    --cc=8832@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.