GNU bug report logs -
#6321
24.0.50; eldoc-documentation-function only called when changing line
Previous Next
Reported by: Tassilo Horn <tassilo <at> member.fsf.org>
Date: Mon, 31 May 2010 12:33:02 UTC
Severity: normal
Merged with 6265
Found in version 24.0.50
Done: Juanma Barranquero <lekktu <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):
Tassilo Horn <tassilo <at> member.fsf.org> writes:
> On Tuesday 01 June 2010 13:21:25 Štěpán Němec wrote:
>
> Hi Štěpán,
>
>> > (defun tg-eldoc-init ()
>> > (set (make-local-variable 'eldoc-documentation-function)
>> > 'tg-documentation-function)
>> > (add-hook 'after-save-hook
>> > 'tg-init-schema nil t)
>> > (tg-init-schema))
>> >
>> > 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)?
>
> Indee, you are totally right. I use the arrow keys quite often for
> navigating in the current line, and nowadays they are not equivalent to
> C-g and C-b anymore. The former is left/right-char, while the latter is
> forward/backward-char.
>
> So the left/right-commands should be added to `eldoc-message-commands',
> too.
Indeed, i confirm that
,----
| (eldoc-add-command "right-arrow-command")
| (eldoc-add-command "left-arrow-command")
`----
solve problem.
Thanks.
--
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/
This bug report was last modified 15 years and 47 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.