From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Dempsky Newsgroups: gmane.emacs.devel Subject: Re: Bind s-~ to ns-prev-frame for Emacs.app Date: Mon, 30 Nov 2009 14:03:44 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1259618662 2581 80.91.229.12 (30 Nov 2009 22:04:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2009 22:04:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 30 23:04:15 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 1NFELu-0006ZM-AA for ged-emacs-devel@m.gmane.org; Mon, 30 Nov 2009 23:04:14 +0100 Original-Received: from localhost ([127.0.0.1]:39327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFELu-0008MJ-4Z for ged-emacs-devel@m.gmane.org; Mon, 30 Nov 2009 17:04:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFELX-0008GB-78 for emacs-devel@gnu.org; Mon, 30 Nov 2009 17:03:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFELS-0008FU-PO for emacs-devel@gnu.org; Mon, 30 Nov 2009 17:03:50 -0500 Original-Received: from [199.232.76.173] (port=38214 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFELS-0008FR-Kw for emacs-devel@gnu.org; Mon, 30 Nov 2009 17:03:46 -0500 Original-Received: from mail-px0-f178.google.com ([209.85.216.178]:39256) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NFELS-0000cf-5q for emacs-devel@gnu.org; Mon, 30 Nov 2009 17:03:46 -0500 Original-Received: by pxi8 with SMTP id 8so131641pxi.27 for ; Mon, 30 Nov 2009 14:03:45 -0800 (PST) Original-Received: by 10.115.103.26 with SMTP id f26mr8712949wam.198.1259618624972; Mon, 30 Nov 2009 14:03:44 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:118001 Archived-At: Would patches like this be better directed to bug-gnu-emacs? On Fri, Nov 27, 2009 at 1:41 AM, Matthew Dempsky wrot= e: > On OS X, it's standard for Cmd-~ to cycle backwards through windows. > Patch below makes Emacs.app follow this convention too. =A0(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'." > =A0(define-key global-map [?\s-,] 'customize) > =A0(define-key global-map [?\s-'] 'next-multiframe-window) > =A0(define-key global-map [?\s-`] 'other-frame) > +(define-key global-map [?\s-~] 'ns-prev-frame) > =A0(define-key global-map [?\s--] 'center-line) > =A0(define-key global-map [?\s-:] 'ispell) > =A0(define-key global-map [?\s-\;] 'ispell-next) >