[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using libmagic in Emacs?
From: |
Chong Yidong |
Subject: |
Re: using libmagic in Emacs? |
Date: |
Tue, 18 Aug 2009 16:01:09 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> Would there be interest in an Emacs patch for libmagic, or is there some
>> obvious reason this havent been done yet? I envision this as being an
>> inteface with 2 implementations, a lisp fallback like today, and
>> libmagic if available. I did a libmagick wrapper for Ocaml using Swig
>> before so I have some familiarity with the API.
>
> I think it's a good idea. It may require some non-trivial changes on
> the Lisp side, since libmagic's information is not quite the same as
> what Emacs currently uses: we'll probably want to use libmagic to get
> a MIME-type and then have a table mapping mime-types to major modes or
> some such.
This development would probably have to take place in a separate branch.
- using libmagic in Emacs?, joakim, 2009/08/18
- Re: using libmagic in Emacs?, Stefan Monnier, 2009/08/18
- Re: using libmagic in Emacs?,
Chong Yidong <=
- Re: using libmagic in Emacs?, joakim, 2009/08/18
- Re: using libmagic in Emacs?, Stefan Monnier, 2009/08/18
- Re: using libmagic in Emacs?, Eli Zaretskii, 2009/08/18
- Re: using libmagic in Emacs?, Stefan Monnier, 2009/08/18
- Re: using libmagic in Emacs?, Chong Yidong, 2009/08/19
- Re: using libmagic in Emacs?, joakim, 2009/08/19
- next bugfix release? [was: Re: using libmagic in Emacs?], Dan Nicolaescu, 2009/08/19
- Re: next bugfix release?, Chong Yidong, 2009/08/19
- Re: next bugfix release?, Dan Nicolaescu, 2009/08/19
- Re: next bugfix release?, Alan Mackenzie, 2009/08/19