From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Milan Zamazal Newsgroups: gmane.emacs.bugs Subject: Advising forward-char not working properly Date: Fri, 13 Jun 2003 12:02:34 +0200 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87brx2jnwl.fsf@zamazal.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055498871 4318 80.91.224.249 (13 Jun 2003 10:07:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2003 10:07:51 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 13 12:07:47 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19QlSA-00013W-00 for ; Fri, 13 Jun 2003 12:06:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19QlTj-0008Lm-3X for gnu-bug-gnu-emacs@m.gmane.org; Fri, 13 Jun 2003 06:08:15 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19QlQR-0006oL-LL for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2003 06:04:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19QlPD-0006AS-4Q for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2003 06:03:36 -0400 Original-Received: from ms2.dkm.cz ([62.24.64.14]) by monty-python.gnu.org with smtp (Exim 4.20) id 19QlON-0005gp-PY for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2003 06:02:43 -0400 Original-Received: (qmail 31034 invoked by uid 0); 13 Jun 2003 10:02:35 -0000 Original-Received: from l250.brno.mistral.cz (HELO blackbird) (62.245.107.250) by ms2.dkm.cz with SMTP; 13 Jun 2003 10:02:35 -0000 Original-Received: from pdm by blackbird with local (Exim 3.36 #1 (Debian)) id 19QlOE-00085h-00; Fri, 13 Jun 2003 12:02:34 +0200 Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:5291 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5291 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.