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: bug in ielm: patch. Related problem with end-of-line. Date: Sun, 22 Sep 2002 22:50:43 -0500 (CDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200209230350.WAA07953@eel.dms.auburn.edu> References: <200209230244.VAA07692@eel.dms.auburn.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1032753169 7188 127.0.0.1 (23 Sep 2002 03:52:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 23 Sep 2002 03:52:49 +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.35 #1 (Debian)) id 17tKHA-0001rn-00 for ; Mon, 23 Sep 2002 05:52:48 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17tKxG-00039t-00 for ; Mon, 23 Sep 2002 06:36:18 +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 17tKH8-0000Zn-00; Sun, 22 Sep 2002 23:52:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17tKFA-0000Vz-00 for emacs-devel@gnu.org; Sun, 22 Sep 2002 23:50:44 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17tKF7-0000VQ-00 for emacs-devel@gnu.org; Sun, 22 Sep 2002 23:50:43 -0400 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17tKF7-0000VL-00 for emacs-devel@gnu.org; Sun, 22 Sep 2002 23:50:41 -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 WAA02484; Sun, 22 Sep 2002 22:50:40 -0500 (CDT) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id WAA07953; Sun, 22 Sep 2002 22:50:43 -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: <200209230244.VAA07692@eel.dms.auburn.edu> (message from Luc Teirlinck on Sun, 22 Sep 2002 21:44: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:8110 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8110 Sorry, I forgot to properly account for comint-use-prompt-regexp-instead-of-fields in my previous patch. Corrected change log and patch: Change log: 2002-09-22 Luc Teirlinck * ielm.el (inferior-emacs-lisp-mode): Treat the header as output, if comint-use-prompt-regexp-instead-of-fields is nil. Patch: ===File ~/ielm-diff2======================================== cd /usr/local/share/emacs/21.3.50/lisp/ diff -c /usr/local/share/emacs/21.3.50/lisp/ielmold.el /usr/local/share/emacs/21.3.50/lisp/ielm.el *** /usr/local/share/emacs/21.3.50/lisp/ielmold.el Thu Sep 19 10:35:10 2002 --- /usr/local/share/emacs/21.3.50/lisp/ielm.el Sun Sep 22 22:26:24 2002 *************** *** 510,515 **** --- 510,519 ---- ;; Add a silly header (insert ielm-header) (ielm-set-pm (point-max)) + (unless comint-use-prompt-regexp-instead-of-fields + (add-text-properties + 1 (point-max) + '(rear-nonsticky t field output inhibit-line-move-field-capture t))) (comint-output-filter (ielm-process) ielm-prompt) (set-marker comint-last-input-start (ielm-pm)) (set-process-filter (get-buffer-process (current-buffer)) 'comint-output-filter)) Diff finished at Sun Sep 22 22:39:51 ============================================================