bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36459: 27.0.50; octave-mode ElDoc support bug


From: Dmitry Gutov
Subject: bug#36459: 27.0.50; octave-mode ElDoc support bug
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

On 09.07.2019 1:28, Mauro Aranda wrote:
Leo Liu <address@hidden <mailto:address@hidden>> 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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]