all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: MON KEY <monkey@sandpframing.com>
To: acm@muc.de
Cc: emacs-devel@gnu.org
Subject: Re: M-w, then C-y. C-y inserts text properties that aren't on  original.
Date: Mon, 22 Feb 2010 15:30:35 -0500	[thread overview]
Message-ID: <d2afcfda1002221230r7fc3b4e9q94b9259de57869bf@mail.gmail.com> (raw)

,----
| The root cause of this mess is the confusion in text properties.
| Text properties (as opposed to overlays) become part of the text
| they're applied to, yet they're mostly used (e.g. for font locking)
| in situations where they're not intrinsically part of the text.
`----

The ``moslty'' generalization is far too broad a stroke.
You seem to be reducing this to a matter of presentation.

,----
| It would be better if these uses could use overlays, then copying
| the string would ignore the overlay.
`----

No, it would not.

There are a good many uses (some as yet poorly explored) where text
properties are the more suitable ``container'' than the equivalent
approach with overlays.

If anything it would be better if overlays were further deprecated.

/s_P\




             reply	other threads:[~2010-02-22 20:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-22 20:30 MON KEY [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-02-18 20:29 M-w, then C-y. C-y inserts text properties that aren't on original Alan Mackenzie
2010-02-19  4:47 ` Stefan Monnier
2010-02-19  9:22 ` Eli Zaretskii
2010-02-19 12:24   ` Alan Mackenzie
2010-02-19 14:35     ` Alan Mackenzie
2010-02-20  9:02       ` Eli Zaretskii
2010-02-20  9:25         ` Eli Zaretskii
     [not found]           ` <20100221215951.GD4407@muc.de>
2010-02-22  4:12             ` Eli Zaretskii
2010-02-22 12:56               ` Alan Mackenzie
2010-02-22 22:11                 ` Daniel Colascione
2010-02-23  4:43           ` Stefan Monnier

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=d2afcfda1002221230r7fc3b4e9q94b9259de57869bf@mail.gmail.com \
    --to=monkey@sandpframing.com \
    --cc=acm@muc.de \
    --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 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.