|
From: | Óscar Fuentes |
Subject: | Re: [External] : Re: command mode-specificity [was: scratch/command 064f146 1/2: Change...] |
Date: | Wed, 17 Feb 2021 01:59:52 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes: >> OTOH, I expect that almost all commands defined in packages such as >> C-Mode (and almost every other programming mode) are mode-specific. > > Tho things can get murky: e.g. when dealing with multi-language buffers, > or with commands like `diff-refine-hunk` (which I often use in Gnus's > article buffers). > IOW when you have one "language's" text in a buffer that's not using the > corresponding major mode. Absolutely. I observed these details when the feature was first proposed time ago. That's the reason why tagging the commands is not an automatic task at all, even for the hacker who wrote them.
[Prev in Thread] | Current Thread | [Next in Thread] |