From unknown Mon Jun 23 07:47:58 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#36459 <36459@debbugs.gnu.org> To: bug#36459 <36459@debbugs.gnu.org> Subject: Status: 27.0.50; octave-mode ElDoc support bug Reply-To: bug#36459 <36459@debbugs.gnu.org> Date: Mon, 23 Jun 2025 14:47:58 +0000 retitle 36459 27.0.50; octave-mode ElDoc support bug reassign 36459 emacs submitter 36459 Mauro Aranda severity 36459 normal tag 36459 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 01 10:59:12 2019 Received: (at submit) by debbugs.gnu.org; 1 Jul 2019 14:59:13 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2 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 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 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) MIME-Version: 1.0 From: Mauro Aranda Date: Mon, 1 Jul 2019 11:58:35 -0300 Message-ID: Subject: 27.0.50; octave-mode ElDoc support bug To: bug-gnu-emacs Content-Type: multipart/alternative; boundary="000000000000793b68058c9fdd82" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::136 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --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-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 10:43:56 2019 Received: (at 36459) by debbugs.gnu.org; 3 Jul 2019 14:43:56 +0000 Received: from localhost ([127.0.0.1]:49916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1higUF-0001BO-T1 for submit@debbugs.gnu.org; Wed, 03 Jul 2019 10:43:56 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:37195) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1higUD-0001BB-Vc for 36459@debbugs.gnu.org; Wed, 03 Jul 2019 10:43:54 -0400 Received: by mail-wr1-f42.google.com with SMTP id v14so3144658wrr.4 for <36459@debbugs.gnu.org>; Wed, 03 Jul 2019 07:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=DXzQl273O4jCInXeDL6anDWPHLGHGWMS4nBK0Wy1bCk=; b=ov3DHjpjj3fv+Q5/NjJ8BlWxTyZbJaYVu4NGqee2HLvUPjo3ruJ+5v1PUxx1UkAcYX Ret37qsspocw/LRcsJuoWP/wPt5kUiBqduNGw8pUjCs/h5kui/PG62exI4h18YNBHa4p rwvUJFscOMq4eoyKblA7xAzk1etI4rwN8Fm0CJW1ygcYAHCrfkupIiBmP8dQxVMQzJec rsrpDQRKeh5cmmJIx8j+NQ0FV0gKPMXRKQw1Pl2rb6eFaOcndt/01YQXznt7uhxZHjW1 lNNDB33lDssCG2W6Vj4wKUYMgUjp3SiIR/SWupM3UbynRjdweGWQppWrBhaiQQzoPapF NFGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=DXzQl273O4jCInXeDL6anDWPHLGHGWMS4nBK0Wy1bCk=; b=lujPb1+Fq5DNXQscrKWVGUwrW1dggEASHO1P5Qqu0OxG3ARI9mhXGH/F3z8RMS6N3K b91o7t0VaOk3TB6CMrxZO3KPwTqkKSc6dsC8yFcaOgACDeDSyaT/KyVyhOVTdKUI7kC1 4a1n1XUQI+OhPt2DGBmMDaaiLraGsaYZ9aWPv+KrRshlJAjlH9ePW5MYLYpqVqQ0KGmd mDGYOWrAAwwSEdwcgU0Pc+o6foNRR1rK5bDH+K3B4Ofe0hUVDN15hPthYrR2qmmtqCSE qZzoh8+zz/UGGAOIH/XE96+k1E3SZTzQOj60REY9efkjbCJfX9AiqeSOYJz1qaQs60B+ 140A== X-Gm-Message-State: APjAAAV+HwZzeSf/OzroiTA9XzOKyGjUXPVUf3fzB0WYNxg5so5yYDQw Z6SqzaPQXGO0BU5EDUGuIhw= X-Google-Smtp-Source: APXvYqwKej9bS5P6U7pCTEsQB1RypGZ239YlC2polyk0XOyNjrwUOUm39QUTrwpBM4Ggw/n5q2cw2A== X-Received: by 2002:a5d:4acf:: with SMTP id y15mr23165069wrs.208.1562165027476; Wed, 03 Jul 2019 07:43:47 -0700 (PDT) Received: from [192.168.0.195] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id d10sm2759808wro.18.2019.07.03.07.43.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jul 2019 07:43:46 -0700 (PDT) Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug To: 36459@debbugs.gnu.org, Leo Liu References: From: Dmitry Gutov Message-ID: Date: Wed, 3 Jul 2019 17:43:45 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 36459 Cc: Mauro Aranda X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Paging the original author. Leo, are you still using Octave? What do you think about the issue? On 01.07.2019 17:58, Mauro Aranda wrote: > 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 = [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 |= > (with | being where point is) > the echo area displays: 'A' not found > Similar situation when point is at: > A = [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. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 04 12:15:35 2019 Received: (at 36459) by debbugs.gnu.org; 4 Jul 2019 16:15:35 +0000 Received: from localhost ([127.0.0.1]:51795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hj4OU-0004aX-QT for submit@debbugs.gnu.org; Thu, 04 Jul 2019 12:15:35 -0400 Received: from mail-lf1-f42.google.com ([209.85.167.42]:33497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hj4OS-0004SB-QE for 36459@debbugs.gnu.org; Thu, 04 Jul 2019 12:15:33 -0400 Received: by mail-lf1-f42.google.com with SMTP id y17so4604715lfe.0 for <36459@debbugs.gnu.org>; Thu, 04 Jul 2019 09:15:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ocw/GP6zQr/WLbQ7BTygoddlGuUwWEPRaVERk2njEqU=; b=Zfxfr9OwGwaDURzKI1QXzC3D9hBjAycRmha+vED/xEbcKqGQpWcVU5iPvhx6hoWEQr dcMETQyq8x+K/sX8LoMwh8dgFU4ll5Uq8wf4U3NaflNcKrbTEyRQ3wmNUH5HICYH98lU HuEmT3uUwQsmiPufRyK1glrprgGCLJ7EapYB6oohL6SZw10q/Dop2IuWgYUXNzEonm4x zWYagpeziommNx3rI4SSkoelnAjYAjaMuzW2ZEdkdsw4beqA6JvnlYYAib5SQGYUfkcW AA0phy5NgaPPJoY9dpSZCI4N6jyYR+ZOtx80C6ZMgIKy7IQ47DRo2GHaYLDQEeRuw39M dc7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ocw/GP6zQr/WLbQ7BTygoddlGuUwWEPRaVERk2njEqU=; b=HQPo9cn2FYELyLRQLmaJeW9YP+K29JYwMMT1Cs+htfQHSWPVRCuMcwn7LURQ1OtukZ viJPK/QnaU3kQV8Rz+FE9GtsxiZ+CRoEHARR+Tn2FLgeSM6RLCcJ+Fo7CHTbPORpzuxU jkisryV8OXAF2u43wOohaR+MpZVW4COy700Hx6jlrM0CrYJ3N/MEVbBT+BNEwD/wloaG yQhU+7IGz8tI3hbcCQ+BnQzJzWZzFOpfwxg0Ofs7F1Hxe1Wd3bkAdxOWH/jNo0rPNtUL yULaW3f0FQjLWEDHhzkOEMyp9BpfSeh9uOTeXqtAG/0EnzRf1t2yr+AbOP83+4bOTJxS wZrw== X-Gm-Message-State: APjAAAUQF5HJruJSHLptyN5fUiTQuU6OHs8361okcGQ9Bh7FXJr+d3+i oOYSMq57epyHjwnFudAU3Aua6A5SdJm0F7w1/mw= X-Google-Smtp-Source: APXvYqw05RxQmvAUekEtPYj0+D/aBPLFKfN4XEB28N7sAwC2fVt8VVM/B6EV76KDVDt9bCMsqvhMqoBMMvNiJgCw+Ik= X-Received: by 2002:a19:c7ca:: with SMTP id x193mr7141988lff.151.1562256926676; Thu, 04 Jul 2019 09:15:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Mauro Aranda Date: Thu, 4 Jul 2019 13:15:14 -0300 Message-ID: Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug To: Dmitry Gutov Content-Type: multipart/alternative; boundary="000000000000299969058cdd496c" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36459 Cc: 36459@debbugs.gnu.org, Leo Liu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000299969058cdd496c Content-Type: text/plain; charset="UTF-8" I forgot to say that my version of GNU Octave is 4.0.0 The problem is with the regexp used in octave-eldoc-function-signatures. It matches the signatures of the function, that are output with a call to the GNU Octave function print_usage. It also matches an old-style of outputting these function signatures, which was: usage: bar = foo () This output was also generated by calling the GNU Octave function usage, like this: usage ("bar = foo ()") But usage has been deprecated in GNU Octave, I think in major version 4. It's still present in my version, but I don't know about latest releases (there's a recent GNU Octave 5.1.0) I don't know why the author chose print_usage over the GNU Octave function help, but when print_usage fails, due to being called with a nonexistent function in his argument, like this: print_usage ('A') An error message like this one is output: error: print_usage: 'A' not found The regexp used is wrongly matching this line and therefore octave-eldoc-function-signatures is not returning nil, as it should in this case. Best regards, Mauro. --000000000000299969058cdd496c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I forgot to say that my version of GNU Oc= tave is 4.0.0

The problem is with the regexp used in
octave-eldoc= -function-signatures.=C2=A0 It matches the signatures of the
function, t= hat are output with a call to the GNU Octave function
print_usage.=C2=A0= It also matches an old-style of outputting these function
signatures, w= hich was:
usage: =C2=A0bar =3D foo ()

This output was also generated by calling the GNU Octave= function usage,
like this:
usage ("bar =3D foo ()")
But usage has been deprecated in GNU Octave, I think in major version 4.<= /div>
It's still present in my version, but I don't know about = latest releases
(there's a recent GNU Octave 5.1.0)
=
I don't know why the author chose print_usage over the GNU Octavefunction help, but when print_usage fails, due to being called with a
= nonexistent function in his argument, like this:
print_usage ('A'= ;)
An error message like this one is output:
error: print_usage: '= ;A' not found

The regexp used is wrongly matching this line and = therefore
octave-eldoc-function-signatures is not returning nil, as it s= hould in
this case.

Best regards,
Mauro.

--000000000000299969058cdd496c-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 06 09:02:24 2019 Received: (at 36459) by debbugs.gnu.org; 6 Jul 2019 13:02:24 +0000 Received: from localhost ([127.0.0.1]:54380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjkKe-0006AB-9s for submit@debbugs.gnu.org; Sat, 06 Jul 2019 09:02:24 -0400 Received: from mail-pg1-f182.google.com ([209.85.215.182]:33006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjkKc-00069v-Fb for 36459@debbugs.gnu.org; Sat, 06 Jul 2019 09:02:22 -0400 Received: by mail-pg1-f182.google.com with SMTP id m4so5464357pgk.0 for <36459@debbugs.gnu.org>; Sat, 06 Jul 2019 06:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version; bh=IgBhwUF2wCrM0WNC+r0WwNB41EFSAdVOb2m6wBWGvYE=; b=hKKGAvE8Tz5tXraDZ+zhVUVLD3B7M3t7dqNHXpk8l8RylVR9cXJjNBfJfmpBmTgpj+ WggTvqeFkYLVSy0tNkkVk/dvX97sQnNAQ0HPiUVw50VBKFi1NSDTLoHtJrEk56J/nHSa DcrVQcOaBidvjg4wXPbD2BTEfhU73qCjqC+kUp/0ArNvkS8ctDFYj56Vc3/40Z2RdB5r efMN4bFBdH7X7jW3D7NPLr8mTdvFWbXqi2P0T7wHO8o85UkCHdWw8JnLgxk1itAXT/Dt lOfI/KkscCvn3wQj8q22E2+5n6vP4df4Z0+LIyl6K3rOVF0Iq/5dW9XJPM2O1JsaiXi4 FfEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:face:date :in-reply-to:message-id:user-agent:mime-version; bh=IgBhwUF2wCrM0WNC+r0WwNB41EFSAdVOb2m6wBWGvYE=; b=Vm313lt/igaOGLNi5NJSWsYiECQELNSjoVWYbh3vfp8tPyHr3fFB1hEm3hXMHM9WBF OhMbGDC/fEHEhjrlxW0bICxa9g2kE6TDQHt52nwcRGePfOLHQwSPDDCd8k009IgN7OuP D8a+ZW/+WVBcBVM3l7g3BTIn6m2pfBgU4fMIaI/wm4GNruOhzvJpFz1DBVq3PHYdfoFe 5P5kjcD85HHFkQ0Srg9bbqgoQ8c++Cis07tmOA1y5uwOyXvrd4xaYLtjlS/IgSFdUUaa LYaDe8tfwtSfbBOeFmz61biE217kEA4Q1xBKyBQ/OL1Ul92Ky5K5Mjj7BOt9lGlkwT89 T2lA== X-Gm-Message-State: APjAAAUAZ2nYz1FegFLb1MQrpLhwpr4zDjMCfHgaT1H1AqQxnBgDlNWt 6XqaCgOk6ETN77sV5LeU4mk= X-Google-Smtp-Source: APXvYqw5DjptUsf6hWT3tEDKTbfc2sL0GcAWzlTiyvK2cbTr50vq2KsWGVoEmbc2ClEKdBzcdl1oug== X-Received: by 2002:a17:90a:23ce:: with SMTP id g72mr11601649pje.77.1562418136223; Sat, 06 Jul 2019 06:02:16 -0700 (PDT) Received: from Zeuss-MacBook-Air.local ([58.69.192.179]) by smtp.gmail.com with ESMTPSA id t8sm15119948pfq.31.2019.07.06.06.02.13 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 06 Jul 2019 06:02:15 -0700 (PDT) From: Leo Liu To: Dmitry Gutov Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug References: Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUzRVhbQj4eZqO6SjnT eWpxnMetm5b6/PmidmqrAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1F B9cBBwMLBfKABCMAAAFoSURBVCjPtZI9a8MwEIaFoc7aYDdelQMna0Em3tsSr0XUeE2Q6a22a+v+ fk8fSSBkbDUI6dHpfe9OEvRgiD+ApqKPJgJeB6iUUXWESjUe/ig38AJrhqqvaU2nTIXbNvOQ40fe qdry4kyGoVWsfCQalXpHnJGM01wjWdYbMlXNFdsZDO69m9aqNqxEJqTEgbM5OF7wlEfIoll1Ked4 LbM5X2EdILLokEdmI8z7g5cKED0cuTC930TYhy7ZDekkXVGw/L60TguJePPxcJF48lpsSUWEA/Ju jGFNgJOXc4Hz7TmAdBeu5Ve4AEjOi2/2jfd3cAJZ+IbNrvdjgBZY01b+HTuG3cLws6BJZqVOj/pp T0OqVwx3rFq+QmJwx3loK5JSLEhDIt62+mtC2C+SrAUxEbV6C6v2BRbd6pILBKFpepKZJHgGgrKF sptSUUoczpwg2pQ7ZH1tgs0ou/917mzz6Cs2//C978cv5l07L02orIEAAAAASUVORK5CYII= Date: Sat, 06 Jul 2019 21:02:10 +0800 In-Reply-To: (Dmitry Gutov's message of "Wed, 3 Jul 2019 17:43:45 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (macOS 10.14.5) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36459 Cc: 36459@debbugs.gnu.org, Mauro Aranda X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2019-07-03 17:43 +0300, Dmitry Gutov wrote: > Paging the original author. > > Leo, are you still using Octave? What do you think about the issue? Sadly I never become a serious octave user. It is possible these functions stop working given octave seems to evolve fast these days. On 2019-07-04 13:15 -0300, Mauro Aranda wrote: > I forgot to say that my version of GNU Octave is 4.0.0 > > The problem is with the regexp used in > octave-eldoc-function-signatures. It matches the signatures of the > function, that are output with a call to the GNU Octave function > print_usage. It also matches an old-style of outputting these function > signatures, which was: > usage: bar = foo () > > This output was also generated by calling the GNU Octave function usage, > like this: > usage ("bar = foo ()") > But usage has been deprecated in GNU Octave, I think in major version 4. > It's still present in my version, but I don't know about latest releases > (there's a recent GNU Octave 5.1.0) > > I don't know why the author chose print_usage over the GNU Octave > function help, but when print_usage fails, due to being called with a > nonexistent function in his argument, like this: > print_usage ('A') > An error message like this one is output: > error: print_usage: 'A' not found > > The regexp used is wrongly matching this line and therefore > octave-eldoc-function-signatures is not returning nil, as it should in > this case. Can this bug be fixed by changing the regexp in `octave-eldoc-function-signatures' from "\\s-*\\(?:--[^:]+\\|usage\\):\\s-*\\(.*\\)$" to "\\s-*\\(?:--[^:]+\\|\\_ > Best regards, > Mauro. Thanks for the report. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 08 18:29:17 2019 Received: (at 36459) by debbugs.gnu.org; 8 Jul 2019 22:29:17 +0000 Received: from localhost ([127.0.0.1]:59858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkc8K-0006Cy-Rm for submit@debbugs.gnu.org; Mon, 08 Jul 2019 18:29:17 -0400 Received: from mail-lj1-f169.google.com ([209.85.208.169]:41948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkc8I-0006Ck-U0 for 36459@debbugs.gnu.org; Mon, 08 Jul 2019 18:29:15 -0400 Received: by mail-lj1-f169.google.com with SMTP id d24so8446037ljg.8 for <36459@debbugs.gnu.org>; Mon, 08 Jul 2019 15:29:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Zhb0XNk55x/JZaNf5anSwgHipLxc087cG2ixBR+fHX0=; b=Vgj///7AhTVNssO1oEW3NkXL1NuGETUCCppDKqrp2CDTNxFXWy09IvoFdVNM2jQNex ehlCQShFTRUV6heXvymKMKS6BHFsgeRT4W4FP1nZK7hUQyN1MPRjIdIok78GI7qaMzlw H44W6gfclrAAa30g6R3JVR4Sf5pzazYx1A2d/9hGJ8hPLsRyHrb11uWvsNiurqwo6JZV 8Ye7o0Q9kCExvA+IodcUx1/S+PC12cWRMmuyJI0bMTyGSvrOfiiPOlNPnBqbhqFvt0W8 anF07DI86yFp47O71hB1zQLh7mTJ3jf5OL//OxNdX9yMecXfgzgww0f2r9Qof7z/R8nQ RnGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Zhb0XNk55x/JZaNf5anSwgHipLxc087cG2ixBR+fHX0=; b=rKc3vKmQk0dQ9tTmASTaedrIn9ps9P/KRnBfvBRHCyCHA7rb7xYdtjCo2fyZZbyrrG PGa4xKwilxYn3f/RrDOV1LVjLuUWuiaweEsmy4TSFteO8t8lHBpnmbs5pxTrW+aWdvX9 0smbUtmE+0Vs+NN0F+eqmBhk6wWZvXUs5c/ARdjwp3G5j//TaA5DfUJJwFhcK/raMbDK AtVfqYzUgLsoMAwqus4sxWmV8LdSakGFnWLxZ48D5+0VzXjXAY3CX96c7Gy5epKQQK67 1lWAAaQYIn2uNzS7Jv6sb9GHyFVv4UyBmC/rRGPS5nB3WO2DxE59TR9778BrSsfHS5HO 27+w== X-Gm-Message-State: APjAAAWe2XIjcWb5WyRlWMk9BV09tdkwgGIbZF+3KpQq4d4SmvLWdqFF NG1PqsWDcWz+ruY6SNThZp+GmTRjgmtjHDwWPi4= X-Google-Smtp-Source: APXvYqzPKFqhZaNbFJlR4UOcwx+kgDYbqWOKu9RSZsHs87mf+GW1wYLPCIMqKyH2Lr3EP4I2XMT2iCL2LLuFV6a3Wmw= X-Received: by 2002:a2e:8744:: with SMTP id q4mr11438598ljj.77.1562624948845; Mon, 08 Jul 2019 15:29:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Mauro Aranda Date: Mon, 8 Jul 2019 19:28:56 -0300 Message-ID: Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug To: Leo Liu Content-Type: multipart/alternative; boundary="000000000000fe419f058d32f8f5" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Leo Liu writes: Hello Leo. Thanks for your answer. > Can this bug be fixed by changing the regexp in > `octave-eldoc-function-signatures' from > > "\\s-*\\(?:--[^:]+\\|usage\\):\\s-*\\(.*\\)$" > > to > > "\\s-*\\(?:--[^:]+\\|\\_ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) --000000000000fe419f058d32f8f5 Content-Type: text/plain; charset="UTF-8" Leo Liu writes: Hello Leo. Thanks for your answer. > Can this bug be fixed by changing the regexp in > `octave-eldoc-function-signatures' from > > "\\s-*\\(?:--[^:]+\\|usage\\):\\s-*\\(.*\\)$" > > to > > "\\s-*\\(?:--[^:]+\\|\\_ ? Yes, indeed, this change fixes it. Will you push the fix? Best regards, Mauro. --000000000000fe419f058d32f8f5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Leo Liu <sdl.web@g= mail.com> writes:

Hello Leo.=C2=A0 Thanks for your answer.
> Can this bug be fixed by changing the regexp in
> `octave-e= ldoc-function-signatures' from
>
> =C2=A0 =C2=A0 =C2=A0 =C2= =A0 "\\s-*\\(?:--[^:]+\\|usage\\):\\s-*\\(.*\\)$"
>
>= to
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 "\\s-*\\(?:--[^:]+\\|\= \_<usage\\):\\s-*\\(.*\\)$"
> ?

Yes, indeed, this chan= ge fixes it.=C2=A0 Will you push the fix?

Best regards,
Mauro. --000000000000fe419f058d32f8f5-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 30 10:37:38 2019 Received: (at 36459) by debbugs.gnu.org; 30 Jul 2019 14:37:38 +0000 Received: from localhost ([127.0.0.1]:51004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsTFx-0007iP-Vl for submit@debbugs.gnu.org; Tue, 30 Jul 2019 10:37:38 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:54993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsTFw-0007iE-W9 for 36459@debbugs.gnu.org; Tue, 30 Jul 2019 10:37:37 -0400 Received: by mail-wm1-f42.google.com with SMTP id p74so57383603wme.4 for <36459@debbugs.gnu.org>; Tue, 30 Jul 2019 07:37:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=WAY74OX3BRzlrQz8hqsfNVKikyl1vtUfy80Wg/2VpAA=; b=JO9VqiRuJ+UdiLMogjf8oNSbVUiHV+PkP9PxrqB579Sb9UkQ2NBQK/jgco1LOPH/Nj Iv3Mmtn+iDLQnpeOaKapLxsm+s08hAPrxjbGzlJwBpx8yhdACihmRuov0HPttLJlZk5L U+NYKfo2XFbnTD50KMYUOVGS46gAag06cu5T1Zk/HETYROgOLmPeXxTFsV6hpvvskv+V /vds9B0PFYboBX+edYyvg/pFYAbph++4kM2Gw4lmCdCbfLuknUVtRjttAuV3ZA8O4V8Y pc7VCIlYt/cHCk5PrRoibpA7VTURo8uT8QElBd6q2Q5b+6V1iKDcRPEpn2GRPBBu1JcB o60A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=WAY74OX3BRzlrQz8hqsfNVKikyl1vtUfy80Wg/2VpAA=; b=TUF9Hyv1chsvzxYI0qwFcmixYCr/Mfhe1+sWRezlmnZ0sLAoiJ0p2IAY8Ht86DkYpx H0rflgJwMr2BYqKs0Ep4gaioGJ8Y42yPiTZMUHDW1SoOmsTswhZnEPlfrDFr9KggnKzK SUrnfGzAlRlPLyTBNVwoWlVTGkVLGQThiQHz4B5b7O9aFyKsnKvlG91JIhyX529pryuS hErQ9ivDOJ5S1ijlZlcNVIUjBQgejCTdXQCz+9fdG++k7TmzueHZS/a2qbCEHWNI42p5 PfF2FSP6fYx18+/tPRhkkr4X631/IdCS6ufp4OufXOHQK3Sr8tRV1Kxfvhx4JZW3o11J q3oQ== X-Gm-Message-State: APjAAAWbDGV9SFaf8RSJ01exjRJUE+Oz7GqTPcIUGsIKRDYn27ygdkc6 6KpQgXFfuOurp6D6Ehp6W0k8vd6OZVU= X-Google-Smtp-Source: APXvYqyddcA54BEE2V2HisC7XmemyFA/KwGlX58mZsqpC/g+KavTtQfL6yUkaZhUYAnWykE9167HzA== X-Received: by 2002:a1c:d185:: with SMTP id i127mr108888592wmg.63.1564497449950; Tue, 30 Jul 2019 07:37:29 -0700 (PDT) Received: from [192.168.0.195] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id c11sm109567885wrq.45.2019.07.30.07.37.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jul 2019 07:37:29 -0700 (PDT) Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug To: Mauro Aranda , Leo Liu References: From: Dmitry Gutov Message-ID: <7105304a-29cb-f2ad-80d5-c0ab19948ff5@yandex.ru> Date: Tue, 30 Jul 2019 17:37:27 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 09.07.2019 1:28, Mauro Aranda wrote: > Leo Liu writes: > > Hello Leo.  Thanks for your answer. > > > Can this bug be fixed by changing the regexp in > > `octave-e [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (raaahh[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.42 listed in list.dnswl.org] 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 1.0 FREEMAIL_REPLY From and body contain different freemails X-Debbugs-Envelope-To: 36459 Cc: 36459@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 09.07.2019 1:28, Mauro Aranda wrote: > Leo Liu > writes: > > Hello Leo.  Thanks for your answer. > > > Can this bug be fixed by changing the regexp in > > `octave-eldoc-function-signatures' from > > > >         "\\s-*\\(?:--[^:]+\\|usage\\):\\s-*\\(.*\\)$" > > > > to > > > >         "\\s-*\\(?:--[^:]+\\|\\_ > ? > > Yes, indeed, this change fixes it.  Will you push the fix? I've tried to verify the fix myself, and foremost to see whether the cases where ElDoc should be displayed still work. But I haven't managed to find working ones, with either version of the regexp. My Octave version is 4.2.2. The output of e.g. print_usage ('abs') is: error: Invalid call to abs. Correct usage is: -- abs (Z) Additional help for built-in functions and operators is available in the online version of the manual. Use the command 'doc ' to search the manual index. Neither regexp seems to match the second line. Ideas? Are there help outputs that do match? Is 4.2.2 too new/too old? From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 30 13:53:35 2019 Received: (at 36459) by debbugs.gnu.org; 30 Jul 2019 17:53:36 +0000 Received: from localhost ([127.0.0.1]:51138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsWJb-0006Oe-Aw for submit@debbugs.gnu.org; Tue, 30 Jul 2019 13:53:35 -0400 Received: from mail-pf1-f169.google.com ([209.85.210.169]:45045) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsWJZ-0006OM-1V for 36459@debbugs.gnu.org; Tue, 30 Jul 2019 13:53:33 -0400 Received: by mail-pf1-f169.google.com with SMTP id t16so30197875pfe.11 for <36459@debbugs.gnu.org>; Tue, 30 Jul 2019 10:53:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version; bh=NtR642CBe6glhsRTYr403M+GqX6AHbSrRCWgB25b4/Q=; b=nvNML1tH9SR2fF8hM+klKhZ1p43/xSkZzZhJCgK0+f7win/cEWoEE1hwbM7LI8pIJS KJqtiB9A7MIxIhZ0sxkhGkNixr3Atf6SlXY8Fi2atoqT305g9B1Pr5URnbVl+AxVaUJU inW8VoLyjW20mErT+aHFQCpNVkt4JM3Spzc9aa1cMDlYiXku5VBI5Jqr4TAVXrQdKt+W UGF23iPdDLbRj+1/NSQiGO8Ni0Mlk7RUT+dU6nAfO3qXLk6f2cDApYbH6nF5ap4r7BqI ycQi1E0/C5Dk5AumHMqYeTGrWq6Eg4YzSVYIv9Rac6CfHD2bd9S/i566W0Pfd71tBUD/ aw5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:face:date :in-reply-to:message-id:user-agent:mime-version; bh=NtR642CBe6glhsRTYr403M+GqX6AHbSrRCWgB25b4/Q=; b=gBszVEIHL2zGKHQxdoHAlRMP/jAmzAkIRq2kPIedDLWSVJAN30w0oSivIng/fZbQvD AVY1R++tS2ODAYXgV1853292ZrNuvj3rmA0xz2we2fqvcN/e62QTW9YzOdgn5y4aPPh+ zu/ossCxCDC0lXmhWcVITlvSxAeQcz3z3qUTQYZVz3t00xZcT73QjTiTZvQ35qfLQqjh 8oTcfmFvDeOt8c6gTeQa/g03aEpRhWtgRmF1a0XAhXSZvHL6tFU/2wo7VAnEvA0fRMii W7TNxhRP9M2DflZZVxwWf4k9qV0uZCEUt0MmECbNjzOILPqC0XV4MjlD8+7iGBmbzuvB tlhQ== X-Gm-Message-State: APjAAAVd/xRcYW/8XPpXk6a2Ty6THrGOMz/XjWEaREIL9hduhHX7EwMT Tu+1gMKa/dFBxRL6TLSAR8PHBZDw X-Google-Smtp-Source: APXvYqxxb1IoLHL5TD7eErotB+T707sYFuL8alPIbA0tuLmSmYN5dLR9jC8HuuPSjt2ItiMLc93Bjg== X-Received: by 2002:a63:b555:: with SMTP id u21mr111879644pgo.222.1564509206562; Tue, 30 Jul 2019 10:53:26 -0700 (PDT) Received: from Zeuss-MacBook-Air.local ([112.208.238.203]) by smtp.gmail.com with ESMTPSA id q8sm132127388pjq.20.2019.07.30.10.53.23 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 30 Jul 2019 10:53:25 -0700 (PDT) From: Leo Liu To: Dmitry Gutov Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug References: <7105304a-29cb-f2ad-80d5-c0ab19948ff5@yandex.ru> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII= Date: Wed, 31 Jul 2019 01:53:21 +0800 In-Reply-To: <7105304a-29cb-f2ad-80d5-c0ab19948ff5@yandex.ru> (Dmitry Gutov's message of "Tue, 30 Jul 2019 17:37:27 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (macOS 10.14.6) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36459 Cc: 36459@debbugs.gnu.org, Mauro Aranda X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2019-07-30 17:37 +0300, Dmitry Gutov wrote: > I've tried to verify the fix myself, and foremost to see whether the > cases where ElDoc should be displayed still work. > > But I haven't managed to find working ones, with either version of the > regexp. My Octave version is 4.2.2. > > The output of e.g. print_usage ('abs') is: > > error: Invalid call to abs. Correct usage is: > > -- abs (Z) I just tried this on a few octaves >= 4.0 and they all had this problem. If I remember correctly the function used to work with octave 3.8. It seems that is the new output format i.e. they all start with this useless "error: Invalid call to XXX". The regexp might need change. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 31 10:11:38 2019 Received: (at 36459) by debbugs.gnu.org; 31 Jul 2019 14:11:38 +0000 Received: from localhost ([127.0.0.1]:52825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hspKK-0004rM-8f for submit@debbugs.gnu.org; Wed, 31 Jul 2019 10:11:38 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:40675) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hspKI-0004r5-8T for 36459@debbugs.gnu.org; Wed, 31 Jul 2019 10:11:34 -0400 Received: by mail-wr1-f42.google.com with SMTP id r1so69837281wrl.7 for <36459@debbugs.gnu.org>; Wed, 31 Jul 2019 07:11:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=p3q9eP10s8y76D6HLp0Gnvs3cXkQaiRCG+x5v7H4s9c=; b=DQ3cLx+4dZeH6jUgKwodbzMt/HPlpkCXKNgKay/3ah/7EaUj0yd4DhRfJAngLQD30s zd2M8iYS4+Fte53sLSfILP7yIuzoV0GTVNX/7+MOIrLl89X1dJL9ixr8fAsYO1VF2QW/ ljOdAZqBjNofFjEs3tVV7Tq5R7Do58PRt5alMClSgeruaacbSGmsm3CyWTj4YO5uPlFW Yv216LNEDvNBIY7k4/6osVYCukA0qxpfT+BO0nmoboeoML+NhNbSCLEX8MHNZWm80liO Leu9GjS8HzdQBIEsvMyeNUUymv+VionAZk6lcQjR0lIC7Wrtt78bQuG75tYjJfyhknuk D+Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=p3q9eP10s8y76D6HLp0Gnvs3cXkQaiRCG+x5v7H4s9c=; b=c/aG0lCjJqwdSOLfDiLoZGLENK//y+0DRdsWaXg7XpLO4uzUXeE+KGQFWcVuNHHjc9 C8coXS6B/FIdFiuLvqCCZ9Ywts3LaaHoqAsPPaIpqBsxVTZNIsTBWUUp1pZyzZs9r0xv tcKcNsmE/HucsF+/wF+RTv5teCEnx8wlxU62XJ2kbJIuWA6eojCMD7+x+uPRL/Vgmvb9 +SKA2J9h9bxDOY6qv+szVzqP/8hFCUSXvtIqFFPN4Ow7U8br6WMnYXc4MHPL0qrUVwKQ gsNMMWz2OI4NFOIj5A8SB1+ABEXqmXY8t/BZUplO+6v8DdtxbEOsT8UPq3JbUg9GVvaW DuTw== X-Gm-Message-State: APjAAAVEq0rs708qb6iCciHXShNWdWOTvwtl+7bFzXrxmnbabbPz51K/ 6xzfFbxt9qNa6ONjE0VW5rM= X-Google-Smtp-Source: APXvYqw16WiepGy8bijYpNBAWRo8JMH4hanMvNiMshXFWG6A4o2HEYhaBeCDwtQWWojWEYGyE4rpsQ== X-Received: by 2002:a5d:6a05:: with SMTP id m5mr62457066wru.305.1564582288409; Wed, 31 Jul 2019 07:11:28 -0700 (PDT) Received: from [192.168.0.195] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id c78sm94787578wmd.16.2019.07.31.07.11.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jul 2019 07:11:27 -0700 (PDT) Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug To: Leo Liu References: <7105304a-29cb-f2ad-80d5-c0ab19948ff5@yandex.ru> From: Dmitry Gutov Message-ID: Date: Wed, 31 Jul 2019 17:11:25 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 36459 Cc: 36459@debbugs.gnu.org, Mauro Aranda X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) On 30.07.2019 20:53, Leo Liu wrote: > It > seems that is the new output format i.e. they all start with this > useless "error: Invalid call to XXX". I wouldn't say this is a problem exactly, because the code tries to match the regexp against every line, not just the first one. > The regexp might need change. Do you have an example of the output from other versions of Octave, to make sure any change in regexp will keep them working? Not sure if we still need to support Octave 3, but 3.8 is only 6 years old. :-) From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 31 10:43:52 2019 Received: (at 36459) by debbugs.gnu.org; 31 Jul 2019 14:43:52 +0000 Received: from localhost ([127.0.0.1]:52869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsppX-0001WE-VE for submit@debbugs.gnu.org; Wed, 31 Jul 2019 10:43:52 -0400 Received: from mail-lf1-f44.google.com ([209.85.167.44]:41232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsppU-0001Vx-AU for 36459@debbugs.gnu.org; Wed, 31 Jul 2019 10:43:48 -0400 Received: by mail-lf1-f44.google.com with SMTP id 62so42770828lfa.8 for <36459@debbugs.gnu.org>; Wed, 31 Jul 2019 07:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=D+zHDHbNhQGUYQ3u+TjZizxZikKmf1/hUfyGg2Xz9NM=; b=RcyTOYKIuB2xw3pNLMCaLwae8/7lLrY39BHpbqZ689G4WXnm5hIhCShWwRbhsb35nT MPDHs5XVXhRIYG0+ULL9zW4T3QIVHJ//yOUCsJLHyq6N94DIxf6gouNWhGiISVXYRXN6 8JqyvhYd2mPXbe7XcUxgrDMFf9l8AnhWvlr0QQyhlhmerqE3LrKYr3gWhumasqiEoH3K NmaJ2ctb7RLVCwZtu8NjKPrCLaU7ubwnxobgOT90iS1R+PuQ+uuBtACaCMaMS6zx+BAl XKfhkcPOnSdOnQxHK2pjGVxbAfZl6MTN3ejtHZTKsSHYVwmSSoCAgrMXhxXS13mktnDy 8YJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=D+zHDHbNhQGUYQ3u+TjZizxZikKmf1/hUfyGg2Xz9NM=; b=dR5xKXnt5J9RamwP0Csv53zfjJ0ZGbHZzQQdmMgsGd0hGHcpkmxThQXQX/Ff+FEGkd sB42Rb4LNg1lDrytGY1+iPHxphOB7DpkQ4++xw6O50WpZ94TJG0U7QBgnR2ucPw2xduO SLBdCH+2vjz2hqrU027wJYcnlqHfYcGuzQic0UVw8Fj1BghBt0utwLypoyAHb2Z/Bvin zIdnaViGYt+w3JUtieBDN+EsMKBqsuAHqIBtnxK1WhZ7SrsaMBLIzurAzdxjy8Pot1OA Grlr8+dep3KyuubzN75l3AUG+wpNWqzSxiNiQxD7HtYVankavUrztrX+mQRCtVhJvEwm UgvQ== X-Gm-Message-State: APjAAAVAnupRUpa5v/E1ypVWOo97e8NobfVFGJU+ll/BL5gleOJm55KB TNvo51Z6T7bHzkWH/mP8MNB8r2xrtBeSoiTmuH8= X-Google-Smtp-Source: APXvYqwS0cCbEIMbLBcVa3iekLxEXC5PM01erKp0zTGYfM7SK1xqg8aQK8/BEkNqhmrjnWEQQOD9Gc+1saG3LXC9CnE= X-Received: by 2002:a19:550f:: with SMTP id n15mr46980640lfe.34.1564584222254; Wed, 31 Jul 2019 07:43:42 -0700 (PDT) MIME-Version: 1.0 References: <7105304a-29cb-f2ad-80d5-c0ab19948ff5@yandex.ru> In-Reply-To: From: Mauro Aranda Date: Wed, 31 Jul 2019 11:43:29 -0300 Message-ID: Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug To: Dmitry Gutov Content-Type: multipart/alternative; boundary="000000000000c9eeef058efb267e" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36459 Cc: 36459@debbugs.gnu.org, Leo Liu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000c9eeef058efb267e Content-Type: text/plain; charset="UTF-8" My GNU Octave version is 4.0.0 In 4.0.x versions, the output of print_usage is like this: -- Mapping Function: abs (Z) That's why the regexp works. You can see an example in: https://octave.org/doc/v4.0.0/Raising-Errors.html#Raising-Errors Looking at the doc sources, it looks like the output was the same in GNU Octave 3. Now, after 4.0.x, namely 4.2.x, it seems that the output has changed to what you see, and an example can be seen here: https://octave.org/doc/v4.2.0/Raising-Errors.html#Raising-Errors --000000000000c9eeef058efb267e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
My GNU Octave version is 4.0.0
In 4.0.= x versions, the output of print_usage is like this:
=C2=A0-- Mapping Fun= ction: abs (Z)

That's why the regexp works.=C2=A0 You can see an= example in:
https://octave.org/doc/v4.0.0/Raising-Errors.html#Raising= -Errors

Looking at the doc sources, it looks like the output was= the same in GNU
Octave 3.

Now, after 4.0.x, namely 4.2.x, it see= ms that the output has changed to
what you see, and an example can be se= en here:
https://octave.org/doc/v4.2.0/Raising-Errors.html#Raising-Err= ors

--000000000000c9eeef058efb267e-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 06 12:08:19 2019 Received: (at 36459) by debbugs.gnu.org; 6 Aug 2019 16:08:19 +0000 Received: from localhost ([127.0.0.1]:37676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hv20Z-0006qo-3o for submit@debbugs.gnu.org; Tue, 06 Aug 2019 12:08:19 -0400 Received: from mail-lf1-f41.google.com ([209.85.167.41]:41860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hv20X-0006qZ-E8 for 36459@debbugs.gnu.org; Tue, 06 Aug 2019 12:08:17 -0400 Received: by mail-lf1-f41.google.com with SMTP id 62so56736922lfa.8 for <36459@debbugs.gnu.org>; Tue, 06 Aug 2019 09:08:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=esJe2pEXoOlWiWwB4uasVXNWgw1ZYnfcQE0hmGeHYFM=; b=gB/Gs8Egra5cQxgQe3GnklTTKNVL+caQS5lAppdziNMhUWlA6ZDfjUgs111p5oQIJ8 xS62w/iRJakgwjl9Cds7KIsikpv6NCPXDzYp4KuP+RIq58JMxgtwzwaCGIxdw8H7yQay Eg2PCQ4dC9ePpuoxBQE5qCN2CsOuZJaWW/edGILzLfHieJ2iJMDRWTYpdts0cW+BgW94 bSif7VCjQhsYOPMTdlM7Ywplwd7wlF8EtN6ZNyEVPXHuhGuOcX1AEA8T3zdPUulYA817 0wSNYIwxUMROIzIECVzWwhBHvq9G6Q8XFTR7F5iWSfRIovLzvH/YT3JbIz7EkkQbuT3B cCDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=esJe2pEXoOlWiWwB4uasVXNWgw1ZYnfcQE0hmGeHYFM=; b=gIr8QVSOJA53+AbWrcs7jIypAAiAriXmb0pkI24xbTCGiUIrbirIxvTg9WQDF3C3Zc 9NY8wC3euBwAVHMrDbFq1OY8gMLD/SdQ2FZ8ZLizpkcAiOsx9R/MHsoSEJlC/E3RGoD1 zf38eXAdYTTmeUjjX2UjLWlfCe6qAkWqRNlLe7rVPX9DnPAm/RZtDI49tkaMx4hx7gTN JzrZD9/RVSaNM2PYyGA1BAMwCoNqCcQVY4HNmzDxVNcsFrYH67ZFOILG77+l/eDtCuh8 aoqc43yGCKYXgsWSj79X9/dfv02dxGwnH8s0J9KGS+DYa6r1McIMyBlhhwV1lveXZLes /pRw== X-Gm-Message-State: APjAAAWBuuF66zy3FlCzoWbSQO0UkGnjT4GfpXhuir1Lxw+DT9nstmkN 6Ho1qLK6RAFvfTz3KuHPav4rkwBLFvRMH9FaV68= X-Google-Smtp-Source: APXvYqzcAodJ+io9TLAMtr535SjGtjQfC1sLOSjOwuuv3bnmBO3s5aWs62KsCe/Clo6J7sNp2j8vwJZz8xC3SlnbIkY= X-Received: by 2002:a19:e20c:: with SMTP id z12mr3062435lfg.120.1565107691461; Tue, 06 Aug 2019 09:08:11 -0700 (PDT) MIME-Version: 1.0 References: <7105304a-29cb-f2ad-80d5-c0ab19948ff5@yandex.ru> In-Reply-To: From: Mauro Aranda Date: Tue, 6 Aug 2019 13:07:59 -0300 Message-ID: Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug To: Dmitry Gutov Content-Type: multipart/mixed; boundary="000000000000fcb440058f750757" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36459 Cc: 36459@debbugs.gnu.org, Leo Liu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000fcb440058f750757 Content-Type: multipart/alternative; boundary="000000000000fcb43b058f750755" --000000000000fcb43b058f750755 Content-Type: text/plain; charset="UTF-8" tags 36459 patch quit I attach a patch, which I think tackles the problems presented. It stops matching incorrectly when there is no function defined, with the change suggested by Leo Liu. Also, the regexp used now matches the newer help output (GNU Octave 4.2.x and newer), while still supporting older GNU Octave versions. I've tested with GNU Octave 4.0.0 and GNU Octave 5.1.0. Best regards, Mauro. --000000000000fcb43b058f750755 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
tags 36459 patch
quit

I attach = a patch, which I think tackles the problems presented.=C2=A0 It
stops ma= tching incorrectly when there is no function defined, with the
change su= ggested by Leo Liu.

Also, the regexp used now matches the newer help= output (GNU Octave
4.2.x and newer), while still supporting older GNU O= ctave versions.

I've tested with GNU Octave 4.0.0 and GNU Octave= 5.1.0.

Best regards,
Mauro.

--000000000000fcb43b058f750755-- --000000000000fcb440058f750757 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Fix-octave-mode-ElDoc-support.patch" Content-Disposition: attachment; filename="0001-Fix-octave-mode-ElDoc-support.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jz00ok9a0 RnJvbSA2ZTcwNGYwMGJlMjI0MzcxYTJhYWI5YjZiY2UzYTc5MmRmZWI5MzRiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBNYXVybyBBcmFuZGEgPG1hdXJvb2FyYW5kYUBnbWFpbC5jb20+ CkRhdGU6IFR1ZSwgNiBBdWcgMjAxOSAxMjo0NToyOCAtMDMwMApTdWJqZWN0OiBbUEFUQ0hdIEZp eCBvY3RhdmUtbW9kZSBFbERvYyBzdXBwb3J0CgoqIGxpc3AvcHJvZ21vZGVzL29jdGF2ZS5lbCAo b2N0YXZlLWVsZG9jLWZ1bmN0aW9uLXNpZ25hdHVyZXMpOiBGaXggdGhlCnJlZ2V4cCB1c2VkLCBz byBubyBtYXRjaCBoYXBwZW5zIHdoZW4gdGhlcmUgaXMgbm8gZGVmaW5lZCBmdW5jdGlvbiBGTi4K QWxzbywgdHdlYWsgdGhlIHJlZ2V4cCB0byBzdXBwb3J0IEdOVSBPY3RhdmUgNC4yLnggYW5kIG5l d2VyLiAgKEJ1ZyMzNjQ1OSkKLS0tCiBsaXNwL3Byb2dtb2Rlcy9vY3RhdmUuZWwgfCAxNyArKysr KysrKysrKysrKysrLQogMSBmaWxlIGNoYW5nZWQsIDE2IGluc2VydGlvbnMoKyksIDEgZGVsZXRp b24oLSkKCmRpZmYgLS1naXQgYS9saXNwL3Byb2dtb2Rlcy9vY3RhdmUuZWwgYi9saXNwL3Byb2dt b2Rlcy9vY3RhdmUuZWwKaW5kZXggYjc3MGVkYi4uNTFiYTM0ZiAxMDA2NDQKLS0tIGEvbGlzcC9w cm9nbW9kZXMvb2N0YXZlLmVsCisrKyBiL2xpc3AvcHJvZ21vZGVzL29jdGF2ZS5lbApAQCAtMTYx Niw4ICsxNjE2LDIzIEBAIG9jdGF2ZS1lbGRvYy1mdW5jdGlvbi1zaWduYXR1cmVzCiAgICAgIChs aXN0IChmb3JtYXQgInByaW50X3VzYWdlICgnJXMnKTtcbiIgZm4pKSkKICAgICAobGV0IChyZXN1 bHQpCiAgICAgICAoZG9saXN0IChsaW5lIGluZmVyaW9yLW9jdGF2ZS1vdXRwdXQtbGlzdCkKKyAg ICAgICAgOzsgVGhlIGhlbHAgb3V0cHV0IGhhcyBjaGFuZ2VkIGEgZmV3IHRpbWVzIGluIEdOVSBP Y3RhdmUuCisgICAgICAgIDs7IEVhcmxpZXIgdmVyc2lvbnMgb3V0cHV0ICJ1c2FnZTogIiBiZWZv cmUgdGhlIGZ1bmN0aW9uIHNpZ25hdHVyZS4KKyAgICAgICAgOzsgQWZ0ZXIgZGVwcmVjYXRpbmcg dGhlIHVzYWdlIGZ1bmN0aW9uLCBhbmQgdXAgdW50aWwgR05VIE9jdGF2ZSA0LjAuMywKKyAgICAg ICAgOzsgdGhlIG91dHB1dCBsb29rcyBsaWtlIHRoaXM6CisgICAgICAgIDs7IC0tIE1hcHBpbmcg RnVuY3Rpb246IGFicyAoWikuCisgICAgICAgIDs7IEFmdGVyIEdOVSBPY3RhdmUgNC4yLjAsIHRo ZSBvdXRwdXQgaXMgbGVzcyB2ZXJib3NlIGFuZCBpdCBsb29rcyBsaWtlCisgICAgICAgIDs7IHRo aXM6CisgICAgICAgIDs7IC0tIGFicyAoWikKKyAgICAgICAgOzsgVGhlIGZvbGxvd2luZyByZWdl eHAgbWF0Y2hlcyB0aGVzZSB0aHJlZSBmb3JtYXRzLgorICAgICAgICA7OyBUaGUgInVzYWdlOiAi IGFsdGVybmF0aXZlIG1hdGNoZXMgdGhlIHN5bWJvbCwgYmVjYXVzZSBhIGNhbGwgdG8KKyAgICAg ICAgOzsgcHJpbnRfdXNhZ2Ugd2l0aCBhIG5vbi1leGlzdGVudCBmdW5jdGlvbiAoZS5nLiwgcHJp bnRfdXNhZ2UgKCdBJykpCisgICAgICAgIDs7IHdvdWxkIG91dHB1dDoKKyAgICAgICAgOzsgZXJy b3I6IHByaW50X3VzYWdlOiAnQScgbm90IGZvdW5kCisgICAgICAgIDs7IGFuZCB3ZSB3b3VsZG4n dCBsaWtlIHRvIG1hdGNoIGFueXRoaW5nIGluIHRoaXMgY2FzZS4KKyAgICAgICAgOzsgU2VlIGJ1 ZyAjMzY0NTkuCiAgICAgICAgICh3aGVuIChzdHJpbmctbWF0Y2gKLSAgICAgICAgICAgICAgICJc XHMtKlxcKD86LS1bXjpdK1xcfHVzYWdlXFwpOlxccy0qXFwoLipcXCkkIgorICAgICAgICAgICAg ICAgIlxccy0qXFwoPzotLVteOl0rOlxcfFxcXzx1c2FnZTpcXHwtLVxcKVxccy0qXFwoLipcXCkk IgogICAgICAgICAgICAgICAgbGluZSkKICAgICAgICAgICAocHVzaCAobWF0Y2gtc3RyaW5nIDEg bGluZSkgcmVzdWx0KSkpCiAgICAgICAoc2V0cSBvY3RhdmUtZWxkb2MtY2FjaGUKLS0gCjIuNy40 Cgo= --000000000000fcb440058f750757-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 06 15:01:05 2019 Received: (at control) by debbugs.gnu.org; 6 Aug 2019 19:01:05 +0000 Received: from localhost ([127.0.0.1]:37770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hv4hl-00012r-4y for submit@debbugs.gnu.org; Tue, 06 Aug 2019 15:01:05 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:38027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hv4hj-00012F-LP for control@debbugs.gnu.org; Tue, 06 Aug 2019 15:01:04 -0400 Received: by mail-lj1-f173.google.com with SMTP id r9so83128319ljg.5 for ; Tue, 06 Aug 2019 12:01:03 -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=0XiAUuIX4v+U9RAR/fR+pzkOQuhC7TFnAoMO2HRKBnY=; b=f0CtEuSzM1ilBfoNxZD+vE1iH6XYsNGorzd4+alzIiA8QujrQPmnKGukoe1Qp5AsDb fOb6uldZpnVMKUhi9eQqsXt/ga6AIA8mNQDr++sx45ImoB6/Z/xr8UXTEOlnJWnG0697 /xOxzpOVp+y8AqBTV1f15ojS9CNns8dMGN8YuaLq2kso24PXp87ulkhPPOrDWeVHZ7bJ zjgvVbWLPhyspCxHGqdjDFR5yj0ZccRvh1OUgBCPEDREOddAh3/RkRwyWas6E95KLBB5 G6Bgh1W/wFkuPFYlG/pOOhXoOJA9hm+h6e26KInTUTsGYzP+OO+WQjdLgk9djNSwZqYi H7wQ== 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=0XiAUuIX4v+U9RAR/fR+pzkOQuhC7TFnAoMO2HRKBnY=; b=Bam1Uis1/e20Li8ryI/TU1GDhQvz/tQ7hkL3p6dVaYtIzRrLAQGs879FkJzh92cWcR lRZwf3qGGfgzLKdVjmOBVlfKUWFXSBxHILUT5inYSlYGfx1zyyxDLPmshxgLUsfqprst MMzbsK0Q6xijYOir3wvQvK3OYQiZGNoku8jqZSmBNEq4phE+FpezgOJivEMoTFPwp1D1 9bVjRXtrEdhr2elRKhHEmuoMnFYOKFuSfkmqwS26zWX+KXSM+XWlzJ0vjP6YuZYrokyL ljzOY95DRLj6SYSw+F3EQrJkYqwKm6+58/37fYwVsJIAVyCR0+0omwMhU60xMhv/b7Lw 2+qA== X-Gm-Message-State: APjAAAUcDIR38U2PoV/uqqxMF1XAjN0+d6bQ2AHRGadWfgnKbSA6rrRG Z8bsq2qT9VCtuMas+ALaz7cQrlkmfUuhp6tzPIWFqaR2 X-Google-Smtp-Source: APXvYqy5lOEUMPicnByh6noWJhhMM1kuX+MRpUHUhDDs+I0XEoZo8YHH9WcHtqYRNe/+r3VoAr8UcjTU3dLhzfMsOI4= X-Received: by 2002:a2e:8999:: with SMTP id c25mr2564073lji.169.1565118057120; Tue, 06 Aug 2019 12:00:57 -0700 (PDT) MIME-Version: 1.0 From: Mauro Aranda Date: Tue, 6 Aug 2019 16:00:45 -0300 Message-ID: Subject: bug#36459: 27.0.50; octave-mode ElDoc support bug To: control@debbugs.gnu.org Content-Type: multipart/alternative; boundary="000000000000d389d6058f777197" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000d389d6058f777197 Content-Type: text/plain; charset="UTF-8" tags 36459 patch quit --000000000000d389d6058f777197 Content-Type: text/html; charset="UTF-8"
tags 36459 patch
quit
--000000000000d389d6058f777197-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 08 05:54:20 2019 Received: (at 36459) by debbugs.gnu.org; 8 Aug 2019 09:54:21 +0000 Received: from localhost ([127.0.0.1]:39927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvf7k-0001c6-MS for submit@debbugs.gnu.org; Thu, 08 Aug 2019 05:54:20 -0400 Received: from mail-pg1-f179.google.com ([209.85.215.179]:34769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvf7j-0001bu-EV for 36459@debbugs.gnu.org; Thu, 08 Aug 2019 05:54:19 -0400 Received: by mail-pg1-f179.google.com with SMTP id n9so37572352pgc.1 for <36459@debbugs.gnu.org>; Thu, 08 Aug 2019 02:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version; bh=4ZJpvZnZyE0UlOtYWwh+3CJq9+2oyWhxFQTqjj9eRY8=; b=NaLxszmmh4oQ4PK+xHpY47bf8ckISAFycZAZGoFygyocV9Kb+o3p3Y1uVdoeYQjZjP j+PljxwBWkF2gkczO2AoKuJafFxOlrlCQaTtRbaZ+Y6LhWZQxp+ONmdu2rO1fEQRMU0Y 4W4yJD9gUitZRLknCCZ/ATXBaTvxWAR/OIpu/LN19k+VD6kbgwkovdXloGlcFIyHUVVR tEIHqNt3RNMVyKwN4OXps/2Xm2UBm9njVYraIybeWpFBTFxyqIMtemj0eALq4Hj1d7zs TdCl4BZXPisAgqBqKgrpx8/Z0GX5dz854Zaj3xRFAsPs6VtnE3vGpZAhU7Q1PYQRrUiJ YjyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:face:date :in-reply-to:message-id:user-agent:mime-version; bh=4ZJpvZnZyE0UlOtYWwh+3CJq9+2oyWhxFQTqjj9eRY8=; b=tw5bzrmhLyeLlN5sD2Qn7VCu8Aokc5/NwuQaxzzaNQSbcjNz2+VKbfY8VP0ABKt1+5 yQwL+yl4mmjO0oPBZB4pPLRw1TIBc9SFyqKhQWApi15jZdeFPPYs3ZqD2Uvi43wyHo2/ 6XxIxfLu5zGc0NZvRgm7su43FE68Re4nSrgwr8sD1LHpYnkiA7aur08gBCUoQaBd/6eQ kMRHAmOxTMceFrBEACU1OhF65alQECtJLoYDlM9+LDbh986AS92zwHpBhnukKPx1KMqw MerWoejdgjn3hQqWnMVUdp3kaoGHzUqBqlnB9Xa2HURtZyV6jojdORMGi4mcWYglsGdZ FFbw== X-Gm-Message-State: APjAAAXaIltVBhnWve9eeNonfENQqGptyDhoQSX5GhEttgz6L/Ru0dIs ymCazgsaW7afXuov3AiVrU/h7FnA X-Google-Smtp-Source: APXvYqyLsreWQXI2qHTfnVqLJwCHVQnpyoIAtPtYq1tsIYsAoNNpHxtNOeuolfP7pJxm9+fPfFIEfA== X-Received: by 2002:a62:be02:: with SMTP id l2mr14865827pff.63.1565258053147; Thu, 08 Aug 2019 02:54:13 -0700 (PDT) Received: from Zeuss-MacBook-Air.local ([112.208.238.203]) by smtp.gmail.com with ESMTPSA id t9sm1823235pji.18.2019.08.08.02.54.11 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 02:54:12 -0700 (PDT) From: Leo Liu To: Mauro Aranda Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug References: <7105304a-29cb-f2ad-80d5-c0ab19948ff5@yandex.ru> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII= Date: Thu, 08 Aug 2019 17:54:07 +0800 In-Reply-To: (Mauro Aranda's message of "Tue, 6 Aug 2019 13:07:59 -0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (macOS 10.14.6) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36459 Cc: 36459@debbugs.gnu.org, Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2019-08-06 13:07 -0300, Mauro Aranda wrote: > Also, the regexp used now matches the newer help output (GNU Octave > 4.2.x and newer), while still supporting older GNU Octave versions. > > I've tested with GNU Octave 4.0.0 and GNU Octave 5.1.0. Thank you for the patch. What is the recommended way to get function signatures these days if print_usage is deprecated? Leo From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 08 07:10:08 2019 Received: (at 36459) by debbugs.gnu.org; 8 Aug 2019 11:10:08 +0000 Received: from localhost ([127.0.0.1]:39988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvgJ6-0005fE-8g for submit@debbugs.gnu.org; Thu, 08 Aug 2019 07:10:08 -0400 Received: from mail-lf1-f47.google.com ([209.85.167.47]:35147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvgJ3-0005eb-Mn for 36459@debbugs.gnu.org; Thu, 08 Aug 2019 07:10:06 -0400 Received: by mail-lf1-f47.google.com with SMTP id p197so66487535lfa.2 for <36459@debbugs.gnu.org>; Thu, 08 Aug 2019 04:10:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7wMHhnwr+Ak0iI8f8nl92dO5ltFSisIZwtF/Ob+kVNo=; b=LcBl2MICSOVneQuBdj2ZgmwLAucScYjCxvE7ili5yIkAjnqO/FgaoY1fdplddNp8xh MNhzKd+jHWIpgKRMXYf8/8Z04H8nZOo/WDr6rEswTGilxF8xUwSOyxB2cY34ovtNJtO8 LB4Ym2W0IVYbCQTlvmVEfotcRqBR2KIBeN8XCR/fLKAXlgfjJn8kO6F56kb62VfANlJN UCTxWARVHyCKNrFibjQuuB9ZFbhl0Q++fvyDh7kNMV3vVAKfoMiUnL+lAZ6JW6IyqGcd VP5CseVjs4fEbhoFusd3cKbu6cBGQAMxAlBTxdP6RICWh/nqAlVuHvxG+yhFBs7v1YCP rbUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7wMHhnwr+Ak0iI8f8nl92dO5ltFSisIZwtF/Ob+kVNo=; b=lwQxAfow8YXO1/p69s+lmYECawFVVPyYK7inuzsQMQz+wZgcDrnhP6/YQrhbomdpoL H/GrCWhvBdyeT/5KnZ3rX2lXFATlAQebQDKhHrsHw4VgBhtcOXAcbAszPu/vDolxdHBN Jmii208UErD83wiSJ3bUD5Bn+hQxl9WH95QnSbL4aun0U0LqTLZxqclUqpP2pLLbDHvz OWFpRXRvNYcFxFMydIVZkJkFyTy1sh8gcAhVBjAPiTz1CfLKHu732MMryw+UiJ9o8GbE uvCNCw/a0xp5CqLIt/GNe2+eK9iT3fx0Tsxj39uKSGXAuT6svRdvScwtaIr+cGdhzDxG r0yg== X-Gm-Message-State: APjAAAUhSEHb9AjP5VZ1LSCWYZ6K+oglIpRPg2xk73K8AidWhSGQeSiR ajdTlJg5Az006kLtn0+yFfe1+rHFwwZTfi6SR0s= X-Google-Smtp-Source: APXvYqwjxz6o+3BYphPfJWiOaDGN6FsX44tRRY8OEuZa1Wc1ro3anyMqGgHB7Lu469lRrtyW5LCMDIsk59+4gtHVEng= X-Received: by 2002:ac2:4c8c:: with SMTP id d12mr8857957lfl.58.1565262599742; Thu, 08 Aug 2019 04:09:59 -0700 (PDT) MIME-Version: 1.0 References: <7105304a-29cb-f2ad-80d5-c0ab19948ff5@yandex.ru> In-Reply-To: From: Mauro Aranda Date: Thu, 8 Aug 2019 08:09:47 -0300 Message-ID: Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug To: Leo Liu Content-Type: multipart/alternative; boundary="0000000000003cea74058f99195c" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36459 Cc: 36459@debbugs.gnu.org, Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000003cea74058f99195c Content-Type: text/plain; charset="UTF-8" > Thank you for the patch. What is the recommended way to get function > signatures these days if print_usage is deprecated? > > Leo Hello Leo. The deprecated function is usage, not print_usage. The usage function was deprecated in GNU Octave 4.0, and in the 4.4 version it has been removed. Here is the NEWS file that says usage is deprecated, and that its replacement is print_usage: https://www.gnu.org/software/octave/NEWS-4.0.html Since it says print_usage is the replacement function, I think calling print_usage is reliable. Here is the NEWS file that says usage has been removed: https://www.gnu.org/software/octave/NEWS-4.4.html Best regards, Mauro. --0000000000003cea74058f99195c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> Thank you for the patch. What is the recommended way = to get function
> signatures these days if print_usage is deprecated?=
>
> Leo

Hello Leo.

The deprecated function is us= age, not print_usage.=C2=A0 The usage function
was deprecated in GNU Oct= ave 4.0, and in the 4.4 version it
has been removed.

Here is the = NEWS file that says usage is deprecated, and that its
replacement is pri= nt_usage:
= https://www.gnu.org/software/octave/NEWS-4.0.html

Since it says = print_usage is the replacement function, I think calling
print_usage is = reliable.

Here is the NEWS file that says usage has been removed:https://www.= gnu.org/software/octave/NEWS-4.4.html

Best regards,
Mauro.
--0000000000003cea74058f99195c-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 08 08:40:02 2019 Received: (at 36459) by debbugs.gnu.org; 8 Aug 2019 12:40:02 +0000 Received: from localhost ([127.0.0.1]:40128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvhi5-0003fz-Ne for submit@debbugs.gnu.org; Thu, 08 Aug 2019 08:40:02 -0400 Received: from mail-pg1-f170.google.com ([209.85.215.170]:35974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvhi4-0003fb-AO for 36459@debbugs.gnu.org; Thu, 08 Aug 2019 08:40:00 -0400 Received: by mail-pg1-f170.google.com with SMTP id l21so44009208pgm.3 for <36459@debbugs.gnu.org>; Thu, 08 Aug 2019 05:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version; bh=+TU0ihS1WamMm5RRJwYU845JNrl+lBaEjkVHzWXbmLM=; b=iDbIARpH1qeaAyn3Ziv/YktgXR5tl4dFOkxl1U293CYoQKaC7Wv3g+LJSqjk+uNwVl 7s1EbY8zyLJzCjD0Oc56Nsfmm4JOjfZyh6y7EoEj+LWScfJwpz3ZSLEHX5+JDPp9JC6I FwnwOgb5kv3jXgguf/oryh8xRwECKcLelICqTsLHxkrhG+/hdzIDoTadjh9wwfxkDJ07 W8CqIhEWZC1+u6zzgGbQZ/hFUP9D2uoHXS68V6mG9O9EwWlAoy+R0XnFFwAsEIATowqK ipIMOpYHEIKlxNnbVdQMj/ILKpbSmRIwMcCRlbeM1JSRBeKKWucCeSMLvL1S4eWIvlL8 yReQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:face:date :in-reply-to:message-id:user-agent:mime-version; bh=+TU0ihS1WamMm5RRJwYU845JNrl+lBaEjkVHzWXbmLM=; b=mYBc7UG0knwsJzLXukWqpl71PY3eXxTszqptgJND5dBVn1S2klLTM1pSv7Tmyny1N+ PwdjpaZ6G9DbD6QxDa17h2xqZPLpE9z8sD5BZM0cy66Mme7+2w3zbNhg0wrsQkB48t5U GWZ/U2/wRQuLJpzyg7zruSXOG5VN4ruo9CvN9SbpRuNw8704y/faK7CYcsDoZ/Kmokva ui9+jd00GMkBeMVGooq+w9ichwq8y4xYKHQsi5JanBJsSKPLPDvBaQ9cYnz2xq0PR+KG UnDyuj8/AqVxqvcOGUzJwjQ5+L79+VxaWIRJ+wMdlqdwf5u/sjyEu4DmA+DA/DgsNGSP aEsg== X-Gm-Message-State: APjAAAULGqtTPLmrMbI0Y89R+ouyeu4xqwgrgHeBWo1NJaM75RW4Lqba aviAMb19O7TXU8lOSN9ls571oipq X-Google-Smtp-Source: APXvYqy3g6XibYNML1buMmsl/oIGQZ0C/JcKIKEeRGwue2SNKMqcueZXEUJMYUh4cZ20SoVAuZhTrw== X-Received: by 2002:a63:724f:: with SMTP id c15mr12830053pgn.257.1565267994500; Thu, 08 Aug 2019 05:39:54 -0700 (PDT) Received: from Zeuss-MacBook-Air.local ([112.208.238.203]) by smtp.gmail.com with ESMTPSA id p19sm108631192pfn.99.2019.08.08.05.39.51 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 05:39:53 -0700 (PDT) From: Leo Liu To: Mauro Aranda Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug References: <7105304a-29cb-f2ad-80d5-c0ab19948ff5@yandex.ru> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+ vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMO DhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QH w/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnY DQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V 7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ7 0hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloe m/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII= Date: Thu, 08 Aug 2019 20:39:49 +0800 In-Reply-To: (Mauro Aranda's message of "Thu, 8 Aug 2019 08:09:47 -0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (macOS 10.14.6) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36459 Cc: Eli Zaretskii , 36459@debbugs.gnu.org, Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2019-08-08 08:09 -0300, Mauro Aranda wrote: > Hello Leo. Hi Mauro, > The deprecated function is usage, not print_usage. The usage function > was deprecated in GNU Octave 4.0, and in the 4.4 version it > has been removed. Thanks for the clarification. I misread the comment in the patch to mean print_usage is deprecated. Hi Eli, octave-eldoc-function-signatures is broken for too long. I wonder if it is possible to merge Mauro's patch for the upcoming 26.3 release so that there is at least one working version in 26.x releases? Thanks. Leo From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 08 09:52:10 2019 Received: (at 36459) by debbugs.gnu.org; 8 Aug 2019 13:52:10 +0000 Received: from localhost ([127.0.0.1]:40205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvipr-0001Bf-Ve for submit@debbugs.gnu.org; Thu, 08 Aug 2019 09:52:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvipq-0001BA-8K for 36459@debbugs.gnu.org; Thu, 08 Aug 2019 09:52:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hvioS-0003ax-PJ; Thu, 08 Aug 2019 09:51:55 -0400 Received: from [176.228.60.248] (port=3695 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hvioL-0005r0-CQ; Thu, 08 Aug 2019 09:50:37 -0400 Date: Thu, 08 Aug 2019 16:50:25 +0300 Message-Id: <837e7nbwbi.fsf@gnu.org> From: Eli Zaretskii To: Leo Liu In-reply-to: (message from Leo Liu on Thu, 08 Aug 2019 20:39:49 +0800) Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug References: <7105304a-29cb-f2ad-80d5-c0ab19948ff5@yandex.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36459 Cc: 36459@debbugs.gnu.org, maurooaranda@gmail.com, dgutov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Leo Liu > Cc: Eli Zaretskii , 36459@debbugs.gnu.org, Dmitry Gutov > Date: Thu, 08 Aug 2019 20:39:49 +0800 > > octave-eldoc-function-signatures is broken for too long. I wonder if it > is possible to merge Mauro's patch for the upcoming 26.3 release so that > there is at least one working version in 26.x releases? Yes, please go ahead. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 08 11:36:57 2019 Received: (at 36459-done) by debbugs.gnu.org; 8 Aug 2019 15:36:57 +0000 Received: from localhost ([127.0.0.1]:41604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvkTJ-0004EV-F2 for submit@debbugs.gnu.org; Thu, 08 Aug 2019 11:36:57 -0400 Received: from mail-pg1-f178.google.com ([209.85.215.178]:44568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvkTH-0004EH-NI for 36459-done@debbugs.gnu.org; Thu, 08 Aug 2019 11:36:56 -0400 Received: by mail-pg1-f178.google.com with SMTP id i18so44259011pgl.11 for <36459-done@debbugs.gnu.org>; Thu, 08 Aug 2019 08:36:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version; bh=MwcVhpVQnTg3zme78DsF/DfL9/F7ybhRnvNr3UO7XlI=; b=pLc2y4781k1CTMG6VEdTHZgKZ4KvZPdEH3HW/YsFvAKDByjaY0Lq9Rw/yR9brHkwTL w/WdQuF1rToZJ/Q0xP41xfahaAn03+Ygb0UNV0WnTurWmM25+BJjZpH/QNHRygriTDdd edsk9Wpb8419l6rN4Op/JfarZebkN6mbX1sHNuLm5/G9DR1FdRcHmUMrwIR6QXc8aEkc PwscfMe5L+LSsY6GQGGhu1BmDy8zeVAtzeVppxGrzEWjk9rEem1VAUWgaG0l6+p3r93C NRvAunHC0yOurDZXRw703W8eysiYfgmHZ+y+OSJPRKmCyIGdMfprRMaHi4OtPvf5fwXW MmEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:face:date :in-reply-to:message-id:user-agent:mime-version; bh=MwcVhpVQnTg3zme78DsF/DfL9/F7ybhRnvNr3UO7XlI=; b=O0jbMAfqi1cSBElMpmlLPDx/3qImaNVHSNk3xiD0TSsLqAuFv4yUrADtxRRikVWgjY vvh2A9hcY7+s0CR3+mHCdmFOrjj2k0UcJSaMcahqLTbuB5+fMDLYQMuSwcb+pZbySQRb Ab6tFvVv6T7HhZCsu5oHvO7dmVdxWwPSabMbGYmaOtlQQdGSFNTzwqVgDTO7mI+I2cch OGSz8FbRbWIxCuoTj3NznBp0nBko3LXGuKmzdbrNsZEOcsJAtsurDk2gNEEEPVVy7eSL yAXSs51klX5fJ4jtqrY2Ncc/2O/sMQWrzgkstHm6FMved9mPcYPYcGrqMJBZSKavRB26 E1mg== X-Gm-Message-State: APjAAAXK158GjWF2yUjOot+TNsBh5vhxvitZOKLsuJ6uHN4VbyZLQAq/ YhkZRbHXHH4Dk9XYHOYLhUY= X-Google-Smtp-Source: APXvYqzC/24EAPOq40tviL7DPSY80lB0gJwIW8sQ5faJ4/Wnca2xZNaGwAx1YFALtjgxErriSNnE5A== X-Received: by 2002:a63:1b66:: with SMTP id b38mr13369900pgm.54.1565278609828; Thu, 08 Aug 2019 08:36:49 -0700 (PDT) Received: from Zeuss-MacBook-Air.local ([112.208.238.203]) by smtp.gmail.com with ESMTPSA id o11sm175865873pfh.114.2019.08.08.08.36.46 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 08:36:48 -0700 (PDT) From: Leo Liu To: Eli Zaretskii Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug References: <7105304a-29cb-f2ad-80d5-c0ab19948ff5@yandex.ru> <837e7nbwbi.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+ vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMO DhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QH w/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnY DQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V 7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ7 0hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloe m/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII= Date: Thu, 08 Aug 2019 23:36:43 +0800 In-Reply-To: <837e7nbwbi.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 08 Aug 2019 16:50:25 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (macOS 10.14.6) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36459-done Cc: 36459-done@debbugs.gnu.org, maurooaranda@gmail.com, dgutov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) version: 26.3 On 2019-08-08 16:50 +0300, Eli Zaretskii wrote: > Yes, please go ahead. Excellent. Thanks to everyone for help and testing. From unknown Mon Jun 23 07:47:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 06 Sep 2019 11:24:05 +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