[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Language identification
From: |
Stefan Monnier |
Subject: |
Re: Language identification |
Date: |
Fri, 28 Aug 2009 00:58:42 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
>> I often wish that files would open in Emacs with correct mode
>> more often when there is no file extension.
> In `auto-mode-alist' you can see that with the exception of
> `archive-mode', `doc-view-mode' and `image-mode', all remaining
> modes are programming text modes. It would be more useful
> to identify file types for these modes that libmagic can't do.
> Do you know a library that identifies programming languages?
> Such a library might be implemented using a Bayesian classifier
> trained on a sufficiently large corpus of different programming
> languages.
OTOH, how often do you see a file containg programming language code and
yet without ny extension?
Stefan
- Re: using libmagic in Emacs?, (continued)
- Re: using libmagic in Emacs?, Eli Zaretskii, 2009/08/22
- Re: using libmagic in Emacs?, Stefan Monnier, 2009/08/21
- Re: using libmagic in Emacs?, Andreas Schwab, 2009/08/21
- Re: using libmagic in Emacs?, Richard Stallman, 2009/08/20
- Re: using libmagic in Emacs?, Reiner Steib, 2009/08/20
- Re: using libmagic in Emacs?, Richard Stallman, 2009/08/21
- Re: using libmagic in Emacs?, Stefan Monnier, 2009/08/21
Language identification (was: using libmagic in Emacs), Juri Linkov, 2009/08/27
- Re: Language identification,
Stefan Monnier <=
Re: Language identification, Richard Stallman, 2009/08/28
Re: Language identification, Stephen J. Turnbull, 2009/08/29
Re: Language identification, Stefan Monnier, 2009/08/29
Re: Language identification, Stephen J. Turnbull, 2009/08/29
Re: Language identification, Richard Stallman, 2009/08/30
Re: Language identification, Juri Linkov, 2009/08/28