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 12:31:19 -0500 (CDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200207041731.MAA22749@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> <200207040118.UAA22469@eel.dms.auburn.edu> <200207041543.g64FhEb29778@rum.cs.yale.edu> <200207041656.LAA22736@eel.dms.auburn.edu> <200207041704.g64H4fU30311@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1025806304 15384 127.0.0.1 (4 Jul 2002 18:11:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 4 Jul 2002 18:11:44 +0000 (UTC) Cc: monnier+gnu/emacs@rum.cs.yale.edu, rms@gnu.org, 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.33 #1 (Debian)) id 17QB4y-000401-00 for ; Thu, 04 Jul 2002 20:11:44 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17QBB4-000734-00 for ; Thu, 04 Jul 2002 20:18:03 +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 17QAwp-0004Sg-00; Thu, 04 Jul 2002 14:03:19 -0400 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17QAR2-00017L-00; Thu, 04 Jul 2002 13:30:28 -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 MAA21286; Thu, 4 Jul 2002 12:30:26 -0500 (CDT) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id MAA22749; Thu, 4 Jul 2002 12:31:19 -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: <200207041704.g64H4fU30311@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:5467 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5467 I haven't seen any evidence for the need of such a thing. The only cases I've seen where my patch is useful is when you want to turn a feature on globally but turn it off at a few places. Global customizations normally occur before buffers are created, so before the (remove-hook 'foo 'bar 'local) has even a chance of being run. If you could show me something more concrete, I might better understand your concern. OK. Here is an ielm run: *** Welcome to IELM *** Type (describe-mode) for help. ELISP> (default-value 'comint-output-filter-functions) (comint-carriage-motion comint-postoutput-scroll-to-bottom) ELISP> (default-value 'comint-output-filter-functions) (ansi-color-process-output comint-carriage-motion comint-postoutput-scroll-to-bottom) ELISP> What happened between line one and line two? I looked at the following documentation. Note: I definitely only looked at it, I was careful not to customize anything. To no avail. Things like this happen all the time for the reasons I outlined in my previous message. Ansi Color For Comint Mode: Hide Value Menu Do nothing State: this option is unchanged from its standard setting. Determines what to do with comint output. Hide If nil, do nothing. If the symbol `filter', then filter all SGR control sequences. If anything else (such as t), then translate SGR control sequences into text-properties. In order for this to have any effect, `ansi-color-process-output' must be in `comint-output-filter-functions'. This can be used to enable colorized ls --color=yes output in shell buffers. You set this variable by calling one of: M-x ansi-color-for-comint-mode-on M-x ansi-color-for-comint-mode-off M-x ansi-color-for-comint-mode-filter \- Ansi Colors group end -----------------------------------------------/ ----:---F1 savefile 12:29PM 0.07 (Mail Abbrev Fill)--L32--All----------