From: Stefan Monnier <monnier@iro.umontreal.ca>
To: E Sabof <esabof@gmail.com>
Cc: 14170@debbugs.gnu.org
Subject: bug#14170: 24.3; linum won't create all overlays after a folding
Date: Thu, 11 Apr 2013 09:58:42 -0400 [thread overview]
Message-ID: <jwvsj2xnpgm.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAEp6DybeY9N05rFLvu-M2Bchibw=H_57J=Vv9BYAY+nmMYt3KA@mail.gmail.com> (E. Sabof's message of "Thu, 11 Apr 2013 02:37:55 +0100")
> On a side note, I would prefer nlinum's approach for my package, but
> if I'm correct it would become slower over time, as it doesn't "GC"
> overlays. And I don't think jit-lock provides an easy method to do
> it, as it marks regions "fontified" (as opposed to
> "fontified-by-X-function").
You might like to look at nlinum.el (the source code) and specifically
at nlinum--flush-overlays (which is commented out).
If you wonder why I commented it out, it's not because I couldn't make
it work, but because the slowdown it tries to avoid didn't seem to be
a problem in practice.
Stefan
next prev parent reply other threads:[~2013-04-11 13:58 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-09 21:33 bug#14170: 24.3; linum won't create all overlays after a folding E Sabof
2013-04-10 0:38 ` Stefan Monnier
2013-04-10 1:02 ` E Sabof
2013-04-10 1:51 ` Glenn Morris
2013-04-12 12:52 ` Eli Zaretskii
2013-04-14 1:21 ` Stefan Monnier
2013-04-14 6:15 ` Eli Zaretskii
2013-04-15 23:00 ` Stefan Monnier
2013-04-16 6:15 ` Eli Zaretskii
2013-04-11 1:37 ` E Sabof
2013-04-11 1:44 ` E Sabof
2013-04-11 2:50 ` Eli Zaretskii
2013-04-11 3:23 ` E Sabof
2013-04-11 16:14 ` Eli Zaretskii
2013-04-11 13:58 ` Stefan Monnier [this message]
[not found] ` <CAEp6DyZQx81yUkxKfqk2O8VJz68xYVs0+_Cii50MG4Wxc6q=rA@mail.gmail.com>
[not found] ` <jwvmwt1ucww.fsf-monnier+emacs@gnu.org>
2013-04-14 1:40 ` E Sabof
2013-04-14 3:16 ` Stefan Monnier
2016-06-09 3:03 ` Noam Postavsky
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvsj2xnpgm.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=14170@debbugs.gnu.org \
--cc=esabof@gmail.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).