default.srt 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ;;; default.srt --- SRecode templates for srecode-template-mode
  2. ;; Copyright (C) 2007-2016 Free Software Foundation, Inc.
  3. ;; Author: Eric M. Ludlam <eric@siege-engine.com>
  4. ;; This file is part of GNU Emacs.
  5. ;; GNU Emacs is free software: you can redistribute it and/or modify
  6. ;; it under the terms of the GNU General Public License as published by
  7. ;; the Free Software Foundation, either version 3 of the License, or
  8. ;; (at your option) any later version.
  9. ;; GNU Emacs is distributed in the hope that it will be useful,
  10. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. ;; GNU General Public License for more details.
  13. ;; You should have received a copy of the GNU General Public License
  14. ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  15. set mode "default"
  16. set comment_start "#"
  17. set COPYRIGHT "This program is free software; you can redistribute it and/or
  18. modify it under the terms of the GNU General Public License as
  19. published by the Free Software Foundation, either version 3 of the
  20. License, or (at your option) any later version.
  21. This program is distributed in the hope that it will be useful, but
  22. WITHOUT ANY WARRANTY; without even the implied warranty of
  23. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  24. General Public License for more details.
  25. You should have received a copy of the GNU General Public License
  26. along with this program. If not, see http://www.gnu.org/licenses/."
  27. set DOLLAR "$"
  28. context file
  29. template copyright
  30. ----
  31. {{COPYRIGHT:srecode-comment-prefix}}
  32. ----
  33. template filecomment :file :user :time
  34. ----
  35. {{comment_start}} {{FILENAME}} --- {{^}}
  36. {{comment_prefix}}
  37. {{comment_prefix}} Copyright (C) {{YEAR}} {{?AUTHOR}}
  38. {{comment_prefix}}
  39. {{comment_prefix}} Author: {{AUTHOR}} <{{EMAIL}}>{{#RCS}}
  40. {{comment_prefix}} X-RCS: {{DOLLAR}}Id{{DOLLAR}}{{/RCS}}
  41. {{comment_prefix}}
  42. {{>:copyright}}
  43. {{comment_end}}
  44. ----
  45. ;; end