From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: reader@newsguy.com Newsgroups: gmane.emacs.help Subject: Re: Torturedly threaded .emacs portability. [Was: jump between if-fi] Date: Tue, 01 Jan 2008 09:53:34 -0600 Organization: Still searching... Message-ID: <877iitczk1.fsf@newsguy.com> References: <87y7bbpz12.fsf@newsguy.com> <20071231162438.GA1211@muc.de> <87wsqujn1z.fsf@newsguy.com> <20080101155304.GB3830@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199202856 20794 80.91.229.12 (1 Jan 2008 15:54:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Jan 2008 15:54:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 01 16:54:36 2008 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 1J9jRs-00015S-1n for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Jan 2008 16:54:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9jRW-0007cc-Bb for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Jan 2008 10:54:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J9jRI-0007cV-K5 for help-gnu-emacs@gnu.org; Tue, 01 Jan 2008 10:54:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J9jRG-0007bh-Vj for help-gnu-emacs@gnu.org; Tue, 01 Jan 2008 10:54:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9jRG-0007bX-RF for help-gnu-emacs@gnu.org; Tue, 01 Jan 2008 10:53:58 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J9jRG-0000jO-FE for help-gnu-emacs@gnu.org; Tue, 01 Jan 2008 10:53:58 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J9jR1-0005Sh-TF for help-gnu-emacs@gnu.org; Tue, 01 Jan 2008 15:53:43 +0000 Original-Received: from adsl-75-3-178-22.dsl.chcgil.sbcglobal.net ([75.3.178.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Jan 2008 15:53:43 +0000 Original-Received: from reader by adsl-75-3-178-22.dsl.chcgil.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Jan 2008 15:53:43 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-75-3-178-22.dsl.chcgil.sbcglobal.net User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:CKWGGu+poAanT/XvuE4zjB7YztE= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:50415 Archived-At: Alan Mackenzie writes: > Hi, Reader! > > On Mon, Dec 31, 2007 at 08:29:28PM -0600, reader@newsguy.com wrote: > > [ .... ] > >> On a slightly different subject... if I may torture the threading >> rules a little: >> Speaking of portability... I'd like to get my emacs init files to be >> more portable from one machine to the next but one I'm dealing with >> now has different keyboard responses than most of the others and >> requires differnt keybindings for delete-backward-char and a few >> other things. > > Have a look at the "Key Bindings" in the Emacs FAQ. > > There are several variables you can test to find out what system you're > running under: system-type, system-name, .... Have a look at page > "System Interface" in the Elisp manual. [...] > (getenv "HOSTNAME") ; See elisp manual page "System Environment" Another big thank you for the examples and citations of where to look.