2 #------------------------------------------------------------------------------
3 # lisp: file(1) magic for lisp programs
5 # various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)
7 # This is a guess, but a good one.
8 0 string ;; Lisp/Scheme program text
10 # Emacs 18 - this is always correct, but not very magical.
11 0 string \012( Emacs v18 byte-compiled Lisp data
12 # Emacs 19+ - ver. recognition added by Ian Springer
13 # Also applies to XEmacs 19+ .elc files; could tell them apart if we had regexp
14 # support or similar - Chris Chittleborough <cchittleborough@yahoo.com.au>
17 >4 byte <32 Emacs/XEmacs v%d byte-compiled Lisp data
19 # Files produced by CLISP Common Lisp From: Bruno Haible <haible@ilog.fr>
20 0 string (SYSTEM::VERSION\040' CLISP byte-compiled Lisp program text
21 0 long 0x70768BD2 CLISP memory image data
22 0 long 0xD28B7670 CLISP memory image data, other endian
24 # Files produced by GNU gettext
25 0 long 0xDE120495 GNU-format message catalog data
26 0 long 0x950412DE GNU-format message catalog data
28 #.com and .bin for MIT scheme
29 0 string \372\372\372\372 MIT scheme (library?)
31 # From: David Allouche <david@allouche.net>
32 0 string \<TeXmacs| TeXmacs document text