Gnus development mailing list
 help / color / mirror / Atom feed
From: Stephen Zander <srz@mckesson.com>
Subject: [PATCH] unbound variable in message-make-fqdn
Date: 31 Dec 1997 10:34:33 -0800	[thread overview]
Message-ID: <87sor99xae.fsf@wsuse5.mckesson.com> (raw)


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


                 reply	other threads:[~1997-12-31 18:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sor99xae.fsf@wsuse5.mckesson.com \
    --to=srz@mckesson.com \
    --cc=stephen.zander@interlock.mckesson.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).