]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - contrib/file/Magdir/lisp
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / contrib / file / Magdir / lisp
1
2 #------------------------------------------------------------------------------
3 # lisp:  file(1) magic for lisp programs
4 #
5 # various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)
6
7 # updated by Joerg Jenderek
8 0       string  ;;                      
9 # windows INF files often begin with semicolon and use CRLF as line end
10 # lisp files are mainly created on unix system with LF as line end
11 >2      search/2048     !\r             Lisp/Scheme program text
12 >2      search/2048     \r              Windows INF file
13
14 0       search/256      (if\                    Lisp/Scheme program text
15 0       search/256      (setq\                  Lisp/Scheme program text
16 0       search/256      (defvar\                Lisp/Scheme program text
17 0       search/256      (defparam\              Lisp/Scheme program text
18 0       search/256      (defun\                 Lisp/Scheme program text
19 0       search/256      (autoload\              Lisp/Scheme program text
20 0       search/256      (custom-set-variables\  Lisp/Scheme program text
21
22 # Emacs 18 - this is always correct, but not very magical.
23 0       string  \012(                   Emacs v18 byte-compiled Lisp data
24 # Emacs 19+ - ver. recognition added by Ian Springer
25 # Also applies to XEmacs 19+ .elc files; could tell them apart if we had regexp
26 # support or similar - Chris Chittleborough <cchittleborough@yahoo.com.au>
27 0       string  ;ELC                    
28 >4      byte    >19                     
29 >4      byte    <32                     Emacs/XEmacs v%d byte-compiled Lisp data
30
31 # Files produced by CLISP Common Lisp From: Bruno Haible <haible@ilog.fr>
32 0       string  (SYSTEM::VERSION\040'   CLISP byte-compiled Lisp program text
33 0       long    0x70768BD2              CLISP memory image data
34 0       long    0xD28B7670              CLISP memory image data, other endian
35
36 # Files produced by GNU gettext
37 0       long    0xDE120495              GNU-format message catalog data
38 0       long    0x950412DE              GNU-format message catalog data
39
40 #.com and .bin for MIT scheme 
41 0       string  \372\372\372\372        MIT scheme (library?)
42
43 # From: David Allouche <david@allouche.net>
44 0       string  \<TeXmacs|      TeXmacs document text