[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ELPA] New package: beacon
From: |
Rasmus |
Subject: |
Re: [ELPA] New package: beacon |
Date: |
Thu, 15 Oct 2015 23:42:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi,
Arthur: great idea.
Kaushal Modi <address@hidden> writes:
> I haven't read either of the source codes, but is it similar to
> lisp/cedet/pulse.el?
pulse.el is cool! Thanks for pointing it out.
Unfortunately, the following is a bit too aggressive as it also updated on
ispell events and input-methods:
(add-to-list 'buffer-list-update-hook
(defun rasmus/pulse () (pulse-momentary-highlight-one-line
(point))))
Is there a hook that would better serve as an easy way to detect real
buffer changes, or would one have to introduce a state variable,
e.g. current buffer name?
(defvar rasmus/pulse-buffer nil)
(add-to-list 'buffer-list-update-hook
(defun rasmus/pulse ()
(unless (equal rasmus/pulse-buffer (buffer-name))
(pulse-momentary-highlight-one-line (point))
(setq rasmus/pulse-buffer (buffer-name)))))
Thanks,
Rasmus
--
Lasciate ogni speranza o voi che entrate: siete nella mani di'machellaio
- Re: [ELPA] New package: beacon, (continued)
- Re: [ELPA] New package: beacon, Kaushal Modi, 2015/10/15
- Re: [ELPA] New package: beacon, Kaushal Modi, 2015/10/15
- Re: [ELPA] New package: beacon, Artur Malabarba, 2015/10/15
- Re: [ELPA] New package: beacon, Kaushal Modi, 2015/10/15
- Re: [ELPA] New package: beacon, Kaushal Modi, 2015/10/15
- Re: [ELPA] New package: beacon, Tassilo Horn, 2015/10/16
- Re: [ELPA] New package: beacon, Artur Malabarba, 2015/10/15
Re: [ELPA] New package: beacon, Artur Malabarba, 2015/10/15
Re: [ELPA] New package: beacon,
Rasmus <=
Re: [ELPA] New package: on-screen (was: [ELPA] New package: beacon), Michael Heerdegen, 2015/10/21