lisp 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #------------------------------------------------------------------------------
  2. # $File$
  3. # lisp: file(1) magic for lisp programs
  4. #
  5. # various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)
  6. # updated by Joerg Jenderek
  7. # GRR: This lot is too weak
  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/4096 !\r Lisp/Scheme program text
  12. #>2 search/4096 \r Windows INF file
  13. 0 search/4096 (setq\ Lisp/Scheme program text
  14. !:mime text/x-lisp
  15. 0 search/4096 (defvar\ Lisp/Scheme program text
  16. !:mime text/x-lisp
  17. 0 search/4096 (defparam\ Lisp/Scheme program text
  18. !:mime text/x-lisp
  19. 0 search/4096 (defun\ Lisp/Scheme program text
  20. !:mime text/x-lisp
  21. 0 search/4096 (autoload\ Lisp/Scheme program text
  22. !:mime text/x-lisp
  23. 0 search/4096 (custom-set-variables\ Lisp/Scheme program text
  24. !:mime text/x-lisp
  25. # Emacs 18 - this is always correct, but not very magical.
  26. 0 string \012( Emacs v18 byte-compiled Lisp data
  27. !:mime application/x-elc
  28. # Emacs 19+ - ver. recognition added by Ian Springer
  29. # Also applies to XEmacs 19+ .elc files; could tell them apart with regexs
  30. # - Chris Chittleborough <cchittleborough@yahoo.com.au>
  31. 0 string ;ELC
  32. >4 byte >18
  33. >4 byte <32 Emacs/XEmacs v%d byte-compiled Lisp data
  34. !:mime application/x-elc
  35. # Files produced by CLISP Common Lisp From: Bruno Haible <haible@ilog.fr>
  36. 0 string (SYSTEM::VERSION\040' CLISP byte-compiled Lisp program (pre 2004-03-27)
  37. 0 string (|SYSTEM|::|VERSION|\040' CLISP byte-compiled Lisp program text
  38. 0 long 0x70768BD2 CLISP memory image data
  39. 0 long 0xD28B7670 CLISP memory image data, other endian
  40. #.com and .bin for MIT scheme
  41. 0 string \372\372\372\372 MIT scheme (library?)
  42. # From: David Allouche <david@allouche.net>
  43. 0 search/1 \<TeXmacs| TeXmacs document text
  44. !:mime text/texmacs