1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00
Commit Graph

1953 Commits

Author SHA1 Message Date
Andreas Schwab
447f1ebd1e (autoconf-font-lock-keywords): Also highlight AH_*. 2003-11-07 16:08:53 +00:00
Lute Kamstra
b2fc097671 (inferior-octave-prompt): Recognize version number in prompt. 2003-10-29 18:55:55 +00:00
Stefan Monnier
cb3d3ec192 (octave-comment-start): Simplify.
(octave-mode-syntax-table): Add % as a comment starter.
(octave-point): Remove.
(octave-in-comment-p, octave-in-string-p)
(octave-not-in-string-or-comment-p, calculate-octave-indent)
(octave-blink-matching-block-open, octave-auto-fill):
Use line-(beginning|end)-position instead.
2003-10-24 18:58:28 +00:00
Miles Bader
7ae0df40c1 Resolve CVS conflicts 2003-10-22 08:30:07 +00:00
Nick Roberts
0a4f0ab1d7 (gud-speedbar-buttons): Check for variable
object changes in gdb-ui.el.
2003-10-21 22:37:29 +00:00
Richard M. Stallman
59bb4146a3 (compile-auto-highlight): Undo July 7 change. 2003-10-20 23:31:27 +00:00
Richard M. Stallman
b6c846d341 Make major mode work with cc-mode-5.30+.
(antlr-c-init-language-vars): New function.
(antlr-mode): Use it with cc-mode before v5.29.
(antlr-c-common-init): Don't set some local vars here.
(antlr-mode): Set them here.
(antlr-c-forward-sws): New function alias.
(antlr-mode): Redefine with cc-mode before v5.30.
(antlr-skip-sexps): Use it.
(antlr-skip-exception-part): Ditto.
(antlr-skip-file-prelude): Ditto.
(antlr-outside-rule-p): Ditto.
(antlr-end-of-body): Ditto.
(antlr-option-kind): Ditto.
(antlr-insert-option-area): Ditto.
(antlr-file-dependencies): Ditto.
2003-10-20 23:30:05 +00:00
Dave Love
5467ec8881 *** empty log message *** 2003-10-20 23:16:26 +00:00
Thien-Thi Nguyen
c327c4058f Rewrite one-armed `if'
constructs using either `when' or `unless'.
(hs-grok-mode-type): Elide superfluous `progn'; nfc.
2003-10-18 01:05:54 +00:00
Richard M. Stallman
720baa4669 (sh-feature): Handle sh-modify like sh-append.
(sh-for, sh-indexed-loop, sh-function, sh-while, sh-while-getopts):
Use sh-modify directly.
(sh-select): Use sh-append, not eval.
2003-10-05 13:53:54 +00:00
Nick Roberts
187c0c4022 (gud-menu-map, gud-tool-bar-map): Replace
gud-display with gud-watch.
(gud-speedbar-buttons): Add stuff for watching expressions
in the speedbar when using M-x gdba. Use dolist on old part
of this function.
2003-09-30 17:58:19 +00:00
Richard M. Stallman
2389f14324 (ada-mode): Don't use advice. Instead, set which-func-functions. 2003-09-30 12:54:32 +00:00
Richard M. Stallman
35e376af6a (which-func-modes): Add ada-mode.
(which-func-functions): New variable.
(which-function): Use that.
2003-09-30 12:53:26 +00:00
Richard M. Stallman
830144d596 (sh-mode-syntax-table): Add defvar. 2003-09-30 12:42:56 +00:00
Thien-Thi Nguyen
cb049c411e (scheme-mode-variables): When setting
`font-lock-defaults', also specify that "#" should
be interpreted with `word' syntax.
(scheme-font-lock-keywords-2): Also interpret "#:foo" as keyword.
2003-09-30 11:47:57 +00:00
Thien-Thi Nguyen
6e8fcd2193 Thank Michael Ernst; nfc. 2003-09-29 13:24:30 +00:00
Glenn Morris
b8acc4ed4f (sh-builtins): Add bash `shopt' builtin.
(sh-font-lock-keywords, sh-feature): Fix previous change of sh-feature
to avoid infloop with sh-font-lock-keywords.
2003-09-25 02:01:18 +00:00
Martin Stjernholm
de2dcd185a Bumped patch release number. Minor docstring update. 2003-09-24 14:01:16 +00:00
Martin Stjernholm
0923382c34 (c-comment-prefix-regexp): Document that `c-setup-paragraph-variables'
has to be used when this variable is changed; it doesn't work to
reinitialize the mode since that typically clobbers the variable.
2003-09-24 13:56:48 +00:00
Martin Stjernholm
cfb966f42a (c-setup-paragraph-variables): Made it interactive. 2003-09-24 13:56:27 +00:00
Martin Stjernholm
fa14078b4f (c-type-list-kwds): If "operator" is followed by an identifier in C++
then it's a type.
2003-09-24 13:56:09 +00:00
Martin Stjernholm
a6782a6efd (c-font-lock-declarations): Fixed recognition of constructors and
destructors for classes whose names are matched by
`*-font-lock-extra-types'.

(c-font-lock-invalid-string): Fixed eob problem that primarily
affected XEmacs.  Don't use faces to find unterminated strings since
Emacs and XEmacs fontify strings differently - this function should
now work better in XEmacs.
2003-09-24 13:55:49 +00:00
Martin Stjernholm
449a2b0d2e (c-parse-state): Fixed bug that could cause errors when the state
cache contains info on parts that have been narrowed out.

(c-forward-keyword-clause): Fixed error handling.  This bug could
cause interactive font locking to bail out.

(c-just-after-func-arglist-p): Handle paren-style types in Pike.  Also
fixed some cases of insufficient handling of unbalanced parens.
2003-09-24 13:55:23 +00:00
Martin Stjernholm
d858963e6b (c-electric-brace): Fixed a bug in the expand-abbrev' workaround
which caused braces to disbehave inside macros.
2003-09-24 13:55:07 +00:00
Nick Roberts
1dd52b8210 (perldb): Add gud-until to list of commands.
Update gud-remove.
2003-09-22 22:02:51 +00:00
Richard M. Stallman
1bf87f6ba3 (sh-mode-default-syntax-table): Renamed from sh-mode-syntax-table.
Call sh-mode-syntax-table directly.
(sh-mode-syntax-table-input): New variable.
(sh-require-final-newline): Don't use eval.
(sh-builtins, sh-leading-keywords, sh-other-keywords)
(sh-variables, sh-font-lock-keywords): Don't use eval.
(sh-set-shell): When setting require-final-newline,
treat value = `require-final-newline' as don't change it.
Set sh-mode-syntax-table locally based on
sh-mode-syntax-table-input and sh-mode-default-syntax-table.
2003-09-22 15:39:47 +00:00
Richard M. Stallman
dfe02f1424 (compile-internal): Call compilation-set-window-height
before setting window start.
2003-09-22 15:25:47 +00:00
John Paul Wallington
b8313039df Add Commentary section, minor cleanup of file header.
(ld-script-font-lock-keywords): Doc fix.
(toplevel): Provide `ld-script' feature.
2003-09-22 12:37:00 +00:00
Glenn Morris
1fd244505e (sh-font-lock-keywords): Highlight escaped EOLs differently from other
backslash constructs.
2003-09-19 17:10:57 +00:00
Masatake YAMATO
8cbb7c6199 Fix broken magic autoload comments. 2003-09-18 17:08:22 +00:00
Nick Roberts
8a7bc7b803 (perldb): Change gud-print from just "%e" to "p %e" to
actually print the value in the GUD buffer.
2003-09-17 18:33:38 +00:00
Nick Roberts
339a559e5e (gud-find-class): Make jdb work again since
cc-mode changed the syntactic information.
2003-09-15 19:14:00 +00:00
Richard M. Stallman
dc45d1a608 Change maintainer. 2003-09-12 00:55:27 +00:00
Glenn Morris
3154202d02 (sh-font-lock-keywords): Use something other than
font-lock-string-face to highlight backslashes.
2003-09-02 17:37:01 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Eli Zaretskii
00c8f41844 (previous-error): Accept a prefix argument, similarly to next-error. 2003-09-01 05:47:12 +00:00
Martin Stjernholm
c577b2225a Bumped patch release number. 2003-08-26 11:54:09 +00:00
Martin Stjernholm
846f504014 (c-lineup-math): Don't align the operators "!=", "<=" and ">=" as assignment
operators.

(c-assignment-operators): New language constant that only contains the
assignment operators.

(c-assignment-op-regexp): New language variable used by c-lineup-math'.
2003-08-26 11:52:40 +00:00
Martin Stjernholm
a02a0f3d29 (c-extra-types-widget): The doc string is mandatory in
`define-widget'.
2003-08-26 11:51:55 +00:00
Martin Stjernholm
2c9c19547f (c-just-after-func-arglist-p): Safeguard against unbalanced sexps. 2003-08-26 11:51:16 +00:00
Martin Stjernholm
0b966e89b3 (c-electric-brace): Work around for a misfeature in `expand-abbrev'
which caused electric keywords like "else" to disappear if an open
brace was typed directly afterwards.
2003-08-26 11:50:03 +00:00
Nick Roberts
37fdcfbc45 (gud-display-line): Don't set window-point if
source buffer is not visible. (Only happens with M-x gdba).
2003-08-24 20:41:39 +00:00
Glenn Morris
fa1d74c5d1 (sh-builtins): Add some bash builtins.
(sh-leading-keywords): Add the bash `time' reserved word.
(sh-variables): Add some bash variables.
(sh-add-completer): Fix nil branch of case statement.
2003-08-24 15:26:13 +00:00
Masatake YAMATO
98971e752b Added ld-script.el. 2003-08-24 09:44:38 +00:00
Alex Schroeder
78024f8836 Patch by Michael Mauger <mmaug@yahoo.com>
Version 1.8.0 of sql-mode.

Simplify selection of SQL products to define highlighting and
interactive mode.  Includes detailed instructions on adding
support for new products.

* sql.el (sql-product): New variable.  Identifies SQL product for
use in highlighting and interactive mode.
(sql-interactive-product): New variable.  SQL product for
sql-interactive-mode.
(sql-product-support): New variable.  Specifies product-specific
parameters to drive highlighting and interactive mode.
(sql-imenu-generic-expression): Add more object types.
(sql-sqlite-options): Correct comment.
(sql-ms-program): Use "osql" rather than "isql".
(sql-prompt-regexp, sql-prompt-length): Update comment.
(sql-mode-menu): Add "Start SQLi session" entry.  Replace
Highlighting submenu with Product menu.  Fix Send Region entry.
(sql-mode-abbrev-table): Add abbreviations.  Support of
SYSTEM-FLAG on define-abbrev.  Support was removed with last
check-in; it now handles older Emacsen without the SYSTEM-FLAG.
(sql-mode-font-lock-object-name): Add font-lock pattern for object
names.
(sql-mode-ansi-font-lock-keywords): Set as default value.
(sql-mode-oracle-font-lock-keywords): Set as default value.
Support Oracle 9i keywords.
(sql-mode-postgres-font-lock-keywords): Set as default value.
(sql-mode-linter-font-lock-keywords): Set as default value.
(sql-mode-ms-font-lock-keywords): New variable.  Support Microsoft
SQLServer 2000.
(sql-mode-sybase-font-lock-keywords)
(sql-mode-interbase-font-lock-keywords)
(sql-mode-sqlite-font-lock-keywords)
(sql-mode-strong-font-lock-keywords)
(sql-mode-mysql-font-lock-keywords)
(sql-mode-db2-font-lock-keywords): New variables.  Default to ANSI
keywords.
(sql-mode-font-lock-defaults): Update comment.
(sql-product-feature): New function.  Returns feature associated
with a product from `sql-product-support' alist.
(sql-product-font-lock): New function.  Set font-lock support
based on `sql-product'.
(sql-add-product-keywords): New function.  Add font-lock rules to
product-specific keyword variables.
(sql-set-product): New function.  Set `sql-product' and apply
appropriate font-lock highlighting.
(sql-highlight-product): New function.  Set font-lock support
based on a product.  Also set mode name to include product name.
(sql-highlight-ansi-keywords, sql-highlight-oracle-keywords)
(sql-highlight-postgres-keywords, sql-highlight-linter-keywords):
Use `sql-set-product'.
(sql-highlight-ms-keywords)
(sql-highlight-sybase-keywords)
(sql-highlight-interbase-keywords)
(sql-highlight-strong-keywords)
(sql-highlight-mysql-keywords)
(sql-highlight-sqlite-keywords)
(sql-highlight-db2-keywords): New functions.  Use
`sql-set-product'.
(sql-get-login): Prompt in the same order as the tokens.
(sql-mode): Uses `sql-product-highlight' and
`sql-product-font-lock'.
(sql-product-interactive): New function.  Common portions of
product-specific interactive mode wrappers.
(sql-interactive-mode): Rewritten to use product features.
(sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
(sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
(sql-db2, sql-linter): Use `sql-product-interactive'.
(sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
(sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
(sql-connect-ingres, sql-connect-postgres)
(sql-connect-interbase, sql-connect-db2, sql-connect-linter): New
functions.  Format command line parameters and invoke comint on
the appropriate interpreter.  Code was in the corresponding
`sql-xyz' function before.
(sql-connect-ms): New function.  Support -E argument to use
operating system credentials for authentication.
2003-08-18 17:29:23 +00:00
Alex Schroeder
e1f540f294 2003-08-14 Thu Jari Aalto <jari.aalto@poboxes.com>
* progmodes/compile.el (compilation-error-regexp-alist):
        Added Java ANt error detection as described in document
        http://ant.apache.org/faq.html
2003-08-17 09:49:42 +00:00
Vinicius Jose Latorre
1002b9b5d9 ebnf-no-meta-identifier ==> var instead constant. 2003-08-13 00:37:24 +00:00
Vinicius Jose Latorre
30fa28b494 Move defvar before first use. 2003-08-09 02:17:12 +00:00
Vinicius Jose Latorre
ae6f46f914 ebnf-begin-job code fix 2003-08-08 02:32:06 +00:00
Martin Stjernholm
28d88c16bf 2003-08-03 Martin Stjernholm <bug-cc-mode@gnu.org>
* cc-mode.el (c-init-language-vars-for): Add argument MODE.
	Renamed from c-init-c-language-vars'.
	(c-initialize-cc-mode): Change accordingly.
	(c-common-init): Ditto.
	(c-mode): Ditto.
	(c++-mode): Use function.
	(objc-mode): Ditto.
	(java-mode): Ditto.
	(idl-mode): Ditto.
	(pike-mode): Ditto.
	(awk-mode): Ditto.
2003-08-03 12:31:46 +00:00