From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: [hober0@bogus.example.com: Re: mode-line redisplay bug] Date: Wed, 12 Oct 2005 20:20:13 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <20167759.1129114627598.JavaMail.www@wwinf0502> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1129117424 26038 80.91.229.2 (12 Oct 2005 11:43:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2005 11:43:44 +0000 (UTC) Cc: emacs-devel@gnu.org, storm@cua.dk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 12 13:43:43 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EPf0w-0000Qb-B4 for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2005 13:43:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EPf0v-0000As-Js for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2005 07:43:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EPeej-0003oN-2y for emacs-devel@gnu.org; Wed, 12 Oct 2005 07:20:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EPeeg-0003nY-9i for emacs-devel@gnu.org; Wed, 12 Oct 2005 07:20:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EPeee-0003mo-Ga for emacs-devel@gnu.org; Wed, 12 Oct 2005 07:20:17 -0400 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EPeee-0007oD-3T for emacs-devel@gnu.org; Wed, 12 Oct 2005 07:20:16 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id BC81C2CA5; Wed, 12 Oct 2005 20:20:13 +0900 (JST) Original-To: david.ponce@wanadoo.fr In-Reply-To: <20167759.1129114627598.JavaMail.www@wwinf0502> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:43918 Archived-At: >>>>> On Wed, 12 Oct 2005 12:57:07 +0200 (CEST), David PONCE said: > Since your last changes related to the mode-line redisplay bug > thread, help-echo messages on the header-line or the mode-line are > shown sporadically. That's "Problem 2.1" in the thread. >>>>> On Tue, 07 Jun 2005 18:45:48 +0900, YAMAMOTO Mitsuharu said: > 2.1 Sometimes a tooltip is not shown. I hope the first > fragment of the patch below fix this. > 2.2 The value of last_mouse_glyph may become invalid. For > example, after clicking the image on the splash screen, > dragging the area where the image was displayed does not > issue mouse-movement events. I think last_mouse_glyph > should be cleared in some appropriate timing, but I'm not > sure when it is. I installed the following change. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp Index: src/macterm.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/macterm.c,v retrieving revision 1.135 diff -c -r1.135 macterm.c *** src/macterm.c 11 Oct 2005 22:35:40 -0000 1.135 --- src/macterm.c 12 Oct 2005 11:05:53 -0000 *************** *** 4193,4198 **** --- 4193,4200 ---- /* Remember which glyph we're now on. */ remember_mouse_glyph (frame, pos->h, pos->v, &last_mouse_glyph); } + else + help_echo_string = previous_help_echo_string; } Index: src/w32term.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/w32term.c,v retrieving revision 1.233 diff -c -r1.233 w32term.c *** src/w32term.c 11 Oct 2005 22:36:35 -0000 1.233 --- src/w32term.c 12 Oct 2005 11:05:54 -0000 *************** *** 3238,3243 **** --- 3238,3245 ---- other times. */ remember_mouse_glyph (frame, mouse_x, mouse_y, &last_mouse_glyph); } + else + help_echo_string = previous_help_echo_string; } Index: src/xterm.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/xterm.c,v retrieving revision 1.880 diff -c -r1.880 xterm.c *** src/xterm.c 11 Oct 2005 22:37:01 -0000 1.880 --- src/xterm.c 12 Oct 2005 11:05:55 -0000 *************** *** 3610,3615 **** --- 3610,3617 ---- /* Remember which glyph we're now on. */ remember_mouse_glyph (frame, event->x, event->y, &last_mouse_glyph); } + else + help_echo_string = previous_help_echo_string; }