all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Backtrace and message buffer tell me different things
Date: Sat, 18 Dec 2010 11:51:04 +0100	[thread overview]
Message-ID: <AANLkTim1_0ZKzLd=NjiM6CNy5-bPSW85uwKbQFQHyXTg@mail.gmail.com> (raw)
In-Reply-To: <m2wrn7mnoi.fsf@whitebox.home>

On Sat, Dec 18, 2010 at 10:32 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Lennart Borgman <lennart.borgman@gmail.com> writes:
>
>> On Sat, Dec 18, 2010 at 9:38 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
>>> Lennart Borgman <lennart.borgman@gmail.com> writes:
>>>
>>>> I get a strange error from mumamo. The backtrace looks like this:
>>>>
>>>> Debugger entered--Lisp error: (error "Selecting deleted buffer")
>>>>   byte-code("..." [buffer table set-syntax-table] 2)
>>>>   #[(body) [strange stuff here...]
>>>>   mumamo-fetch-major-mode-setup(mumamo-bad-mode nil)
>>>>   mumamo-get-major-mode-setup(html-mode)
>>>>   mumamo-new-create-chunk(((1 192 html-mode nil nil nil
>>>> (mumamo-chunk-xml-pi mumamo-chunk-alt-php mumamo-chunk-alt-php=
>>>> mumamo-chunk-inlined-style mumamo-chunk-inlined-script
>>>> mumamo-chunk-style= mumamo-chunk-onjs=) nil nil t) (nil nil nil 0
>>>> nil)))
>>>>   mumamo-find-chunks-1(192 "mumamo-get-chunk-save-buffer-state")
>>>>   mumamo-find-chunks(192 "mumamo-get-chunk-save-buffer-state")
>>>>   mumamo-get-chunk-save-buffer-state(192)
>>>>   mumamo-turn-on-actions(lisp-interaction-mode)
>>>>   html-mumamo-mode()
>>>>   call-interactively(html-mumamo-mode t nil)
>>>>   execute-extended-command(nil)
>>>>   call-interactively(execute-extended-command nil nil)
>>>>
>>>> However in the message buffer I have this:
>>>>
>>>>   MU:returning from mumamo-fetch-major-mode-setup
>>>>   MU:after mumamo-fetch-major-mode-setup B
>>>
>>> Where is the message on entering?
>>
>> They are before the messages above, just where one would expect them to be.
>
> So the error occured before the enter message was reached.


Thanks Andreas, your questions made me look at it a different way. I
had assumed that mumamo-fetch-major-mode-setup could not be called
from within itself, but that was not true. (This is not the first time
I have been hit by bad assumptions I have made regarding how font-lock
works.)



  reply	other threads:[~2010-12-18 10:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-18  0:48 Backtrace and message buffer tell me different things Lennart Borgman
2010-12-18  8:38 ` Andreas Schwab
2010-12-18  9:25   ` Lennart Borgman
2010-12-18  9:32     ` Andreas Schwab
2010-12-18 10:51       ` Lennart Borgman [this message]
2010-12-18 16:04 ` Stefan Monnier
2010-12-18 19:58   ` Lennart Borgman
2010-12-18 22:00     ` Lennart Borgman
2010-12-19 13:51       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTim1_0ZKzLd=NjiM6CNy5-bPSW85uwKbQFQHyXTg@mail.gmail.com' \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.