[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63761: PATCH: Add commands for commenting/uncommenting rectangles
From: |
Okamsn |
Subject: |
bug#63761: PATCH: Add commands for commenting/uncommenting rectangles |
Date: |
Sat, 27 May 2023 22:06:20 +0000 |
Hello,
This patch adds commands for commenting rectangles and modifies
`comment-dwim` to use them. This is useful, for example, for commenting
out the middles of consecutive lines, for which `comment-region`
wouldn't work. It does this by calling `comment-region` or
`uncomment-region` on each segment within the rectangle. With this patch,
word1 word2 word3
word4 word5 word6
would become
word1 /* word2 */ word3
word4 /* word5 */ word6
instead of
word1 /* word2 word3
word4 word5 */ word6
as produced by `comment-region` when using `rectangle-mark-mode`.
Thank you.
0001-Add-commands-for-commenting-uncommenting-non-contigu.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#63761: PATCH: Add commands for commenting/uncommenting rectangles,
Okamsn <=