From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 20924@debbugs.gnu.org
Subject: bug#20924: 25.0.50; (elisp) `Sticky Properties`
Date: Mon, 29 Jun 2015 07:51:17 -0700 (PDT) [thread overview]
Message-ID: <6ae86cab-a610-42cd-a05d-6d209b40721c@default> (raw)
In-Reply-To: <<83d20e612j.fsf@gnu.org>>
> > The first sentence is misleading:
> >
> > Self-inserting characters normally take on the same properties
> > as the preceding character.
> >
> > Is it about the characters themselves or about self-insertion of
> > those characters?
>
> The latter, because of the plural tense. "Self-inserting
> characters" is a shorthand for "characters bound to a command
> that just inserts the character which invoked it".
>
> > The rest of the node says, for example, that `insert' inserts
> > without inheritance. Doesn't that mean that if you pass a string of
> > self-inserting chars to `insert' then they will not inherit from
> > the char before the insertion?
>
> No. According to my clarification above, there's no such thing as
> "a string of self-inserting characters", only "a string of characters".
> Any character can be inserted by an explicit call to 'insert'.
>
> I guess the confusion here is between 'insert' the name of a
> primitive and "insert" as part of "self-inserting", where "insert"
> is used in its everyday meaning. I see no other unclear issues here.
>
> > It would be clearer to just say that: they inherit when they are
> > self-inserted.
>
> We cannot "self-insert" a character, so saying that would be a
> mistake.
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"?
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. Under what conditions does a character "normally
take on the same properties as the preceding character"? Thx.
next parent reply other threads:[~2015-06-29 14:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <<614981ac-642e-448d-9f3c-4c8efabb1f1f@default>
[not found] ` <<83d20e612j.fsf@gnu.org>
2015-06-29 14:51 ` Drew Adams [this message]
2015-06-29 16:17 ` bug#20924: 25.0.50; (elisp) `Sticky Properties` Eli Zaretskii
[not found] <<6ae86cab-a610-42cd-a05d-6d209b40721c@default>
[not found] ` <<83pp4e4hgf.fsf@gnu.org>
2015-06-29 16:22 ` Drew Adams
2015-06-29 17:38 ` Eli Zaretskii
2015-06-29 1:47 Drew Adams
2015-06-29 14:28 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6ae86cab-a610-42cd-a05d-6d209b40721c@default \
--to=drew.adams@oracle.com \
--cc=20924@debbugs.gnu.org \
--cc=eliz@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.