[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Show Paren mode: New prelude style
From: |
Alain Schneble |
Subject: |
Re: Show Paren mode: New prelude style |
Date: |
Thu, 27 Oct 2016 14:51:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (windows-nt) |
Alain Schneble <address@hidden> writes:
> Below you will find a patch to extend show-paren-mode with a new
> `prelude' style. It's an extension of `parenthesis' style. If the
> matching opening paren is not visible, it will show the line of text
> containing it as an overlay on the window's start line. I think it's
> pretty useful, as it helps in keeping context when working e.g. in
> defuns with many lines of code -- all without having to scroll up and
> down.
It just came to my mind that I might better had introduced a new
separate customizable option to enable or disable prelude instead of
mixing it with the already existing style. After all, it could be
useful in *addition* to the existing ones. What do you think?
Alain