On 2013-03-17 05:55 +0800, Stefan Monnier wrote: > It's looking fairly good. Questions and comments inline below. Thanks for the time. > I'd call it eval-expression-minibuffer-setup-hook or maybe I'd just call > an emacs-lisp-minibuffer-mode (which might need to not be an actual > major-mode for technical reasons, but could try to be close to one). > > I'd like to move towards using major modes in the minibuffer, so we > might as well plan for that future. I renamed it to eval-expression-minibuffer-setup-hook for now. The major mode is a nice idea which I'll find another time to do it. I want the font-locking to work as well. For the moment font-lock-mode ignores all invisible buffers. > Please give it `eldoc-minibuffer-message' as default value rather > than nil. Better yet give it `message' as default value and set it to > a different value for in-minibuffer use. Done! > Shouldn't that be called `eldoc-minibuffer-mode'? > And why not just use eldoc-mode? eldoc-post-insert-mode can work everywhere not just in the minibuffer. The idea is from me finding eldoc-mode too distracting by printing 'constantly' to the echo area. Thus eldoc-post-insert-mode only shows the info when you are typing. (For me it shows the info at the moment I need it ;)). > I removed (not (eq (selected-window) (minibuffer-window)) and (not > cursor-in-echo-area) from my eldoc-display-message-no-interference-p > and haven't noticed any downside, so maybe we can just do that and avoid > creating eldoc-print-current-symbol-info-1 and eldoc-minibuffer-mode. Done. > Stefan Leo