From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Bold by moving pixels problem Date: Wed, 04 Jun 2003 04:54:41 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1054719307 15779 80.91.224.249 (4 Jun 2003 09:35:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2003 09:35:07 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jun 04 11:35:05 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19NUf0-00043n-00 for ; Wed, 04 Jun 2003 11:34:22 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19NUwW-000116-00 for ; Wed, 04 Jun 2003 11:52:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NUZ7-0007HJ-Mi for emacs-devel@quimby.gnus.org; Wed, 04 Jun 2003 05:28:17 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19NUXk-0006TW-Ew for emacs-devel@gnu.org; Wed, 04 Jun 2003 05:26:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19NU3G-0003f0-J6 for emacs-devel@gnu.org; Wed, 04 Jun 2003 04:55:23 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NU2c-0003Vc-1M for emacs-devel@gnu.org; Wed, 04 Jun 2003 04:54:42 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 19NU2b-0005te-Nn; Wed, 04 Jun 2003 04:54:41 -0400 Original-To: Miles Bader In-reply-to: message from Miles Bader on 18 Dec 2002 19:01:01 +0900 Original-References: Original-cc: bob@rattlesnake.com 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:14676 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14676 This patch makes it possible to GC inside a lot of places that formerly could not. A list of them is below. I would expect that some of them don't GCPRO what they need to, but I have not checked them for that. It also looks like eval can in principle be called from a signal handler. We could solve that problem if we move all X event processing outside of the signal handler, as someone suggested. That would mean that mouse highlighting doesn't update if you move the mouse while a command is running, and the Emacs frame would not rewrite itself if you move another window across it while a command is running. I think that would be a very noticeable step backwards. Is there a way to get the job done by having the user specify something other than Lisp code to run? realize_face lookup_face realize_default_face realize_named_face lookup_named_face smaller_face face_with_height lookup_derived_face compute_char_face face_at_buffer_position face_at_string_position face_for_char realize_basic_faces ascii_face_of_lisp_face highlight_trailing_whitespace get_overlay_arrow_glyph_row handle_face_prop note_mouse_highlight note_mouse_movement (I did not search for the callers of the ones below.) display_string init_frame_faces recompute_basic_faces update_face_from_frame_parameter next_element_from_display_vector direct_output_for_insert display_line XTframe_up_to_date redo_mouse_highlight expose_frame handle_one_xevent x_dispatch_event XTread_socket