osx - What’s a good way to deal with a german keyboard when using Emacs on Mac OS X? -


Maybe it's a bit weird because this question is in English because my problem is a non-English I'm a Mac OS X user I'm on my way to learning MACS I have decided to use the Emacs 23.1 Cocoa Build, which by default uses the alt / option key of the Mac keyboard as a meta key but because I'm German and I German I am using keyboard, of course, it is very difficult to enter the required parameters for large scale programming: { } [ ]

To bring these keyboards to the German keyboard layout, press the following key:

  Alt-5 for '[' alt] -8 '{'  

Translate according to the status described above

  M-5M-8     

I know that you have real keys Can change the person who should be used as a meta key (for example, I could change the meta key into a command key). But I think every option will come at a cost and there will be some obvious loss because it can override some predefined OS behavior, which may be necessary when editing with a foreign language keyboard.

For now, the best option seems to be to use the CAPS lock key as a meta key because this option does not interfere with the already existing key combinations.

What are your experiences related to this problem? Do you use an English keyboard while coding (non-English)? Are not you mixed with dependent keyboard layouts in this context? Or are there some great practices that are important for using a German or similar keyboard as a meta key? Or are there some configuration options?

With a little practice, you mentally a US and DE keyboard layout - after some time swap y And the second nature of jade is formed. I did this for years working in Germany.

But even with a US keyboard layout, there are still characters that you can not log without Alt. I personally use the command in the form of Meta, in which to make OS X dead keys, except for alt / option, eg i "Alt-shift-2" => €, "alt-e e" => e:

  (setq mac- command-modifier 'meta mac-option-modifier' Not input  

Another option is to move the "problem" key as {} using the keyboard-translation function.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -