[OS X Emacs] German quotes in Aquamacs 2.4

David Reitter david.reitter at gmail.com
Wed Jan 4 14:03:50 EST 2012


On Dec 28, 2011, at 12:45 PM, Juergen Fenn wrote:
> 
> as my Carbon Emacs is sadly getting more and more out of date, I am
> testing Aquamacs 2.4 on Mac OS X 10.6.8. Localisation is German. To make
> i clear, I do not like it that Aquamacs attempts to provide an Apple
> user interface as I prefer to have the same interface on all platforms I
> use Emacs on.

Well, your preference is perfectly understandable, but prefacing your message this way is perhaps not a wise way to solicit help for Aquamacs, to put it bluntly.

You may be interested in this set of settings that make Aquamacs more Emacs-like:

http://www.emacswiki.org/emacs/AquamacsEmacsCompatibilitySettings


> So, I have set Options | Language | Set language environment | European
> to German and saved options by Options | Save options.

I don't know much about this language environment, but I can help (you may have to turn off the language environment):

> With a German keyboard layout, German quotes are input as shown above by
> typing option-^ and option-2. In Aquamacs, though, only left German
> quotes work, as option-2 is used otherwise.

You can either use standard Mac key commands and turn off Option is Meta, or you can have only the right-hand option key as meta and use the left one to enter those.

Also, we can add Option-2 to `emulate-mac-keyboard-mode-maps` (can't easily do that at runtime, however, look at the emulate-mac-keyboard-mode source file if you like to do it).  The change is quite simple (see the patch below).

You can find these modes in Options/Option,Command,Meta keys.  Choose "Meta & German" in that case.

Hope that helps.


--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!



diff --git a/aquamacs/src/site-lisp/macosx/emulate-mac-keyboard-mode.el b/aquamacs/src/site-lisp/macosx/emulate-mac-keyboard-mode.el
index 8b1db74..91dd837 100644
--- a/aquamacs/src/site-lisp/macosx/emulate-mac-keyboard-mode.el
+++ b/aquamacs/src/site-lisp/macosx/emulate-mac-keyboard-mode.el
@@ -30,6 +30,8 @@ Example:
 (setq emulate-mac-keyboard-mode-maps
  `((german . (("\M-l" . "@")
 	       ("\M-/" . "\\")
+	       ("\M-2" .  "“")
+	       ("\M-\"" . "”")
 	       ("\M-5" . "[")
 	       ("\M-6" . "]")
 	       ("\M-7" . "|")






More information about the MacOSX-Emacs mailing list