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 14:29:20 +0200 Organization: ThierryVolpiatto Message-ID: <87sk570wdb.fsf@tux.homenetwork> References: <87aargw8uc.fsf@thinkpad.tsdh.de> <87ljazf16y.fsf@gmail.com> 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 1275397080 29862 80.91.229.12 (1 Jun 2010 12:58:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Jun 2010 12:58:00 +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 14:57:58 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 1OJR2a-0006eI-OD for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Jun 2010 14:57:57 +0200 Original-Received: from localhost ([127.0.0.1]:50393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJR2a-0003wQ-Az for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Jun 2010 08:57:56 -0400 Original-Received: from [140.186.70.92] (port=37869 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJR2O-0003p2-Af for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 08:57:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJR2M-00054Q-UW for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 08:57:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35749) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJR2M-00054B-Ry for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 08:57:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OJQfR-0006nN-Sr; Tue, 01 Jun 2010 08:34:01 -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 12:34:01 +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.127539558426107 (code B ref -1); Tue, 01 Jun 2010 12:34:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Jun 2010 12:33:04 +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 1OJQeV-0006n2-Mn for submit@debbugs.gnu.org; Tue, 01 Jun 2010 08:33:04 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJQeU-0006mf-9x for submit@debbugs.gnu.org; Tue, 01 Jun 2010 08:33:03 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:59975) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OJQeP-0004gH-5V for submit@debbugs.gnu.org; Tue, 01 Jun 2010 08:32:57 -0400 Original-Received: from [140.186.70.92] (port=33382 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJQeK-00034L-1b for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 08:32:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJQeH-0001Nd-SF for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 08:32:51 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:57256) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJQeH-0001NL-G9 for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 08:32:49 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OJQeF-0005K1-EY for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 14:32:47 +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 14:32:47 +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 14:32:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 52 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:SiaY9vvCVWk96j/jduXfOF9+I58= 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 08:34:01 -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:37473 Archived-At: See also bug#6265 that is related or the same. Štěpán Němec writes: > Tassilo Horn 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) >> tg--last-doc >> (setq tg--last-thing thing) >> (let ((eid (tg-edge-p)) >> (vid (tg-vertex-p))) >> (cond >> ((tg-incidence-list-p) >> (tg-eldoc-incidence)) >> (eid >> (tg-eldoc-vertex-or-edge-at-point 'EdgeClass)) >> (vid >> (tg-eldoc-vertex-or-edge-at-point 'VertexClass)) >> (t >> (setq tg--last-doc nil)))) >> tg--last-doc))) >> >> (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)? > > > Štěpán > > > > -- Thierry Volpiatto Gpg key: http://pgp.mit.edu/