GNU bug report logs - #14328
buffer cloned with clone-indirect-buffer is refontified with the source, when switching mode

Previous Next

Package: emacs;

Reported by: Left Right <olegsivokon <at> gmail.com>

Date: Wed, 1 May 2013 18:07:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Left Right <olegsivokon <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 14328 <at> debbugs.gnu.org
Subject: bug#14328: buffer cloned with clone-indirect-buffer is refontified with the source, when switching mode
Date: Sun, 5 May 2013 08:38:54 +0300
[Message part 1 (text/plain, inline)]
Hi Stefan.

I discovered it when trying to edit an MSBuild file (that's a MSVS
project). It is normally an XML, but you can use some C# inside to write
inline tasks, so I wanted to have a buffer that highlights C# code on one
side and XML on the other side.

On Sun, May 5, 2013 at 8:09 AM, Stefan Monnier <monnier <at> iro.umontreal.ca>wrote:

> > When I clone buffer using clone-indirect-buffer (C-x 4 c), and then
> change
> > major mode, the newly created buffer will enter the requested major mode,
> > but will cause the original buffer to be refontified in the same way the
> > clone buffer is. Thereafter whenever I change major mode, the same thing
> > happens.
>
> Yup.  Indirect buffers suck.  What do you use clone-indirect-buffer for?
>
>
>         Stefan
>
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 155 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.