all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Mauro Aranda <maurooaranda@gmail.com>, Leo Liu <sdl.web@gmail.com>
Cc: 36459@debbugs.gnu.org
Subject: bug#36459: 27.0.50; octave-mode ElDoc support bug
Date: Tue, 30 Jul 2019 17:37:27 +0300	[thread overview]
Message-ID: <7105304a-29cb-f2ad-80d5-c0ab19948ff5@yandex.ru> (raw)
In-Reply-To: <CABczVwfEeXXaEkRVDcbDZmFfURwxCWf4ZOULSAf7SXrfAwM36w@mail.gmail.com>

On 09.07.2019 1:28, Mauro Aranda wrote:
> Leo Liu <sdl.web@gmail.com <mailto:sdl.web@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?





  reply	other threads:[~2019-07-30 14:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-01 14:58 bug#36459: 27.0.50; octave-mode ElDoc support bug Mauro Aranda
2019-07-03 14:43 ` Dmitry Gutov
2019-07-04 16:15   ` Mauro Aranda
2019-07-06 13:02   ` Leo Liu
2019-07-08 22:28     ` Mauro Aranda
2019-07-30 14:37       ` Dmitry Gutov [this message]
2019-07-30 17:53         ` Leo Liu
2019-07-31 14:11           ` Dmitry Gutov
2019-07-31 14:43             ` Mauro Aranda
2019-08-06 16:07               ` Mauro Aranda
2019-08-08  9:54                 ` Leo Liu
2019-08-08 11:09                   ` Mauro Aranda
2019-08-08 12:39                     ` Leo Liu
2019-08-08 13:50                       ` Eli Zaretskii
2019-08-08 15:36                         ` Leo Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7105304a-29cb-f2ad-80d5-c0ab19948ff5@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=36459@debbugs.gnu.org \
    --cc=maurooaranda@gmail.com \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.