unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vitalie Spinu <spinuvit@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Undocumented breaking change in minibuffer behavior
Date: Thu, 15 Mar 2012 09:22:57 +0100	[thread overview]
Message-ID: <87k42mb7dq.fsf@gmail.com> (raw)
In-Reply-To: <94ntq1psd.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 14 Mar 2012 23:55:30 -0400")

>>>> Glenn Morris <rgm@gnu.org>
>>>> on Wed, 14 Mar 2012 23:55:30 -0400 wrote:

  > Bug fixes are usually not NEWSworthy, and it never occurred to me that
  > anyone would actually want the previous behaviour.

I expect there are plenty of people who are setting truncate-lines
globally to t, and who will spot the change. So a line in a news
probably won't harm.

  > It would be easy to change it so that eg truncate-lines = 'nomini
  > means "truncate lines unless in a minibuffer".

I realized that I would also prefer the new default with the exception
of IDO completion. So I modified Johan's advice to work for IDO only:

(add-hook 'ido-minibuffer-setup-hook
	  (lambda ()
	    (setq truncate-lines (default-value 'truncate-lines))))

Thanks, 
Vitalie.




      reply	other threads:[~2012-03-15  8:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-14 10:58 Undocumented breaking change in minibuffer behavior Vitalie Spinu
2012-03-14 18:20 ` Johan Bockgård
2012-03-15  3:55   ` Glenn Morris
2012-03-15  8:22     ` Vitalie Spinu [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87k42mb7dq.fsf@gmail.com \
    --to=spinuvit@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@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 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).