From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: unable to open jpg file Date: Tue, 15 Jan 2008 09:08:41 -0700 Message-ID: References: <61562314-8495-4E17-A6BE-C2F73B85155B@xahlee.org> <372F90F5-325B-46D5-99ED-BB315E37EF0C@xahlee.org> <478B618B.6040404@gnu.org> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200415383 1122 80.91.229.12 (15 Jan 2008 16:43:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jan 2008 16:43:03 +0000 (UTC) Cc: xah lee , emacs-pretest-bug@gnu.org, YAMAMOTO Mitsuharu , Jason Rumney To: James Cloos Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 15 17:43:25 2008 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 1JEosm-0002YP-SR for ged-emacs-devel@m.gmane.org; Tue, 15 Jan 2008 17:43:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEosO-0002N8-Du for ged-emacs-devel@m.gmane.org; Tue, 15 Jan 2008 11:43:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JEosK-0002Mx-6P for emacs-devel@gnu.org; Tue, 15 Jan 2008 11:42:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JEosJ-0002Ml-On for emacs-devel@gnu.org; Tue, 15 Jan 2008 11:42:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEosJ-0002Mi-Hr for emacs-devel@gnu.org; Tue, 15 Jan 2008 11:42:55 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JEosJ-00079c-AP for emacs-devel@gnu.org; Tue, 15 Jan 2008 11:42:55 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JEosI-0008Rh-Vi for emacs-pretest-bug@gnu.org; Tue, 15 Jan 2008 11:42:55 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JEosG-00078E-33 for emacs-pretest-bug@gnu.org; Tue, 15 Jan 2008 11:42:55 -0500 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JEosC-00076M-CS; Tue, 15 Jan 2008 11:42:48 -0500 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m0FGgf10020014; Tue, 15 Jan 2008 11:42:41 -0500 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0FGgfaJ004232; Tue, 15 Jan 2008 11:42:41 -0500 Original-Received: from opsy.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0FGgeSb020324; Tue, 15 Jan 2008 11:42:40 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id C025B5089A4; Tue, 15 Jan 2008 09:08:41 -0700 (MST) X-Attribution: Tom In-Reply-To: (James Cloos's message of "Mon\, 14 Jan 2008 22\:36\:38 +0000") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: 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:86937 gmane.emacs.pretest.bugs:20661 Archived-At: >>>>> "James" == James Cloos writes: James> Incidently, file(1) is under a 2-clause BSD-style license; incorporating James> the magic.mime file and using that to determine how to open files might James> make for a more robust -- or at least well-tested -- system. You could also use libmagic directly and not have to reimplement the magic.mime parsing stuff. That's what we did in libgcj. Tom