From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Contiguous redisplay of the menu and beeps Date: Sun, 27 May 2007 19:21:28 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1180308155 16730 80.91.229.12 (27 May 2007 23:22:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 27 May 2007 23:22:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: emacs-pretest-bug@gnu.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Mon May 28 01:22:34 2007 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HsS4G-0002zY-LB for gebp-emacs-pretest-bug@gmane.org; Mon, 28 May 2007 01:22:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsS4G-0001aj-39 for gebp-emacs-pretest-bug@gmane.org; Sun, 27 May 2007 19:22:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HsS3Q-0000vh-L5 for emacs-pretest-bug@gnu.org; Sun, 27 May 2007 19:21:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HsS3P-0000vA-UD for emacs-pretest-bug@gnu.org; Sun, 27 May 2007 19:21:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsS3P-0000uq-Ps; Sun, 27 May 2007 19:21:39 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HsS3P-0006gw-H9; Sun, 27 May 2007 19:21:39 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HsS3E-0007dM-8z; Sun, 27 May 2007 19:21:28 -0400 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:19012 gmane.emacs.devel:71858 Archived-At: From: YAMAMOTO Mitsuharu 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), selected_frame)); ++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.