From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Bind s-~ to ns-prev-frame for Emacs.app Date: Mon, 30 Nov 2009 15:01:28 -0800 (PST) Message-ID: <200911302301.nAUN1SkO017508@godzilla.ics.uci.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1259622246 13931 80.91.229.12 (30 Nov 2009 23:04:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2009 23:04:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Matthew Dempsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 01 00:03:59 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NFFHj-0000ud-6O for ged-emacs-devel@m.gmane.org; Tue, 01 Dec 2009 00:03:59 +0100 Original-Received: from localhost ([127.0.0.1]:35108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFFHi-0001A2-O2 for ged-emacs-devel@m.gmane.org; Mon, 30 Nov 2009 18:03:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFFGz-0000u9-FQ for emacs-devel@gnu.org; Mon, 30 Nov 2009 18:03:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFFGt-0000rR-Mv for emacs-devel@gnu.org; Mon, 30 Nov 2009 18:03:11 -0500 Original-Received: from [199.232.76.173] (port=38803 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFFGt-0000rM-EU for emacs-devel@gnu.org; Mon, 30 Nov 2009 18:03:07 -0500 Original-Received: from paul-mcgann-v0.ics.uci.edu ([128.195.1.147]:49734) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NFFGs-0005qE-Nc for emacs-devel@gnu.org; Mon, 30 Nov 2009 18:03:07 -0500 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by paul-mcgann-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nAUN1Slo010566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Nov 2009 15:01:28 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nAUN1SkO017508; Mon, 30 Nov 2009 15:01:28 -0800 (PST) In-Reply-To: (Matthew Dempsky's message of "Mon, 30 Nov 2009 14:03:44 -0800") Original-Lines: 24 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nAUN1Slo010566 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118009 Archived-At: Matthew Dempsky 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 = wrote: > > On OS X, it's standard for Cmd-~ to cycle backwards through windows. > > Patch below makes Emacs.app follow this convention too. =C2=A0(Curren= tly > > 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'." > > =C2=A0(define-key global-map [?\s-,] 'customize) > > =C2=A0(define-key global-map [?\s-'] 'next-multiframe-window) > > =C2=A0(define-key global-map [?\s-`] 'other-frame) > > +(define-key global-map [?\s-~] 'ns-prev-frame) > > =C2=A0(define-key global-map [?\s--] 'center-line) > > =C2=A0(define-key global-map [?\s-:] 'ispell) > > =C2=A0(define-key global-map [?\s-\;] 'ispell-next) > >