all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Machine-dependent elisp
@ 2010-04-21 20:46 pocmatos
  2010-04-21 21:41 ` Suvayu Ali
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: pocmatos @ 2010-04-21 20:46 UTC (permalink / raw)
  To: help-gnu-emacs

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-04-28  3:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-21 20:46 Machine-dependent elisp pocmatos
2010-04-21 21:41 ` 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

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.