emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [External] : Re: command mode-specificity [was: scratch/command 064f


From: Lars Ingebrigtsen
Subject: Re: [External] : Re: command mode-specificity [was: scratch/command 064f146 1/2: Change...]
Date: Wed, 17 Feb 2021 12:20:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> 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).

That's not a mode-specific command, so tagging it as such would be an
error...

Multi-language buffers are an interesting problem, though.  But...  they
work by switching `major-mode' around, don't they?  In which case,
things should pretty much work automatically.  (I'm thinking of
mhtml-mode.)

> IOW when you have one "language's" text in a buffer that's not using the
> corresponding major mode.

I'm trying to think of cases where this would be a problem, but I'm
having problems coming up with an example.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]