unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: bug in ielm: patch.  Related problem with end-of-line.
Date: Sun, 22 Sep 2002 22:50:43 -0500 (CDT)	[thread overview]
Message-ID: <200209230350.WAA07953@eel.dms.auburn.edu> (raw)
In-Reply-To: <200209230244.VAA07692@eel.dms.auburn.edu> (message from Luc Teirlinck on Sun, 22 Sep 2002 21:44:30 -0500 (CDT))

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  <teirllm@mail.auburn.edu>

       * 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
============================================================

  reply	other threads:[~2002-09-23  3:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-23  2:44 bug in ielm: patch. Related problem with end-of-line Luc Teirlinck
2002-09-23  3:50 ` Luc Teirlinck [this message]
2002-09-23 21:40 ` Luc Teirlinck
2002-09-23 21:59   ` Luc Teirlinck
2002-09-23 22:31   ` Luc Teirlinck
2002-09-23 23:55   ` Luc Teirlinck
2002-09-24  0:16     ` Luc Teirlinck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200209230350.WAA07953@eel.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).