bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#60015: 29.0.60; multi-line messages truncated in non-selected minibu


From: Eli Zaretskii
Subject: bug#60015: 29.0.60; multi-line messages truncated in non-selected minibuffer
Date: Sat, 17 Dec 2022 20:45:34 +0200

> From: Juri Linkov <juri@linkov.net>
> Cc: martin rudalics <rudalics@gmx.at>,  60015@debbugs.gnu.org
> Date: Sat, 17 Dec 2022 19:39:49 +0200
> 
> > Juri, does the patch below give good results?  It's a bit of overkill,
> > since the mini-window usually doesn't need any resizing, but maybe
> > that is not too bad.
> >
> > If it seems to solve the problem, would you please run with this for a
> > couple of weeks, and report back if you see any problems?  If there
> > are no problems, I'll then install this on the emacs-29 branch.
> >
> > diff --git a/src/xdisp.c b/src/xdisp.c
> > index d14cd46..45da496 100644
> > --- a/src/xdisp.c
> > +++ b/src/xdisp.c
> > @@ -19429,6 +19429,13 @@ redisplay_window (Lisp_Object window, bool 
> > just_this_one_p)
> >         blank_row (w, row, y);
> >       goto finish_scroll_bars;
> >     }
> > +      else if (minibuf_level >= 1)
> > +   {
> > +     /* We could have a message produced by set-minibuffer-message
> > +        displayed in the mini-window as an overlay, so resize the
> > +        mini-window if needed.  */
> > +     resize_mini_window (w, false);
> > +   }
> 
> I tested it for a while and see no problems with it.

Thanks, installed on the emacs-29 branch, and closing this bug.





reply via email to

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