From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#36459: 27.0.50; octave-mode ElDoc support bug Date: Tue, 30 Jul 2019 17:37:27 +0300 Message-ID: <7105304a-29cb-f2ad-80d5-c0ab19948ff5@yandex.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="171187"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 Cc: 36459@debbugs.gnu.org To: Mauro Aranda , Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 30 16:38:09 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 1hsTGS-000iP3-Hf for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2019 16:38:08 +0200 Original-Received: from localhost ([::1]:33570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsTGR-0005Cq-K4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2019 10:38:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35360) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsTGN-0005Cg-An for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 10:38:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsTGM-00045T-By for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 10:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42183) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsTGM-00045A-8Y for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 10:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hsTGL-0007j5-Vp for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 10:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jul 2019 14:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36459 X-GNU-PR-Package: emacs Original-Received: via spool by 36459-submit@debbugs.gnu.org id=B36459.156449745829666 (code B ref 36459); Tue, 30 Jul 2019 14:38:01 +0000 Original-Received: (at 36459) by debbugs.gnu.org; 30 Jul 2019 14:37:38 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: Content-Language: en-US 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:164110 Archived-At: 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?