From: Evgeny Roubinchtein <zhenya1007@gmail.com>
To: Richard Copley <rcopley@gmail.com>
Cc: Alain Schneble <a.s@realize.ch>, Emacs Development <emacs-devel@gnu.org>
Subject: Re: Show Paren mode: New prelude style
Date: Mon, 31 Oct 2016 15:57:45 -0400 [thread overview]
Message-ID: <CAGYXaSbQuAXYq-Eg0sLNdUrQ8U1cicMVMOzW2zVr1zP3ZBXSVA@mail.gmail.com> (raw)
In-Reply-To: <CAPM58oiVMYUGW3-Wibs0ihtkOHBVzEs+bZjV9QH5koyob=BUew@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1362 bytes --]
FWIW, the following two minor modes are already part of Emacs:
* which-function-mode
* semantic-stickyfunc-mode
On Mon, Oct 31, 2016 at 3:30 PM, Richard Copley <rcopley@gmail.com> wrote:
> On 27 October 2016 at 13:51, Alain Schneble <a.s@realize.ch> wrote:
> > Alain Schneble <a.s@realize.ch> 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,
> I agree, it seems to be orthogonal to show-paren mode. It sounds
> more like a good old-fashioned minor-mode than a custom option.
>
> Did you rule out using header-line-format? My feeling is that
> as a user I want to see the line at window-start and I'd prefer
> it not to be obscured by an overlay.
>
>
[-- Attachment #2: Type: text/html, Size: 1938 bytes --]
next prev parent reply other threads:[~2016-10-31 19:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-27 12:27 Show Paren mode: New prelude style Alain Schneble
2016-10-27 12:51 ` Alain Schneble
2016-10-31 19:30 ` Richard Copley
2016-10-31 19:57 ` Evgeny Roubinchtein [this message]
2016-10-27 15:26 ` Eli Zaretskii
2016-10-27 17:15 ` Alain Schneble
2016-10-27 17:31 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGYXaSbQuAXYq-Eg0sLNdUrQ8U1cicMVMOzW2zVr1zP3ZBXSVA@mail.gmail.com \
--to=zhenya1007@gmail.com \
--cc=a.s@realize.ch \
--cc=emacs-devel@gnu.org \
--cc=rcopley@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.