From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#36459: 27.0.50; octave-mode ElDoc support bug Date: Mon, 1 Jul 2019 11:58:35 -0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000793b68058c9fdd82" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="37034"; mail-complaints-to="usenet@blaine.gmane.org" To: 36459@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 01 17:12:21 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hhxye-0009S2-3r for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jul 2019 17:12:20 +0200 Original-Received: from localhost ([::1]:59858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhxyc-0001qk-SS for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jul 2019 11:12:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34296) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhxmm-0001Q9-F4 for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2019 11:00:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hhxmk-0007fG-JI for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2019 11:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35310) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hhxmk-0007ev-EB for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2019 11:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hhxmk-0006xT-A9 for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2019 11:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Jul 2019 15:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36459 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.156199315326647 (code B ref -1); Mon, 01 Jul 2019 15:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Jul 2019 14:59:13 +0000 Original-Received: from localhost ([127.0.0.1]:48854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hhxlw-0006vi-BZ for submit@debbugs.gnu.org; Mon, 01 Jul 2019 10:59:12 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hhxlu-0006vb-AT for submit@debbugs.gnu.org; Mon, 01 Jul 2019 10:59:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34008) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhxlr-0000hc-Ao for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2019 10:59:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hhxlm-0006vx-UB for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2019 10:59:06 -0400 Original-Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:38611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hhxle-0006m9-Dg for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2019 10:58:58 -0400 Original-Received: by mail-lf1-x136.google.com with SMTP id b11so9025538lfa.5 for ; Mon, 01 Jul 2019 07:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=n1iwscFaEGFcELR/AsnJX253DUV66OoNZPbjnBt6MJM=; b=ODNoD69sDKV8EkoIjAXCPhLQXVv01oTQS1U+0R5bXa94s3bqDQdv13PjhXLRwOCeln bsKkX7JtS1bw3rZlLhtXyZYgNTtOf9P9+29ihcyQXfJtZQc8FX7UjIAw0yirKbgmd199 /V5zjuZtQr3zKNP3daiRyZKumC+qExC1gsoYi6qBb0grPCVZBZnUG0/fht22rv+wMHDm E9ohTt4dBu1Ol3Fjn96TYbrrRVfyDfZIfJF++N5SOGl5beasCCfNmsMYOdFNP34vfcM1 tsXyRE8SJPRgBg9Tj1u3O1MVmvrxpy48hWKxmdev630yK6jxcQs2ZIQN1S0bK6Z1PcyE mMXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=n1iwscFaEGFcELR/AsnJX253DUV66OoNZPbjnBt6MJM=; b=HeE8y3tKyegiblI8B1/hYuj4hGPAF2VWCScVaWJVX2QwrCoevZ+vfUFhYHnTvY3sXl M8ecaVNN5DA2ZMjiyeMVJwQuMpAv8g470wxlRrMmlhOtqvzt5a+dkXRtFuNcaYS5Cy9J rHzWISEDX5lremVSYHi3YzFE4FhtaBR+TCEPdacShP6+87Jf9yyj2LO9kGJhtW+G7cPt eh+RSoFgPYZ3pTrafxXMt5vLONBw1Dj6RRP8qhE8CCfwrDu2B0ifR7ExY/oLYGIBX+TP 5xXiapXdsdS9Qh96VRse1i4ZgWvNY1W2Ts++acKLJEQeDDfh5sOMU7PWTSKHH0Mtr20P RjYg== X-Gm-Message-State: APjAAAUeBfvduqtiCAcFsoe2EVvX2WQepxTU+K7/3Llfwc5MLIYTSCJy 5Y89bx6gpy5Dc8GC5ucns2LEIHVrER+sXwhTKaZZQ5hGS5c= X-Google-Smtp-Source: APXvYqzgbgNZ59fHPLhTeNZGjITLq6vZSLrz41YoZZ2BWaCUrIqUmEsikCVPRK9iWPFSyzAKiK9m+6nyZCukYIitCdo= X-Received: by 2002:ac2:5e9b:: with SMTP id b27mr10992898lfq.45.1561993126950; Mon, 01 Jul 2019 07:58:46 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:161938 Archived-At: --000000000000793b68058c9fdd82 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Recipe to reproduce the bug: 1) emacs -Q 2) M-x run-octave 3) Type something that doesn't involve a octave function call, like the following matrix. Type it slowly, to give octave-eldoc-function time to run= : A =3D [10 1;2 3] (Of course, if you don't want to type slowly, set eldoc-idle-delay to 0). 4) When point is past a whitespace, such as in: A |=3D (with | being where point is) the echo area displays: 'A' not found Similar situation when point is at: A =3D [10 |1;2 3] Echo area here displays: '10' not found. So, for every symbol that is not a function, 'not found' might be displayed. I think it is a bug, since as a a user I would expect that if I'm not about to call a function, ElDoc shouldn't be displaying anything. Best regards, Mauro. In GNU Emacs 27.0.50 (build 1, i686-pc-linux-gnu, GTK+ Version 3.18.9) of 2019-06-30 built on the-blackbeard Repository revision: fd9ea1e511ba3b1f5d338c3fc8faf0b85df951f9 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 16.04.6 LTS Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. delete-backward-char: Text is read-only [2 times] Quit You can run the command =E2=80=98run-octave=E2=80=99 with M-x ru-o RET Configured using: 'configure CFLAGS=3D-O3' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.utf8 value of $XMODIFIERS: locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-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 line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils thingatpt compile octave smie easymenu comint ansi-color ring time-date elec-pair mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 8 53509 7386) (symbols 24 6753 1) (strings 16 18539 2692) (string-bytes 1 611047) (vectors 8 11206) (vector-slots 4 137069 15278) (floats 8 17 36) (intervals 28 230 0) (buffers 564 12) (heap 1024 7670 759)) --000000000000793b68058c9fdd82 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello

Recipe to reproduce the bug:
1) emacs -Q2) M-x run-octave
3) Type something that doesn't involve a octave = function call, like the
following matrix. Type it slowly, to give octave= -eldoc-function time to run:
A =3D [10 1;2 3]

(Of course, if you = don't want to type slowly, set eldoc-idle-delay to 0).

4) When p= oint is past a whitespace, such as in:
A |=3D
(with | being where poi= nt is)
the echo area displays: 'A' not found
Similar situatio= n when point is at:
A =3D [10 |1;2 3]
Echo area here displays: '= 10' not found.

So, for every symbol that is not a function, '= ;not found' might be
displayed.=C2=A0 I think it is a bug, since as = a a user I would expect that
if I'm not about to call a function, El= Doc shouldn't be displaying
anything.

Best regards,
Mauro.=



In GNU Emacs 27.0.50 (build 1, i686-pc-linux-gnu, GTK+ Vers= ion 3.18.9)
=C2=A0of 2019-06-30 built on the-blackbeard
Repository re= vision: fd9ea1e511ba3b1f5d338c3fc8faf0b85df951f9
Repository branch: mast= er
Windowing system distributor 'The X.Org Foundation', version = 11.0.11906000
System Description: Ubuntu 16.04.6 LTS

Recent messa= ges:
For information about GNU Emacs and the GNU system, type C-h C-a.delete-backward-char: Text is read-only [2 times]
Quit
You can run = the command =E2=80=98run-octave=E2=80=99 with M-x ru-o RET

Configure= d using:
=C2=A0'configure CFLAGS=3D-O3'

Configured featur= es:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOT= IFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT = ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS PDUMPER LCMS2 GMP
=
Important settings:
=C2=A0 value of $LANG: en_US.utf8
=C2=A0 valu= e of $XMODIFIERS:
=C2=A0 locale-coding-system: utf-8-unix

Major = mode: Lisp Interaction

Minor modes in effect:
=C2=A0 tooltip-mode= : t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 electr= ic-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t<= br>=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 glo= bal-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mo= de: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t<= br>=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 = transient-mark-mode: t

Load-path shadows:
None found.

Feat= ures:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loadd= efs
format-spec rfc822 mml mml-sec password-cache epa derived epg epg-co= nfig
gnus-util rmail rmail-loaddefs text-property-search seq byte-opt gv=
bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parserfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail
rfc= 2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils thingatpt
compile = octave smie easymenu comint ansi-color ring time-date elec-pair
mule-uti= l tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mw= heel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image r= egexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode = lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer sel= ect scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/t= ty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese= tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek= romanian slovak czech european
ethiopic indian cyrillic chinese composi= te charscript charprop
case-table epa-hook jka-cmpr-hook help simple abb= rev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-fa= ce macroexp files
text-properties overlay sha1 md5 base64 format env cod= e-pages mule
custom widget hashtable-print-readable backquote threads db= usbind
inotify lcms2 dynamic-setting system-font-setting font-render-set= ting
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)<= br>
Memory information:
((conses 8 53509 7386)
=C2=A0(symbols 24 6= 753 1)
=C2=A0(strings 16 18539 2692)
=C2=A0(string-bytes 1 611047)=C2=A0(vectors 8 11206)
=C2=A0(vector-slots 4 137069 15278)
=C2=A0(f= loats 8 17 36)
=C2=A0(intervals 28 230 0)
=C2=A0(buffers 564 12)
= =C2=A0(heap 1024 7670 759))
--000000000000793b68058c9fdd82--