From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: Re: Syntax for binding option and command keys in aquamacs Date: Sun, 5 Oct 2014 07:21:34 -0800 Organization: AkWebsoft Message-ID: <20141005152134.GA3206@mail.akwebsoft.com> References: <20141004225603.GD7030@mail.akwebsoft.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1412522526 18277 80.91.229.3 (5 Oct 2014 15:22:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Oct 2014 15:22:06 +0000 (UTC) To: Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 05 17:21:59 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XandH-0001YX-2S for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2014 17:21:59 +0200 Original-Received: from localhost ([::1]:47751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XandG-0000Ba-JO for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2014 11:21:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xand1-0000Ac-EC for Help-gnu-emacs@gnu.org; Sun, 05 Oct 2014 11:21:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xancw-0007UR-Lv for Help-gnu-emacs@gnu.org; Sun, 05 Oct 2014 11:21:43 -0400 Original-Received: from 191-232-4-64.mtaonline.net ([64.4.232.191]:50784 helo=tj49.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xancw-0007Ts-9q for Help-gnu-emacs@gnu.org; Sun, 05 Oct 2014 11:21:38 -0400 Original-Received: by tj49.com (Postfix, from userid 501) id 97B4D4F6763F; Sun, 5 Oct 2014 07:21:34 -0800 (AKDT) Mail-Followup-To: Emacs Content-Disposition: inline In-Reply-To: <20141004225603.GD7030@mail.akwebsoft.com> User-Agent: Mutt/1.4.2.3i X-detected-operating-system: by eggs.gnu.org: Mac OS X 10.x X-Received-From: 64.4.232.191 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100284 Archived-At: * Tim Johnson [141004 15:03]: > I've recently migrated from emacs on ubuntu to mac os x 10.7.5 >=20 > I not sure about how to code for the option and command keys for > keybinding. >=20 > I am using a happy hacker keyboard where the alt key is being > interpreted by aquamacs as the option key. >=20 > Here are two results from c-h c >=20 > c-h c Alt-h : > =E2=8C=A5H runs the command mark-paragraph >=20 > c-h c Cmd-c : > =E2=8C=98C runs the command clipboard-kill-ring-save >=20 > How would I code those modifiers if I wished to create new > keybindings for them? A red herring ... what threw me is that the default in aquamacs is that *scratch* is treated like a text file, thus experimental bindings weren't working. .emacs needs the follo= wing (setq initial-major-mode 'lisp-interaction-mode)=20 cheers --=20 Tim=20 tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com, http://www.tj49.com