GNU bug report logs - #16545
24.3.50; Patch to coalesce calls to linum-update-current

Previous Next

Package: emacs;

Reported by: Chow Loong Jin <hyperair <at> debian.org>

Date: Sat, 25 Jan 2014 07:59:01 UTC

Severity: minor

Tags: patch

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chow Loong Jin <hyperair <at> debian.org>
To: 16545 <at> debbugs.gnu.org
Subject: bug#16545: 24.3.50; Patch to coalesce calls to linum-update-current
Date: Sat, 25 Jan 2014 15:57:40 +0800
[Message part 1 (text/plain, inline)]
When navigating using C-n/C-p with a high key repeat rate, causing
linum-schedule to be called many times in quick succession,
linum-update-current gets called as many times in linum-schedule,
eventhough one call per round should be enough to renumber the lines.

This patch adds a linum-delay-seconds option defaulting to 10ms to delay
the call to linum-update-current, thus coalescing all calls to
linum-update-current until Emacs settles for 10ms.

--
Kind regards,
Loong Jin
[0001-Add-customization-option-to-delay-linum-updates.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 6 years and 44 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.