From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: buffer-swap-text and multibyteness Date: Sat, 31 Jan 2009 22:05:40 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1233432388 18687 80.91.229.12 (31 Jan 2009 20:06:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Jan 2009 20:06:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 31 21:07:42 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LTM7t-0003gB-Id for ged-emacs-devel@m.gmane.org; Sat, 31 Jan 2009 21:07:37 +0100 Original-Received: from localhost ([127.0.0.1]:41591 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTM6b-0006Ub-68 for ged-emacs-devel@m.gmane.org; Sat, 31 Jan 2009 15:06:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTM60-0006QI-RX for emacs-devel@gnu.org; Sat, 31 Jan 2009 15:05:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTM60-0006Pw-5l for emacs-devel@gnu.org; Sat, 31 Jan 2009 15:05:40 -0500 Original-Received: from [199.232.76.173] (port=49785 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTM60-0006Ps-0T for emacs-devel@gnu.org; Sat, 31 Jan 2009 15:05:40 -0500 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:59717) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTM5z-000268-Fk for emacs-devel@gnu.org; Sat, 31 Jan 2009 15:05:39 -0500 Original-Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KEC00L00Q7LNB00@i-mtaout6.012.net.il> for emacs-devel@gnu.org; Sat, 31 Jan 2009 22:05:58 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.109.18]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KEC007XVQHXNRR0@i-mtaout6.012.net.il>; Sat, 31 Jan 2009 22:05:58 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108471 Archived-At: > From: Stefan Monnier > Cc: handa@m17n.org, emacs-devel@gnu.org > Date: Sat, 31 Jan 2009 14:43:37 -0500 > > In tar-mode (and the way I imagine buffer-swap-text to be used), > swapping the buffer is a rare operation that's basically only done > when the the major mode changes. In Rmail, we do it each time a new message is being displayed. Just imagine what it takes to implement rmail-edit with this mind-swapping design (which is probably the main reason why it currently seems to work only with plain-ASCII message bodies).