unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Leo <sdl.web@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Why post-command-hook so difficult to debug?
Date: Fri, 24 Aug 2012 10:12:13 +0200	[thread overview]
Message-ID: <877gsod7z6.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <m2y5l4hg9k.fsf@gmail.com> (Leo's message of "Fri, 24 Aug 2012 15:59:35 +0800")

Leo <sdl.web@gmail.com> writes:

>> Yes.  To be extra sure, I added a
>>
>>   (assert (null (remove-if 'stringp completions)))
>>
>> which doesn't trigger any error, but the error in
>> `completion-in-region--postch' is still there...
>
> In that case I have no idea. I was lucky because I found the error in
> the completion functions.

Thanks anyway.

> post-command-hook is difficult to debug (I did it by guesswork).

Ditto, but I'm running out of guesses.  I'll open a new specific thread
about this issue then.

Bye,
Tassilo



  reply	other threads:[~2012-08-24  8:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-22  2:40 Why post-command-hook so difficult to debug? Leo
2012-08-23 18:37 ` Tassilo Horn
2012-08-23 23:39   ` Leo
2012-08-24  6:11     ` Tassilo Horn
2012-08-24  6:41       ` Leo
2012-08-24  6:58         ` Tassilo Horn
2012-08-24  7:59           ` Leo
2012-08-24  8:12             ` Tassilo Horn [this message]
2012-08-29  3:33 ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=877gsod7z6.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=sdl.web@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).