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

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

Re: Same file on two buffers - Two different major modes


From: tomas
Subject: Re: Same file on two buffers - Two different major modes
Date: Wed, 4 Nov 2020 12:55:42 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Nov 04, 2020 at 12:37:00PM +0100, Christopher Dimech wrote:
> Can one have two buffers of the same file, next to each other,
> but in different modes.  When I change one buffer, the major mode
> of the other is changing automatically.

That's because it most probably is /one/ buffer. The mode is bound
to the buffer, not the window, as far as I know.

(And, I'm guessing here, you /want/ "them" to be one buffer: changes
should occur simultaneously, right? => one buffer).

Cheers
 - t

Attachment: signature.asc
Description: Digital signature


reply via email to

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