all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 20924@debbugs.gnu.org
Subject: bug#20924: 25.0.50; (elisp) `Sticky Properties`
Date: Mon, 29 Jun 2015 17:28:36 +0300	[thread overview]
Message-ID: <83d20e612j.fsf@gnu.org> (raw)
In-Reply-To: <614981ac-642e-448d-9f3c-4c8efabb1f1f@default>

> Date: Sun, 28 Jun 2015 18:47:28 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> 
> 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.





  reply	other threads:[~2015-06-29 14:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-29  1:47 bug#20924: 25.0.50; (elisp) `Sticky Properties` Drew Adams
2015-06-29 14:28 ` Eli Zaretskii [this message]
     [not found] <<614981ac-642e-448d-9f3c-4c8efabb1f1f@default>
     [not found] ` <<83d20e612j.fsf@gnu.org>
2015-06-29 14:51   ` Drew Adams
2015-06-29 16:17     ` 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

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=83d20e612j.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=20924@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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.