unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@lsi.nec.co.jp>
Cc: emacs-devel@gnu.org
Subject: Re: comint doesn't like read-only prompts
Date: 13 Jun 2002 17:51:21 +0900	[thread overview]
Message-ID: <buoznxz4l4m.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)
In-Reply-To: <20020613103231.CD52.LEKTU@terra.es>

Juanma Barranquero <lektu@terra.es> writes:
> This patch to HEAD is needed to make ielm work again. The problem is
> that the new handling of text-properties/attributes in comint.el is
> choking while dealing with ielm's read-only prompt.

I guess that patch would work, but somehow ielm's calling comint's
output filter on read-only text seems vaguely dodgy to me.

Perhaps it would be better to make comint itself support read-only
prompts, controlled with a variable; then ielm could just set that
variable to t.  That would be a useful feature that people could turn
on for other comint modes as well if they want.

[An alternative might be to have comint support having only the
_current_ prompt be read-only, since it's usually only that one which is
in danger of being inadvertently modified.]

-Miles
-- 
Come now, if we were really planning to harm you, would we be waiting here, 
 beside the path, in the very darkest part of the forest?

  reply	other threads:[~2002-06-13  8:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-13  8:35 comint doesn't like read-only prompts Juanma Barranquero
2002-06-13  8:51 ` Miles Bader [this message]
2002-06-13  9:04   ` Juanma Barranquero
2002-06-13  9:12     ` Miles Bader
2002-06-13 10:04       ` Juanma Barranquero
2002-06-13 21:47 ` Richard Stallman
2002-06-14  8:43   ` Juanma Barranquero
2002-06-14  9:13     ` Miles Bader
2002-06-14  9:32       ` Juanma Barranquero

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=buoznxz4l4m.fsf@mcspd15.ucom.lsi.nec.co.jp \
    --to=miles@lsi.nec.co.jp \
    --cc=emacs-devel@gnu.org \
    --cc=miles@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).