[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: |
Mon, 31 Aug 2009 11:03:48 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> PLEASE do not base Emacs infrastructure on external programs, unless
> they come with Emacs. `file' is not available on every platform, and
>
> libmagic isn't either.
>
> even on those it is, the quality and extent of its database is unclear
> and so cannot be relied upon.
>
> On systems that have libmagic, isn't it the case that file uses libmagic?
>
> I really don't understand why linking against a simple free library is
> an issue, but if it is, we should find a different solution using some
> database internal to Emacs, as we did until now.
>
> 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. Given that libmagic/file isn't always going to be present, and
there's no intention of removing our file detection code, why not make
sure the latter works? Are there any situations we are inherently
incapable of detecting, and why?
- Re: using libmagic in Emacs?, (continued)
- Re: using libmagic in Emacs?, Stefan Monnier, 2009/08/25
- Re: using libmagic in Emacs?, Juri Linkov, 2009/08/25
- Re: using libmagic in Emacs?, Juri Linkov, 2009/08/29
- Re: using libmagic in Emacs?, Eli Zaretskii, 2009/08/29
- Re: using libmagic in Emacs?, Juri Linkov, 2009/08/30
- Re: using libmagic in Emacs?, Eli Zaretskii, 2009/08/30
- Re: using libmagic in Emacs?, Juri Linkov, 2009/08/31
- Re: using libmagic in Emacs?, Eli Zaretskii, 2009/08/31
- Re: using libmagic in Emacs?, Richard Stallman, 2009/08/31
- Re: using libmagic in Emacs?, Richard Stallman, 2009/08/30
- Re: using libmagic in Emacs?,
Chong Yidong <=
- Re: using libmagic in Emacs?, Juri Linkov, 2009/08/31
- Re: using libmagic in Emacs?, Stefan Monnier, 2009/08/31
- Re: using libmagic in Emacs?, Eli Zaretskii, 2009/08/31
- Re: using libmagic in Emacs?, Juri Linkov, 2009/08/25
Re: using libmagic in Emacs?, joakim, 2009/08/19
- Re: using libmagic in Emacs?, Dan Nicolaescu, 2009/08/19
- Re: using libmagic in Emacs?, Stephen J. Turnbull, 2009/08/19
- Re: using libmagic in Emacs?, Eli Zaretskii, 2009/08/19
- Re: using libmagic in Emacs?, Stephen J. Turnbull, 2009/08/20
- Re: using libmagic in Emacs?, Eli Zaretskii, 2009/08/20