From: John Owens <john_owens@yahoo.com>
Subject: Re: OS X (or other OS's): how to get a fully-qualified domain name?
Date: Tue, 27 Jul 2004 20:30:01 +0000 (UTC) [thread overview]
Message-ID: <loom.20040727T222504-680@post.gmane.org> (raw)
In-Reply-To: jwvy8l5b5gy.fsf-monnier+gnu.emacs.help@gnu.org
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> > This does bring up the larger point, however, that there might be
> > circumstances where emacs DOES need to know its fully qualified
> > domain name, and there does not seem to be a way to get it,
> > which is unfortunate.
>
> But this is *very* rare. And for good reasons: it's not really clear what
> it means. A machine can have:
> - no fully qualified name (if you're not connected to the net).
> - 1 FQDN
> - several different FQDN (using only one IP address or using several IP
> addresses via a single network interface, or over several network
> interfaces, ...).
Understood; first, I can't think of a circumstance where emacs might
*really* need to know this. But in case it did, it would be nice if it would
at least make a best effort. If it has none, well, it fails. If it has one or
more, it returns one valid one. I'm just thinking as a programmer, if I
wanted to use a FQDN name, having emacs at least make a good effort
toward finding one would be desirable. And in OS X's case, it isn't
making a particularly good effort.
None of this makes any difference for the problem I'm looking at; the
suggestion to just use the work hostname and to hardcode it will work
just fine for what I want. I'm more interested (at this point) in "what
should system-name return in the ideal case"; for me, a best-effort
toward a FQDN would be desirable.
JDO
next prev parent reply other threads:[~2004-07-27 20:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1622.1090879447.1960.help-gnu-emacs@gnu.org>
2004-07-26 23:11 ` OS X (or other OS's): how to get a fully-qualified domain name? Kevin Rodgers
2004-07-26 23:59 ` John Owens
[not found] ` <mailman.1631.1090886583.1960.help-gnu-emacs@gnu.org>
2004-07-27 1:22 ` Barry Margolin
2004-07-27 1:37 ` John Owens
[not found] ` <mailman.1641.1090892436.1960.help-gnu-emacs@gnu.org>
2004-07-27 15:16 ` Stefan Monnier
2004-07-27 17:03 ` John Owens
[not found] ` <mailman.1759.1090947989.1960.help-gnu-emacs@gnu.org>
2004-07-27 18:06 ` Stefan Monnier
2004-07-27 18:29 ` John Owens
[not found] ` <mailman.1770.1090954587.1960.help-gnu-emacs@gnu.org>
2004-07-27 19:46 ` Stefan Monnier
2004-07-27 20:30 ` John Owens [this message]
2004-07-27 19:48 ` Kevin Rodgers
2004-07-27 20:49 ` John Owens
2004-07-26 21:59 John Owens
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20040727T222504-680@post.gmane.org \
--to=john_owens@yahoo.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 read-only IMAP folder(s) and NNTP newsgroup(s).