all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joost.m.kremers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: better error messages in my *Messages* buffer?
Date: 19 Mar 2014 19:25:03 GMT	[thread overview]
Message-ID: <slrnlijrof.9nq.joost.m.kremers@j.kremers4.news.arnhem.chello.nl> (raw)
In-Reply-To: mailman.17570.1395256643.10748.help-gnu-emacs@gnu.org

kleinerdrache@gmx.at wrote:
> error in process filter: Wrong type argument: listp, [...] 
>
> What do you do in that case to find out which line of your code creates
> that error?

`M-x toggle-debug-on-error is the first thing that comes to mind. Or do
`M-x debug-on-entry RET <your_function> RET'. Make sure the relevant
functions are not byte-compiled. And read up on the debugger:

(info "(elisp) Debugging")
(info "(elisp) Debugger")

-- 
Joost Kremers                                   joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


       reply	other threads:[~2014-03-19 19:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.17570.1395256643.10748.help-gnu-emacs@gnu.org>
2014-03-19 19:25 ` Joost Kremers [this message]
2014-03-20  2:04   ` better error messages in my *Messages* buffer? Marcin Borkowski
2014-03-20 16:44 ` ian.tegebo
2014-03-19 19:17 kleinerdrache

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=slrnlijrof.9nq.joost.m.kremers@j.kremers4.news.arnhem.chello.nl \
    --to=joost.m.kremers@gmail.com \
    --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.