emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ELPA] New package: on-screen


From: John Wiegley
Subject: Re: [ELPA] New package: on-screen
Date: Wed, 21 Oct 2015 11:20:53 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin)

>>>>> Michael Heerdegen <address@hidden> writes:

> It implements a minor mode that highlights (in a customizable way) the last
> visible buffer area after scrolling, for better orientation when reading
> texts or code.

Neat.  Just two comments:

  (let ((method `(,on-screen-highlight-method . ,on-screen-inverse-flag)))

Is the same as:

  (let ((method (const on-screen-highlight-method on-screen-inverse-flag)))


The other one is a matter of affecting the global environment. In
`on-screen-initialize', you should pass `t' as a 3rd argument to add-hook, so
the hooks are only affected in buffers where on-screen mode is active.

John



reply via email to

[Prev in Thread] Current Thread [Next in Thread]