>>> "UB" == Uwe Brauer writes: > Hi > That is a strange problem, when start emacsforosx, it seems to read and > load everything from my init file, save the following lines > (when (eq system-type 'darwin) > (setq mac-right-option-modifier nil) > (setq mac-right-control-modifier 'control) > (setq mac-command-modifier 'meta) > (setq mac-option-modifier 'super) > (setq mac-control-modifier 'hyper) > (setq default-directory "/Users/oub/") > ) > However when I jump to the end of the closing parenthesis and type > eval-last-sexp, the code is executed and everything is fine. Thanks to Stefan Moser, I found a solution: one has to write a small script and place it in /usr/local/bin to start emacs from the command line.