Gnus development mailing list
 help / color / mirror / Atom feed
* bug in pop3.el?
@ 2000-02-07  9:24 Vladimir Volovich
  2000-02-07 21:39 ` Stainless Steel Rat
  0 siblings, 1 reply; 6+ messages in thread
From: Vladimir Volovich @ 2000-02-07  9:24 UTC (permalink / raw)
  Cc: Richard L.Pieri

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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-02-11 23:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-07  9:24 bug in pop3.el? Vladimir Volovich
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

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).