all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Milan Zamazal <pdm@zamazal.org>
Subject: Advising forward-char not working properly
Date: Fri, 13 Jun 2003 12:02:34 +0200	[thread overview]
Message-ID: <87brx2jnwl.fsf@zamazal.org> (raw)

In GNU Emacs 21.3.2 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2003-06-03 on blackbird, modified by Debian

When I advise the function forward-char or backward-char, the advice is
not invoked if the function is called via its key binding.

Try to evaluate the following in *scratch*:

  (defadvice forward-char (after foo activate)
    (message "Advice called"))

Then type `C-f' in some buffer -- the advice isn't called.

Now try `M-x forward-char' -- the advice is called as expected.

I think this is a bug.  self-insert-command seems to have a similar
problem.

             reply	other threads:[~2003-06-13 10:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-13 10:02 Milan Zamazal [this message]
2003-06-14 12:29 ` Advising forward-char not working properly Richard Stallman
2003-06-23  7:36   ` Milan Zamazal
2003-06-23  7:53     ` Kenichi Handa

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=87brx2jnwl.fsf@zamazal.org \
    --to=pdm@zamazal.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.