Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 14328) by debbugs.gnu.org; 9 May 2013 20:05:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 09 16:05:06 2013 Received: from localhost ([127.0.0.1]:35026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UaX5O-0000IX-8l for submit <at> debbugs.gnu.org; Thu, 09 May 2013 16:05:06 -0400 Received: from mail-lb0-f180.google.com ([209.85.217.180]:32848) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <raaahh@HIDDEN>) id 1UaX5L-0000IP-Md for 14328 <at> debbugs.gnu.org; Thu, 09 May 2013 16:05:04 -0400 Received: by mail-lb0-f180.google.com with SMTP id v1so3503721lbd.11 for <14328 <at> debbugs.gnu.org>; Thu, 09 May 2013 13:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type:x-antivirus :x-antivirus-status; bh=xWqjAdSYWv3yMN0wd4p8tf095mdaNWUCCTws6KzU4IA=; b=TVTR/QLazueYhv4h4t3IAZ+6f4NIyhcfo3pEa3Fpf5D3SHJpdoRytIZguiOIjTJ2Yk 1TzyonQ7xWT9Xn7MK/yP8ww47vAqidNliUhOyNy7wWSEf5L1LtadoKobeDFdv0fysUNe XKYQubwNBUFi+BPhDO5M2yZxFjdkL4pw7HykZOXEcnkuT06J4IlyRLWTePBMstSmxqSu adUzMHW8gGNVRKgBu34Yrer6+QCIYPdDpXAgglvIwaRCDfOZKj5uXKKOffNKroXFL1W+ OZ6M6iRqJb0K8rgscvA8y3q9D1x8rnGHEAExltKlCeDjdOFIt7N7fmF423rW+VnL811Q YGSA== X-Received: by 10.112.168.197 with SMTP id zy5mr6183349lbb.18.1368129896542; Thu, 09 May 2013 13:04:56 -0700 (PDT) Received: from SOL ([178.252.98.87]) by mx.google.com with ESMTPSA id d3sm1646373lbe.13.2013.05.09.13.04.54 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 May 2013 13:04:55 -0700 (PDT) From: Dmitry Gutov <dgutov@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#14328: buffer cloned with clone-indirect-buffer is refontified with the source, when switching mode References: <CAJQBtgmyi6w9YL8yfCEeFkESQZAr0PQ95QZUHD6bCR9X+pLQpQ@HIDDEN> <jwvvc6ynhdq.fsf-monnier+emacs@HIDDEN> <CAJQBtgkYzR5MLfkDJbr=_c6DLb418cvjwtNXdixbSJHL7GfFfw@HIDDEN> <jwv1u9g6lft.fsf-monnier+emacs@HIDDEN> Date: Fri, 10 May 2013 00:04:52 +0400 In-Reply-To: <jwv1u9g6lft.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Thu, 09 May 2013 14:49:29 -0400") Message-ID: <87k3n7or6j.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Antivirus: avast! (VPS 130509-0, 09.05.2013), Outbound message X-Antivirus-Status: Clean X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 14328 Cc: Left Right <olegsivokon@HIDDEN>, 14328 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.6 (--) Stefan Monnier <monnier@HIDDEN> writes: >> 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. > > Right, good'ol' multi-major-mode problem. > Using indirect-buffers with it just adds a new problem onto the other. > > I don't think we have a good answer yet :-( mmm-mode (https://github.com/purcell/mmm-mode) should work well enough for this purpose, all indirect-buffer munging is hidden from the user.
bug-gnu-emacs@HIDDEN
:bug#14328
; Package emacs
.
Full text available.Received: (at 14328) by debbugs.gnu.org; 9 May 2013 18:49:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 09 14:49:40 2013 Received: from localhost ([127.0.0.1]:34918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UaVuN-0004wv-BE for submit <at> debbugs.gnu.org; Thu, 09 May 2013 14:49:40 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:47991) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <monnier@HIDDEN>) id 1UaVuK-0004wn-NQ for 14328 <at> debbugs.gnu.org; Thu, 09 May 2013 14:49:37 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r49InTjN022934; Thu, 9 May 2013 14:49:30 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 9C9AAB40D8; Thu, 9 May 2013 14:49:29 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Left Right <olegsivokon@HIDDEN> Subject: Re: bug#14328: buffer cloned with clone-indirect-buffer is refontified with the source, when switching mode Message-ID: <jwv1u9g6lft.fsf-monnier+emacs@HIDDEN> References: <CAJQBtgmyi6w9YL8yfCEeFkESQZAr0PQ95QZUHD6bCR9X+pLQpQ@HIDDEN> <jwvvc6ynhdq.fsf-monnier+emacs@HIDDEN> <CAJQBtgkYzR5MLfkDJbr=_c6DLb418cvjwtNXdixbSJHL7GfFfw@HIDDEN> Date: Thu, 09 May 2013 14:49:29 -0400 In-Reply-To: <CAJQBtgkYzR5MLfkDJbr=_c6DLb418cvjwtNXdixbSJHL7GfFfw@HIDDEN> (Left Right's message of "Sun, 5 May 2013 08:38:54 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4574=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4574> : streams <957361> : uri <1415842> X-Spam-Score: -4.7 (----) X-Debbugs-Envelope-To: 14328 Cc: 14328 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -4.7 (----) > 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. Right, good'ol' multi-major-mode problem. Using indirect-buffers with it just adds a new problem onto the other. I don't think we have a good answer yet :-( Stefan
bug-gnu-emacs@HIDDEN
:bug#14328
; Package emacs
.
Full text available.Received: (at 14328) by debbugs.gnu.org; 5 May 2013 05:39:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 05 01:39:45 2013 Received: from localhost ([127.0.0.1]:58396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UYrfl-0005Y8-Mm for submit <at> debbugs.gnu.org; Sun, 05 May 2013 01:39:45 -0400 Received: from mail-we0-f176.google.com ([74.125.82.176]:43243) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <olegsivokon@HIDDEN>) id 1UYrfk-0005Xt-Cy for 14328 <at> debbugs.gnu.org; Sun, 05 May 2013 01:39:45 -0400 Received: by mail-we0-f176.google.com with SMTP id r6so2170298wey.21 for <14328 <at> debbugs.gnu.org>; Sat, 04 May 2013 22:38:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=VYlB62eyDH2R91UjrJJD3UYfsXMHt7SFGVZuAfwzyrI=; b=f66APsceJQOnone+Fna4oECsX5JdzNvG51X1VFFwCsU6JkMKX4pwUtvDisoEnrS9/Y cAQqu7Su4CsGZ5XU5+6yObn12RWrC0hloqMXyGeHp00iLzRNzCicW8EJYJLVNTz2Ot/J 8H0fmx+TC0Aj9H3dNtH8IqNnrY1ihPHkVWoxmNCQCQY8moR33uiOMLn3pPXCKowlRlS6 OO4dkuGjUfQ2ujfNn/USUsoJWB24MhzDtsRcrJz+M7tQtv20ku25g7gBBM8xR2jz2/KK AF4jz3N7nck1qHgVJpv4RTaXCl3T+TiHq8DdpOdVinpwp0ee1MjrzezBuS7juD2X7QQC D15Q== MIME-Version: 1.0 X-Received: by 10.180.20.108 with SMTP id m12mr3839916wie.8.1367732334151; Sat, 04 May 2013 22:38:54 -0700 (PDT) Received: by 10.194.95.105 with HTTP; Sat, 4 May 2013 22:38:54 -0700 (PDT) In-Reply-To: <jwvvc6ynhdq.fsf-monnier+emacs@HIDDEN> References: <CAJQBtgmyi6w9YL8yfCEeFkESQZAr0PQ95QZUHD6bCR9X+pLQpQ@HIDDEN> <jwvvc6ynhdq.fsf-monnier+emacs@HIDDEN> Date: Sun, 5 May 2013 08:38:54 +0300 Message-ID: <CAJQBtgkYzR5MLfkDJbr=_c6DLb418cvjwtNXdixbSJHL7GfFfw@HIDDEN> Subject: Re: bug#14328: buffer cloned with clone-indirect-buffer is refontified with the source, when switching mode From: Left Right <olegsivokon@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Content-Type: multipart/alternative; boundary=bcaec53f346decf81604dbf1ff9c X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 14328 Cc: 14328 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.6 (--) --bcaec53f346decf81604dbf1ff9c Content-Type: text/plain; charset=ISO-8859-1 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@HIDDEN>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 > --bcaec53f346decf81604dbf1ff9c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi Stefan.<br><br>I discovered it when trying to edit an M= SBuild 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 tha= t highlights C# code on one side and XML on the other side.<br> <br><div class=3D"gmail_quote">On Sun, May 5, 2013 at 8:09 AM, Stefan Monni= er <span dir=3D"ltr"><<a href=3D"mailto:monnier@HIDDEN" target= =3D"_blank">monnier@HIDDEN</a>></span> wrote:<br><blockquote c= lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;= padding-left:1ex"> > When I clone buffer using clone-indirect-buffer (C-x 4 c), and then ch= ange<br> > major mode, the newly created buffer will enter the requested major mo= de,<br> > but will cause the original buffer to be refontified in the same way t= he<br> > clone buffer is. Thereafter whenever I change major mode, the same thi= ng<br> > happens.<br> <br> Yup. =A0Indirect buffers suck. =A0What do you use clone-indirect-buffer for= ?<br> <span class=3D"HOEnZb"><font color=3D"#888888"><br> <br> =A0 =A0 =A0 =A0 Stefan<br> </font></span></blockquote></div><br></div> --bcaec53f346decf81604dbf1ff9c--
bug-gnu-emacs@HIDDEN
:bug#14328
; Package emacs
.
Full text available.Received: (at 14328) by debbugs.gnu.org; 5 May 2013 05:10:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 05 01:10:19 2013 Received: from localhost ([127.0.0.1]:58362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UYrDH-0003bU-B7 for submit <at> debbugs.gnu.org; Sun, 05 May 2013 01:10:19 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:44351) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <monnier@HIDDEN>) id 1UYrDF-0003bM-LU for 14328 <at> debbugs.gnu.org; Sun, 05 May 2013 01:10:17 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFMCqRF/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYHCxQYDSSIHgbBLZEKA6R6gV6DEw X-IPAS-Result: Av4EABK/CFFMCqRF/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYHCxQYDSSIHgbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="11063517" Received: from 76-10-164-69.dsl.teksavvy.com (HELO pastel.home) ([76.10.164.69]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 05 May 2013 01:09:23 -0400 Received: by pastel.home (Postfix, from userid 20848) id 68C7167917; Sun, 5 May 2013 01:09:27 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Left Right <olegsivokon@HIDDEN> Subject: Re: bug#14328: buffer cloned with clone-indirect-buffer is refontified with the source, when switching mode Message-ID: <jwvvc6ynhdq.fsf-monnier+emacs@HIDDEN> References: <CAJQBtgmyi6w9YL8yfCEeFkESQZAr0PQ95QZUHD6bCR9X+pLQpQ@HIDDEN> Date: Sun, 05 May 2013 01:09:27 -0400 In-Reply-To: <CAJQBtgmyi6w9YL8yfCEeFkESQZAr0PQ95QZUHD6bCR9X+pLQpQ@HIDDEN> (Left Right's message of "Wed, 1 May 2013 21:05:55 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 14328 Cc: 14328 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) > 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
bug-gnu-emacs@HIDDEN
:bug#14328
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 1 May 2013 18:06:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 01 14:06:47 2013 Received: from localhost ([127.0.0.1]:54144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UXbQU-0004Or-Cr for submit <at> debbugs.gnu.org; Wed, 01 May 2013 14:06:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59330) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <olegsivokon@HIDDEN>) id 1UXbQO-0004Oc-VA for submit <at> debbugs.gnu.org; Wed, 01 May 2013 14:06:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <olegsivokon@HIDDEN>) id 1UXbPs-0004Nd-7j for submit <at> debbugs.gnu.org; Wed, 01 May 2013 14:06:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:51721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <olegsivokon@HIDDEN>) id 1UXbPs-0004NY-4J for submit <at> debbugs.gnu.org; Wed, 01 May 2013 14:06:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <olegsivokon@HIDDEN>) id 1UXbPp-00083P-DY for bug-gnu-emacs@HIDDEN; Wed, 01 May 2013 14:06:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <olegsivokon@HIDDEN>) id 1UXbPi-0004L7-7H for bug-gnu-emacs@HIDDEN; Wed, 01 May 2013 14:06:05 -0400 Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]:51891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <olegsivokon@HIDDEN>) id 1UXbPh-0004Kh-Qu for bug-gnu-emacs@HIDDEN; Wed, 01 May 2013 14:05:58 -0400 Received: by mail-we0-f172.google.com with SMTP id r6so1403217wey.31 for <bug-gnu-emacs@HIDDEN>; Wed, 01 May 2013 11:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=MHrBj6ajA8PeBjSUMqT8cLbfQdCE3dy1KnsirOqisEI=; b=a70/BHWOZe93csDcU6wetmYhHZLfli+BybLcKEcG4qOOiAQLLfdm0mtSaVKQhbH/mo 4a8wcjbmtoGD2yqyly2JAVAJ8obAPyk/yAEm9MOd+XVe0q7xMPn101k2GBxIbVGxhoR+ qsC0BTq8RH+bdU0vZngvkRpSIPsGAMAjAYQo30Tz5EPoqZaw5fqsWr7QebH09W3j5Zt2 CrnMht+w+T/e7sLctVoIn4YgyUk/v3dloxMtjeqjRuTg6q3RAP7D0NRUTtyp4THrsMFW lYiHa298hz03ZRwJnyXMcJqoxjss92sNspbyFMM6sDqA1ke5Ydl4FMjEys6mexkNID7v U//Q== MIME-Version: 1.0 X-Received: by 10.180.211.50 with SMTP id mz18mr30784479wic.24.1367431556198; Wed, 01 May 2013 11:05:56 -0700 (PDT) Received: by 10.194.95.105 with HTTP; Wed, 1 May 2013 11:05:55 -0700 (PDT) Date: Wed, 1 May 2013 21:05:55 +0300 Message-ID: <CAJQBtgmyi6w9YL8yfCEeFkESQZAr0PQ95QZUHD6bCR9X+pLQpQ@HIDDEN> Subject: buffer cloned with clone-indirect-buffer is refontified with the source, when switching mode From: Left Right <olegsivokon@HIDDEN> To: bug-gnu-emacs@HIDDEN Content-Type: multipart/alternative; boundary=001a11c25d28297fbb04dbabf8a0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.1 (------) --001a11c25d28297fbb04dbabf8a0 Content-Type: text/plain; charset=ISO-8859-1 Hello, 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. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.13) of 2012-12-14 on wvxvvw-laptop Bzr revision: 111232 monnier@HIDDEN Windowing system distributor `Fedora Project', version 11.0.11204000 System Description: Fedora release 17 (Beefy Miracle) Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t global-undo-tree-mode: t global-hl-line-mode: t jabber-activity-mode: t yas-global-mode: t global-auto-complete-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: h e s k <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> n a p i s a n y j SPC v SPC g o r j a c h e c h n o m SPC b r e d u ) C-p M-f M-f M-b M-b k l j u c h e v y j <backspace> e SPC s l o v a SPC M-b M-b M-d M-d C-d M-f M-f , SPC v SPC o p c i j a h SPC k o m a n d o j SPC s t r o k i M-f M-f C-n . SPC <backspace> C-p C-p C-p C-p C-p C-p C-a C-SPC M-> C-w <backspace> C-a C-k M-: ( g e t e n v SPC " L D _ L I B R A R Y _ P A T H " ) <return> M-: <up> M-f M-f M-b C-y M-d M-d M-d C-e <return> M-x s h e l l <return> e c h o SPC " $ C-y " <return> M-s o p r o c e s s <return> C-x o C-n C-n C-n M-f M-f C-n M-f M-f <return> C-x o q M-s w c SPC d C-s C-s C-g C-g C-x h C-w <return> C-x b <return> K u r i c a SPC v SPC i l l j u m i n a t o r e ? ? ? C-a C-k C-y M-b M-d k o s m o s e C-a C-k C-x b <tab> . e m a <tab> <return> C-x 4 c M-x f u n d a <tab> <return> C-x k <return> C-x o C-x k <return> M-x r e p o r t <tab> b <tab> <return> Recent messages: Mark set [5 times] nil [2 times] Mark set Searched 1 buffer; 7 matches for `process' Quit Mark set [3 times] Making completion list... Load-path shadows: ~/.emacs.d/ensime/elisp/popup hides /home/wvxvw/.emacs.d/autocomplete/popup ~/.emacs.d/ensime/elisp/fuzzy hides /home/wvxvw/.emacs.d/autocomplete/fuzzy ~/.emacs.d/ensime/elisp/auto-complete hides /home/wvxvw/.emacs.d/autocomplete/auto-complete Features: (shadow sort mail-extr emacsbug misearch multi-isearch align ielm find-func pcmpl-unix dabbrev network-stream eldoc slime-fancy slime-fontifying-fu slime-package-fu slime-references slime-scratch slime-presentations slime-fuzzy slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-parse slime-repl slime hyperspec mule-util shell pcomplete dired-aux quail elisp-slime-nav etags undo-tree diff hide-region ensime ensime-ui ensime-semantic-highlight ensime-doc ensime-scalex url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars json ensime-search ensime-undo ensime-refactor ensime-builder ensime-debug ensime-inf ensime-sbt ensime-comint-utils ensime-auto-complete ensime-config scala-mode2 scala-mode2-map scala-mode2-fontlock scala-mode2-indent scala-mode2-paragraph scala-mode2-syntax scala-mode2-lib i-iterate haxe-mode ede/haxe-speedbar ede/haxe ede/speedbar ede/files ede ede/base ede/auto ede/source eieio-speedbar eieio-custom custom/create-project haxe-completion haxe-compiler-mode haxe-project haxe-log haxe-help haxe-utils ehelp electric cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cc-bytecomp hl-line erc-goodies erc erc-backend erc-compat pp ac-js2-autoloads ac-slime-autoloads actionscript-mode-autoloads auctex-autoloads tex-site info bash-completion-autoloads cyberpunk-theme-autoloads elisp-slime-nav-autoloads finder-inf expand-region-autoloads flymake-cursor-autoloads google-maps-autoloads linear-undo-autoloads minimap-autoloads redo+-autoloads scala-mode2-autoloads skewer-mode-autoloads js2-mode-autoloads simple-httpd-autoloads tuareg-autoloads caml-autoloads undo-tree-autoloads package jabber jabber-awesome jabber-osd jabber-wmii jabber-xmessage jabber-festival jabber-sawfish jabber-ratpoison jabber-screen jabber-socks5 jabber-ft-server jabber-si-server jabber-ft-client jabber-ft-common jabber-si-client jabber-si-common jabber-feature-neg jabber-truncate jabber-time jabber-autoaway jabber-vcard-avatars jabber-chatstates jabber-events jabber-vcard jabber-avatar mailcap jabber-activity jabber-watch jabber-modeline jabber-ahc-presence jabber-ahc jabber-version jabber-ourversion jabber-muc-nick-completion hippie-exp jabber-browse jabber-search jabber-register jabber-roster jabber-presence jabber-muc jabber-newdisco jabber-widget jabber-disco jabber-chat ewoc jabber-history jabber-chatbuffer jabber-alert jabber-iq jabber-keymap jabber-core jabber-sasl sasl sasl-anonymous sasl-login sasl-plain fsm jabber-logon jabber-conn srv dns starttls tls jabber-xml xml jabber-menu jabber-autoloads jabber-util smtpmail auth-source password-cache sendmail nnir gnus-sum gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnoo nnheader gnus-util mm-util mail-prsvr mail-utils w3m browse-url doc-view jka-compr dired image-mode timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util ecb warnings ecb-symboldef ecb-analyse ecb-compatibility ecb-winman-support ecb-autogen autoload ecb-tod ecb-cycle ecb-eshell ecb-help ecb-jde ecb-method-browser hideshow ecb-semantic ecb-file-browser ecb-speedbar ecb-layout ecb-create-layout ecb-compilation ecb-common-browser assoc speedbar sb-image dframe ecb-navigate ecb-mode-line ecb-face tree-buffer ecb-upgrade ecb-cedet-wrapper semantic/db-mode semantic/db-find semantic/db-ref semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/db eieio-base semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile cconv mode-local cedet wid-edit ecb-util thingatpt scheme flymake-jshint js-comint flymake compile comint ansi-color yasnippet dropdown-list derived cl-macs gv help-mode cl cl-lib auto-complete-config auto-complete edmacro kmacro popup easy-mmode ropemacs easymenu ring pymacs nadvice advice help-fns wombat-theme slime-autoloads server time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --001a11c25d28297fbb04dbabf8a0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hello,<br><br>When I clone buffer using clone-indirect-buf= fer (C-x 4 c), and then change major mode, the newly created buffer will en= ter the requested major mode, but will cause the original buffer to be refo= ntified in the same way the clone buffer is. Thereafter whenever I change m= ajor mode, the same thing happens.<br> <br>In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.13)= <br>=A0of 2012-12-14 on wvxvvw-laptop<br>Bzr revision: 111232 monnier@HIDDEN= montreal.ca-20121214155243-t6fnb6e2f5q4u76a<br>Windowing system distributor= `Fedora Project', version 11.0.11204000<br> System Description:=A0=A0=A0 Fedora release 17 (Beefy Miracle)<br><br>Impor= tant settings:<br>=A0 value of $LANG: en_US.UTF-8<br>=A0 locale-coding-syst= em: utf-8-unix<br>=A0 default enable-multibyte-characters: t<br><br>Major m= ode: Fundamental<br> <br>Minor modes in effect:<br>=A0 shell-dirtrack-mode: t<br>=A0 global-undo= -tree-mode: t<br>=A0 global-hl-line-mode: t<br>=A0 jabber-activity-mode: t<= br>=A0 yas-global-mode: t<br>=A0 global-auto-complete-mode: t<br>=A0 toolti= p-mode: t<br> =A0 mouse-wheel-mode: t<br>=A0 file-name-shadow-mode: t<br>=A0 global-font-= lock-mode: t<br>=A0 blink-cursor-mode: t<br>=A0 auto-composition-mode: t<br= >=A0 auto-encryption-mode: t<br>=A0 auto-compression-mode: t<br>=A0 line-nu= mber-mode: t<br> =A0 transient-mark-mode: t<br><br>Recent input:<br>h e s k <backspace>= ; <backspace> <backspace> <backspace> <br><backspace&g= t; <backspace> <backspace> <backspace> <backspace> = <br> <backspace> <backspace> <backspace> <backspace> n a= <br>p i s a n y j SPC v SPC g o r j a c h e c h n o m SPC <br>b r e d u ) = C-p M-f M-f M-b M-b k l j u c h e v y j <br><backspace> e SPC s l o v= a SPC M-b M-b M-d M-d C-d <br> M-f M-f , SPC v SPC o p c i j a h SPC k o m a n d o <br>j SPC s t r o k i M= -f M-f C-n . SPC <backspace> C-p <br>C-p C-p C-p C-p C-p C-a C-SPC M-= > C-w <backspace> C-a <br>C-k M-: ( g e t e n v SPC " L D _ L= I B R A R Y _ P <br> A T H " ) <return> M-: <up> M-f M-f M-b C-y M-d M-d <br>M-= d C-e <return> M-x s h e l l <return> e c h o SPC <br>" $ = C-y " <return> M-s o p r o c e s s <return> C-x <br>o C-n = C-n C-n M-f M-f C-n M-f M-f <return> C-x o q <br> M-s w c SPC d C-s C-s C-g C-g C-x h C-w <return> C-x <br>b <return= > K u r i c a SPC v SPC i l l j u m i n a <br>t o r e ? ? ? C-a C-k C-y = M-b M-d k o s m o s e C-a <br>C-k C-x b <tab> . e m a <tab> <= ;return> C-x 4 c M-x <br> f u n d a <tab> <return> C-x k <return> C-x o C-x k <br>&= lt;return> M-x r e p o r t <tab> b <tab> <return><br><= br>Recent messages:<br>Mark set [5 times]<br>nil [2 times]<br>Mark set<br> Searched 1 buffer; 7 matches for `process'<br>Quit<br>Mark set [3 times= ]<br>Making completion list...<br><br>Load-path shadows:<br>~/.emacs.d/ensi= me/elisp/popup hides /home/wvxvw/.emacs.d/autocomplete/popup<br>~/.emacs.d/= ensime/elisp/fuzzy hides /home/wvxvw/.emacs.d/autocomplete/fuzzy<br> ~/.emacs.d/ensime/elisp/auto-complete hides /home/wvxvw/.emacs.d/autocomple= te/auto-complete<br><br>Features:<br>(shadow sort mail-extr emacsbug misear= ch multi-isearch align ielm<br>find-func pcmpl-unix dabbrev network-stream = eldoc slime-fancy<br> slime-fontifying-fu slime-package-fu slime-references slime-scratch<br>slim= e-presentations slime-fuzzy slime-fancy-inspector slime-c-p-c<br>slime-edit= ing-commands slime-autodoc slime-parse slime-repl slime<br>hyperspec mule-u= til shell pcomplete dired-aux quail elisp-slime-nav<br> etags undo-tree diff hide-region ensime ensime-ui<br>ensime-semantic-highli= ght ensime-doc ensime-scalex url url-proxy<br>url-privacy url-expand url-me= thods url-history url-cookie url-domsuf<br>url-util url-parse url-vars json= ensime-search ensime-undo<br> ensime-refactor ensime-builder ensime-debug ensime-inf ensime-sbt<br>ensime= -comint-utils ensime-auto-complete ensime-config scala-mode2<br>scala-mode2= -map scala-mode2-fontlock scala-mode2-indent<br>scala-mode2-paragraph scala= -mode2-syntax scala-mode2-lib i-iterate<br> haxe-mode ede/haxe-speedbar ede/haxe ede/speedbar ede/files ede ede/base<br= >ede/auto ede/source eieio-speedbar eieio-custom custom/create-project<br>h= axe-completion haxe-compiler-mode haxe-project haxe-log haxe-help<br>haxe-u= tils ehelp electric cc-langs cc-mode cc-fonts cc-guess cc-menus<br> cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cc-bytecomp hl-line<br= >erc-goodies erc erc-backend erc-compat pp ac-js2-autoloads<br>ac-slime-aut= oloads actionscript-mode-autoloads auctex-autoloads tex-site<br>info bash-c= ompletion-autoloads cyberpunk-theme-autoloads<br> elisp-slime-nav-autoloads finder-inf expand-region-autoloads<br>flymake-cur= sor-autoloads google-maps-autoloads linear-undo-autoloads<br>minimap-autolo= ads redo+-autoloads scala-mode2-autoloads<br>skewer-mode-autoloads js2-mode= -autoloads simple-httpd-autoloads<br> tuareg-autoloads caml-autoloads undo-tree-autoloads package jabber<br>jabbe= r-awesome jabber-osd jabber-wmii jabber-xmessage jabber-festival<br>jabber-= sawfish jabber-ratpoison jabber-screen jabber-socks5<br>jabber-ft-server ja= bber-si-server jabber-ft-client jabber-ft-common<br> jabber-si-client jabber-si-common jabber-feature-neg jabber-truncate<br>jab= ber-time jabber-autoaway jabber-vcard-avatars jabber-chatstates<br>jabber-e= vents jabber-vcard jabber-avatar mailcap jabber-activity<br>jabber-watch ja= bber-modeline jabber-ahc-presence jabber-ahc<br> jabber-version jabber-ourversion jabber-muc-nick-completion hippie-exp<br>j= abber-browse jabber-search jabber-register jabber-roster<br>jabber-presence= jabber-muc jabber-newdisco jabber-widget jabber-disco<br>jabber-chat ewoc = jabber-history jabber-chatbuffer jabber-alert jabber-iq<br> jabber-keymap jabber-core jabber-sasl sasl sasl-anonymous sasl-login<br>sas= l-plain fsm jabber-logon jabber-conn srv dns starttls tls jabber-xml<br>xml= jabber-menu jabber-autoloads jabber-util smtpmail auth-source<br>password-= cache sendmail nnir gnus-sum gnus-group gnus-undo nnmail<br> mail-source gnus-start gnus-spec gnus-int gnus-range message format-spec<br= >rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231<br>rfc= 2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus<br> gnus-ems nnoo nnheader gnus-util mm-util mail-prsvr mail-utils w3m<br>brows= e-url doc-view jka-compr dired image-mode timezone w3m-hist w3m-fb<br>bookm= ark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util<br> ecb warnings ecb-symboldef ecb-analyse ecb-compatibility<br>ecb-winman-supp= ort ecb-autogen autoload ecb-tod ecb-cycle ecb-eshell<br>ecb-help ecb-jde e= cb-method-browser hideshow ecb-semantic<br>ecb-file-browser ecb-speedbar ec= b-layout ecb-create-layout<br> ecb-compilation ecb-common-browser assoc speedbar sb-image dframe<br>ecb-na= vigate ecb-mode-line ecb-face tree-buffer ecb-upgrade<br>ecb-cedet-wrapper = semantic/db-mode semantic/db-find semantic/db-ref<br>semantic/analyze seman= tic/sort semantic/scope semantic/analyze/fcn<br> semantic/db eieio-base semantic/format ezimage semantic/tag-ls<br>semantic/= find semantic/ctxt semantic/util-modes semantic/util semantic<br>semantic/t= ag semantic/lex semantic/fw eieio byte-opt bytecomp<br>byte-compile cconv m= ode-local cedet wid-edit ecb-util thingatpt scheme<br> flymake-jshint js-comint flymake compile comint ansi-color yasnippet<br>dro= pdown-list derived cl-macs gv help-mode cl cl-lib<br>auto-complete-config a= uto-complete edmacro kmacro popup easy-mmode<br>ropemacs easymenu ring pyma= cs nadvice advice help-fns wombat-theme<br> slime-autoloads server time-date tooltip ediff-hook vc-hooks<br>lisp-float-= type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt<br>fringe tab= ulated-list newcomment lisp-mode register page menu-bar<br>rfn-eshadow time= r select scroll-bar mouse jit-lock font-lock syntax<br> facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese<br>t= ibetan thai tai-viet lao korean japanese hebrew greek romanian slovak<br>cz= ech european ethiopic indian cyrillic chinese case-table epa-hook<br>jka-cm= pr-hook help simple abbrev minibuffer loaddefs button faces<br> cus-face macroexp files text-properties overlay sha1 md5 base64 format<br>e= nv code-pages mule custom widget hashtable-print-readable backquote<br>make= -network-process dbusbind inotify dynamic-setting<br>system-font-setting fo= nt-render-setting move-toolbar gtk x-toolkit x<br> multi-tty emacs)<br><br></div> --001a11c25d28297fbb04dbabf8a0--
Left Right <olegsivokon@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#14328
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.