[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bind s-~ to ns-prev-frame for Emacs.app
From: |
Dan Nicolaescu |
Subject: |
Re: Bind s-~ to ns-prev-frame for Emacs.app |
Date: |
Mon, 30 Nov 2009 15:01:28 -0800 (PST) |
Matthew Dempsky <address@hidden> writes:
> Would patches like this be better directed to bug-gnu-emacs?
Sure, at least that way they don't get lost.
> On Fri, Nov 27, 2009 at 1:41 AM, Matthew Dempsky <address@hidden> wrote:
> > On OS X, it's standard for Cmd-~ to cycle backwards through windows.
> > Patch below makes Emacs.app follow this convention too. (Currently
> > it's not bound to anything.)
> >
> > --- a/lisp/term/ns-win.el
> > +++ b/lisp/term/ns-win.el
> > @@ -208,6 +208,7 @@ The properties returned may include `top', `left',
> > `height', and `width'."
> > (define-key global-map [?\s-,] 'customize)
> > (define-key global-map [?\s-'] 'next-multiframe-window)
> > (define-key global-map [?\s-`] 'other-frame)
> > +(define-key global-map [?\s-~] 'ns-prev-frame)
> > (define-key global-map [?\s--] 'center-line)
> > (define-key global-map [?\s-:] 'ispell)
> > (define-key global-map [?\s-\;] 'ispell-next)
> >