[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
signature.asc
Description: Digital signature
Re: Same file on two buffers - Two different major modes, Jean Louis, 2020/11/04
Re: Same file on two buffers - Two different major modes, Marcin Borkowski, 2020/11/04