From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#6321: 24.0.50; eldoc-documentation-function only called when changing line Date: Tue, 01 Jun 2010 15:28:38 +0200 Organization: ThierryVolpiatto Message-ID: <87ocfu286x.fsf@tux.homenetwork> References: <87aargw8uc.fsf@thinkpad.tsdh.de> <87ljazf16y.fsf@gmail.com> <201006011401.55622.tassilo@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1275400798 13524 80.91.229.12 (1 Jun 2010 13:59:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Jun 2010 13:59:58 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 01 15:59:57 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OJS0a-0000VF-Ot for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Jun 2010 15:59:57 +0200 Original-Received: from localhost ([127.0.0.1]:39478 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJS0a-0003uI-E1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Jun 2010 09:59:56 -0400 Original-Received: from [140.186.70.92] (port=35363 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJRyV-0002hD-Jt for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 09:57:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJRyQ-0005dw-9R for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 09:57:47 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35649) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJRyQ-0005ds-6x for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 09:57:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OJRaY-0007FB-Pf; Tue, 01 Jun 2010 09:33:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87aargw8uc.fsf@thinkpad.tsdh.de> Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Jun 2010 13:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6321 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.127539914427829 (code B ref -1); Tue, 01 Jun 2010 13:33:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Jun 2010 13:32:24 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJRZw-0007Eo-Cw for submit@debbugs.gnu.org; Tue, 01 Jun 2010 09:32:24 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJRZr-0007EU-Vu for submit@debbugs.gnu.org; Tue, 01 Jun 2010 09:32:23 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:35672) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OJRZn-0005uN-0w for submit@debbugs.gnu.org; Tue, 01 Jun 2010 09:32:15 -0400 Original-Received: from [140.186.70.92] (port=58907 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJRZl-0003Z4-As for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 09:32:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJRZj-0001VV-UA for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 09:32:13 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:40145) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJRZj-0001Uo-PE for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 09:32:11 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OJRZe-0004EU-Al for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 15:32:06 +0200 Original-Received: from 103.211.85-79.rev.gaoland.net ([79.85.211.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Jun 2010 15:32:06 +0200 Original-Received: from thierry.volpiatto by 103.211.85-79.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Jun 2010 15:32:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 43 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 103.211.85-79.rev.gaoland.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:NED88UGedmHghvpU0TDpUXnLO8A= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 01 Jun 2010 09:33:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37477 Archived-At: Tassilo Horn 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/