Gnus development mailing list
 help / color / mirror / Atom feed
From: Vladimir Volovich <vvv@vvv.vsu.ru>
Cc: "Richard L.Pieri" <ratinox@peorth.gweep.net>
Subject: bug in pop3.el?
Date: 07 Feb 2000 12:24:31 +0300	[thread overview]
Message-ID: <eyd7q9pdps.fsf@video.uic.vsu.ru> (raw)

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.




             reply	other threads:[~2000-02-07  9:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-07  9:24 Vladimir Volovich [this message]
2000-02-07 21:39 ` Stainless Steel Rat
2000-02-11 18:03   ` Vladimir Volovich
2000-02-11 19:25     ` François Pinard
2000-02-11 21:30       ` Kai Großjohann
2000-02-11 23:04         ` François Pinard

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=eyd7q9pdps.fsf@video.uic.vsu.ru \
    --to=vvv@vvv.vsu.ru \
    --cc=ratinox@peorth.gweep.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).