From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: RMAIL bails out with coding-system-error Date: Sat, 4 May 2002 23:34:29 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200205050534.g455YTX01607@aztec.santafe.edu> References: <87bsbw87pq.fsf@snail.pool> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1020577284 15208 127.0.0.1 (5 May 2002 05:41:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 5 May 2002 05:41:24 +0000 (UTC) Cc: emacs-devel@gnu.org, pmr@pajato.com Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 174Elw-0003xB-00 for ; Sun, 05 May 2002 07:41:24 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 174EsS-0006dG-00 for ; Sun, 05 May 2002 07:48:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 174Egp-0005oK-00; Sun, 05 May 2002 01:36:07 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 174EfF-0005cx-00; Sun, 05 May 2002 01:34:30 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g455YTk18400; Sat, 4 May 2002 23:34:29 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g455YTX01607; Sat, 4 May 2002 23:34:29 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: dvdkhlng@gmx.de In-Reply-To: <87bsbw87pq.fsf@snail.pool> (message from David Kuehling on 04 May 2002 13:37:21 +0200) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3593 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3593 Does this make it work right? *** rmail.el.~1.357.~ Fri Mar 22 22:21:53 2002 --- rmail.el Sat May 4 20:40:00 2002 *************** *** 2391,2398 **** (goto-char (point-min)) (if (re-search-forward "^X-Coding-System: *\\(.*\\)$" nil t) (let ((coding-system (intern (match-string 1)))) ! (check-coding-system coding-system) ! (setq buffer-file-coding-system coding-system)) (setq buffer-file-coding-system nil))))) ;; Clear the "unseen" attribute when we show a message. (rmail-set-attribute "unseen" nil) --- 2391,2402 ---- (goto-char (point-min)) (if (re-search-forward "^X-Coding-System: *\\(.*\\)$" nil t) (let ((coding-system (intern (match-string 1)))) ! (condition-case nil ! (progn ! (check-coding-system coding-system) ! (setq buffer-file-coding-system coding-system)) ! (error ! (setq buffer-file-coding-system nil)))) (setq buffer-file-coding-system nil))))) ;; Clear the "unseen" attribute when we show a message. (rmail-set-attribute "unseen" nil)