Carbon.
Rodney Sparapani
rsparapa at mcw.edu
Fri Jan 11 10:12:47 EST 2008
Aidan Kehoe wrote:
> >
> > I've just starting using Emacs.app for OS X. And, it works the way I
> > would expect. You can set whichever key that you want to for Meta
> > (default alt/option) and still use the Apple/Command key (recognized as
> > super).
> >
> > And, it allows you to do Mule without the problems of Aquamacs.
>
> How so?
>
>
Well, I'm getting back to my original feature request. That is to allow
the
Option/Alt key to be Meta rather than the Unicode key (or whatever you call
it) and leave the Apple/Command alone for the traditional Mac purposes.
This distribution doesn't need the smoke and mirrors that Aquamacs employs
to accomplish that.
> > Instead of Carbon, it uses Cocoa/OpenStep/NextStep/whatever you want to
> > call it. Maybe this would be a better basis for the XEmacs port to OS X.
> > I know, patches welcome... But, if anyone is interested, it can be found
> > at http://emacs-app.sourceforge.net/
> >
> > Right now, everything seems to work except 2-finger scrolling.
>
> What do you mean by ‘2-finger scrolling?’
>
>
2-finger scrolling is like mouse wheel scrolling. Dragging 1 finger on the
tracker pad moves the pointer, 2 fingers scrolls. However, I have
discovered
the problem is not with the API, it is just that mwheel support is not
loaded
currently by default. The following snippet does the trick:
;; Enable wheelmouse support by default
(require 'mwheel)
;;Define the mouse scroll wheel
(defun up-slightly () (interactive) (scroll-up 5))
(defun down-slightly () (interactive) (scroll-down 5))
(global-set-key [mouse-4] 'down-slightly)
(global-set-key [mouse-5] 'up-slightly)
;;Support for scrolling Griffin powermate
(global-set-key [wheel-down] 'up-slightly)
(global-set-key [wheel-up] 'down-slightly)
(global-set-key [double-wheel-down] 'up-slightly)
(global-set-key [double-wheel-up] 'down-slightly)
(global-set-key [triple-wheel-down] 'up-slightly)
(global-set-key [triple-wheel-up] 'down-slightly)
Rodney
More information about the XEmacs-Beta
mailing list