[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] trunk r112888: * lisp/emacs-lisp/smie.el: Improve show
From: |
Leo Liu |
Subject: |
Re: [Emacs-diffs] trunk r112888: * lisp/emacs-lisp/smie.el: Improve show-paren-mode behavior. |
Date: |
Sun, 09 Jun 2013 07:32:03 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.3) |
On 2013-06-09 05:29 +0800, Stefan Monnier wrote:
> Right: I'm not weeded to this behavior, but just figured it made sense
> to be consistent. We could add a new config var to control this,
> if needed.
Agreed. I think the current behaviour is fine.
But since the opener-closer pairs are usually words, a lot of commands
will land you in the first char of them.
> Along the same lines, your original code only highlighted the "there"
> part and not the "here" part. In show-paren-mode, that's not the case,
> although there's show-paren-highlight-openparen which provides half of
> that behavior (tho it's oddly not a defcustom).
>
> Not sure if it's important, tho.
I like highlighting both since 'there' could be out of sight.
Leo