all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: PJ Weisberg <pjweisberg@gmail.com>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: overlays vs text properties
Date: Wed, 13 Jul 2011 01:07:20 -0700	[thread overview]
Message-ID: <CAJsNXTkJmDBfY_xcz9Cqit=T2mi2XODRt4C__Zkbwt7H6weLZQ@mail.gmail.com> (raw)
In-Reply-To: <87pqleiqk7.fsf@ericabrahamsen.net>

On Wednesday, July 13, 2011, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
> On Wed, Jul 13 2011, Eli Zaretskii wrote:
>> Sounds like overlays are better suited for this job, unless I'm
>> missing something.
>
> Only that there's no good way of moving overlays based on the movement
> of point!

I don't know if there's a good way of "moving" text properties at all. ;-)

I know of one library (Magit) that moves its "highlight" overlay to
the current section in a post-command-hook.

-- 

-PJ



  reply	other threads:[~2011-07-13  8:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13  6:12 overlays vs text properties Eric Abrahamsen
2011-07-13  6:59 ` Eli Zaretskii
2011-07-13  7:23   ` Eric Abrahamsen
2011-07-13  7:28     ` Eli Zaretskii
2011-07-13  7:32       ` Eric Abrahamsen
2011-07-13  8:07         ` PJ Weisberg [this message]
2011-07-13 22:21           ` Eric Abrahamsen
2011-07-13  9:57         ` Eli Zaretskii
2011-07-13 14:55     ` Drew Adams

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='CAJsNXTkJmDBfY_xcz9Cqit=T2mi2XODRt4C__Zkbwt7H6weLZQ@mail.gmail.com' \
    --to=pjweisberg@gmail.com \
    --cc=eric@ericabrahamsen.net \
    --cc=help-gnu-emacs@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.