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: Tue, 6 Aug 2002 20:16:59 -0500 (CDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200208070116.UAA01281@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> <200207041824.g64IO8i06426@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1028683072 16461 127.0.0.1 (7 Aug 2002 01:17:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 7 Aug 2002 01:17:52 +0000 (UTC) Cc: monnier+gnu/emacs@rum.cs.yale.edu, monnier+gnu/emacs@rum.cs.yale.edu, miles@lsi.nec.co.jp, Kai.Grossjohann@CS.Uni-Dortmund.DE, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17cFSQ-0004HO-00 for ; Wed, 07 Aug 2002 03:17:50 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17cFnm-0007Mx-00 for ; Wed, 07 Aug 2002 03:39:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17cFSg-0004yH-00; Tue, 06 Aug 2002 21:18:06 -0400 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17cFS0-0004r7-00; Tue, 06 Aug 2002 21:17:24 -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 UAA12272; Tue, 6 Aug 2002 20:17:03 -0500 (CDT) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id UAA01281; Tue, 6 Aug 2002 20:16:59 -0500 (CDT) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-Reply-To: <200207041824.g64IO8i06426@aztec.santafe.edu> (message from Richard Stallman on Thu, 4 Jul 2002 12:24:08 -0600 (MDT)) 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:6319 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6319 Richard Stallman wrote (some time ago): The reason is, it is wrong to call comint-carriage-motion by adding it globally and unconditionally to the hook. When a function should be called unconditionally, it should be called explicitly from the code, not thru a hook. Once this change is made, the way to fix the present problem is for ielm to bind a variable that tells the code not to call comint-carriage-motion, or tells comint-carriage-motion to do nothing. This was written about a month ago and concerned problems caused by comint-carriage-motion for ielm. One thing was (and is) not completely clear to me: Would you like me to send diffs for comint.el and ielm.el implementing these changes? I could easily do so. Sincerely, Luc.