all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim McNamara <timmcn@bitstream.net>
Subject: Re: Emacs on OS X - configuration package
Date: Sat, 28 Feb 2004 23:21:22 -0600	[thread overview]
Message-ID: <m2ptbylaul.fsf@Stella-Blue.local> (raw)
In-Reply-To: jwv1xoev71a.fsf-monnier+gnu.emacs.help@asado.iro.umontreal.ca

Stefan Monnier <monnier@iro.umontreal.ca> 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.

  reply	other threads:[~2004-02-29  5:21 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-27 21:37 Emacs on OS X - configuration package David Reitter
2004-02-28 19:50 ` Arjan Bos
2004-02-29  4:39 ` Stefan Monnier
2004-02-29  5:21   ` Tim McNamara [this message]
2004-02-29 23:08     ` Stefan Monnier
2004-03-01  2:19       ` Tim McNamara
2004-03-01 18:30         ` Stefan Monnier
2004-03-01 21:55           ` videoxfer
2004-03-01 23:03             ` Tim McNamara
2004-03-01 23:01           ` Tim McNamara
2004-03-02 15:13             ` Stefan Monnier
2004-02-29 13:53   ` videoxfer
2004-02-29 23:18     ` Stefan Monnier
2004-03-01 13:36       ` videoxfer
2004-03-01 18:37         ` Stefan Monnier
2004-03-01  9:45     ` Piet van Oostrum
2004-03-01 12:17       ` Jussi Piitulainen
2004-03-01 13:43       ` videoxfer
2004-03-01 14:47         ` Jussi Piitulainen
2004-03-01 21:50           ` videoxfer
2004-03-02 15:04             ` Jussi Piitulainen
2004-03-02 19:32               ` videoxfer
2004-03-02 20:04                 ` Jussi Piitulainen
2004-03-03  0:03                   ` videoxfer
2004-03-01 23:41         ` David Steuber
2004-03-02 12:30           ` videoxfer
2004-03-02 15:17           ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ptbylaul.fsf@Stella-Blue.local \
    --to=timmcn@bitstream.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.