[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6321: 24.0.50; eldoc-documentation-function only called when changin
bug#6321: 24.0.50; eldoc-documentation-function only called when changing line
Tue, 01 Jun 2010 14:29:20 +0200
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
See also bug#6265 that is related or the same.
Štěpán Němec <address@hidden> writes:
> Tassilo Horn <address@hidden> writes:
>> In a home-brewn language mode, I use the eldoc facilties.
>> (defun tg-documentation-function ()
>> (message "Called!")
>> (let ((thing (thing-at-point 'sexp)))
>> (if (string= thing tg--last-thing)
>> (setq tg--last-thing thing)
>> (let ((eid (tg-edge-p))
>> (vid (tg-vertex-p)))
>> (tg-eldoc-vertex-or-edge-at-point 'EdgeClass))
>> (tg-eldoc-vertex-or-edge-at-point 'VertexClass))
>> (setq tg--last-doc nil))))
>> (defun tg-eldoc-init ()
>> (set (make-local-variable 'eldoc-documentation-function)
>> (add-hook 'after-save-hook
>> 'tg-init-schema nil t)
>> This worked very nice some time ago, but now my documentation function
>> is only called if point changes the line, but not on point movement on
>> the current line.
> An idea: did you check that `eldoc-message-commands' contains the
> commands after which you expect Eldoc to show the info? Maybe the recent
> bidi changes could affect this (i.e., some commands were renamed IIRC)?
Gpg key: http://pgp.mit.edu/