all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Mark for refontification
Date: Tue, 6 Apr 2010 02:47:21 +0200	[thread overview]
Message-ID: <l2he01d8a51004051747r547dcfcfx8d9f6883db1710d5@mail.gmail.com> (raw)

Just one of my usual complaints: Could we please include a function
for marking a region for refontification? (Something like the function
mumamo-mark-for-refontification perhaps.)

Please also move the definition of the defmacro save-buffer-state
outside of eval-when-compile so that it could be used in other places
than font-lock.el. (Would it be enough to change to eval-and-compile?)

;;;###autoload
(defun mumamo-mark-for-refontification (min max)
  "Mark region between MIN and MAX for refontification."
    (save-restriction
      (widen)
      ;;(mumamo-with-buffer-prepared-for-jit-lock
      (mumamo-save-buffer-state nil
        (put-text-property min max 'fontified nil)
        )))




             reply	other threads:[~2010-04-06  0:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-06  0:47 Lennart Borgman [this message]
2010-04-09  2:53 ` Mark for refontification Stefan Monnier
2010-04-09  6:42   ` Lennart Borgman
2010-04-10  0:57     ` Stefan Monnier
2010-04-10  1:12       ` Lennart Borgman
2010-04-10 15:02         ` 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=l2he01d8a51004051747r547dcfcfx8d9f6883db1710d5@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --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.