[Top][All Lists]

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

Re: Contiguous redisplay of the menu and beeps

From: Richard Stallman
Subject: Re: Contiguous redisplay of the menu and beeps
Date: Sun, 27 May 2007 19:21:28 -0400

    From: YAMAMOTO Mitsuharu <address@hidden>

    Maybe you need to use specbind for the `current_column' call in
    redisplay_internal instead.

    *** src/xdisp.c.~1.1149.2.2.~       Fri May 25 11:00:00 2007
    --- src/xdisp.c     Sun May 27 22:48:48 2007
    *************** redisplay_internal (preserve_echo_area)
    *** 10888,10893 ****
    --- 10888,10894 ----
                             Fcons (make_number (redisplaying_p), 
        specbind (Qinhibit_free_realized_faces, Qnil);
    +   specbind (Qinhibit_point_motion_hooks, Qt);

          Lisp_Object tail, frame;

This binds the variable across nearly all of redisplay.
That is a bit drastic as a solution; it might be right,
but it is hard to be sure.

Where is the actual call to `current_column' for which you
specifically want to bind this?  Could you bind
Qinhibit_point_motion_hooks for just that?

Or what about binding it in `current_column_1'?
Maybe that is the right thing to do.

reply via email to

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