From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/16800 Path: main.gmane.org!not-for-mail From: (Jari Aalto+list.ding) Newsgroups: gmane.emacs.gnus.general Subject: Patch: be verbose if POP3 setup is not ok Date: 08 Sep 1998 19:08:52 +0300 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035155612 29939 80.91.224.250 (20 Oct 2002 23:13:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:13:32 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA04523 for ; Tue, 8 Sep 1998 12:12:08 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id KAF27873; Tue, 8 Sep 1998 10:42:58 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 08 Sep 1998 11:10:13 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id LAA29599 for ; Tue, 8 Sep 1998 11:09:59 -0500 (CDT) Original-Received: from axl01it.ntc.nokia.com (axl01it.ntc.nokia.com [131.228.118.232]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA04495 for ; Tue, 8 Sep 1998 12:09:37 -0400 (EDT) Original-Received: from zeus.tele.nokia.fi (zeus.tele.nokia.fi [131.228.134.50]) by axl01it.ntc.nokia.com (8.8.5/8.6.9) with SMTP id TAA14989 for ; Tue, 8 Sep 1998 19:08:37 +0300 (EET DST) Original-Received: from tre.tele.nokia.fi (styx.ntc.nokia.com [131.228.169.57]) by zeus.tele.nokia.fi (8.6.4/8.6.4) with ESMTP id TAA22581 for ; Tue, 8 Sep 1998 19:13:29 +0300 Original-Received: by tre.tele.nokia.fi (1.39.111.2/16.2) id AA235750932; Tue, 8 Sep 1998 19:08:52 +0300 Original-To: Ding mailing list X-Sender-Info: Emacs tiny tools: ftp://cs.uta.fi/pub/ssjaaa/ File server: Send subject 'send help' to Original-Lines: 30 X-Mailer: Pterodactyl Gnus v0.13/Emacs 19.34 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:16800 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:16800 Hi, I'm currently trying to get my 2 POP3 acocunts integrated with gnus and in the process I thought this would be nicer message to user than just an cryptic error. Patch is against pgnus 0.13 jari --- nnmail.el.orig-p0.13 Tue Sep 8 18:51:35 1998 +++ nnmail.el Tue Sep 8 19:04:48 1998 @@ -629,6 +629,17 @@ (set-buffer errors) (insert (prin1-to-string err)) (setq result 255)))) + ;; expand-file-name below breaks if we don't check this. + (unless (stringp nnmail-movemail-program) + (with-output-to-temp-buffer "*Gnus Error*" + (princ + (message + (concat "Your nnmail-movemail-program must be string " + "or callable lisp function. \nPlease check " + "your setup. Value was [%s]") + (prin1-to-string nnmail-movemail-program)))) + (error "Gnus: Error, Check nnmail-movemail-program")) (let ((default-directory "/")) (setq result (apply