From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Newsgroups: gmane.emacs.bugs Subject: bug#6321: 24.0.50; eldoc-documentation-function only called when changing line Date: Tue, 01 Jun 2010 13:21:25 +0200 Message-ID: <87ljazf16y.fsf@gmail.com> References: <87aargw8uc.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1275391676 9043 80.91.229.12 (1 Jun 2010 11:27:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Jun 2010 11:27:56 +0000 (UTC) Cc: 6321@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 01 13:27:55 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 1OJPdS-00020O-Dd for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Jun 2010 13:27:54 +0200 Original-Received: from localhost ([127.0.0.1]:54550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJPdR-0001Hc-KD for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Jun 2010 07:27:53 -0400 Original-Received: from [140.186.70.92] (port=57038 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJPdH-0001F4-L4 for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 07:27:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJPdG-0006kv-71 for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 07:27:43 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42796) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJPdG-0006ko-3q for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 07:27:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OJPXn-0005hW-UR; Tue, 01 Jun 2010 07:22:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= 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 11:22:03 +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 6321-submit@debbugs.gnu.org id=B6321.127539132021905 (code B ref 6321); Tue, 01 Jun 2010 11:22:03 +0000 Original-Received: (at 6321) by debbugs.gnu.org; 1 Jun 2010 11:22:00 +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 1OJPXi-0005hF-Lr for submit@debbugs.gnu.org; Tue, 01 Jun 2010 07:22:00 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.159]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJPXg-0005h7-UO for 6321@debbugs.gnu.org; Tue, 01 Jun 2010 07:21:57 -0400 Original-Received: by fg-out-1718.google.com with SMTP id l26so136319fgb.15 for <6321@debbugs.gnu.org>; Tue, 01 Jun 2010 04:21:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :in-reply-to:references:user-agent:date:message-id:mime-version :content-type:content-transfer-encoding; bh=4NyqcXnBH1mTxR5b37ifLDEoOFj0Bkt9vbLMYMfDo1Y=; b=YogkFVnO3o0ccORGOMMHGMTHtN1cm8QryAMsBZ6ZbA9iRCjPfoNwSSC0HUFERX02Ap qdSJLnCdWHfXxD+5ml4w0AoMa/QXM5rUNiBWwtWs7xtIqyAwHpRLHuTfIcywV69vEGxy 5JAyRBaz1aHDCwspRfHvj+wMUpxzjGJLXiduM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; b=mKZU79WKNFkfMc6/qfzQBz52U1YDYfagU3dLvNxusuvQt92KCp92TXLuZbtvZc0qvG vPYmOql/UUPOy4RnFQ178lkrhXMFFV70BQVRR+oI9Wm2QXD17o14joa2CA6xBfpZYZWp IRVF4q8NQPMfR8p7Jng3Yc42GNy+trnqNOymw= Original-Received: by 10.87.67.13 with SMTP id u13mr11036933fgk.66.1275391309529; Tue, 01 Jun 2010 04:21:49 -0700 (PDT) Original-Received: from localhost ([88.103.132.186]) by mx.google.com with ESMTPS id g28sm9489936fkg.58.2010.06.01.04.21.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Jun 2010 04:21:48 -0700 (PDT) In-Reply-To: <87aargw8uc.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Mon, 31 May 2010 14:31:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 01 Jun 2010 07:22:03 -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:37471 Archived-At: 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=3D 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)? =C5=A0t=C4=9Bp=C3=A1n