From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/16802 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Patch: be verbose if POP3 setup is not ok Date: 08 Sep 1998 21:38:20 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035155614 29951 80.91.224.250 (20 Oct 2002 23:13:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:13:34 +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 PAA08055 for ; Tue, 8 Sep 1998 15:45:13 -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 OAF28567; Tue, 8 Sep 1998 14:16:08 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 08 Sep 1998 14:43:11 -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 OAA05126 for ; Tue, 8 Sep 1998 14:42:28 -0500 (CDT) Original-Received: from sparky.gnus.org (ppp039.uio.no [129.240.240.40]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA07986 for ; Tue, 8 Sep 1998 15:42:05 -0400 (EDT) Original-Received: (from larsi@localhost) by sparky.gnus.org (8.8.5/8.8.5) id VAA08890; Tue, 8 Sep 1998 21:45:08 +0200 Mail-Copies-To: never X-Now-Reading: Ursula K. Le Guin's _Unlocking the Air and Other Stories_ Original-To: ding@gnus.org In-Reply-To: (Jari Aalto+list.ding)'s message of "08 Sep 1998 19:08:52 +0300" X-Mailer: Pterodactyl Gnus v0.20/Emacs 20.3 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ (Jari Aalto+list.ding) writes: > 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. [...] > + ;; 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")) There are a gazillion variables that can be strings, symbols, list or numbers, and if I were to add error messages like these to them all, Gnus would swell to several gazillion megabytes. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen