unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Advising forward-char not working properly
@ 2003-06-13 10:02 Milan Zamazal
  2003-06-14 12:29 ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Milan Zamazal @ 2003-06-13 10:02 UTC (permalink / 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-06-23  7:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-13 10:02 Advising forward-char not working properly Milan Zamazal
2003-06-14 12:29 ` Richard Stallman
2003-06-23  7:36   ` Milan Zamazal
2003-06-23  7:53     ` Kenichi Handa

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).