From debbugs-submit-bounces@debbugs.gnu.org Mon May 31 08:32:12 2010 Received: (at submit) by debbugs.gnu.org; 31 May 2010 12:32:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ4A7-0002j4-54 for submit@debbugs.gnu.org; Mon, 31 May 2010 08:32:12 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ4A4-0002iy-BF for submit@debbugs.gnu.org; Mon, 31 May 2010 08:32:10 -0400 Received: from lists.gnu.org ([199.232.76.165]:35667) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OJ4A2-0005mo-0F for submit@debbugs.gnu.org; Mon, 31 May 2010 08:32:06 -0400 Received: from [140.186.70.92] (port=46946 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ49z-0004kh-Nd for bug-gnu-emacs@gnu.org; Mon, 31 May 2010 08:32:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJ49x-00062X-8P for bug-gnu-emacs@gnu.org; Mon, 31 May 2010 08:32:03 -0400 Received: from deliver.uni-koblenz.de ([141.26.64.15]:18729) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ49w-00061S-Py for bug-gnu-emacs@gnu.org; Mon, 31 May 2010 08:32:01 -0400 Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 842A078A4856 for ; Mon, 31 May 2010 14:31:58 +0200 (CEST) Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10775-10 for ; Mon, 31 May 2010 14:31:55 +0200 (CEST) X-CHKRCPT: Envelopesender noch thorn@fastmail.fm Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) by deliver.uni-koblenz.de (Postfix) with ESMTP id EFC7878A4852 for ; Mon, 31 May 2010 14:31:55 +0200 (CEST) From: Tassilo Horn To: bug-gnu-emacs@gnu.org Subject: 24.0.50; eldoc-documentation-function only called when changing line Date: Mon, 31 May 2010 14:31:55 +0200 Message-ID: <87aargw8uc.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) In a home-brewn language mode, I use the eldoc facilties. --8<---------------cut here---------------start------------->8--- (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)) --8<---------------cut here---------------end--------------->8--- 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. In GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.9) of 2010-05-30 on thinkpad Windowing system distributor `The X.Org Foundation', version 11.0.10801000 configured using `configure '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-24' '--infodir=/usr/share/info/emacs-24' '--with-crt-dir=/usr/lib64' '--with-sound' '--with-x' '--without-gconf' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=native -O2 -pipe' 'LDFLAGS=-Wl,-z,lazy'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Help Minor modes in effect: shell-dirtrack-mode: t recentf-mode: t window-number-meta-mode: t window-number-mode: t exec-abbrev-cmd-mode: t global-subword-mode: t subword-mode: t savehist-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t view-mode: t Recent input: C-x b C-a C-k C-k C-x C-s C-h v C-x b C-g ESC [ > 0 ; 1 1 5 ; 0 c C-s e l d o c C-g C-g C-x k RET C-g C-x # ( M e s s m a s s e s s SPC " C a l l e r d ! C-x C-e C-x b C-a M-x r e b Recent messages: Quit Loading vc-bzr...done When done with a buffer, type C-x # Quit Buffer `ChangeLog' still has clients; kill it? (y or n) Quit Mark set [2 times] tg-documentation-function Called! [2 times] byte-code: Beginning of buffer Load-path shadows: ~/repos/el/org-mode/lisp/org-mouse hides /usr/share/emacs/24.0.50/lisp/org/org-mouse ~/repos/el/org-mode/lisp/org-clock hides /usr/share/emacs/24.0.50/lisp/org/org-clock ~/repos/el/org-mode/lisp/org-vm hides /usr/share/emacs/24.0.50/lisp/org/org-vm ~/repos/el/org-mode/lisp/org-table hides /usr/share/emacs/24.0.50/lisp/org/org-table ~/repos/el/org-mode/lisp/org-compat hides /usr/share/emacs/24.0.50/lisp/org/org-compat ~/repos/el/org-mode/lisp/org-bbdb hides /usr/share/emacs/24.0.50/lisp/org/org-bbdb ~/repos/el/org-mode/lisp/org-habit hides /usr/share/emacs/24.0.50/lisp/org/org-habit ~/repos/el/org-mode/lisp/org-agenda hides /usr/share/emacs/24.0.50/lisp/org/org-agenda ~/repos/el/org-mode/lisp/org-mhe hides /usr/share/emacs/24.0.50/lisp/org/org-mhe ~/repos/el/org-mode/lisp/org-beamer hides /usr/share/emacs/24.0.50/lisp/org/org-beamer ~/repos/el/org-mode/lisp/org-remember hides /usr/share/emacs/24.0.50/lisp/org/org-remember ~/repos/el/org-mode/lisp/org-ctags hides /usr/share/emacs/24.0.50/lisp/org/org-ctags ~/repos/el/org-mode/lisp/org-mobile hides /usr/share/emacs/24.0.50/lisp/org/org-mobile ~/repos/el/org-mode/lisp/org-macs hides /usr/share/emacs/24.0.50/lisp/org/org-macs ~/repos/el/org-mode/lisp/org-gnus hides /usr/share/emacs/24.0.50/lisp/org/org-gnus ~/repos/el/org-mode/lisp/org-protocol hides /usr/share/emacs/24.0.50/lisp/org/org-protocol ~/repos/el/org-mode/lisp/org-irc hides /usr/share/emacs/24.0.50/lisp/org/org-irc ~/repos/el/org-mode/lisp/org-indent hides /usr/share/emacs/24.0.50/lisp/org/org-indent ~/repos/el/org-mode/lisp/org-jsinfo hides /usr/share/emacs/24.0.50/lisp/org/org-jsinfo ~/repos/el/org-mode/lisp/org-colview hides /usr/share/emacs/24.0.50/lisp/org/org-colview ~/repos/el/org-mode/lisp/org-bibtex hides /usr/share/emacs/24.0.50/lisp/org/org-bibtex ~/repos/el/org-mode/lisp/org-html hides /usr/share/emacs/24.0.50/lisp/org/org-html ~/repos/el/org-mode/lisp/org-inlinetask hides /usr/share/emacs/24.0.50/lisp/org/org-inlinetask ~/repos/el/org-mode/lisp/org-mac-message hides /usr/share/emacs/24.0.50/lisp/org/org-mac-message ~/repos/el/org-mode/lisp/org-publish hides /usr/share/emacs/24.0.50/lisp/org/org-publish ~/repos/el/org-mode/lisp/org-timer hides /usr/share/emacs/24.0.50/lisp/org/org-timer ~/repos/el/org-mode/lisp/org-icalendar hides /usr/share/emacs/24.0.50/lisp/org/org-icalendar ~/repos/el/org-mode/lisp/org-exp-blocks hides /usr/share/emacs/24.0.50/lisp/org/org-exp-blocks ~/repos/el/org-mode/lisp/org-entities hides /usr/share/emacs/24.0.50/lisp/org/org-entities ~/repos/el/org-mode/lisp/org-footnote hides /usr/share/emacs/24.0.50/lisp/org/org-footnote ~/repos/el/org-mode/lisp/org-plot hides /usr/share/emacs/24.0.50/lisp/org/org-plot ~/repos/el/org-mode/lisp/org-exp hides /usr/share/emacs/24.0.50/lisp/org/org-exp ~/repos/el/org-mode/lisp/org-archive hides /usr/share/emacs/24.0.50/lisp/org/org-archive ~/repos/el/org-mode/lisp/org-id hides /usr/share/emacs/24.0.50/lisp/org/org-id ~/repos/el/org-mode/lisp/org-faces hides /usr/share/emacs/24.0.50/lisp/org/org-faces ~/repos/el/org-mode/lisp/org-mew hides /usr/share/emacs/24.0.50/lisp/org/org-mew ~/repos/el/org-mode/lisp/org-datetree hides /usr/share/emacs/24.0.50/lisp/org/org-datetree ~/repos/el/org-mode/lisp/org-rmail hides /usr/share/emacs/24.0.50/lisp/org/org-rmail ~/repos/el/org-mode/lisp/org-list hides /usr/share/emacs/24.0.50/lisp/org/org-list ~/repos/el/org-mode/lisp/org-info hides /usr/share/emacs/24.0.50/lisp/org/org-info ~/repos/el/org-mode/lisp/org-wl hides /usr/share/emacs/24.0.50/lisp/org/org-wl ~/repos/el/org-mode/lisp/org-attach hides /usr/share/emacs/24.0.50/lisp/org/org-attach ~/repos/el/org-mode/lisp/org hides /usr/share/emacs/24.0.50/lisp/org/org ~/repos/el/org-mode/lisp/org-docview hides /usr/share/emacs/24.0.50/lisp/org/org-docview ~/repos/el/org-mode/lisp/org-latex hides /usr/share/emacs/24.0.50/lisp/org/org-latex ~/repos/el/org-mode/lisp/org-xoxo hides /usr/share/emacs/24.0.50/lisp/org/org-xoxo ~/repos/el/org-mode/lisp/org-freemind hides /usr/share/emacs/24.0.50/lisp/org/org-freemind ~/repos/el/org-mode/lisp/org-install hides /usr/share/emacs/24.0.50/lisp/org/org-install ~/repos/el/org-mode/lisp/org-ascii hides /usr/share/emacs/24.0.50/lisp/org/org-ascii ~/repos/el/org-mode/lisp/org-feed hides /usr/share/emacs/24.0.50/lisp/org/org-feed ~/repos/el/org-mode/lisp/org-w3m hides /usr/share/emacs/24.0.50/lisp/org/org-w3m ~/repos/el/org-mode/lisp/org-docbook hides /usr/share/emacs/24.0.50/lisp/org/org-docbook ~/repos/el/org-mode/lisp/org-crypt hides /usr/share/emacs/24.0.50/lisp/org/org-crypt ~/repos/el/org-mode/lisp/org-src hides /usr/share/emacs/24.0.50/lisp/org/org-src Features: (shadow emacsbug vc-bzr sha1 hex-util add-log tramp-imap tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp shell tramp-compat trampver etags debug cl-specs edebug find-func icalendar org-icalendar cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs find-dired grep sgml-mode nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok hippie-exp vc-dispatcher vc-svn newcomment flow-fill sort gnus-cite ansi-color gnus-bcklg gnus-async gnus-ml qp gnus-topic parse-time nnml auth-source netrc nndraft nnmh nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache multi-isearch epa-file epa epg greqlscript-mode greql-mode tg-mode generic th-latex paredit wtf cus-edit cus-start cus-load rdictcc solar cal-dst holidays hol-loaddefs appt diary-lib diary-loaddefs vc-git hl-line org-w3m org-irc org-jsinfo org-infojs org-html org-exp org-exp-blocks org-info org-gnus org-docview org-bibtex org-bbdb org-protocol org-attach org-id org-agenda remember org-remember org-datetree org org-footnote org-src org-list org-faces org-compat org-entities org-macs org-install cal-menu calendar cal-loaddefs dired-x dired-aux pcomplete em-term term ehelp electric esh-var esh-io esh-cmd esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-util esh-module esh-mode th-boxquote boxquote rect highlight-symbol hi-lock footnote smtpmail ecomplete bbdb-hooks bbdb-gnus gnus-art mm-uu mml2015 epg-config mm-view smime password-cache dig gnus-sum nnoo gnus-group time-date gnus-undo nnmail mail-source format-spec gnus-start gnus-spec gnus-int gnus-range message idna sendmail mml mml-sec mm-decode mm-bodies mm-encode gmm-utils mailheader gnus-win bbdb-snarf mail-extr rfc822 bbdb-com warnings mailabbrev info edit-server server yasnippet dropdown-list help-mode view noutline outline browse-kill-ring derived recentf tree-widget sr-speedbar speedbar sb-image ezimage dframe assoc ido anything-config compile comint ring semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile mode-local cedet imenu w3m-bookmark w3m browse-url doc-view easymenu jka-compr image-mode w3m-hist w3m-fb w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util bookmark pp dired rx ffap thingatpt anything window-number uniquify exec-abbrev-cmd easy-mmode cl cl-19 subword saveplace savehist paren th-private edmacro kmacro th-common mm-url gnus gnus-ems nnheader gnus-util mail-utils wid-edit url-http tls url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-cookie url-util url-parse url-gw url-vars mm-util mail-prsvr windmove disp-table swank-clojure-autoloads advice help-fns advice-preload clojure-mode-autoloads slime-repl-autoloads slime-autoloads package reporter site-gentoo w3m-load preview-latex bbdb-autoloads bbdb regexp-opt timezone tex-site auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 01 07:22:00 2010 Received: (at 6321) by debbugs.gnu.org; 1 Jun 2010 11:22:00 +0000 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 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 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= Received: by 10.87.67.13 with SMTP id u13mr11036933fgk.66.1275391309529; Tue, 01 Jun 2010 04:21:49 -0700 (PDT) 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) From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= To: Tassilo Horn Subject: Re: bug#6321: 24.0.50; eldoc-documentation-function only called when changing line In-Reply-To: <87aargw8uc.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Mon, 31 May 2010 14:31:55 +0200") References: <87aargw8uc.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Date: Tue, 01 Jun 2010 13:21:25 +0200 Message-ID: <87ljazf16y.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 6321 Cc: 6321@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 01 08:02:05 2010 Received: (at 6321) by debbugs.gnu.org; 1 Jun 2010 12:02:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJQAW-0006Yo-Oi for submit@debbugs.gnu.org; Tue, 01 Jun 2010 08:02:04 -0400 Received: from deliver.uni-koblenz.de ([141.26.64.15]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJQAU-0006YP-Cp for 6321@debbugs.gnu.org; Tue, 01 Jun 2010 08:02:03 -0400 Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 89D0378A4697; Tue, 1 Jun 2010 14:01:56 +0200 (CEST) Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14499-06; Tue, 1 Jun 2010 14:01:55 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Received: from thinkpad.localnet (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id C603C78A4368; Tue, 1 Jun 2010 14:01:55 +0200 (CEST) From: Tassilo Horn To: =?utf-8?q?=C5=A0t=C4=9Bp=C3=A1n_N=C4=9Bmec?= Subject: Re: bug#6321: 24.0.50; eldoc-documentation-function only called when changing line Date: Tue, 1 Jun 2010 14:01:55 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.34-gentoo; KDE/4.4.3; x86_64; ; ) References: <87aargw8uc.fsf@thinkpad.tsdh.de> <87ljazf16y.fsf@gmail.com> In-Reply-To: <87ljazf16y.fsf@gmail.com> X-Face: `TY6r/ws=N5uqO1E`M=Sups<}n%T[E^o_?MJj< =?utf-8?q?O4j=265ljV6lU=7DcXU7oftH=26/x=5F=7EK=7B=26zv9=7D=0A=09sB=7D5/Ea=5B?= =?utf-8?q?hU=7BCS=23=3F=3F0=3F=3Fn?=@sX+ft]?{(l?, mp"a`u Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 6321 Cc: 6321@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) On Tuesday 01 June 2010 13:21:25 =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec wrote: Hi =C5=A0t=C4=9Bp=C3=A1n, > > (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. >=20 > 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. Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 01 08:33:04 2010 Received: (at submit) by debbugs.gnu.org; 1 Jun 2010 12:33:04 +0000 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 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 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 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 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 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 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/ To: bug-gnu-emacs@gnu.org connect(): No such file or directory From: Thierry Volpiatto Subject: Re: bug#6321: 24.0.50; eldoc-documentation-function only called when changing line Date: Tue, 01 Jun 2010 14:29:20 +0200 Organization: ThierryVolpiatto Lines: 52 Message-ID: <87sk570wdb.fsf@tux.homenetwork> References: <87aargw8uc.fsf@thinkpad.tsdh.de> <87ljazf16y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) 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/ From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 01 09:32:24 2010 Received: (at submit) by debbugs.gnu.org; 1 Jun 2010 13:32:24 +0000 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 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 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 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 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 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 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/ To: bug-gnu-emacs@gnu.org connect(): No such file or directory From: Thierry Volpiatto Subject: Re: bug#6321: 24.0.50; eldoc-documentation-function only called when changing line Date: Tue, 01 Jun 2010 15:28:38 +0200 Organization: ThierryVolpiatto Lines: 43 Message-ID: <87ocfu286x.fsf@tux.homenetwork> References: <87aargw8uc.fsf@thinkpad.tsdh.de> <87ljazf16y.fsf@gmail.com> <201006011401.55622.tassilo@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) 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/ From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 01 09:48:59 2010 Received: (at control) by debbugs.gnu.org; 1 Jun 2010 13:48:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJRpy-0007Ly-TD for submit@debbugs.gnu.org; Tue, 01 Jun 2010 09:48:59 -0400 Received: from fg-out-1718.google.com ([72.14.220.159]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJRpy-0007Ls-06 for control@debbugs.gnu.org; Tue, 01 Jun 2010 09:48:58 -0400 Received: by fg-out-1718.google.com with SMTP id d23so931426fga.15 for ; Tue, 01 Jun 2010 06:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=cPP54geXvCsol58gZZzSUny+czIQcHGLgpEBMeL9sAw=; b=mfLFuy9FiETE2/Jth7CKfQ6KoLwrML8NxSAHpJjfifWZq3AnlUtT/tfXFZYEHRN3J3 qy0nNMXvMfkLRsy+VadFfQh6II8NBiFkpqfpwb2yo3a32b2pLBOy5WlMar0CMaNaLgow P0u5LRYVLbBTEpCq994jUBWZYhcgR9G38FzhE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=eCWOnw47Vnn4m9j+0Hin1w/14S2hRaqphxnLkUCobOvAjbIyz+aeWW8MEStP4bNYJu tu+p133A92xyoY2NsyR0f/oWIxF3dMT+qugDi9nzH/5iSbeF371kpjkEmmlAnw+Drr1e wwmRKMdsnsi8JLN1orGxits31fLBlQqLX3AvQ= Received: by 10.204.3.198 with SMTP id 6mr675767bko.205.1275400132204; Tue, 01 Jun 2010 06:48:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.32.18 with HTTP; Tue, 1 Jun 2010 06:48:32 -0700 (PDT) From: Juanma Barranquero Date: Tue, 1 Jun 2010 15:48:32 +0200 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.4 (-) merge 6265 6321 quit From unknown Sun Jun 22 00:10:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 30 Jun 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator