From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonathan Groll Newsgroups: gmane.emacs.help Subject: Re: checking emacs version Date: Tue, 24 Feb 2009 16:29:37 +0200 Message-ID: <20090224142937.GB23623@groll.co.za> References: <643cd3d3-5a51-41ce-b830-b71f27b59666@h5g2000yqh.googlegroups.com> <0cda7201-96b3-4625-a760-f5548658e968@l16g2000yqo.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: ger.gmane.org 1235485813 5468 80.91.229.12 (24 Feb 2009 14:30:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2009 14:30:13 +0000 (UTC) To: Eric , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 24 15:31:29 2009 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 1LbyJk-0002xP-Df for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Feb 2009 15:31:28 +0100 Original-Received: from localhost ([127.0.0.1]:54851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbyIP-0003B2-NG for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Feb 2009 09:30:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LbyI3-00037W-6r for help-gnu-emacs@gnu.org; Tue, 24 Feb 2009 09:29:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LbyI0-00030K-2q for help-gnu-emacs@gnu.org; Tue, 24 Feb 2009 09:29:42 -0500 Original-Received: from [199.232.76.173] (port=49169 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbyHz-000307-Uz for help-gnu-emacs@gnu.org; Tue, 24 Feb 2009 09:29:39 -0500 Original-Received: from mail.groll.co.za ([67.18.176.185]:44618) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LbyHz-0005Rf-LX for help-gnu-emacs@gnu.org; Tue, 24 Feb 2009 09:29:39 -0500 Original-Received: by mail.groll.co.za (Postfix, from userid 1004) id 712DC258F0; Tue, 24 Feb 2009 16:29:37 +0200 (SAST) Content-Disposition: inline In-Reply-To: <0cda7201-96b3-4625-a760-f5548658e968@l16g2000yqo.googlegroups.com> User-Agent: Mutt/1.5.13 (Linux mail 2.6.18.8-linode16 i686) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:62321 Archived-At: On Mon, Feb 23, 2009 at 08:21:32PM -0800, Eric wrote: >No, sorry! I totally failed to say what I was actually doing -- not >checking emacs versions but checking emacs ports: I use Carbon Emacs >on my mac at home, and vanilla emacs on my server, and want to set >some Carbon-specific variables when I'm at home. The string "Carbon" >show up in (emacs-version), that's why I was thinking that might be >how I have to do it. I have the following in my .emacs, if it'll help: ; Cocoa emacs, for some bizarre reason DELETE key is bound to backward-delete-char-untabify ;;and make home and end behave in a non-mac way! (if (string-match "darwin" (version)) ( progn (global-set-key (kbd "") 'delete-char) (global-set-key (kbd "") 'backward-delete-char) (global-set-key (kbd "") 'move-beginning-of-line) (global-set-key (kbd "") 'move-end-of-line) ) ) To give you an idea of how others use it (and you may like pc-type home, end, delete, backspace keys like I do). Cheers, Jonathan