diff --git a/emacs/init.org b/emacs/init.org index 544de26..2ab5eb5 100644 --- a/emacs/init.org +++ b/emacs/init.org @@ -552,3 +552,42 @@ functionality, plus more. #+BEGIN_SRC emacs-lisp (global-set-key (kbd "M-n") 'idomenu) #+END_SRC + +* minibuffer + + A new feature in Emacs 24.3 can shorten ~(default ...)~ to ~[...]~ when + prompting for something. The =minibuffer-eldef-shorten-default= should + be set before enabling the =minibuffer-electric-default-mode=. + + #+BEGIN_SRC emacs-lisp + (setq minibuffer-eldef-shorten-default t) + (minibuffer-electric-default-mode) + #+END_SRC + +* mode-line + + Don't show any default help messages, if no help message was + specified, just leave the echo area empty. + + #+BEGIN_SRC emacs-lisp + (setq mode-line-default-help-echo "") + #+END_SRC + +* jedi + + Start jedi when =python-mode= is started. + + #+BEGIN_SRC emacs-lisp + (eval-after-load "jedi" '(setcar jedi:server-command "python2")) + (add-hook 'python-mode-hook 'jedi:setup) + #+END_SRC + + Show argument lists and such in the echo area. + + #+BEGIN_SRC emacs-lisp + (setq jedi:tooltip-method nil) + #+END_SRC + +# Local Variables: +# eval: (flyspell-mode 1) +# End: