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: buffer-swap-text and multibyteness Date: Sat, 31 Jan 2009 16:52:02 +0200 Message-ID: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1233413567 28390 80.91.229.12 (31 Jan 2009 14:52:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Jan 2009 14:52:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 31 15:54:01 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 1LTHEO-0001za-Or for ged-emacs-devel@m.gmane.org; Sat, 31 Jan 2009 15:54:00 +0100 Original-Received: from localhost ([127.0.0.1]:45381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTHD6-0003Hi-6P for ged-emacs-devel@m.gmane.org; Sat, 31 Jan 2009 09:52:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTHD1-0003En-3a for emacs-devel@gnu.org; Sat, 31 Jan 2009 09:52:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTHD0-0003D5-9d for emacs-devel@gnu.org; Sat, 31 Jan 2009 09:52:34 -0500 Original-Received: from [199.232.76.173] (port=58475 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTHD0-0003Cm-58 for emacs-devel@gnu.org; Sat, 31 Jan 2009 09:52:34 -0500 Original-Received: from mtaout7.012.net.il ([84.95.2.19]:57866) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTHCz-0006p8-Hv for emacs-devel@gnu.org; Sat, 31 Jan 2009 09:52:33 -0500 Original-Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KEC00I00BYE5P00@i-mtaout7.012.net.il> for emacs-devel@gnu.org; Sat, 31 Jan 2009 16:52:25 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.109.18]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KEC00C6PBZ7WVA0@i-mtaout7.012.net.il>; Sat, 31 Jan 2009 16:52:20 +0200 (IST) 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:108460 Archived-At: set-buffer-multibyte jumps through the hoops to DTRT. By contrast, in buffer-swap-text we do just this: swapfield (enable_multibyte_characters, Lisp_Object); Could this cause trouble, e.g. if one of the buffers whose text is swapped contains eight-bit characters?