[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-29 b18754bb179: Minor improvements in c-ts-mode and docs
From: |
Alan Mackenzie |
Subject: |
Re: emacs-29 b18754bb179: Minor improvements in c-ts-mode and docs |
Date: |
Wed, 15 Feb 2023 18:31:36 +0000 |
Hello, Dmitry.
On Wed, Feb 15, 2023 at 20:14:29 +0200, Dmitry Gutov wrote:
> On 15/02/2023 20:02, Eli Zaretskii wrote:
> > + "C-c C-c" #'comment-region)
> Should we maybe take this opportunity to introduce c-ts-mode's users to
> the common bindings we use in other modes?
> 'M-;' seems to work just fine for commenting code already. And it has
> more capabilities than 'comment-region'.
M-; can only comment the region when transient-mark-mode is enabled.
The flip-side of "has more capabilities" is "doesn't do one thing and do
it well".
In practice, in C Mode, I use both C-c C-c and M-;, depending on whether
I'm (un)commenting the region or a single line. I think the C-c C-c
binding should remain.
--
Alan Mackenzie (Nuremberg, Germany).
- Re: emacs-29 b18754bb179: Minor improvements in c-ts-mode and docs, Dmitry Gutov, 2023/02/15
- Re: emacs-29 b18754bb179: Minor improvements in c-ts-mode and docs,
Alan Mackenzie <=
- Re: emacs-29 b18754bb179: Minor improvements in c-ts-mode and docs, Dmitry Gutov, 2023/02/15
- Re: emacs-29 b18754bb179: Minor improvements in c-ts-mode and docs, Eli Zaretskii, 2023/02/15
- Re: emacs-29 b18754bb179: Minor improvements in c-ts-mode and docs, Dmitry Gutov, 2023/02/15
- Re: emacs-29 b18754bb179: Minor improvements in c-ts-mode and docs, Eli Zaretskii, 2023/02/16
- Re: emacs-29 b18754bb179: Minor improvements in c-ts-mode and docs, Dmitry Gutov, 2023/02/16
- Re: emacs-29 b18754bb179: Minor improvements in c-ts-mode and docs, Eli Zaretskii, 2023/02/16
- Re: emacs-29 b18754bb179: Minor improvements in c-ts-mode and docs, Alan Mackenzie, 2023/02/15
- Re: emacs-29 b18754bb179: Minor improvements in c-ts-mode and docs, Dmitry Gutov, 2023/02/15
- Re: emacs-29 b18754bb179: Minor improvements in c-ts-mode and docs, Eli Zaretskii, 2023/02/16
Re: emacs-29 b18754bb179: Minor improvements in c-ts-mode and docs, Eli Zaretskii, 2023/02/15