From: pocmatos@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Machine-dependent elisp
Date: Wed, 21 Apr 2010 21:46:28 +0100 [thread overview]
Message-ID: <84mxww8rff.fsf@csr.com> (raw)
Hi all,
I have some code which I would like to make dependent on the machine I
am currently working on. I have a single .emacs shared between my work
machine and my home machine. I thought about making dependent on the ip
address (or hostname) but then I need a way to get the ip address (or
hostname) of my current machine.
Any suggestions on the best way to do this?
(I don't think it matters but the code I need to change is mostly the
loading of certain libraries and the setting of the smtp server for
gnus)
tia,
--
PMatos
next reply other threads:[~2010-04-21 20:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-21 20:46 pocmatos [this message]
2010-04-21 21:41 ` Machine-dependent elisp Suvayu Ali
2010-04-24 1:32 ` Steve Revilak
2010-04-26 17:08 ` Paulo J. Matos
2010-04-27 15:00 ` Alex Bennee
2010-04-28 3:34 ` Kevin Rodgers
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=84mxww8rff.fsf@csr.com \
--to=pocmatos@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.