From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29122 Path: main.gmane.org!not-for-mail From: Vladimir Volovich Newsgroups: gmane.emacs.gnus.general Subject: bug in pop3.el? Date: 07 Feb 2000 12:24:31 +0300 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165848 982 80.91.224.250 (21 Oct 2002 02:04:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:04:08 +0000 (UTC) Cc: "Richard L.Pieri" Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 83DE8D051E for ; Mon, 7 Feb 2000 04:27:48 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id DAB09992; Mon, 7 Feb 2000 03:27:40 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 07 Feb 2000 03:27:28 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id DAA14915 for ; Mon, 7 Feb 2000 03:27:18 -0600 (CST) Original-Received: from vsu.ru (info.vsu.ru [62.76.169.9]) by mailhost.sclp.com (Postfix) with ESMTP id 340D4D051E for ; Mon, 7 Feb 2000 04:25:42 -0500 (EST) Original-Received: from video.uic.vsu.ru ([62.76.169.38] verified) by vsu.ru (CommuniGate Pro SMTP 3.2.3) with ESMTP id 1289536; Mon, 07 Feb 2000 12:23:57 +0300 Original-Newsgroups: gnu.emacs.gnus Original-To: ding@gnus.org Original-Lines: 37 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5 Posted-To: gnu.emacs.gnus Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29122 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29122 The following message is a courtesy copy of an article that has been posted to gnu.emacs.gnus as well. Hi! i use pop3 to fetch mail from our POP3 server. when i happen to receive mail with content-transfer-encoding=8bit, and there are certain combinations of bytes in the message being received, i get an annoying warning: "The target text contains the following non ASCII character(s):" and i'm asked to select a coding system to use to encode them. This often happens e.g. for messages in utf-8 encoding. Evidently, something is going wrong here, as pop3.el MUST NOT bother with encoding of characters in message bodies: it should just put everything AS IS, byte by byte; it is gnus' previewer which should bother with encoding of raw 8-bit bytes in message bodies to certain coding systems according to message headers! i've set debug-on-entry for select-safe-coding-system and here is a backtrace: Entering: * select-safe-coding-system(1 747 cyrillic-iso-8bit) write-region(1 747 "~/.emacs-mail-crash-box" t nomesg) pop3-movemail("~/.emacs-mail-crash-box") mail-source-fetch-pop((pop :server "..." :user "..." :port "pop3" :password "...") (lambda (file orig-file) (nnmail-split-incoming file (quote nnmbox-save-mail) (quote #[nil "..." [in-buf nnmbox-mbox-buffer nnmbox-group-alist nnmbox-active-file insert-buffer-substring nnmbox-save-active] 3]) (nnmail-get-split-group orig-file source) (quote nnmbox-active-number)))) funcall(mail-source-fetch-pop (pop :server "..." :user "..." :port "pop3" :password "...") (lambda (file orig-file) (nnmail-split-incoming file (quote nnmbox-save-mail) (quote #[nil "..." [in-buf nnmbox-mbox-buffer nnmbox-group-alist nnmbox-active-file insert-buffer-substring nnmbox-save-active] 3]) (nnmail-get-split-group orig-file source) (quote nnmbox-active-number)))) mail-source-fetch((pop :server "..." :user "..." :port "pop3" :password "...") (lambda (file orig-file) (nnmail-split-incoming file (quote nnmbox-save-mail) (quote #[nil "..." [in-buf nnmbox-mbox-buffer nnmbox-group-alist nnmbox-active-file insert-buffer-substring nnmbox-save-active] 3]) (nnmail-get-split-group orig-file source) (quote nnmbox-active-number)))) nnmail-get-new-mail(nnmbox #[nil "..." [nnmbox-mbox-buffer nnmbox-save-buffer] 1] "/home/vvv/" nil #[nil "..." [in-buf nnmbox-mbox-buffer nnmbox-group-alist nnmbox-active-file insert-buffer-substring nnmbox-save-active] 3]) nnmbox-request-scan(nil "") gnus-request-scan(nil (nnmbox "")) gnus-read-active-file-1((nnmbox "") nil) gnus-read-active-file() gnus-group-get-new-news(nil) call-interactively(gnus-group-get-new-news) Best, v.