GNU bug report logs - #36459
27.0.50; octave-mode ElDoc support bug

Previous Next

Package: emacs;

Reported by: Mauro Aranda <maurooaranda <at> gmail.com>

Date: Mon, 1 Jul 2019 15:00:02 UTC

Severity: normal

Tags: patch

Found in version 27.0.50

Fixed in version 26.3

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 36459 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Mauro Aranda <maurooaranda <at> gmail.com>, Leo Liu <sdl.web <at> gmail.com>
Cc: 36459 <at> debbugs.gnu.org
Subject: Re: bug#36459: 27.0.50; octave-mode ElDoc support bug
Date: Tue, 30 Jul 2019 17:37:27 +0300
On 09.07.2019 1:28, Mauro Aranda wrote:
> Leo Liu <sdl.web <at> gmail.com <mailto:sdl.web <at> gmail.com>> 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-*\\(?:--[^:]+\\|\\_<usage\\):\\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 <topic>' 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?




This bug report was last modified 5 years and 292 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.