GNU bug report logs - #30075
etags misdetects ruby sharp-bang sequence

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Wed, 10 Jan 2018 23:38:01 UTC

Severity: normal

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30075 in the body.
You can then email your comments to 30075 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#30075; Package emacs. (Wed, 10 Jan 2018 23:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dmitry Gutov <dgutov <at> yandex.ru>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 10 Jan 2018 23:38:02 GMT) Full text and rfc822 format available.

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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: etags misdetects ruby sharp-bang sequence
Date: Thu, 11 Jan 2018 02:36:55 +0300
[Message part 1 (text/plain, inline)]
Here's a file that is parsed wrongly when it has no .rb extension. The 
sharp-bang sequence at the top looks correct to me.

Attaching both the input file and the generated tags file.

The problem is present both in emacs-26 and master.
[BAD_TAGS (application/octet-stream, attachment)]
[no_ext_ruby_test (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#30075; Package emacs. (Thu, 11 Jan 2018 16:40:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 30075 <at> debbugs.gnu.org
Subject: Re: bug#30075: etags misdetects ruby sharp-bang sequence
Date: Thu, 11 Jan 2018 18:39:01 +0200
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> Date: Thu, 11 Jan 2018 02:36:55 +0300
> 
> Here's a file that is parsed wrongly when it has no .rb extension. The 
> sharp-bang sequence at the top looks correct to me.

No one taught etags the name(s) of the Ruby interpreter(s), and nobody
told it about the "#!/usr/bin/env FOO" way of specifying an interpreter.

Should be fixed now on the emacs-26 branch.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#30075; Package emacs. (Thu, 11 Jan 2018 22:09:02 GMT) Full text and rfc822 format available.

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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 30075 <at> debbugs.gnu.org
Subject: Re: bug#30075: etags misdetects ruby sharp-bang sequence
Date: Fri, 12 Jan 2018 01:07:54 +0300
On 1/11/18 7:39 PM, Eli Zaretskii wrote:

> No one taught etags the name(s) of the Ruby interpreter(s), and nobody
> told it about the "#!/usr/bin/env FOO" way of specifying an interpreter.
> 
> Should be fixed now on the emacs-26 branch.

Looks fixed, thank you!




Reply sent to Dmitry Gutov <dgutov <at> yandex.ru>:
You have taken responsibility. (Thu, 11 Jan 2018 22:51:01 GMT) Full text and rfc822 format available.

Notification sent to Dmitry Gutov <dgutov <at> yandex.ru>:
bug acknowledged by developer. (Thu, 11 Jan 2018 22:51:02 GMT) Full text and rfc822 format available.

Message #16 received at 30075-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: 30075-done <at> debbugs.gnu.org
Subject: Re: bug#30075: etags misdetects ruby sharp-bang sequence
Date: Fri, 12 Jan 2018 01:50:41 +0300
On 1/12/18 1:07 AM, Dmitry Gutov wrote:
> On 1/11/18 7:39 PM, Eli Zaretskii wrote:
> 
>> No one taught etags the name(s) of the Ruby interpreter(s), and nobody
>> told it about the "#!/usr/bin/env FOO" way of specifying an interpreter.
>>
>> Should be fixed now on the emacs-26 branch.
> 
> Looks fixed, thank you!

Closing.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 09 Feb 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 128 days ago.

Previous Next


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