From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: Magic MIME
Date: Mon, 11 Feb 2008 06:16:25 +0200 [thread overview]
Message-ID: <uodaop1pi.fsf@gnu.org> (raw)
In-Reply-To: <87prv4h032.fsf@jurta.org> (message from Juri Linkov on Mon, 11 Feb 2008 01:18:41 +0200)
> From: Juri Linkov <juri@jurta.org>
> Date: Mon, 11 Feb 2008 01:18:41 +0200
>
> Are there any obstacles to using magic-mime to determine the file
> type in Emacs? If linking libmagic is not possible, then maybe
> we could parse the magic.mime file, and even run the `file'
> command directly on a visited file?
Whatever the decision is, please avoid relying in external commands
that are not available on all supported platforms. `file' isn't.
Emacs should be powerful enough to be able to visit files without
requiring an external tool; if it needs to consult some database for
that, it should be easy enough to include such a data base in the
Emacs distribution, perhaps even in a form that is convenient for
reading in Lisp.
next prev parent reply other threads:[~2008-02-11 4:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-10 23:18 Magic MIME Juri Linkov
2008-02-11 2:24 ` Stefan Monnier
2008-02-11 20:55 ` Juri Linkov
2008-02-12 3:25 ` Stefan Monnier
2008-02-11 4:16 ` Eli Zaretskii [this message]
2008-02-11 20:59 ` Juri Linkov
2008-02-11 21:41 ` Eli Zaretskii
2008-02-12 3:51 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uodaop1pi.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.