unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
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:49:19 +0000 (UTC)	[thread overview]
Message-ID: <loom.20040727T224724-159@post.gmane.org> (raw)
In-Reply-To: 4106B174.7010404@yahoo.com

Kevin Rodgers <ihs_4664 <at> yahoo.com> writes:
> Emacs does try to get the FQDN from the system; see the init_system_name
> function in src/sysdep.c.

It's calling gethostname, and gethostname on OS X just doesn't seem to 
try particularly hard. From a brief experiment, it appears to give a FQDN
when I'm on a static IP, but once my IP becomes a dynamic one (through a
wireless router), it reverts to the non-FQDN name of the machine. Ah well.
Does not appear to be an emacs problem but instead a OS X problem.
(sysctl does not do any better.)

JDO

  reply	other threads:[~2004-07-27 20:49 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
2004-07-27 19:48                 ` Kevin Rodgers
2004-07-27 20:49                   ` John Owens [this message]
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.20040727T224724-159@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).