all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Debugger output: where to look for its explanation?
Date: Sun, 29 Mar 2015 15:03:54 +0200	[thread overview]
Message-ID: <871tk8hs5h.fsf@wmi.amu.edu.pl> (raw)
In-Reply-To: <90f11922-7559-491a-bff9-b2c99508d6f8@default>


On 2015-03-29, at 03:01, Drew Adams <drew.adams@oracle.com> wrote:

>> so I got this as a *Backtrace*:
>> 
>> Debugger entered--Lisp error: (scan-error "Containing expression ends
>> prematurely" 2959 2959)
>
> No doubt someone will give you interesting details about the info
> in the backtrace.

I would hope!  It seems this is not very well documented in the Emacs
manual.

> FWIW, whenever I get that error message it's pretty clear what the
> problem is, because I was evaluating a sexp (so I know which one is
> problematic).  It's typically because I forgot a right paren somewhere.

Not really in this case -- I was writing a function which analysed the
code.  More precisely, given that the point was somewhere in a string,
the function decides whether it's a docstring or not.  (It is part of my
SLOC counting library.)  But I agree, it *was* clear where the problem
was.  But thanks anyway!

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



  reply	other threads:[~2015-03-29 13:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-28 23:03 Debugger output: where to look for its explanation? Marcin Borkowski
2015-03-29  1:01 ` Drew Adams
2015-03-29 13:03   ` Marcin Borkowski [this message]
2015-03-30  7:00 ` Nicolas Richard

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=871tk8hs5h.fsf@wmi.amu.edu.pl \
    --to=mbork@wmi.amu.edu.pl \
    --cc=help-gnu-emacs@gnu.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.