bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20924: 25.0.50; (elisp) `Sticky Properties`


From: Eli Zaretskii
Subject: bug#20924: 25.0.50; (elisp) `Sticky Properties`
Date: Mon, 29 Jun 2015 19:17:36 +0300

> Date: Mon, 29 Jun 2015 07:51:17 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: 20924@debbugs.gnu.org
> 
> Isn't that the distinction you are trying to make?  When a char is
> inserted by way of being "bound to a command that just inserts the
> character which invoked it", then it "normally take[s] on the same
> properties as the preceding character"?

That's what the manual says, yes.

> Anyway, I submit that the text is unclear.  The specific behavior
> (e.g., what function `insert' does) described in the rest of the
> node is clear.  The first paragraph is not clear.  Please try to
> find some other way to say what you think the message of the first
> paragraph is.

I don't see what's unclear.  The first paragraph contrasts the rest
with what happens with self-inserting characters.  In a nutshell, it
says: when users insert characters by typing, they inherit ...; by
contrast, a Lisp program that inserts text can choose not to.

> Under what conditions does a character "normally
> take on the same properties as the preceding character"?

When it is inserted by typing that character.  That's what the first
paragraph says.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]