elisp is the programming language of [Emacs]. [[Can someone provide a URL to more information on elisp?]] See the Tcl Emacs editing mode containing help code, a tcl interaction mode, menus, font lock support, etc. It is available on the Emacs Lisp Archive at ftp://archive.cis.ohio-state.edu/pub/emacs/elisp-archive/modes/tcl.el.Z and http://drip.colorado.edu/%7Etromey/src/tcl.el . [Gregor Schmid] has written a major mode for tcl scripts. He posted tcl-mode 1.1 to gnu.emacs.sources at one time and so it should be on one of the emacs elisp-archives . [DKF] has an extra elisp library at http://www.cs.man.ac.uk/%7Efellowsd/tcl/#fontlock which provides enhanced syntax highlighting (font lock). An alternative URL mentioned was http://r8h.cs.man.ac.uk:800/tcl/ . Lars Magne Ingebrigtsen mailto:larsi@ifi.uio.no has written Expect functionality in an elisp package. It is going to be included in Emacs in a future release. Email the contact about details. ---- At one point, this elisp code was posted to comp.lang.tcl: (defun font-lock-set-defaults () "Set `font-lock-keywords' to something appropriate for this mode." (setq font-lock-keywords (cond ((eq major-mode 'lisp-mode) lisp-font-lock-keywords) ((eq major-mode 'emacs-lisp-mode) lisp-font-lock-keywords) ((eq major-mode 'c-mode) c-font-lock-keywords) ((eq major-mode 'c++-c-mode) c-font-lock-keywords) ((eq major-mode 'c++-mode) c++-font-lock-keywords) ((eq major-mode 'tex-mode) tex-font-lock-keywords) ((eq major-mode 'perl-mode) perl-font-lock-keywords) ((eq major-mode 'tcl-mode) tcl-font-lock-keywords) ((eq major-mode 'texinfo-mode) texi-font-lock-keywords) (t nil)))) ---- Here's some code from [davidw] that provides an interface to a tcl man page. (defun tclman () "Get 3tcl man page" (interactive) (let* ((default-entry (Man-default-man-entry)) (input (read-string (format "3tcl Manual entry%s: " (if (string= default-entry "") "" (format " (default %s)" default-entry)))))) (if (string= input "") (Man-getpage-in-background (concat "-S 3tcl " default-entry)) (Man-getpage-in-background (concat "-S 3tcl " input))))) ---- http://www.purl.org/NET/Tcl-FAQ/part4.html lists these related tools. What: eev Where: http://www.mat.puc-rio.br/%7Eedrx/emacs.html Description: eev.el is a Emacs Lisp library that provides a method to place hyperlinks and shell/Tcl/TeX/Perl/etc. code inside text files. Currently at version 2000may27. Updated: 11/1999 Contact: mailto:edrx@mat.puc-rio.br (Eduardo Ochs) What: Emacsclient alternative Where: http://www.inx.de/%7Ejn/tcl-hacks/ Description: A "cheap" variant of the Emacsclient/server model which does not wait for completion, works across a network on the same X display, and utilizes xauth security, written in Tk and Emacs Lisp. Updated: 10/1996 Contact: mailto:jn@berlin.snafu.de (Juergen Nickelsen) What: prettyp Where: http://www.ee.ryerson.ca/%7Eelf/prettyp/ Description: Suite of programs that generate pretty PostScript source code lists, using TeX. prettyp uses tfontedpr. Supports C, C++, FORTRAN77, ISP, Icon, Java, LDL, Emacs Mock Lisp, Model, Modula2, Pascal, Perl, Python, RATFOR, Russell, sh/csh, Tcl, VHDL, and yacc grammer, as well as Makefiles and Imakefiles. Now has support for color printing - comments, keywords, and literal strings can all have different colors. Also improved Perl support and added VHDL support Currently at version 2.0 . Updated: 05/2002 Contact: mailto:elf@ee.ryerson.ca (Luis Fernandes) What: Tk Emacs widget Where: ftp://ftp.procplace.com/pub/tcl/sorted/packages-7.6/text/TkEmacs1.3.tar.gz Description: Emacs widget for the Tk widget set. Allows emacs-lisp code to be sent to emacs and Tcl code to be sent from emacs to Tcl. Works with tk2.3 and tk3.0 (and should work with tk3.1 when it is available). Contains patches for GNU Emacs 18.58 and 18.59. Updated: 10/1998 Contact: [Sven Delmas] ---- [Category Language]