Commit graph

1424 commits

Author SHA1 Message Date
Gerd Moellmann
e1cf67b6f8 (find-tag-noselect): Save the value of
tags-file-name before switching buffers, for the case it has a
buffer-local value.
2001-01-15 16:37:58 +00:00
Dave Love
50a8310e77 (ada-popup-key): Fix last change. 2001-01-12 12:40:28 +00:00
Dave Love
562e00daec (fortran-mode-map): Modify Customization
entry for custom-menu-create change.
(fortran-strip-sqeuence-nos): Make arg optional.  Fix regexp and
don't cons it in the search loop.
2001-01-11 19:13:43 +00:00
Eli Zaretskii
926861fbc1 (find-tag-interactive): If last-tag is nil,
behave as if there were no prefix argument.
(find-tag-noselect): If last-tag is nil, behave as if the NEXT-P
argument were nil.
2001-01-11 10:18:42 +00:00
Dave Love
2bef3a39ac (ada-popup-key): Fix :type. 2001-01-09 16:34:51 +00:00
Dave Love
61520f2613 (tags-apropos-additional-actions): Fix :type. 2001-01-09 15:25:35 +00:00
Dave Love
83c5d68f53 (sh-imenu-generic-expression): Fix doc,
:type.
2001-01-09 15:19:47 +00:00
Dave Love
ac6857fb16 (cperl-invalid-face): Don't double-quote
value.
(cperl-init-faces): Allow cperl-invalid-face to be a normal face.
2001-01-03 00:19:28 +00:00
Gerd Moellmann
e751216899 (compilation-forget-errors): Fix indentation. 2000-12-23 15:42:36 +00:00
Gerd Moellmann
647a066c8d Fix the same problem as described on ebnf2ps.el log
entry.  Doc fix.
(ebnf-yac-skip-code): Code fix.
(ebnf-yac-comment-chars): Const fix.
2000-12-21 21:24:03 +00:00
Gerd Moellmann
e4dec765ec Doc fix. 2000-12-21 21:23:21 +00:00
Gerd Moellmann
2197ec3b92 Fix the same problem as described on ebnf2ps.el log
entry.  Doc fix.
(ebnf-iso-comment-chars): Const fix.
2000-12-21 21:23:06 +00:00
Gerd Moellmann
b1f380ecb4 Fix the same problem as described on ebnf2ps.el log
entry.  Doc fix.
(ebnf-bnf-lex): Code fix.
(ebnf-bnf-comment-chars): Const fix.
2000-12-21 21:22:51 +00:00
Gerd Moellmann
6a5275dc6d Fix a problem with skip-chars-forward: it doesn't accept
ranges like \177-\237, but accepts the character sequence from \177 to
\237.  Doc fix.
(ebnf-version): New version (3.4).
(ebnf-setup): Code fix.
(ebnf-range-regexp): New fun.
(ebnf-8-bit-chars): Const fix.
2000-12-21 21:22:34 +00:00
Carsten Dominik
ba4c05aa6e Fixed copyright notice. 2000-12-19 11:15:38 +00:00
Gerd Moellmann
524c8caf60 (sql-sybase-options): New option.
(sql-sybase): Use it.  Add sql-database to the list of parameters
provided for login.  The options -w 2048 -n are not used any more.
(sql-postgres-options): Changed default from "--pset" to "-P".
(sql-mysql-options): Doc change.
(sql-stop): Doc change.
2000-12-19 10:09:25 +00:00
Gerd Moellmann
5610cefd51 Use `define-minor-mode' for the minor mode
definition (patch by Stefan Monnier).
(glasses-mode): Use jit-lock instead of `after-change-functions'
(patch by Stefan Monnier).
2000-12-12 10:20:52 +00:00
Stefan Monnier
d0c679bc85 Moved from progmodes/c-mode.el to obsolete/c-mode.el 2000-12-11 21:34:11 +00:00
Carsten Dominik
05a1abfc4a Updated IDLWAVE to version 4.7 2000-12-11 12:45:42 +00:00
Stefan Monnier
4efa209f84 Update `maintainer'. 2000-12-09 22:06:44 +00:00
Gerd Moellmann
3764ba4925 Update copyright. 2000-12-07 13:44:45 +00:00
Gerd Moellmann
97f1dbede6 (glasses-mode): Update mode line at the end
of the function.
2000-12-07 13:25:18 +00:00
Dave Love
e7cff5504b Fix copyright years. 2000-12-06 20:24:23 +00:00
Dave Love
fbee3231d0 *** empty log message *** 2000-12-06 19:57:12 +00:00
Dave Love
0e8738c3fd Fix copyright years. 2000-12-06 19:37:56 +00:00
Gerd Moellmann
fb7775eb56 (tag-partial-file-name-match-p): New function.
(etags-recognize-tags-table, find-tag-in-order): New
functionality: interpret file names as tags.
2000-12-04 21:20:57 +00:00
Gerd Moellmann
7c66d04999 New commands to run ANTLR from within Emacs and
to create Makefile rules.
(antlr-tool-command): New user option.
(antlr-ask-about-save): New user option.
(antlr-makefile-specification): New user option.
(antlr-file-formats-alist): New variable.
(antlr-special-file-formats): New variable.
(antlr-unknown-file-formats): New user option.
(antlr-help-unknown-file-text): New variable.
(antlr-help-rules-intro): New variable.
(antlr-mode-map): Add [C-c C-r] for `antlr-run-tool'.
(antlr-mode-menu): Add entries.
(antlr-file-dependencies): New function.
(antlr-directory-dependencies): New function.
(antlr-superclasses-glibs): New function.
(antlr-run-tool): New command.
(antlr-makefile-insert-variable): New function.
(antlr-insert-makefile-rules): New function.
(antlr-show-makefile-rules): New command.

More Emacs/XEmacs stuff.
(antlr-no-action-keywords): New constant with value nil.
(antlr-font-lock-keywords-alist): Use it.  Old value would break
syntax highlighting in Emacs-21.0.
(antlr-default-directory): Emacs/XEmacs dependend function.
(antlr-read-shell-command): Ditto.
(antlr-with-displaying-help-buffer): Ditto.


imenu, parsing and highlighting changes.
(antlr-imenu-create-index-function): Don't create extra submenus
for definitions in different grammar classes.  It is not necessary
for the menu and would make command `imenu' awkward to use.
(antlr-skip-file-prelude): With ANTLR-2.7+, you can specify named
header actions and more than one.
(antlr-font-lock-tokendef-face): Changed color.
(antlr-font-lock-tokenref-face): Changed color.
(antlr-font-lock-additional-keywords): Also highlight lowercase.
(antlr-mode-syntax-table): New variable.
(antlr-mode): Populate and use it instead `java-mode-syntax-table'.
(antlr-with-syntax-table): Don't copy syntax table.


Minor changes: language setting.
(antlr-language-alist): The value for file option "language" can
be both an identifier and a string.
Reported by Rajesh Radhakrishnan <radhakrs@email.uc.edu>.
(antlr-language-limit-n-regexp): Change accordingly.


Minor changes: tabs, hiding.
(antlr-tab-offset-alist): Set `indent-tabs-mode' to nil instead t.
(antlr-action-visibility): Also allow value nil to also hide the
braces.  Renamed from `antlr-tiny-action-length'.
Suggested by Jay@aol.com.
(antlr-hide-actions): Change accordingly.  Hide line if completely
hidden action is on a line of its own.
2000-11-29 16:55:47 +00:00
Dave Love
0ad0386ebb (ps-mode): Set comment-start and
comment-start-skip locally.
2000-11-28 16:39:56 +00:00
Dave Love
8b31236d80 (fortran-mode): Don't set
fortran-comment-line-start-skip.  Set comment-start to
fortran-comment-line-start.
(fortran-fill-paragraph) <non-empty-comment>: Remove regexp group.
(fortran-comment-line-start-skip): Simplify slightly.
2000-11-28 10:55:35 +00:00
Stefan Monnier
9dd7cdcc1c (ada-template-map): Initialize and bind it to C-c t in ada-mode-map.
(ada-stmt-mode-hook): New function extracted from old code.
Only change the buffer-local side of skeleton-*.
(ada-mode-hook): Use it.
2000-11-23 17:56:10 +00:00
Sam Steingold
eaae8106d7 * simple.el (delete-trailing-whitespace): New interactive function.
* progmodes/ada-mode.el (ada-mode): Use it instead of
`ada-remove-trailing-spaces'
(ada-remove-trailing-spaces): Removed.
* textmodes/two-column.el (2C-merge): Recommend it in the doc.
* textmodes/picture.el (picture-mode-exit): Call it instead of
`picture-clean'.
(picture-clean): Removed.
2000-11-22 20:59:39 +00:00
Stefan Monnier
36144b26b5 (ada-mode): set '' -> setq'. 2000-11-21 22:41:20 +00:00
Stefan Monnier
3f314699c3 (grep): `tag-default' can be nil. 2000-11-14 19:30:53 +00:00
Dave Love
f7a6110d25 Fix again. 2000-11-14 17:19:59 +00:00
Dave Love
ece8c34d87 Fix bogus last checkin. 2000-11-14 14:41:38 +00:00
Dave Love
d3461e8fd0 (scheme-program-name): New variable
(originally in cmuscheme).
2000-11-14 14:33:29 +00:00
Stefan Monnier
aace6150c0 (sh-mode-syntax-table) <defvar>:
Make it into a simple syntax-table, shared among all submodes.
(sh-heredoc-face): Re-introduce.
(sh-font-lock-syntactic-face-function): New function.
(sh-mode): Use it.  Also use define-derived-mode.
Remove old bogus setting of indent-region-function.
(sh-set-shell): Don't set the syntax-table any more.
(sh-mode-syntax-table) <defun>: Remove.
2000-11-12 16:48:45 +00:00
Dave Love
84d51f9bb5 (visit-tags-table-buffer): Beware of `t' in
tags-table-list.
2000-11-12 00:33:19 +00:00
Stefan Monnier
178a6a455e Update copyright.
(awk-mode-abbrev-table): Remove.
(awk-font-lock-keywords): Use regexp-opt.
(awk-mode): Use define-derived-mode.
2000-11-05 19:13:34 +00:00
Stefan Monnier
7b371301b4 (icon-mode-map): Don't rebind \t.
(icon-mode): Define indent-line-function.
(icon-comment-indent): Simplify.
(icon-font-lock-keywords-2): Use the `words' arg to regexp-opt.
2000-11-03 23:05:16 +00:00
Dave Love
234be340d8 (imenu-generic-expression)
(imenu-progress-message): Only defvar when compiling.
2000-10-30 19:59:09 +00:00
Dave Love
072cb6f926 (cperl-mode): Set
normal-auto-fill-function correctly.
2000-10-25 13:41:19 +00:00
Eli Zaretskii
8a30aaa378 Update author's email address. 2000-10-24 09:15:44 +00:00
Stefan Monnier
34939e2c4a (sh-mode-map): Remove bindings for
sh-electric-rparen, sh-electric-less and sh-electric-hash.
(sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
(sh-font-lock-heredoc, sh-font-lock-paren): New funs.
(sh-font-lock-syntactic-keywords): Use them.
(sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
(sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
(sh-mode): Don't override font-lock-unfontify-region-function.
Use a copy of sh-font-lock-syntactic-keywords.
(sh-set-shell): Don't set sh-electric-rparen-needed-here.
Don't call sh-scan-buffer since font-lock does it on the fly.
(sh-get-indent-info): Use `face' rather than `syntax-table'
text-property to detect here-documents.
Replace sh-special-syntax with sh-st-punc.
(sh-prev-line): Use `face' rather than `syntax-table'
text-property to skip over here-documents.
(sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
(sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
(sh-electric-less, sh-set-here-doc-region)
(sh-remove-our-text-properties, sh-search-word, sh-scan-case)
(sh-scan-buffer, sh-rescan-buffer): Remove.
2000-10-21 18:06:17 +00:00
Gerd Moellmann
9b5360aa71 (sql-sybase-options): New option.
(sql-sybase): Use it.  Add sql-database to the list of parameters
provided for login.  The options -w 2048 -n are not used any more.
2000-10-18 14:38:55 +00:00
Dave Love
d2d001277c Require skeleton and comint when
compiling.
2000-10-15 17:18:02 +00:00
Stefan Monnier
6c5bcbc1b1 (sh-imenu-generic-expression): Fix.
(sh-mode-syntax-table): Add punctuation syntax for < and >.
(sh-mode): Don't make all vars local here.
(sh-kw): Reformat.
(sh-set-shell): Use dolist.  Don't set indent-region-function.
(sh-mode-syntax-table): Use pop.
(sh-remember-variable): Use push.
(sh-help-string-for-variable): Use memq.
(sh-safe-backward-sexp): Remove.
(sh-safe-forward-sexp): Add ARG.
(sh-get-indent-info, sh-prev-stmt): Use it.
(sh-prev-line): Simplify by using forward-comment.
(sh-this-is-a-continuation): Simplify.
(sh-learn-buffer-indent): Use dolist.
(sh-do-nothing): Remove.
(sh-set-char-syntax, sh-set-here-doc-region):
Use inhibit-modification-hooks.
(sh-name-style): Use mapcar and push.
(sh-load-style): Use dolist.
(sh-save-styles-to-buffer): Use with-current-buffer and pp.
(sh-case, sh-while-getopts): Use propertize directly rather
than sh-electric-rparen.
2000-10-15 04:38:24 +00:00
Dave Love
8661c643db (cperl-tips-faces): Doc fix.
(cperl-invalid-face): Revert last change.
(cperl-init-faces): Quote cperl-invalid-face.
2000-10-12 13:10:22 +00:00
Gerd Moellmann
56ce0469b5 (scheme-mode-map): Use lisp-mode-shared-map
instead of shared-lisp-mode-map.
2000-10-12 10:53:00 +00:00
Sam Steingold
5c8b7eaf15 (cperl-invalid-face): double-quote underline 2000-10-11 16:53:24 +00:00