From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: signal handling bogosities Date: Sat, 21 Dec 2002 21:27:52 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20021222022752.GA4982@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040524158 14325 80.91.224.249 (22 Dec 2002 02:29:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 22 Dec 2002 02:29:18 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18PvrS-0003iZ-00 for ; Sun, 22 Dec 2002 03:29:02 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18Pvtk-0004KF-00 for ; Sun, 22 Dec 2002 03:31:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Pvqh-0004lf-00 for emacs-devel@quimby.gnus.org; Sat, 21 Dec 2002 21:28:15 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18PvqS-0004hG-00 for emacs-devel@gnu.org; Sat, 21 Dec 2002 21:28:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18PvqR-0004f8-00 for emacs-devel@gnu.org; Sat, 21 Dec 2002 21:28:00 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18PvqQ-0004f2-00 for emacs-devel@gnu.org; Sat, 21 Dec 2002 21:27:58 -0500 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.10) id 18PvqK-0001Mx-00; Sat, 21 Dec 2002 21:27:52 -0500 Original-To: Richard Stallman Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Blat: Foop Original-cc: gerd@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10318 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10318 On Fri, Dec 20, 2002 at 12:12:24PM -0500, Richard Stallman wrote: > I am surprised that the signal handler does face realization. I would > have expected redisplay ought to do that job. When the signal handler > runs, it should just look up the data that was computed by redisplay. The mouse-face is merged with whatever underlying faces are in the buffer in the highlighted region, so you can't just have one precomputed mouse-face. I suppose you could have redisplay notice which regions might be highlighted, and pre-cache the corresponding mouse-face/buffer-face combination so that it doesn't happen at highlighting time, but I don't know how easy this would be (and if the face cache gets flushed at the wrong toime, you have a problem!). -Miles -- Come now, if we were really planning to harm you, would we be waiting here, beside the path, in the very darkest part of the forest?