Commit graph

72 commits

Author SHA1 Message Date
Stefan Monnier
a2c6faead5 (tcl-omit-ws-regexp): Correctly handle cases like `proc foo {a {b c} d} {'.
(tcl-mode): Make comment-start-skip more selective.
2003-02-11 21:04:50 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Stefan Monnier
cd21c04ac9 (tcl-mode): Don't set paragraph-start,
paragraph-separate, comment-column, and fill-paragraph-function.
Simplify outline-regexp.
(tcl-do-fill-paragraph): Remove.
2002-11-07 15:22:49 +00:00
Stefan Monnier
2c7cdd69e6 Change maintainer.
(tcl-electric-hash-style): Change default to nil.
(tcl-imenu-generic-expression): Use tcl-proc-regexp.
(tcl-do-auto-fill): Remove.
(tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
2002-04-01 21:01:04 +00:00
Richard M. Stallman
031a588664 (tcl-imenu-generic-expression): New value.
(tcl-imenu-create-index-function): Function deleted.
(tcl-mode): Check for filladapt-mode.
Use tcl-imenu-generic-expression instead of
tcl-imenu-create-index-function.
(inferior-tcl-mode): Doc fix.
Change not legally significant.
2002-04-01 20:22:02 +00:00
Richard M. Stallman
9ad79cb427 (tcl-imenu-create-index-function): Doc fix. 2002-03-29 12:48:09 +00:00
Richard M. Stallman
0472b23ea7 (tcl-do-fill-paragraph): Find and fill on more
natural paragraph boundaries.  Don't fail at beginning of buffer.
2002-02-20 22:33:35 +00:00
Stefan Monnier
c2ca517100 Change maintainer to FSF and remove loads of compatibility cruft.
(tcl-using-emacs-19, tcl-using-emacs-19-23, tcl-using-xemacs-19)
(tcl-version, tcl-maintainer, tcl-use-hairy-comment-detector): Remove.
(tcl-mode-map): Remove bindings for tcl-beginning-of-defun,
tcl-end-of-defun, tcl-mark-defun, tcl-indent-for-comment,
tcl-submit-bug-report.
(tcl-mode-syntax-table): Leave \f alone.
(inferior-tcl-mode-map): Remove bindings for tcl-beginning-of-defun,
tcl-end-of-defun, tcl-submit-bug-report.
(tcl-xemacs-menu): Fix up and pass it directly to easymenu.
(tcl-add-emacs-menu): Remove.
(tcl-fill-mode-map, tcl-fill-inferior-map): Moved into the defvar.
(tcl-keyword-list): Add `chain'.
(tcl-font-lock-syntactic-keywords): New variable.
(tcl-pps-has-arg-6): Remove.
(tcl-internal-beginning-of-defun, tcl-internal-end-of-defun)
(tcl-internal-mark-defun): Remove.
(tcl-set-proc-regexp, tcl-set-font-lock-keywords): Use regexp-opt.
(tcl-mode): Use define-derived-mode.  Simplify.
Set comment-indent-function.
(tcl-indent-command): Use line-beginning-position and comment-indent.
(tcl-calculate-indent): Renamed from calculate-tcl-indent.
(tcl-indent-line): Use tcl-calculate-indent.
(tcl-indent-exp): Renamed from indent-tcl-exp.  Use new names.
(tcl-add-log-defun): Renamed from add-log-tcl-defun.  Use match-string.
(tcl-filter): Use with-current-buffer, simplify.
(inferior-tcl-mode): Use define-derived-mode.
(tcl-hairy-in-comment): Renamed tcl-in-comment.
(tcl-simple-in-comment, tcl-in-comment): Removed.
(tcl-files-alist): New function.
(tcl-help-snarf-commands): Use it and return the result directly
rather than through a global variable.
(tcl-reread-help-files): Fix up the call to tcl-help-snarf-commands.
(tcl-help-on-word): Provide the default value to completing-read.
(tcl-hilit): Remove.
(tcl-hashify-buffer, tcl-popup-menu): Simplify.
(tcl-comment-indent): New function.
(tcl-submit-bug-report): Remove.
(tcl-uncomment-region, tcl-indent-for-comment, add-log-tcl-defun)
(indent-tcl-exp, calculate-tcl-indent, tcl-beginning-of-defun)
(tcl-end-of-defun, tcl-mark-defun, tcl-mark): Redefine as aliases.
2001-10-11 00:26:48 +00:00
Stefan Monnier
374daba6de *** empty log message *** 2001-07-17 18:40:19 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Gerd Moellmann
850d504596 (outline, dabbrev, add-log): Require when
compiling.
(tcl-using-emacs-19-23): Consider Emacs 21+.
(tcl-help-directory-list, tcl-command-switches): Fix :type.
(tcl-add-emacs-menu): Supply menu name.
(tcl-beginning-of-defun, tcl-end-of-defun): Defalias, don't fset.
2001-01-29 20:58:49 +00:00
Stefan Monnier
6a4384e6bc (tcl-indent-for-comment): Ignore comment-indent-hook. 2000-06-04 22:01:03 +00:00
Richard M. Stallman
94662de752 Customized. 1999-08-04 22:55:56 +00:00
Richard M. Stallman
2f585cfe9c Many doc fixes.
(tcl-add-emacs-menu): Renamed from tcl-add-fsf-menu.
1999-08-03 12:42:09 +00:00
Tom Tromey
5bc0f801f1 (tcl-typeword-list): Added `variable'. 1999-07-19 00:36:55 +00:00
Tom Tromey
7a366a316f (tcl-keyword-list): Added method, body, configbody, class 1999-07-19 00:35:36 +00:00
Tom Tromey
2e4d8e503e (tcl-mode): Set font-lock-defaults, not font-lock-keywords. 1999-07-18 18:40:27 +00:00
Tom Tromey
4744889106 (tcl-proc-list): Reverted; already had `body'. 1999-07-18 05:21:33 +00:00
Tom Tromey
7d2be63757 (tcl-proc-list): Added `body'. 1999-07-18 05:19:57 +00:00
Tom Tromey
c076faabba (tcl-using-emacs-19-23): Recognize Emacs 20. 1999-03-29 07:35:55 +00:00
Tom Tromey
55c6d8fce1 Some itcl additions:
(tcl-typeword-list): Added private, itk_option.
(tcl-proc-list): Added body, configbody, class.
1998-07-02 17:47:49 +00:00
Tom Tromey
9a0fc2087f (tcl-indent-command): Use insert-tab, not self-insert-command. 1996-09-12 17:02:52 +00:00
Tom Tromey
fcb51016d2 (tcl-using-emacs-19): Work with XEmacs 20.0. From Ben Wing. 1996-03-23 05:14:50 +00:00
Tom Tromey
150269d560 (add-log-tcl-defun): Don't use tcl-beginning-of-defun; just go to end
of line before searching.
1995-12-07 18:27:47 +00:00
Tom Tromey
5191b75daa (add-log-tcl-defun): Now uses tcl-beginning-of-defun. 1995-12-07 18:18:21 +00:00
Tom Tromey
8967cd6efd (tcl-hilit): New function from "Chris Alfeld" <calfeld@math.utah.edu>
(tcl-mode): Call it
1995-08-22 17:49:45 +00:00
Tom Tromey
2064ba4d58 (tcl-do-auto-fill): Only fill past fill-column; for 19.29.
(tcl-auto-fill-mode): Use force-mode-line-update.
1995-08-07 16:02:01 +00:00
Tom Tromey
6654e1b15e (tcl-word-no-props): New function.
(tcl-figure-type): Use it.
(tcl-current-word): Ditto.
1995-07-23 23:51:25 +00:00
Tom Tromey
a37875b4b5 Doc fixes. 1995-07-23 20:26:47 +00:00
Tom Tromey
9bad6296ad (inferior-tcl-mode): Use modeline-process if it exists. 1995-07-17 19:59:49 +00:00
Tom Tromey
c1dc1e4ec5 XEmacs currently must use tcl-internal-end-of-defun 1995-07-17 19:55:25 +00:00
Tom Tromey
c803d3a7e2 Changes to make menus work in XEmacs.
From Mike Scheidler <c23mts@kocrsv01.delcoelect.com>
1995-07-14 21:54:56 +00:00
Tom Tromey
68734e7b47 (tcl-mode): Customize for new dabbrev. 1995-07-11 03:13:15 +00:00
Tom Tromey
370d8fcccf (tcl-do-fill-paragraph): New function.
(tcl-mode): Set up for paragraph filling.
1995-07-09 21:58:03 +00:00
Tom Tromey
fdacefbd18 (tcl-mode): Fixes to 19.29 paragraph variables. 1995-07-09 21:30:32 +00:00
Tom Tromey
1975984577 (tcl-do-auto-fill): Set fill-prefix. 1995-07-09 18:52:16 +00:00
Tom Tromey
8ebb39c016 (tcl-imenu-create-index-function): Work with imenu from Emacs 19.29 1995-07-09 01:07:57 +00:00
Tom Tromey
fe8fa72dad (tcl-type-alist): More itcl changes. 1995-06-27 20:12:00 +00:00
Tom Tromey
a7efef53dc More changes for itcl.
Bug fixes for Emacs 19.29.
1995-06-27 20:06:05 +00:00
Tom Tromey
a0defa814a (tcl-set-proc-regexp): Allow leading spaces.
(tcl-proc-list): Changes for itcl.
(tcl-typeword-list): Ditto.
(tcl-keyword-list): Ditto.
1995-06-27 20:01:29 +00:00
Tom Tromey
303f8496cb (tcl-type-alist): Include entry for "proc". 1995-05-11 22:12:49 +00:00
Tom Tromey
1305021dea (tcl-add-fsf-menu): Use make-lucid-menu-keymap, not
"make-xemacs-menu-keymap".
1995-05-10 23:38:12 +00:00
Tom Tromey
60da020d00 Bug fix in menu code for XEmacs. 1995-05-10 18:22:21 +00:00
Tom Tromey
e9e7f5f226 Changed "Lucid Emacs" to "XEmacs".
Tcl's popup menu now added to existing one, courtesy
dfarmer@evolving.com (Doug Farmer)
1995-05-09 21:36:53 +00:00
Tom Tromey
50776640f7 (tcl-outline-level): New function
(tcl-mode): Added outline-handling stuff.
From Jesper Pedersen <blackie@imada.ou.dk>
1995-04-08 19:52:50 +00:00
Tom Tromey
513a650902 (tcl-mode): imenu-create-index-function made buffer local. 1994-10-11 02:01:27 +00:00
Tom Tromey
2707a9d13d Added filename completion in inferior tcl mode 1994-09-01 18:06:24 +00:00
Tom Tromey
700a20bf49 tcl-load-file default to current buffer. 1994-08-22 15:56:24 +00:00
Tom Tromey
3530a31713 Fixed bug in tcl-guess-application. 1994-08-21 20:33:05 +00:00
Tom Tromey
31cc18672a Keybindings don't overshadown comint bindings. 1994-08-21 03:54:45 +00:00