From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: mouse-face on mode-line and header-line Date: Tue, 24 May 2005 09:25:49 +1200 Message-ID: <17042.19037.806322.765385@farnswood.snap.net.nz> References: <20050513.230546.243438712.jet@gyve.org> <20050522.113905.183047209.jet@gyve.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1116883932 29496 80.91.229.2 (23 May 2005 21:32:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 May 2005 21:32:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 23 23:32:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DaKVw-0006zP-UI for ged-emacs-devel@m.gmane.org; Mon, 23 May 2005 23:31:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaKZT-0007Vm-QX for ged-emacs-devel@m.gmane.org; Mon, 23 May 2005 17:34:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DaKY5-00076u-Cd for emacs-devel@gnu.org; Mon, 23 May 2005 17:33:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DaKY4-00076S-Dx for emacs-devel@gnu.org; Mon, 23 May 2005 17:33:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaKY4-000754-3G for emacs-devel@gnu.org; Mon, 23 May 2005 17:33:20 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DaKR0-0007qh-KP for emacs-devel@gnu.org; Mon, 23 May 2005 17:26:03 -0400 Original-Received: from farnswood.snap.net.nz (p168-tnt1.snap.net.nz [202.124.110.168]) by viper.snap.net.nz (Postfix) with ESMTP id D5EE653627F; Tue, 24 May 2005 09:25:51 +1200 (NZST) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id A291462A99; Mon, 23 May 2005 22:25:50 +0100 (BST) Original-To: Masatake YAMATO In-Reply-To: <20050522.113905.183047209.jet@gyve.org> X-Mailer: VM 7.19 under Emacs 22.0.50.60 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:37522 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37522 > I've implemented mouse-face on mode-line. With ruler-mode turned on, I find it very easy to crash Emacs: M-x ruler-mode list-buffers (C-x C-b) Click mouse-1 back and forth between windows Program received signal SIGSEGV, Segmentation fault. 0x08092911 in note_mode_line_or_margin_highlight (window=141874004, x=20, y=-1, area=ON_HEADER_LINE) at xdisp.c:21422 (gdb) p tmp_glyph->pixel_width Cannot access memory at address 0x8763010 (gdb) p tmp_glyph $14 = (struct glyph *) 0x8763008 (gdb) p* tmp_glyph Cannot access memory at address 0x8763008 Nick