From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Language identification Date: Sat, 29 Aug 2009 10:21:28 -0400 Message-ID: <87iqg67lav.fsf@cyd.mit.edu> References: <87skfczqc8.fsf@mail.jurta.org> <87y6p45n4m.fsf@uwakimon.sk.tsukuba.ac.jp> <87ws4ntg28.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251555706 20737 80.91.229.12 (29 Aug 2009 14:21:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Aug 2009 14:21:46 +0000 (UTC) Cc: Juri Linkov , Stefan Monnier , joakim@verona.se, Emacs Development To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 29 16:21:39 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MhOoE-00085B-Gp for ged-emacs-devel@m.gmane.org; Sat, 29 Aug 2009 16:21:38 +0200 Original-Received: from localhost ([127.0.0.1]:53442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhOoD-0006ak-HD for ged-emacs-devel@m.gmane.org; Sat, 29 Aug 2009 10:21:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MhOmz-0006Bw-Ki for emacs-devel@gnu.org; Sat, 29 Aug 2009 10:20:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MhOmu-00069Y-9I for emacs-devel@gnu.org; Sat, 29 Aug 2009 10:20:20 -0400 Original-Received: from [199.232.76.173] (port=37307 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhOmu-00069U-5v for emacs-devel@gnu.org; Sat, 29 Aug 2009 10:20:16 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:56748) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MhOmt-0005ry-Vh for emacs-devel@gnu.org; Sat, 29 Aug 2009 10:20:16 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 3EDAF57E21A; Sat, 29 Aug 2009 10:21:28 -0400 (EDT) In-Reply-To: <87ws4ntg28.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Sat, 29 Aug 2009 13:11:27 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114834 Archived-At: "Stephen J. Turnbull" writes: > However, you asked "how often do you see files containing programming > languages without an extension?" The answer is, it's very common, but > the most common case is Unix command scripts with shebangs, which file > handles just as well as Emacs does. I guess the question should be, how often do you see such files that Emacs can't handle as well as libmagic? Even in such situations, I think the response should be to improve Emacs' file handling anyway, since libmagic is not available on all platforms.