1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
Commit Graph

88 Commits

Author SHA1 Message Date
Stefan Monnier
75669e0223 (tcl-send-string, tcl-send-region): Use forward-line so as to get to BOL
even in the presence of fields.
(tcl-eval-region): Strip surrounding space to avoid multiple prompts in return.
(inferior-tcl): Tell tclsh to work in interactive mode.
2006-04-18 21:16:50 +00:00
Stefan Monnier
05794f14d6 (tcl-indent-command): Use indent-for-tab-command.
(tcl-indent-line): Return `noindent' if inside a string.
2006-01-10 19:42:43 +00:00
Juri Linkov
8ec3bce045 Add :link (custom-group-link font-lock-faces) to defgroup. 2005-11-17 07:40:11 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Juanma Barranquero
5089af2745 (tcl): Finish `defgroup' description with period.
(tcl-comment-indent, tcl-quote): "?\ " -> "?\s".
2005-07-04 03:27:17 +00:00
Juanma Barranquero
f530778210 Specify missing group (and type, if simple) in defcustom. 2005-05-19 19:06:19 +00:00
Glenn Morris
d6d43bde05 (tcl-escaped-newline): New face.
(tcl-builtin-list): New variable.
(tcl-set-font-lock-keywords): Add builtins, variables, and escaped
newlines.  Fix keywords subexpression number.
2005-04-05 13:06:25 +00:00
Stefan Monnier
4c5113c76b (tcl-set-font-lock-keywords): Use new \_< ops. 2005-04-03 21:20:03 +00:00
Stefan Monnier
9921b91aea (tcl-omit-ws-regexp): Avoid the case where { or [ appears within a comment. 2004-11-27 00:07:14 +00:00
Stefan Monnier
60273d661d (tcl-omit-ws-regexp): Avoid the case where { or [ appears within a string. 2004-11-27 00:04:16 +00:00
Jesper Harder
a2052295e8 * progmodes/tcl.el (inferior-tcl): Use pop-to-buffer. 2004-09-22 17:31:03 +00:00
Miles Bader
1f3ddf11e8 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196
Remove RCS keywords

2004-04-10  Miles Bader  <miles@gnu.org>

   RCS keyword removal (only non-comment changes are enumerated here):

   * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
   (byte-compile-insert-header): Don't use `byte-compile-version'.
   * lisp/url/url-vars.el (url-version): Use the constant string "Emacs"
   instead of calculating something from the RCS `State' keyword
   [the latter is almost entirely useless anyway].
   * lisp/forms.el (forms-version): Variable removed.
   (forms-mode): Don't use `forms-version'.
   * lisp/recentf.el (recentf-version): Variable removed.
   * lisp/progmodes/delphi.el (delphi-version): Variable removed.
   * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
2004-04-10 05:55:49 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
ec91f7735c (tcl-mode): Set imenu-generic-expression to the value of
tcl-imenu-generic-expression instead of the symbol.
2003-06-05 19:47:26 +00:00
Stefan Monnier
6612afc0d2 (tcl-indent-exp): Remove dead code.
(tcl-tab-always-indent): Default to tab-always-indent.
2003-05-17 22:43:51 +00:00
Juanma Barranquero
dccab430bb (tcl-explain-indentation): Don't quote nil and t in docstrings. 2003-05-06 17:39:21 +00:00
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