[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs default bindings
From: |
Stefan Monnier |
Subject: |
Re: Emacs default bindings |
Date: |
Tue, 28 Sep 2021 08:56:14 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> a) foo;
>> b) bar;
>> c) baz.
>
> This could happen in prog-mode's as well. For example in shell
> scripts, with the 'case' construct. Does it mean this mode makes no
> sense in prog-mode either?
FWIW, there's an important difference in that sh-script knows about sh's
`case` syntax and neuters those parentheses, so they (usually) don't
break paren matching.
In contrast in prose, the use of parens as above is just a loose
convention that's hard to properly detect and handle correctly.
I personally avoid that convention because it breaks
blink-matching-paren ;-)
> There will always be corner use cases like that, but they don't make
> the feature generally useless.
And the problem already exists with blink-matching-paren.
Stefan "who's planning on disabling `show-paren-mode` in his .emacs"
- Re: Emacs default bindings, (continued)
- Re: Emacs default bindings, Stefan Kangas, 2021/09/27
- Re: Emacs default bindings, Dmitry Gutov, 2021/09/28
- Re: Emacs default bindings, Jim Porter, 2021/09/27
- Re: Emacs default bindings, Philip Kaludercic, 2021/09/28
- Re: Emacs default bindings, Yuri Khan, 2021/09/28
- Re: Emacs default bindings, Eli Zaretskii, 2021/09/28
- Re: Emacs default bindings,
Stefan Monnier <=
- Re: Emacs default bindings, Eli Zaretskii, 2021/09/28
- Re: Emacs default bindings, Stefan Kangas, 2021/09/28
- Re: Emacs default bindings, Dmitry Gutov, 2021/09/28
- Enabling show-paren-mode by default (Was Re: Emacs default bindings), Bodertz, 2021/09/28
- Re: Emacs default bindings, Eric Abrahamsen, 2021/09/29
- Re: Emacs default bindings, Dmitry Gutov, 2021/09/29
- Re: Emacs default bindings, Eric Abrahamsen, 2021/09/29
- Re: Gitlab Migration, Lars Ingebrigtsen, 2021/09/05
- Re: Gitlab Migration, Daniel Fleischer, 2021/09/05
- Re: Gitlab Migration, Óscar Fuentes, 2021/09/05