From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Need some help with Rmail/mbox Date: Sat, 20 Sep 2008 22:48:00 +0900 Message-ID: <87skrvgc8f.fsf@xemacs.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 1221918157 15730 80.91.229.12 (20 Sep 2008 13:42:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Sep 2008 13:42:37 +0000 (UTC) Cc: Paul Michael Reilly , emacs-devel@gnu.org To: Daiki Ueno Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 20 15:43:34 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 1Kh2kH-0000uL-Gx for ged-emacs-devel@m.gmane.org; Sat, 20 Sep 2008 15:43:33 +0200 Original-Received: from localhost ([127.0.0.1]:40990 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kh2jG-0004TS-2v for ged-emacs-devel@m.gmane.org; Sat, 20 Sep 2008 09:42:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kh2jB-0004Rl-Bp for emacs-devel@gnu.org; Sat, 20 Sep 2008 09:42:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kh2j9-0004Q3-IZ for emacs-devel@gnu.org; Sat, 20 Sep 2008 09:42:24 -0400 Original-Received: from [199.232.76.173] (port=55614 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kh2j9-0004Pj-EU for emacs-devel@gnu.org; Sat, 20 Sep 2008 09:42:23 -0400 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]:46394) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kh2j9-000575-3O for emacs-devel@gnu.org; Sat, 20 Sep 2008 09:42:23 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id 8D6E01535BE; Sat, 20 Sep 2008 22:42:20 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 14F541A4E50; Sat, 20 Sep 2008 22:48:00 +0900 (JST) In-Reply-To: <03b276ff-e070-465e-9486-c02e4725a3e0@broken.deisui.org> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta28) "fuki" 83e35df20028+ XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:103990 Archived-At: Daiki Ueno writes: > Nope, XEmacs does not have the concept of buffer multibyteness. True. It never will, at the Lisp level. > I'd recommend to use `decode-coding-string' and `insert' instead of > `decode-coding-region', if unsure. How does that help if the target buffer is unibyte? > I heard that the reason why FLIM does not use > `{de|en}code-coding-region' is to avoid this confusion. A better strategy would be to force reading the mbox file as multibyte binary. It's a little bit inefficient, but not as inefficient as the human brain, so who cares?