unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: 41087@debbugs.gnu.org
Subject: bug#41087: 27.0.91; How to remove Emacs 27 changes to minibuffer?
Date: Tue, 05 May 2020 10:57:06 -0400	[thread overview]
Message-ID: <85imhah1kt.fsf@gmail.com> (raw)
In-Reply-To: <da68d511-3682-4661-b1a1-4323d0ab50cb@default> (Drew Adams's message of "Mon, 4 May 2020 14:07:59 -0700 (PDT)")

Drew Adams <drew.adams@oracle.com> writes:

> I think that some of the problems come from the changes to minibuffer
> and echo-area behavior.  Regardless of whether that is the case, I want
> to undo those changes.  Is there an option for that? (I hope so.)  If
> not, what changes do I need to make from Lisp, to get back the prior
> behavior?

Here's my guesses (none tested) about each item you list.  Of course,
these particular may or may not be the cause of your troubles (whatever
they are).

> ** Minibuffer
>
> +++
> *** A new user option, 'minibuffer-beginning-of-buffer-movement', has
> been introduced to allow controlling how the 'M-<' command works in
> the minibuffer.  If non-nil, point will move to the end of the prompt
> (if point is after the end of the prompt).

AFAICT, this one is already disabled by default (i.e.,
minibuffer-beginning-of-buffer-movement is nil by default).

> +++
> *** When the minibuffer is active, echo-area messages are displayed at
> the end of the minibuffer instead of hiding the minibuffer by the echo
> area display.  The new user option 'minibuffer-message-clear-timeout'
> controls how messages displayed in this situation are removed from the
> minibuffer.

(setq set-message-function nil)
(setq clear-message-function nil)

[485b423e8f0]: 2019-12-22 00:02:10 +0200
  New variable set-message-function to show message at the end of the minibuffer
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=485b423e8f0df2711a850be7f254665f64ab0bdb

> ---
> *** Minibuffer now uses 'minibuffer-message' to display error messages
> at the end of the active minibuffer.

(remove-hook 'minibuffer-setup-hook 'minibuffer-error-initialize)

[2aae0630552]: 2019-06-03 23:27:19 +0300
  User-friendly display of error messages at the end of minibuffer
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2aae063055283ee64ecf339c812a1fe6d1cb106e>

> +++
> *** 'y-or-n-p' now uses the minibuffer to read 'y' or 'n' answer.

You'd have to evaluate the old lisp code of y-or-n-p.

[a26a8cc1c85]: 2019-11-10 00:04:13 +0200
  'y-or-n-p' now uses the minibuffer to read 'y' or 'n' answer (bug#38076)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=a26a8cc1c85f29fb11209c16d53a8ae4e4ab7ced

> ---
> *** Some commands that previously used 'read-char-choice' now read
> a character using the minibuffer by 'read-char-from-minibuffer'.

You'd have to evaluate the old lisp of files--ask-user-about-large-file
and hack-local-variables-confirm.

[027f218ad22]: 2019-11-10 00:32:09 +0200
  hack-local-variables-confirm uses the minibuffer to read answer (bug#38076)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=027f218ad227c3966df94b22566c2e89a307362d






  parent reply	other threads:[~2020-05-05 14:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-04 21:07 bug#41087: 27.0.91; How to remove Emacs 27 changes to minibuffer? Drew Adams
2020-05-05  2:22 ` Eli Zaretskii
2020-05-05 14:57 ` Noam Postavsky [this message]
2020-05-05 18:10   ` Drew Adams
2020-05-12 22:50     ` Juri Linkov
2020-05-12 23:56       ` Drew Adams
2020-05-13  2:09         ` Drew Adams
2020-05-13  2:25         ` Eli Zaretskii
     [not found] <<da68d511-3682-4661-b1a1-4323d0ab50cb@default>
     [not found] ` <<83lfm7m871.fsf@gnu.org>
2020-05-05  4:35   ` Drew Adams
2020-05-05 14:23     ` Eli Zaretskii
     [not found] ` <<85imhah1kt.fsf@gmail.com>
     [not found]   ` <<1b1632e1-2669-44c3-b6c1-1d8da519a91b@default>
     [not found]     ` <<87tv0klsvt.fsf@mail.linkov.net>
     [not found]       ` <<4575d23f-e3b5-4c44-8907-5ba8324dec91@default>
     [not found]         ` <<83r1vo7eqe.fsf@gnu.org>
2020-05-13  2:36           ` Drew Adams
2020-05-13 14:48             ` Eli Zaretskii
     [not found] <<<da68d511-3682-4661-b1a1-4323d0ab50cb@default>
     [not found] ` <<<83lfm7m871.fsf@gnu.org>
     [not found]   ` <<a1812925-7f61-4aa3-87fd-c673c06b97c3@default>
     [not found]     ` <<83bln2mpf8.fsf@gnu.org>
2020-05-05 17:46       ` Drew Adams

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=85imhah1kt.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=41087@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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).