From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hadron Newsgroups: gmane.emacs.help Subject: Code depending on hostname Date: Wed, 08 Aug 2007 19:31:57 +0200 Organization: http://en.wikipedia.org/wiki/Quark Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186594926 19727 80.91.229.12 (8 Aug 2007 17:42:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Aug 2007 17:42:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 08 19:42:05 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IIpXn-0006YI-D1 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Aug 2007 19:42:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIpXm-0002EG-UB for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Aug 2007 13:42:02 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-X-Trace: individual.net p/ohw6Aqquuc30RJb2IMUwge59U8aJxyTJOUIHRq89fzZAguWa X-Orig-Path: news.individual.net!news Cancel-Lock: sha1:FCtNofD1X8NCy67EpIc+dlkSVb0= sha1:lITXVsykwawZXLaIUPqB9WSkl5Y= Original-Xref: shelby.stanford.edu gnu.emacs.help:150842 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46418 Archived-At: Could someone possibly advise me on some example lisp of how to do alternate things based on the hostname of the machine that the code is being run on? e.g. if hostname is A call funcA else if hostname is B call funcB else .... many thanks for any pointers.