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

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

Re: ispell help in minibuffer not visible


From: John Paul Wallington
Subject: Re: ispell help in minibuffer not visible
Date: Tue, 18 Mar 2003 19:15:46 +0000
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (gnu/linux)

Richard Stallman <address@hidden> wrote:

>     Same symptoms with `emerge-show-file-name'.  Maybe the window isn't
>     being redisplayed because Fredisplay_window wont redisplay minibuffer
>     when inactive?
>
> I made that change for the sake of efficiency, thinking it would have
> no visible effect.  I didn't know that people were putting text into
> the minibuffer when it was inactive.
>
> Perhaps the right solution is to revise my change in redisplay_window
> so that if the minibuffer is nonempty it gets displayed even if
> it is not active.

Something like that sounds good.  Hm.  Is the following change
adequate?  It avoids the symptoms in the `emerge-show-file-name' and
`ispell-help' functions.

Index: xdisp.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xdisp.c,v
retrieving revision 1.813
diff -u -r1.813 xdisp.c
--- xdisp.c     17 Mar 2003 16:07:30 -0000      1.813
+++ xdisp.c     18 Mar 2003 19:01:08 -0000
@@ -10599,8 +10599,7 @@
            /* We've already displayed the echo area glyphs in this window.  */
            goto finish_scroll_bars;
        }
-      else if ((w != XWINDOW (minibuf_window)
-               || minibuf_level == 0)
+      else if (w != XWINDOW (minibuf_window)
               /* Quail displays non-mini buffers in minibuffer window.
                  In that case, redisplay the window normally.  */
               && !NILP (Fmemq (w->buffer, Vminibuffer_list)))






reply via email to

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