From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: Re: Advising forward-char not working properly Date: Mon, 23 Jun 2003 16:53:36 +0900 (JST) Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200306230753.QAA28076@etlken.m17n.org> References: <87brx2jnwl.fsf@zamazal.org> <87znk9w8h6.fsf@zamazal.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1056354850 4277 80.91.224.249 (23 Jun 2003 07:54:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2003 07:54:10 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 23 09:54:03 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 19UM9K-00016e-00 for ; Mon, 23 Jun 2003 09:54:02 +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 19UM9N-0006DT-Vq for gnu-bug-gnu-emacs@m.gmane.org; Mon, 23 Jun 2003 03:54:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19UM96-00062D-4Q for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2003 03:53:48 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19UM94-000622-Od for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2003 03:53:47 -0400 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19UM93-0005qW-1N; Mon, 23 Jun 2003 03:53:45 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2])h5N7rbu24798; Mon, 23 Jun 2003 16:53:37 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) h5N7ra906806; Mon, 23 Jun 2003 16:53:36 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id QAA28076; Mon, 23 Jun 2003 16:53:36 +0900 (JST) Original-To: pdm@zamazal.org In-reply-to: <87znk9w8h6.fsf@zamazal.org> (message from Milan Zamazal on Mon, 23 Jun 2003 09:36:53 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) Original-cc: rms@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:5372 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5372 In article <87znk9w8h6.fsf@zamazal.org>, Milan Zamazal writes: >>>>>> "RS" == Richard Stallman writes: > When I advise the function forward-char or backward-char, > the advice is not invoked if the function is called via its key > binding. RS> These functions are executed directly in many cases. > It's quite suspicious to me why invoking a command through `C-f' behaves > differently than calling it via `M-x forward-char'. I'm not saying it's > a bug, but I wish Emacs were less mysterious :-|. Long ago, when Gerd implemented the new display engine, I did some test to check the effect of those special handling of forward-char, backward-char, and self-insert-command. As far as I remember, the result was that I couldn't see any merit in those special handlings. But, what I did was to keep pressing C-f and C-b in the TUTORIAL buffer while making the auto repeating ratio of the keyboard as fast as possible. As they are interactive commands and my machine was a rather fast one, this test is not that reliable. But at least, there's a possibility that we no longer need those special handling. How about disabling those codes and see if users really complain or not? --- Ken'ichi HANDA handa@m17n.org