From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Fontifying-errors make Emacs (mostly) unusable Date: Wed, 29 Aug 2012 12:35:37 +0200 Message-ID: <87r4qqouiu.fsf@googlemail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346236381 864 80.91.229.3 (29 Aug 2012 10:33:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2012 10:33:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 29 12:33:03 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T6fa1-0005X5-R2 for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Aug 2012 12:33:01 +0200 Original-Received: from localhost ([::1]:40490 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6fZz-00040d-M6 for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Aug 2012 06:32:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6fZu-00040Y-Jf for help-gnu-emacs@gnu.org; Wed, 29 Aug 2012 06:32:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6fZo-00069c-Q2 for help-gnu-emacs@gnu.org; Wed, 29 Aug 2012 06:32:54 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:41099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6fZo-00069R-Ie for help-gnu-emacs@gnu.org; Wed, 29 Aug 2012 06:32:48 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T6fZo-0005HY-8j for help-gnu-emacs@gnu.org; Wed, 29 Aug 2012 12:32:48 +0200 Original-Received: from e178054166.adsl.alicedsl.de ([85.178.54.166]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Aug 2012 12:32:48 +0200 Original-Received: from tjolitz by e178054166.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Aug 2012 12:32:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178054166.adsl.alicedsl.de User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:YkiOmHzPJPApSR058UOVUrQCVis= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86572 Archived-At: Hi List, while cloning an Emacs major mode for a special wiki syntax, I experienced that errors related to fontifying really can become show-stoppers. Lets say, I'm modifying/adapting some face definitions for the new mode, but do not recognize that one old definition is still used in e.g. a parsing function. Then, evaluating the buffer, I get an error message like: ,----------------------------------------- | Symbol's function-definiton is void: ... `----------------------------------------- I can fix the error, but from that moment on Emacs core functionality is blocked. M-x as well as M-: or e.g. C-x d do nothing anymore but giving me the same error message like above (although the root-cause of the error is already fixed). Thats probably because the error appears in a (fontifying) hook function thats called before any real action. How can I get out of this 'trap' without restarting Emacs? -- cheers, Thorsten