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: Sat, 17 Aug 2002 22:01:04 -0500 (CDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200208180301.WAA02394@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> <200208070116.UAA01281@eel.dms.auburn.edu> <200208072058.g77KwUo03670@wijiji.santafe.edu> <200208180239.VAA02371@eel.dms.auburn.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1029639674 472 127.0.0.1 (18 Aug 2002 03:01:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 18 Aug 2002 03:01:14 +0000 (UTC) Cc: rms@gnu.org, 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 17gGJU-00007S-00 for ; Sun, 18 Aug 2002 05:01:12 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17gGkE-0005SN-00 for ; Sun, 18 Aug 2002 05:28:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17gGKV-00011p-00; Sat, 17 Aug 2002 23:02:15 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17gGJV-0000zU-00 for emacs-devel@gnu.org; Sat, 17 Aug 2002 23:01:13 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17gGJR-0000z6-00 for emacs-devel@gnu.org; Sat, 17 Aug 2002 23:01:13 -0400 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17gGJR-0000z0-00; Sat, 17 Aug 2002 23:01:09 -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 WAA03799; Sat, 17 Aug 2002 22:01:07 -0500 (CDT) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id WAA02394; Sat, 17 Aug 2002 22:01:04 -0500 (CDT) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: teirllm@dms.auburn.edu In-Reply-To: <200208180239.VAA02371@eel.dms.auburn.edu> (message from Luc Teirlinck on Sat, 17 Aug 2002 21:39:30 -0500 (CDT)) 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:6615 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6615 Two more remarks on comint.el. They are not directly related to the changes proposed in my previous message, but I noticed them while making those changes. First remark: Old version, lines 1509-1511: ;; This used to call comint-output-filter-functions, ;; but that scrolled the buffer in undesirable ways. (run-hook-with-args 'comint-output-filter-functions ""))))) New version: ;; This used to call comint-output-filter-functions, ;; but that scrolled the buffer in undesirable ways. + (unless no-carriage-motion (comint-carriage-motion "")) (run-hook-with-args 'comint-output-filter-functions ""))))) This seems cryptic and confusing: "This USED to call comint-output-filter-functions": I do not understand, it clearly still does. Second remark: While byte-compiling the compiler got upset over both comint.el and ielm.el's use of directory-sep-char: ^L Compiling file /usr/local/share/emacs/21.3.50/lisp/comint.el at Sat Aug 17 21:47:39 2002 /usr/local/share/emacs/21.3.50/lisp/comint.el:742:29: Warning: directory-sep-char is an obsolete variable since 21.1; do not use it. In comint-dynamic-complete-as-filename: Warning: directory-sep-char is an obsolete variable since 21.1; do not use it. ^L Compiling file /usr/local/share/emacs/21.3.50/lisp/ielm.el at Sat Aug 17 21:49:00 2002 In inferior-emacs-lisp-mode: Warning: directory-sep-char is an obsolete variable since 21.1; do not use it. >From the NEWS: ** The variable `directory-sep-char' is slated for removal. Not really a change (yet), but a projected one that you should be aware of: The variable `directory-sep-char' is deprecated, and should not be used. It was always ignored on GNU/Linux and Unix systems and on MS-DOS, but the MS-Windows port tried to support it by adapting the behavior of certain primitives to the value of this variable. It turned out that such support cannot be reliable, so it was decided to remove this variable in the near future. Lisp programs are well advised not to set it to anything but '/', because any different value will not have any effect when support for this variable is removed. It is clear that all of this is only relevant to MS-Windows. I do not use MS-Windows and have very limited experience with it. Hence I do not know how relevant the above is and whether the references to this variable should be removed as the compiler seems to wish. Sincerely, Luc.