unlink (backname ) except OSError, err : if err. is_changed : print "No changes to write." return # Backup if os. close ( ) def write (self, filename ) : if not self. #!/usr/bin/python -utWall # -*- coding: utf-8 -*- import os, sys, re, errno I forget about this and delete my preferences again. Hopefully this will be useful for someone. Into ~/Library/Preferences/Aquamacs Emacs/. The osxkeys.el shipped with Aquamacs and then writes this patched version Out what osxkeys.el was I decided to find a better solution.Īnd here it is A horribly kludgy python script that essentially automatesĭavidswelt’s workaround: based on a keymap hardcoded in the script it patches ~/Library/Preferences/Aquamacs Emacs/ directory.Īfter spending a little time with Time Machine to recover the files and figure The latest, 1.6, didn’t like my preference settings. Since then, Aquamacs has gone through several iterations. This can be worked around by dropping in a custom osxkeys.el inĪ year ago, I did this customization by hand and pretty much forgot about. It’s a Carbon application, not a Cocoa application. This was invaluable when I first started using OS-XĪquamacs cannot natively understand the command keys for this layout because DQ is dvorak except when you use the command key. Keyboard layout (AKA DQ) and Aquamacs doesn’t like the command key bindings
0 Comments
Leave a Reply. |