From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: using libmagic in Emacs? Date: Tue, 01 Sep 2009 08:16:18 -0400 Message-ID: References: <87ocqco7fi.fsf@mail.jurta.org> <87y6pb8lqh.fsf@mail.jurta.org> <87my5qngab.fsf@mail.jurta.org> <87eiquuq7j.fsf@mail.jurta.org> <83vdk69evw.fsf@gnu.org> <87tyzovxd7.fsf@stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1251807557 23303 80.91.229.12 (1 Sep 2009 12:19:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Sep 2009 12:19:17 +0000 (UTC) Cc: juri@jurta.org, eliz@gnu.org, joakim@verona.se, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 01 14:19:09 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 1MiSKH-0006f1-KI for ged-emacs-devel@m.gmane.org; Tue, 01 Sep 2009 14:19:05 +0200 Original-Received: from localhost ([127.0.0.1]:49296 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiSKF-0001iq-54 for ged-emacs-devel@m.gmane.org; Tue, 01 Sep 2009 08:19:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MiSHn-0001F0-FR for emacs-devel@gnu.org; Tue, 01 Sep 2009 08:16:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiSHe-0001DK-Ed for emacs-devel@gnu.org; Tue, 01 Sep 2009 08:16:28 -0400 Original-Received: from [199.232.76.173] (port=48456 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiSHd-0001D2-BP for emacs-devel@gnu.org; Tue, 01 Sep 2009 08:16:21 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:40954) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MiSHc-00088U-Ke for emacs-devel@gnu.org; Tue, 01 Sep 2009 08:16:20 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MiSHa-0002Oh-IN; Tue, 01 Sep 2009 08:16:18 -0400 In-reply-to: <87tyzovxd7.fsf@stupidchicken.com> (message from Chong Yidong on Mon, 31 Aug 2009 11:03:48 -0400) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:114943 Archived-At: > It shouldn't be a big deal. Only a few specialized places should want > to run `file' on a file. No one has yet explained why we shouldn't deal with such failures by simply fixing Emacs' file detection, instead of relying on libmagic or file. I don't think we're talking about the same question. "Emacs' file type detection" is used inside find-file. I'm proposing the use of `file' in othehr specific features, not in find-file.