From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tim McNamara Newsgroups: gmane.emacs.help Subject: Re: Emacs on OS X - configuration package Date: Sat, 28 Feb 2004 23:21:22 -0600 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <20040227213744639+0000@news.eircom.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1078032798 19725 80.91.224.253 (29 Feb 2004 05:33:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 29 Feb 2004 05:33:18 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 29 06:33:11 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AxJZf-0007Wj-00 for ; Sun, 29 Feb 2004 06:33:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AxJXF-0007zd-VG for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Feb 2004 00:30:41 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!HSNX.atgi.net!cyclone-sf.pbi.net!216.196.106.144!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!news-out.visi.com!petbe.visi.com!news.octanews.net!gemini.bitstream.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (darwin) Cancel-Lock: sha1:eGCFioLJ2CxAvZXWsCUGPf5fhPY= Original-Lines: 62 Original-NNTP-Posting-Host: 59ca2cff.news.bitstream.net Original-X-Trace: 1078032082 gemini.bitstream.net 432 216.243.177.155 Original-X-Complaints-To: abuse@bitstream.net Original-Xref: shelby.stanford.edu gnu.emacs.help:121358 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:17312 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17312 Stefan Monnier writes: >> - OS X standard keyboard shortcuts: Apple-S saves a file, Apple-Q >> for quit, Apple-C/X/V for clipboard operations, Apple-F to find a >> string - and many more > > What is `Apple' mapped to in Emacs terms? If those bindings > override some of the default bindings, then maybe it would be better > to get your behavior by hacking on cua-mode. I've looked briefly at this package and since I use Emacs under Apple's X11 interface not Aqua, much of it would have to be altered to be useful for me. However, as an 18 year veteran of Mac OS I can address a few things. The Apple key, a.k.a. the Command (Cmd) key, serves as Meta inconsistently. If (setq mac-command-key-is-meta nil) is set, then these keybindings would not override any Emacs Meta keybindings, I would think; that setq makes Alt function as Meta. IME however, this is *highly* inconsistent, and may function differently in Emacs built for Apple's Mac OS X Aqua interface vs. the OS X X11 interface (which BTW runs rootless by default and is interleaved with Aqua application windows). However, if Cmd = Meta, then there are conflicts in the keybindings- M-q and Cmd-q, for example. Cmd-Q is the universal keybinding for quitting an application under Mac OS. It doesn't work with Andrew Choi's patches- you have to use C-x C-c to quit Emacs. Cmd-Q would in this instance be the same as C-x C-c; I presume this is an additional keymapping rather than an override. C-w would become Cmd-x in this scheme, and C-y would become Cmd-v; M-w would be Cmd-c. >> - Emacs has a normal menu. > > Good. This probably means "normal" in Mac terms, which puts the menu bar at the top of the screen, separate from the window (frame) of the application. Although Emacs built with Andrew's patches for Mac OS X Aqua does have "normal" Mac menus. >> - When you load a file, a new window opens (Emacs calls this: a >> frame). ( Closing with Apple-W currently has a few glitches.) > > This seems completely orthogonal to the OS you're running on. Most Mac applications open files in a new window (frame) with one buffer per frame. You can bring any window forward by clicking on it. The Emacs approach to this takes quite a bit of getting used to for Mac users. >> - Mouse Wheel works > > Didn't it already work before? Inconsistent again. I find that the mouse wheel worked in some Aqua builds but does not work at all in builds for Apple's X11 interface. It does function at button 2 if clicked, but provides no scrolling. No settings in .emacs will make the mouse wheel work IME. Pressing the mouse wheel and scrolling will do a C-y of the most recent item in the kill ring, though.