From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43920 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: pop3.el broken Date: Mon, 18 Mar 2002 18:30:55 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1016472808 19980 127.0.0.1 (18 Mar 2002 17:33:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 18 Mar 2002 17:33:28 +0000 (UTC) Cc: ding@gnus.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16n10h-0005CA-00 for ; Mon, 18 Mar 2002 18:33:27 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16n0yD-0007Re-00; Mon, 18 Mar 2002 11:30:53 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 18 Mar 2002 11:30:58 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA07344 for ; Mon, 18 Mar 2002 11:30:45 -0600 (CST) Original-Received: (qmail 13525 invoked by alias); 18 Mar 2002 17:30:33 -0000 Original-Received: (qmail 13519 invoked from network); 18 Mar 2002 17:30:32 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 18 Mar 2002 17:30:32 -0000 Original-Received: from localhost.localdomain (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.2/8.12.2) with ESMTP id g2IHUVKY019765; Mon, 18 Mar 2002 18:30:31 +0100 Original-To: Katsumi Yamaoka In-Reply-To: (Katsumi Yamaoka's message of "Mon, 18 Mar 2002 22:03:58 +0900") Mail-Copies-To: nobody Original-Lines: 27 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:43920 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43920 Katsumi Yamaoka writes: > Do you have any doubts? Good analysis. > If none, pop3.el can be modified something like follows. It can be > simplified if we don't have to handle to encode a password string. > > > (defvar pop3-apop-passwd-coding-system nil > "*Coding system used to encode a non-ascii password for APOP.") Can't we make it default to UTF-8, if available? (if (or (and (fboundp 'find-coding-system) (find-coding-system 'utf-8)) (and (fboundp 'coding-system-p) (coding-system-p 'utf-8))) 'utf-8) > (defmacro pop3-make-apop-auth (password) I can't say that I tried all possible cases (or even any of them), but this looks like the right approach. Perhaps we can remove the pop3-md5-program stuff and use md5.el as shipped with Gnus, but this isn't important. I think "md5sum" is more common than "md5" (at least my redhat machine doesn't have md5).