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


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.




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.