From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: using libmagic in Emacs? Date: Tue, 01 Sep 2009 06:16:20 +0300 Message-ID: <838wgz9wxn.fsf@gnu.org> 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: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1251775121 2953 80.91.229.12 (1 Sep 2009 03:18:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Sep 2009 03:18:41 +0000 (UTC) Cc: juri@jurta.org, cyd@stupidchicken.com, rms@gnu.org, joakim@verona.se, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 01 05:18:33 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 1MiJtA-00031q-PV for ged-emacs-devel@m.gmane.org; Tue, 01 Sep 2009 05:18:33 +0200 Original-Received: from localhost ([127.0.0.1]:50517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiJtA-0000fp-4o for ged-emacs-devel@m.gmane.org; Mon, 31 Aug 2009 23:18:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MiJt5-0000fa-7i for emacs-devel@gnu.org; Mon, 31 Aug 2009 23:18:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiJt3-0000fO-Ru for emacs-devel@gnu.org; Mon, 31 Aug 2009 23:18:25 -0400 Original-Received: from [199.232.76.173] (port=54136 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiJt3-0000fL-Mm for emacs-devel@gnu.org; Mon, 31 Aug 2009 23:18:25 -0400 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:23657) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MiJt1-0004PG-RW; Mon, 31 Aug 2009 23:18:24 -0400 Original-Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KP900G00VLK6300@i_mtaout5.012.net.il>; Tue, 01 Sep 2009 06:18:23 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.144.38]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KP900MSKVUL5U80@i_mtaout5.012.net.il>; Tue, 01 Sep 2009 06:18:23 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:114934 Archived-At: > From: Stefan Monnier > Date: Mon, 31 Aug 2009 19:47:14 -0400 > Cc: juri@jurta.org, Eli Zaretskii , rms@gnu.org, joakim@verona.se, > emacs-devel@gnu.org > > > 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 > > Because we don't want to keep reinventing the wheel, do we? What wheel is that? Emacs has been consulting various internal databases since time immemoriam. We do the same with Unicode databases as well.