[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using libmagic in Emacs?
From: |
Juri Linkov |
Subject: |
Re: using libmagic in Emacs? |
Date: |
Mon, 31 Aug 2009 19:17:52 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) |
>> > PLEASE do not base Emacs infrastructure on external programs, unless
>> > they come with Emacs.
>>
>> There are many features in Emacs that depend on external programs,
>> e.g. `ls' for dired, `find' and `grep', `man', `ispell', `shell',
>> `gdb', `diff', VCS tools, etc.
>
> I said infrastructure, not features. Of those you mentioned only `ls'
> is used in infrastructure, and that's precisely why we had to write
> ls-lisp.el.
`mailcap-file-default-commands' is not infrastructure. It's one
small feature.
>> My patch fails gracefully when `file' is not available, I tried
>> removing `file' without any problem. The function just returns nil.
>
> And that is graceful how?
When it returns nil, then default commands are the same as provided
by mailcap for plain text files, i.e. `less', `konqueror', etc.
--
Juri Linkov
http://www.jurta.org/emacs/
- 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 <=
- 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, 2009/08/31
- 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