emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-28 6170c50: Fix regression in help-mode prompt


From: Eli Zaretskii
Subject: Re: emacs-28 6170c50: Fix regression in help-mode prompt
Date: Tue, 14 Dec 2021 15:09:06 +0200

> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Tue, 14 Dec 2021 03:30:22 -0800
> 
> eliz@gnu.org (Eli Zaretskii) writes:
> 
> > diff --git a/lisp/help-macro.el b/lisp/help-macro.el
> > index 1fa9d82..b3c7e23 100644
> > --- a/lisp/help-macro.el
> > +++ b/lisp/help-macro.el
> > @@ -165,14 +165,18 @@ and then returns."
> >                     (let ((cursor-in-echo-area t)
> >                           (overriding-local-map local-map))
> >                       (setq key (read-key-sequence
> > -                                (format "Type one of the options listed%s: 
> > "
> > +                                (format "Type one of listed options%s: "
> 
> Are we sure that this is an improvement?  I find the old text more natural.

I didn't change the text to improve it, I changed it to make it
shorter.  Because otherwise, when we echo the keys typed by the user,
they overflow the (default) window width, and that resizes the
mini-window, which causes an unpleasant effect of scrolling the Help
window.

If you can suggest a different solution that avoids the resizing,
please do.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]