From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#13815: Wrong mode for files with awkward shebang lines Date: Tue, 26 Feb 2013 03:12:25 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1361866405 376 80.91.229.3 (26 Feb 2013 08:13:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2013 08:13:25 +0000 (UTC) Cc: 13815@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 26 09:13:48 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UAFfV-0006i7-7P for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Feb 2013 09:13:45 +0100 Original-Received: from localhost ([::1]:59474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAFfA-0000F4-7S for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Feb 2013 03:13:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAFf6-0000E8-6c for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 03:13:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAFf5-0002ok-3k for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 03:13:20 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAFf5-0002od-08 for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 03:13:19 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UAFgk-0003D6-9R for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 03:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Feb 2013 08:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13815-submit@debbugs.gnu.org id=B13815.136186645412271 (code B ref 13815); Tue, 26 Feb 2013 08:15:02 +0000 Original-Received: (at 13815) by debbugs.gnu.org; 26 Feb 2013 08:14:14 +0000 Original-Received: from localhost ([127.0.0.1]:50524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAFfx-0003Bs-Mm for submit@debbugs.gnu.org; Tue, 26 Feb 2013 03:14:13 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:58845) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAFfv-0003Bl-05 for 13815@debbugs.gnu.org; Tue, 26 Feb 2013 03:14:12 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UAFeD-0001mF-FN; Tue, 26 Feb 2013 03:12:25 -0500 X-Spook: red noise CNCIS Arnett sweep CISU terrorism Taiwan hackers X-Ran: Q*(g)uf3n' (Stefan Monnier's message of "Mon, 25 Feb 2013 21:59:30 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71834 Archived-At: Stefan Monnier wrote: > IIRC no strict priority will do, because for some files, the content is > more important than the filename. I've never seen a real-world example where the #! line says one thing, the filename extension says another, and the #! line is correct. Does anyone have such an example? (Going back to #3354, I now have 414 *.conf files in /etc, and not one has a #! line.)