unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org
Subject: Re: remove-hook.
Date: Sat, 11 Oct 2003 13:12:04 -0400	[thread overview]
Message-ID: <E1A8NHg-0008GB-VF@fencepost.gnu.org> (raw)
In-Reply-To: <sgdu16h6ufm.fsf@occarina.pna.cwi.nl> (message from Lute Kamstra on Fri, 10 Oct 2003 16:25:49 +0200)

    I tried to figure this out, but it is rather annoying, to say the
    least.  Once I instrument remove-hook, almost every key I press
    triggers Edebug (one or more times).

A simpler and safer method is just to make remove-hook do (beep)
at the beginning.  Then you can put a breakpoint at Fbeep using gdb
and find out where it is called from.

However, when I put (beep) into remove-hook, ordinary editing doesn't
even beep.  So I guess remove-hook is not called for every key
in my environment.  Probably some mode you enabled is what does it.

  reply	other threads:[~2003-10-11 17:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-07 13:25 remove-hook Lute Kamstra
2003-10-07 13:40 ` remove-hook Luc Teirlinck
2003-10-07 13:42 ` remove-hook Stefan Monnier
2003-10-07 14:00   ` remove-hook Lute Kamstra
2003-10-07 14:59     ` remove-hook Stefan Monnier
2003-10-07 15:13       ` remove-hook Lute Kamstra
2003-10-07 15:24         ` remove-hook Stefan Monnier
2003-10-07 22:04         ` remove-hook Luc Teirlinck
2003-10-08  4:52     ` remove-hook Richard Stallman
2003-10-10 14:25       ` remove-hook Lute Kamstra
2003-10-11 17:12         ` Richard Stallman [this message]
2003-10-08  4:52 ` remove-hook Richard Stallman

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=E1A8NHg-0008GB-VF@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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).