From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.devel Subject: Re: Need some help with Rmail/mbox Date: Sat, 20 Sep 2008 19:46:42 +0900 Message-ID: <1bd9e4e5-9349-438b-92af-c2a6293491e7@broken.deisui.org> References: <87y71o4xw6.fsf@xemacs.org> <48D33A10.4040102@pajato.com> <871vzfi93y.fsf@xemacs.org> <03b276ff-e070-465e-9486-c02e4725a3e0@broken.deisui.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221907774 9649 80.91.229.12 (20 Sep 2008 10:49:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Sep 2008 10:49:34 +0000 (UTC) Cc: pmr@pajato.com, stephen@xemacs.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 20 12:50:30 2008 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 1Kh02n-0003YW-UO for ged-emacs-devel@m.gmane.org; Sat, 20 Sep 2008 12:50:30 +0200 Original-Received: from localhost ([127.0.0.1]:45423 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kh01m-0007vw-BY for ged-emacs-devel@m.gmane.org; Sat, 20 Sep 2008 06:49:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgzzG-00070S-9Z for emacs-devel@gnu.org; Sat, 20 Sep 2008 06:46:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgzzE-0006zi-48 for emacs-devel@gnu.org; Sat, 20 Sep 2008 06:46:49 -0400 Original-Received: from [199.232.76.173] (port=45337 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgzzD-0006zR-Hu for emacs-devel@gnu.org; Sat, 20 Sep 2008 06:46:47 -0400 Original-Received: from wf-out-1314.google.com ([209.85.200.172]:55897) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KgzzD-0004ht-2A for emacs-devel@gnu.org; Sat, 20 Sep 2008 06:46:47 -0400 Original-Received: by wf-out-1314.google.com with SMTP id 28so1126456wfc.24 for ; Sat, 20 Sep 2008 03:46:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type :sender; bh=yWw8V7WvsnNJVXmv+/sq2ctCPG4xqF2b38YLw3Azya8=; b=e7gpyr73wsd1mhsUvwFtY0BCZynM3uJDNhbcjGBavdjeA94LFBkniZo+1YEDtEun7L TKG9zpRTwvXa88e0G5BT7YHes9UDr2SFwK4KYm4reioW3xF20i2bj10l8nNxaKGXzoTj 57/+HARMwB15z0gX2usz/yR5QsOmfE6SRpedU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:sender; b=fLX6kx3FyDqK45mEugbKubGTC1iCDzi1nciKhenNPdyODl2mLN45cRwtKxE5ylFu3W LdyY/n4nEAaod92hbzFUC2ChASMLNhzQRHrEljcCfsyNBz5rE3U0ZRmSMeD23tF+xUmx OvygwuisiPzsZL+QWFrNDbsuaj92eQSIyrNAM= Original-Received: by 10.142.186.9 with SMTP id j9mr453556wff.277.1221907606082; Sat, 20 Sep 2008 03:46:46 -0700 (PDT) Original-Received: from chilled ( [221.255.76.222]) by mx.google.com with ESMTPS id 24sm3719269wfc.6.2008.09.20.03.46.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 20 Sep 2008 03:46:45 -0700 (PDT) In-Reply-To: (Eli Zaretskii's message of "Sat, 20 Sep 2008 13:19:11 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:103987 Archived-At: >>>>> In >>>>> Eli Zaretskii wrote: > > I'd recommend to use `decode-coding-string' and `insert' instead of > > `decode-coding-region', if unsure. > Why? you can always set-buffer-multibyte to the right mode, at least > in Emacs. Yes, we can. But I'm anxious of that those who are not familiar with Mule cannot decide which is the right mode. For example, Gnus' *Original Article* buffer has been multibyte for decade, despite the content is byte stream. Stefan has proposed to change it to unibyte, though. http://article.gmane.org/gmane.emacs.devel/90761 > Again, operations on buffers are much more efficient in Emacs than on > strings. Oh, I'll try to do profile later. Regards, -- Daiki Ueno