help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fontifying-errors make Emacs (mostly) unusable


From: Stefan Monnier
Subject: Re: Fontifying-errors make Emacs (mostly) unusable
Date: Wed, 29 Aug 2012 15:19:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

> 3. comment out this defun (at line 1954):
> ;; (defun markdown-fontify-buffer-wiki-links ()
> 4. save and eval-buffer (or load marktest.el)
> 5. find (new empty) file test.md
> 6. put it in markdown-mode (M-x markdown-mode)
> #Bang#
> 'Symbol is void...' error message
> try M-x, M-:, C-x d, nothing works, you are trapped. 

I see it, yes.

Actually it's only the minibuffer-using functions which are affected and
only while the markdown-mode buffer is displayed in your frame, so if
you switch buffer (without minibuffer interaction, e.g. by clicking on
the buffer-name in the mode-line), then M-x works again (and you can C-x
k the offending markdown-mode buffer).

The fix is to run window-configuration-change-hook with the trick as
used for pre-command-hook (and various other hooks).  The only problem
is that window-configuration-change-hook is a highly non-standard hook
which cannot be run by the usual run_hook functions, so it'll require
more work to make Emacs behave gracefully.


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]