From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13371 Path: main.gmane.org!not-for-mail From: Stephen Zander Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] unbound variable in message-make-fqdn Date: 31 Dec 1997 10:34:33 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: <87sor99xae.fsf@wsuse5.mckesson.com> Reply-To: stephen.zander@interlock.mckesson.com NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035152750 8951 80.91.224.250 (20 Oct 2002 22:25:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:25:50 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id KAA23238 for ; Wed, 31 Dec 1997 10:49:49 -0800 Original-Received: from farabi.hpc.uh.edu (farabi.hpc.uh.edu [129.7.102.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA11633 for ; Wed, 31 Dec 1997 12:50:35 -0600 (CST) Original-Received: from sina.hpc.uh.edu (lists@[10.1.1.1]) by farabi.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id UAN08816; Sun, 28 Dec 1997 20:42:51 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 31 Dec 1997 12:34:55 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id MAA08327 for ; Wed, 31 Dec 1997 12:34:48 -0600 (CST) Original-Received: (qmail 6615 invoked by uid 504); 31 Dec 1997 18:34:36 -0000 Original-Received: (qmail 6612 invoked from network); 31 Dec 1997 18:34:36 -0000 Original-Received: from interlock.mckesson.com (199.221.43.2) by claymore.vcinet.com with SMTP; 31 Dec 1997 18:34:35 -0000 Original-Received: by interlock.mckesson.com id AA24943 (InterLock SMTP Gateway 3.0 for ding@gnus.org); Wed, 31 Dec 1997 10:34:34 -0800 Original-Received: by interlock.mckesson.com (Internal Mail Agent-1); Wed, 31 Dec 1997 10:34:34 -0800 Original-To: ding@gnus.org Original-Lines: 30 X-Mailer: Gnus v5.4.52/XEmacs 20.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13371 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13371 I ran into this 'cause my hostname is not a FQDN (I use a laptop & it changes networks too often to bother) and I didn't have mail-host-address set (I do now :)). *** message.el.orig Tue Dec 30 23:43:51 1997 --- message.el Wed Dec 31 00:05:45 1997 *************** *** 2607,2613 **** (string-match "\\." mail-host-address)) mail-host-address) ;; We try `user-mail-address' as a backup. ! ((and (string-match "\\." user-mail) (string-match "@\\(.*\\)\\'" user-mail)) (match-string 1 user-mail)) ;; Default to this bogus thing. --- 2607,2614 ---- (string-match "\\." mail-host-address)) mail-host-address) ;; We try `user-mail-address' as a backup. ! ((and (stringp user-mail) ! (string-match "\\." user-mail) (string-match "@\\(.*\\)\\'" user-mail)) (match-string 1 user-mail)) ;; Default to this bogus thing. -- Stephen --- "Normality is a statistical illusion." -- me