all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: [External] : Re: Is there a way to avoid clobbering minibuffer by messages?
Date: Thu, 30 Mar 2023 16:49:53 +0000	[thread overview]
Message-ID: <SJ0PR10MB54887B56C1EA2D02EA096514F38E9@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <83fs9m42pc.fsf@gnu.org>



> -----Original Message-----
> From: help-gnu-emacs-bounces+drew.adams=oracle.com@gnu.org <help-gnu-
> emacs-bounces+drew.adams=oracle.com@gnu.org> On Behalf Of Eli Zaretskii
> Sent: Thursday, March 30, 2023 9:35 AM
> To: help-gnu-emacs@gnu.org
> Subject: Re: [External] : Re: Is there a way to avoid clobbering
> minibuffer by messages?
> 
> > From: Drew Adams <drew.adams@oracle.com>
> > CC: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
> > Date: Thu, 30 Mar 2023 16:28:16 +0000
> >
> > Why not let users choose among several behaviors?
> >
> >  1. Emacs 28+ approach: message and input in
> >     minibuffer at the same time.
> >
> >  2. Traditional approach: echo area displayed
> >     temporarily, in place of the minibuffer.
> >
> >  3. Minibuffer and echo area shown separately,
> >     in different places?
> >
> > And offer various choices for #3: how to show
> > the echo area.
> 
> Users can already choose between 1 and 2: see set-message-function.

Good!  Sorry, I missed that; thank you.

I used menu-bar `Options > Customize Emacs >
New Options', and I searched for "minibuffer" and
"echo area", but didn't find any option for this.

Searching now for `set-message-function' I don't
see it listed either - it's a defvar, not a user
option.

Seems like this doesn't make it easy for users
to discover how to restore the pre-28 behavior,
or even let them do that easily, if they do
somehow manage to discover that variable.

> As for the other alternatives: no one wrote the code to implement
> them; patches welcome.  (Of course, they all can be implemented via
> set-message-function.)

Yes, a user can write code to implement
`set-message-function' to do <whatever>.  But
it would be good for Emacs to offer some OOTB
choices.

I understand that volunteers would be needed
to implement such things.  But it's unfortunate
that the Emacs 28 change wasn't accompanied by
some easy way for a user to revert that change,
getting back the pre-28 behavior.



  reply	other threads:[~2023-03-30 16:49 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-30  7:57 Is there a way to avoid clobbering minibuffer by messages? Platon Pronko
2023-03-30  8:53 ` Eli Zaretskii
2023-03-30  9:40   ` Platon Pronko
2023-03-30 10:32     ` Eli Zaretskii
2023-03-30 15:05       ` Gregory Heytings
2023-03-30 16:28         ` [External] : " Drew Adams
2023-03-30 16:35           ` Eli Zaretskii
2023-03-30 16:49             ` Drew Adams [this message]
2023-03-30 17:27               ` Eli Zaretskii
2023-03-30 17:32             ` Gregory Heytings
2023-03-30 17:51               ` Eli Zaretskii
2023-03-30 18:14                 ` John Yates
2023-03-30 18:28                   ` Eli Zaretskii
2023-03-30 20:08                     ` John Yates
2023-03-31  6:32                       ` Yuri Khan
2023-03-30 18:16                 ` Gregory Heytings
2023-03-30 18:31                   ` Eli Zaretskii
2023-03-30 19:37                     ` Sergey Organov
2023-03-30 19:45                     ` Gregory Heytings
2023-03-30 20:02                       ` Gregory Heytings
2023-03-30 20:06                         ` Gregory Heytings
2023-03-30 19:26             ` Jean Louis
2023-03-31 10:40               ` Eric S Fraga
2023-03-30 19:22           ` Jean Louis
2023-03-31  6:24         ` Platon Pronko
2023-03-31  6:58           ` Gregory Heytings
2023-03-31  7:01             ` Gregory Heytings
2023-03-31  7:10               ` Platon Pronko
2023-03-31  7:17                 ` Gregory Heytings
2023-03-31  7:45                   ` Gregory Heytings
2023-03-31 11:04                     ` John Covici
2023-03-31 11:09                       ` Gregory Heytings
2023-03-31 12:46                         ` John Covici
2023-03-30  9:52 ` Gregory Heytings

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=SJ0PR10MB54887B56C1EA2D02EA096514F38E9@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@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.