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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dmitry Gutov <dgutov <at> yandex.ru>
Subject: bug#30075: closed (Re: bug#30075: etags misdetects ruby
 sharp-bang sequence)
Date: Thu, 11 Jan 2018 22:51:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#30075: etags misdetects ruby sharp-bang sequence

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 30075 <at> debbugs.gnu.org.

-- 
30075: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30075
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.

[Message part 3 (message/rfc822, inline)]
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 4 (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)]

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

Previous Next


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