all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org, pmr@pajato.com
Subject: Re: RMAIL bails out with coding-system-error
Date: Sat, 4 May 2002 23:34:29 -0600 (MDT)	[thread overview]
Message-ID: <200205050534.g455YTX01607@aztec.santafe.edu> (raw)
In-Reply-To: <87bsbw87pq.fsf@snail.pool> (message from David Kuehling on 04 May 2002 13:37:21 +0200)

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)

  reply	other threads:[~2002-05-05  5:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-04 11:37 RMAIL bails out with coding-system-error David Kuehling
2002-05-05  5:34 ` Richard Stallman [this message]
2002-05-05 10:57   ` David Kuehling
2002-05-05 11:21     ` Simon Josefsson
2002-05-05 13:45       ` Eli Zaretskii
2002-05-05 15:11         ` Simon Josefsson
2002-05-05 17:26           ` Eli Zaretskii
2002-05-06  9:29             ` Kai Großjohann
2002-05-05 13:35     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200205050534.g455YTX01607@aztec.santafe.edu \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=pmr@pajato.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.