/etc/emacs/site-start.d/50tcsh.el is in tcsh 6.20.00-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ;;; 50tcsh.el -- debian emacs setups for tcsh
(if (not (file-exists-p "/usr/share/emacs/site-lisp/csh-mode.el"))
(message "tcsh removed but not purged, skipping setup")
(autoload 'csh-mode "csh-mode"
"csh-mode 2.0 - Major mode for editing csh and tcsh scripts." t)
;; Emacs comes with `interpreter-mode-alist' settings to put
;; #!/usr/bin/csh and #!/usr/bin/tcsh files in `sh-mode'.
;; Whether you want `sh-mode' or `csh-mode' is a matter of personal
;; preference. For now we leave the Emacs supplied sh-mode as the default.
;; Uncomment the lines below if you want csh-mode system-wide, or copy and
;; uncomment them in your .emacs for individual use.
;;
;; The lines are as recommended by docstring of `csh-mode', except
;; * \' for end of string
;; * .tcsh too, eg. /usr/share/doc/util-linux/examples/getopt-parse.tcsh
;; .login is allowed to be a suffix since it can appear as extension like
;; /etc/csh.login as well as whole name like ~/.login
;; (add-to-list 'auto-mode-alist '("\\.t?csh\\'" . csh-mode))
;; (add-to-list 'auto-mode-alist '("\\.login\\'" . csh-mode))
;; (add-to-list 'interpreter-mode-alist '("t?csh\\'" . csh-mode))
)
|