From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1051: 23.0.60; rmail decoding bug Date: Wed, 01 Oct 2008 09:29:41 +0900 Message-ID: References: Reply-To: Kenichi Handa , 1051@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1222822281 14840 80.91.229.12 (1 Oct 2008 00:51:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Oct 2008 00:51:21 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, bug-gnu-emacs@gnu.org, 1051@emacsbugs.donarmstrong.com, rms@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 01 02:52:19 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kkpww-0006tP-QK for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Oct 2008 02:52:19 +0200 Original-Received: from localhost ([127.0.0.1]:50401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kkpvu-000887-1U for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Sep 2008 20:51:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kkpul-000711-RL for bug-gnu-emacs@gnu.org; Tue, 30 Sep 2008 20:50:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kkpuk-0006zv-Of for bug-gnu-emacs@gnu.org; Tue, 30 Sep 2008 20:50:03 -0400 Original-Received: from [199.232.76.173] (port=41915 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kkpuj-0006zF-4p for bug-gnu-emacs@gnu.org; Tue, 30 Sep 2008 20:50:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53625) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kkpui-0001zu-A8 for bug-gnu-emacs@gnu.org; Tue, 30 Sep 2008 20:50:00 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m910nt1C019038; Tue, 30 Sep 2008 17:49:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m910Z6oX015647; Tue, 30 Sep 2008 17:35:06 -0700 X-Loop: don@donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 01 Oct 2008 00:35:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1051 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1051-submit@emacsbugs.donarmstrong.com id=B1051.122282098614192 (code B ref 1051); Wed, 01 Oct 2008 00:35:06 +0000 Original-Received: (at 1051) by emacsbugs.donarmstrong.com; 1 Oct 2008 00:29:46 +0000 Original-Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m910Th69014186 for <1051@emacsbugs.donarmstrong.com>; Tue, 30 Sep 2008 17:29:44 -0700 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m910TfPh004976; Wed, 1 Oct 2008 09:29:41 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m910Tf5t008965; Wed, 1 Oct 2008 09:29:41 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id m910TfQ9020574; Wed, 1 Oct 2008 09:29:41 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1Kkpb3-0005oB-0p; Wed, 01 Oct 2008 09:29:41 +0900 In-reply-to: (message from Eli Zaretskii on Tue, 30 Sep 2008 15:00:31 +0300) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 30 Sep 2008 20:50:02 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20935 gmane.emacs.pretest.bugs:23123 Archived-At: In article , Eli Zaretskii writes: > > It may be good to provide byte-after, following-byte, and > > preceding-byte (all signal an error if the character is not > > an ASCII nor eight-bit character). What do you think? > I agree that it would be nice to have such a feature, but perhaps a > single API > (get-byte POS) > would be enough? This could default to point if POS is nil or > omitted, and could even read from a string if POS is a string. Ah! How about something like this? (defun get-byte (pos &optional string) "Return a byte at position POS of the current buffer.. If POS is nil, it defaults to point. If the second optional arg STRING is non-nil, return a byte in STRING at index POS. An error is signaled if the character at POS is not ASCII nor eight-bit character." ...) --- Kenichi Handa handa@ni.aist.go.jp