Message from discussion
Fontifying-errors make Emacs (mostly) unusable
Received: by 10.66.84.41 with SMTP id v9mr212221pay.43.1346236377107;
Wed, 29 Aug 2012 03:32:57 -0700 (PDT)
Path: t10ni109609873pbh.0!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!usenet.stanford.edu!not-for-mail
From: Thorsten Jolitz <tjol...@googlemail.com>
Newsgroups: gnu.emacs.help
Subject: Fontifying-errors make Emacs (mostly) unusable
Date: Wed, 29 Aug 2012 12:35:37 +0200
Lines: 32
Approved: help-gnu-em...@gnu.org
Message-ID: <mailman.7762.1346236376.855.help-gnu-emacs@gnu.org>
NNTP-Posting-Host: lists.gnu.org
Mime-Version: 1.0
X-Trace: usenet.stanford.edu 1346236376 24207 208.118.235.17 (29 Aug 2012 10:32:56 GMT)
X-Complaints-To: action@cs.stanford.edu
To: help-gnu-em...@gnu.org
Envelope-to: help-gnu-em...@gnu.org
X-Injected-Via-Gmane: http://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-em...@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
<mailto:help-gnu-emacs-requ...@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-em...@gnu.org>
List-Help: <mailto:help-gnu-emacs-requ...@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
<mailto:help-gnu-emacs-requ...@gnu.org?subject=subscribe>
X-Received-Bytes: 2564
Content-Type: text/plain
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