[Top][All Lists]

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

Re: Contiguous redisplay of the menu and beeps

From: Chong Yidong
Subject: Re: Contiguous redisplay of the menu and beeps
Date: Sun, 27 May 2007 22:32:28 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux)

YAMAMOTO Mitsuharu <address@hidden> writes:

> I meant the only direct call to `current_column' from
> redisplay_internal:
>   /* If %c is in the mode line, update it if needed.  */
>   if (!NILP (w->column_number_displayed)
>       /* This alternative quickly identifies a common case
>        where no change is needed.  */
>       && !(PT == XFASTINT (w->last_point)
>          && XFASTINT (w->last_modified) >= MODIFF
>          && XFASTINT (w->last_overlay_modified) >= OVERLAY_MODIFF)
>       && (XFASTINT (w->column_number_displayed)
>           != (int) current_column ()))  /* iftc */
>     w->update_mode_line = Qt;
> and as I said, binding Qinhibit_point_motion_hooks just around this
> part as the following patch also works for me on Mac OS X.
> Could someone check if this works on Windows for the original problem?

It fixes the bug as seen on GNU/Linux (i.e., with `debug-on-error' on,
I no longer see a `forward-list' error with original bug recipe; I
never observed the "other operations are blocked" part of the bug
report on this platform.)

Let's get this into the branch.

reply via email to

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