[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: checking emacs version
From: |
Eric |
Subject: |
Re: checking emacs version |
Date: |
Tue, 24 Feb 2009 07:23:46 -0800 (PST) |
User-agent: |
G2/1.0 |
On Feb 24, 10:29 pm, Jonathan Groll <li...@groll.co.za> wrote:
> 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 "<kp-delete>") 'delete-char)
> (global-set-key (kbd "<backspace>") 'backward-delete-char)
> (global-set-key (kbd "<home>") 'move-beginning-of-line)
> (global-set-key (kbd "<end>") '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
Thanks to all! These are all good suggestions, and I'll probably use
them all in various places, where appropriate.
E
Re: checking emacs version, Leo, 2009/02/24
Message not available
Re: checking emacs version, Pascal J. Bourguignon, 2009/02/24