unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5715: 23.1.91; setting `truncate-lines' disables multiline minibuffer input editing
@ 2010-03-13 10:48 Štěpán Němec
  2011-09-24 18:31 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Štěpán Němec @ 2010-03-13 10:48 UTC (permalink / raw)
  To: 5715


Steps to reproduce:
emacs -Q
(setq-default truncate-lines t)

Now in the minibuffer, always only single line is displayed during input
editing (e.g. try M-x C-q C-j).

Same thing happens with Emacs 21 and 22, now I tried.

Am I the only one who fails to see why setting `truncate-lines' should
affect this?

I can use

(add-hook 'minibuffer-setup-hook (lambda () (setq truncate-lines nil)))

to work around that, but I find this really weird.


Best regards,

     Štěpán







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#5715: 23.1.91; setting `truncate-lines' disables multiline minibuffer input editing
  2010-03-13 10:48 bug#5715: 23.1.91; setting `truncate-lines' disables multiline minibuffer input editing Štěpán Němec
@ 2011-09-24 18:31 ` Glenn Morris
  2011-09-24 20:12   ` Štěpán Němec
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2011-09-24 18:31 UTC (permalink / raw)
  To: 5715-done


> (setq-default truncate-lines t)

This no longer affects the minibuffer.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#5715: 23.1.91; setting `truncate-lines' disables multiline minibuffer input editing
  2011-09-24 18:31 ` Glenn Morris
@ 2011-09-24 20:12   ` Štěpán Němec
  0 siblings, 0 replies; 3+ messages in thread
From: Štěpán Němec @ 2011-09-24 20:12 UTC (permalink / raw)
  To: rgm; +Cc: 5715

On Sat, 24 Sep 2011 20:31:40 +0200
Glenn Morris wrote:

>> (setq-default truncate-lines t)
>
> This no longer affects the minibuffer.

OK. Thanks (I can't test now or any time soon, but I suppose your
workaround (r105906) does what it looks it does).

But is there any reason a proper fix wouldn't be better? Having
truncated lines in the minibuffer seems a perfectly valid thing to wish
for.

If for some reason that is impossible, could you please at least
document that limitation?

-- 
Štěpán





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-24 20:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-13 10:48 bug#5715: 23.1.91; setting `truncate-lines' disables multiline minibuffer input editing Štěpán Němec
2011-09-24 18:31 ` Glenn Morris
2011-09-24 20:12   ` Štěpán Němec

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).