all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Manuel Giraud <manuel@ledu-giraud.fr>
To: "help-gnu-emacs" <help-gnu-emacs@gnu.org>
Subject: overlays and movement
Date: Tue, 28 Jun 2022 11:17:15 +0200	[thread overview]
Message-ID: <87tu855eqs.fsf@elite.giraud> (raw)

Hi,

I'd like to have some overlays (just 2 in fact) that have to be updated
each time I'm moving into the buffer. What is the prefered way to do
this?

I have tried to add a hook on `post-command-hook'. It kind of works but
it seems to lag sometimes and the docstring says that this is a bad idea
anyway.

Best regards,
-- 
Manuel Giraud



             reply	other threads:[~2022-06-28  9:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-28  9:17 Manuel Giraud [this message]
2022-06-28 10:39 ` overlays and movement Tassilo Horn
2022-06-28 12:12   ` Manuel Giraud
2022-06-28 15:56   ` Manuel Giraud
2022-06-28 16:13     ` Emanuel Berg
2022-06-29  7:12       ` Manuel Giraud
2022-06-29  7:34         ` tomas
2022-06-30  6:11         ` Emanuel Berg
2022-06-28 19:22     ` Tassilo Horn
2022-06-29  7:23       ` Manuel Giraud
2022-06-30  4:51         ` Tassilo Horn
2022-06-30  6:14         ` Emanuel Berg

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=87tu855eqs.fsf@elite.giraud \
    --to=manuel@ledu-giraud.fr \
    --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.