[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs default bindings
From: |
Eli Zaretskii |
Subject: |
Re: Emacs default bindings |
Date: |
Tue, 28 Sep 2021 16:01:27 +0300 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Yuri Khan <yuri.v.khan@gmail.com>, philipk@posteo.net,
> danflscr@gmail.com, rms@gnu.org, lokedhs@gmail.com,
> yantar92@gmail.com, emacs-devel@gnu.org, stefan@marxist.se,
> dgutov@yandex.ru
> Date: Tue, 28 Sep 2021 08:56:14 -0400
>
> >> 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.
Usually, but not always.
> In contrast in prose, the use of parens as above is just a loose
> convention that's hard to properly detect and handle correctly.
It is also used quite rarely IME. And anyone who sees that will
immediately understand it's a false positive, and disregard it.
Finally, if someone doesn't like this, they can easily disable it in
their text-mode hooks. So this is just another incarnation of
"arguing about defaults of user options is waste of time and energy"
principle.
- 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, Richard Stallman, 2021/09/30
- 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, 2021/09/28
- Re: Emacs default bindings,
Eli Zaretskii <=
- 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
- Re: Gitlab Migration, Dmitry Gutov, 2021/09/05