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: comint-prompt-read-only causes problems in Gnus message mode
Date: Sun, 21 Nov 2004 12:04:24 -0600 (CST)	[thread overview]
Message-ID: <200411211804.iALI4Oh21595@raven.dms.auburn.edu> (raw)
In-Reply-To: <m34qjjkspk.fsf@ate.maierh> (message from Harald Maier on Sun, 21 Nov 2004 18:38:47 +0100)

Harald Maier wrote:

   | There are text properties here:
   |   font-lock-face       [comint-highlight-prompt]
   |   inhibit-line-move-field-capture t
   |   rear-nonsticky       t
   |   fontified            t
   |   front-sticky         (read-only)
   `----

   I don't know if this is correct but it seems read-only is still there.

No.  The value of the _front-sticky_ property is still (read-only),
which only will start to matter if you make the text read-only again.
That is, the text no longer has the read-only property, but if you
make it read-only, then characters added in front of it after you made
it read-only will also be read-only.

The above fact seems like a shortcoming of yank-excluded-properties,
or of its default value.

Maybe rear-nonsticky and front-sticky should be in
yank-excluded-properties themselves.  The text is likely to be yanked
into another context and in that context, the old stickiness may no
longer be desirable.

Sincerely,

Luc.

  reply	other threads:[~2004-11-21 18:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-21 15:20 comint-prompt-read-only causes problems in Gnus message mode Harald Maier
2004-11-21 16:24 ` Luc Teirlinck
2004-11-21 17:38   ` Harald Maier
2004-11-21 18:04     ` Luc Teirlinck [this message]
2004-11-23 16:29       ` Richard Stallman

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=200411211804.iALI4Oh21595@raven.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).