Mercurial > hg > xemacs-beta
changeset 4625:4527fc976aa3
Meta on Mac. <87prh51rni.fsf@xemacs.org>
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Thu, 26 Feb 2009 18:21:40 +0900 |
parents | 9dd42cb187ed |
children | f1bb4cc3144a |
files | man/ChangeLog man/xemacs-faq.texi |
diffstat | 2 files changed, 36 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/man/ChangeLog Wed Feb 04 01:13:10 2009 +0900 +++ b/man/ChangeLog Thu Feb 26 18:21:40 2009 +0900 @@ -1,3 +1,12 @@ +2009-02-26 Stephen J. Turnbull <stephen@xemacs.org> + + * xemacs-faq.texi (Q3.0.12): New node for Meta key on Mac. + (Top): + (Editing): + (Q3.0.11): + (Q3.1.1): + Fix up Next/Prev/Menu references. + 2008-10-04 Stephen J. Turnbull <stephen@xemacs.org> * xemacs-faq.texi (Q5.0.7): Fix broken instructions on use of
--- a/man/xemacs-faq.texi Wed Feb 04 01:13:10 2009 +0900 +++ b/man/xemacs-faq.texi Thu Feb 26 18:21:40 2009 +0900 @@ -341,6 +341,7 @@ * Q3.0.9:: HP Alt key as Meta. * Q3.0.10:: Why does edt emulation not work? * Q3.0.11:: How can I emulate VI and use it as my default mode? +* Q3.0.12:: Mac Alt/Option key as Meta. 3.1: The Mouse * Q3.1.1:: How can I turn off Mouse pasting? @@ -4607,6 +4608,7 @@ * Q3.0.9:: HP Alt key as Meta. * Q3.0.10:: Why does edt emulation not work? * Q3.0.11:: How can I emulate VI and use it as my default mode? +* Q3.0.12:: Mac Alt/Option key as Meta. 3.1: The Mouse * Q3.1.1:: How can I turn off Mouse pasting? @@ -4876,7 +4878,7 @@ (global-set-key [(control h)] 'help-for-help) @end lisp -@node Q3.0.11, Q3.1.1, Q3.0.10, Editing +@node Q3.0.11, Q3.0.12, Q3.0.10, Editing @unnumberedsubsec Q3.0.11: How can I emulate VI and use it as my default mode? Our recommended VI emulator is viper. To make viper-mode the default, @@ -4893,9 +4895,32 @@ it, otherwise some minor modes may not get viper-ized. @end quotation +@node Q3.0.12, Q3.1.1, Q3.0.11, Editing +@unnumberedsubsec Q3.0.12: Mac Alt/Option key as Meta. + +Due to the Apple Command key being Meta, I can't use XEmacs on OS X. + +Didier Verna suggests: + +I use an X version of XEmacs on a Mac every day. You have to tweak the +keyboard configuration a bit but that's all. + +Here's my Xmodmap file on Darwin: + +@example +clear mod1 +clear mod2 +keycode 66 = Meta_L +keycode 63 = Mode_switch +add mod1 = Meta_L +@end example + +This leaves the command key alone and uses alt/option for Meta. + + @unnumberedsec 3.1: The Mouse -@node Q3.1.1, Q3.1.2, Q3.0.11, Editing +@node Q3.1.1, Q3.1.2, Q3.0.12, Editing @unnumberedsubsec Q3.1.1: How can I turn off Mouse pasting? I keep hitting the middle mouse button by accident and getting stuff