From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: comint-carriage-motion causes severe problems. Date: Thu, 4 Jul 2002 11:07:46 -0500 (CDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200207041607.LAA22711@eel.dms.auburn.edu> References: <200207020035.TAA19789@eel.dms.auburn.edu> <200207021534.g62FYao17897@rum.cs.yale.edu> <200207021618.LAA20219@eel.dms.auburn.edu> <200207032057.g63KvX604721@aztec.santafe.edu> <200207032111.g63LBAv25925@rum.cs.yale.edu> <200207040337.WAA22499@eel.dms.auburn.edu> <200207041531.g64FVRp29714@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1025798931 2199 127.0.0.1 (4 Jul 2002 16:08:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 4 Jul 2002 16:08:51 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Q9A3-0000ZM-00 for ; Thu, 04 Jul 2002 18:08:51 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Q9G7-0004Kg-00 for ; Thu, 04 Jul 2002 18:15:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Q9AM-0001Oy-00; Thu, 04 Jul 2002 12:09:10 -0400 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Q98A-0001FZ-00 for ; Thu, 04 Jul 2002 12:06:54 -0400 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) by manatee.dms.auburn.edu (8.9.1a/8.9.1) with ESMTP id LAA21188; Thu, 4 Jul 2002 11:06:53 -0500 (CDT) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id LAA22711; Thu, 4 Jul 2002 11:07:46 -0500 (CDT) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: monnier+gnu/emacs@rum.cs.yale.edu In-Reply-To: <200207041531.g64FVRp29714@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5461 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5461 Stefan Monnier wrote: > I believe this single change might be sufficient to both implement my > previous suggestion and make sure that any later adding of 'function' > to the default-value will be shadowed locally. If no shadowing of the I thought about this alternative when I was hacking on it. Basically, you want that (remove-hook 'foo 'bar 'local) (add-hook 'foo 'bar) prevents `bar' from being run in the buffer. But I'm not sure if it's such a good idea. After all (remove-hook 'foo 'bar) (add-hook 'foo 'bar) does not prevent `bar' from being run (the `remove-hook' above ends up being a noop). Stefan Dear Stefan, First of all, I messed up things when I sent you my previous message. I somehow clumsily managed to accidentally remove the CC to emacs-devel. I resent my message to emacs-devel separately. You replied to the unintentionally "private" message. So your reply did not include a CC to emacs-devel either. Sorry for messing things up. I included your entire message above, so you would not have to resend it to emacs-devel. I will respond to both your messages shortly after I have add some time to think. Sincerely, Luc.