From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30075: etags misdetects ruby sharp-bang sequence Date: Thu, 11 Jan 2018 18:39:01 +0200 Message-ID: <83fu7c4afu.fsf@gnu.org> References: <808f90cf-3fa8-a72b-35ea-c0e549d96f43@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1515688704 2768 195.159.176.226 (11 Jan 2018 16:38:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Jan 2018 16:38:24 +0000 (UTC) Cc: 30075@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 11 17:38:20 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZfrp-0008Rc-Bs for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jan 2018 17:38:13 +0100 Original-Received: from localhost ([::1]:54732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZfto-0008S9-V2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jan 2018 11:40:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZftf-0008NJ-CV for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 11:40:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZfta-0002KZ-DE for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 11:40:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44498) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZfta-0002KE-9E for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 11:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eZfta-0002Lw-23 for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 11:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jan 2018 16:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30075 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30075-submit@debbugs.gnu.org id=B30075.15156887578991 (code B ref 30075); Thu, 11 Jan 2018 16:40:02 +0000 Original-Received: (at 30075) by debbugs.gnu.org; 11 Jan 2018 16:39:17 +0000 Original-Received: from localhost ([127.0.0.1]:52395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZfsq-0002Kv-QF for submit@debbugs.gnu.org; Thu, 11 Jan 2018 11:39:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZfsp-0002Kk-HM for 30075@debbugs.gnu.org; Thu, 11 Jan 2018 11:39:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZfsf-0001Nl-GD for 30075@debbugs.gnu.org; Thu, 11 Jan 2018 11:39:10 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZfsf-0001Nh-D9; Thu, 11 Jan 2018 11:39:05 -0500 Original-Received: from [176.228.60.248] (port=3134 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eZfse-00021p-SF; Thu, 11 Jan 2018 11:39:05 -0500 In-reply-to: <808f90cf-3fa8-a72b-35ea-c0e549d96f43@yandex.ru> (message from Dmitry Gutov on Thu, 11 Jan 2018 02:36:55 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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:142038 Archived-At: > From: Dmitry Gutov > 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.