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>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#30075: closed (etags misdetects ruby sharp-bang sequence)
Date: Thu, 11 Jan 2018 22:51:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 12 Jan 2018 01:50:41 +0300
with message-id <9d068768-12d7-17d0-1600-060757d9d7c6 <at> yandex.ru>
and subject line Re: bug#30075: etags misdetects ruby sharp-bang sequence
has caused the debbugs.gnu.org bug report #30075,
regarding etags misdetects ruby sharp-bang sequence
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: bug-gnu-emacs <at> gnu.org
Subject: etags misdetects ruby sharp-bang sequence
Date: Thu, 11 Jan 2018 02:36:55 +0300
[Message part 3 (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)]
[Message part 6 (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.


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.