help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Keybinding that loops through Major Modes


From: Joost Kremers
Subject: Re: Keybinding that loops through Major Modes
Date: Tue, 03 Nov 2020 15:52:39 +0100
User-agent: mu4e 1.5.6; emacs 27.1.50

On Tue, Nov 03 2020, Michael Heerdegen wrote:
> Joost Kremers <joostkremers@fastmail.fm> writes:
>
>> > A method that would be a bit cleaner in my eyes would be a command that
>> > lets you edit a specified region in a temp buffer in the correct mode.
>>
>> A narrowed, indirect buffer. (Basically the same idea, with a few things
>> automated.)
>
> AFAIK the problem with indirect buffers is that AFAIK font-lock isn't
> supported (unless you use the same mode and settings as the base
> buffer).

If that's the case then yes, that's a problem. The manual says an indirect
buffer can have its own major mode, and I assumed from that font lock wouldn't
be a problem.

-- 
Joost Kremers
Life has its moments



reply via email to

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