1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-06 22:12:30 -08:00
Commit graph

1926 commits

Author SHA1 Message Date
Dave Love
6eff8ddf02 (capitalized-words-mode): Add autoload
cookie.  Doc fix.
2003-09-11 09:26:21 +00:00
Dave Love
3738891384 (perl-font-lock-syntactic-face-function): Use characterp. 2003-09-10 17:51:33 +00:00
Dave Love
813f5534f5 (sh-font-lock-syntactic-face-function): Use characterp. 2003-09-10 17:51:08 +00:00
Kenichi Handa
8f924df7df *** empty log message *** 2003-09-08 12:53:41 +00:00
Kenichi Handa
463f5630a5 New directory 2003-09-08 11:56:09 +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
Martin Stjernholm
ff959bab84 2003-08-01 Martin Stjernholm <bug-cc-mode@gnu.org>
* cc-engine.el (c-end-of-current-token): Return whether or not the
	point moved.

	(c-search-decl-header-end): Don't trip up on operator identifiers
	in C++ and operators like == in all languages.

	* cc-engine.el (c-backward-to-decl-anchor): Detect leading labels
	correctly.
2003-08-03 12:29:57 +00:00
Martin Stjernholm
b50aeac3f7 2003-07-16 Martin Stjernholm <bug-cc-mode@gnu.org>
* cc-defs.el (c-langelem-sym, c-langelem-pos, c-langelem-2nd-pos):
	Added accessor functions for syntactic elements.
2003-08-03 12:29:24 +00:00
Andreas Schwab
cbc72cf5cf (sh-mode): Don't set mode-class property. 2003-08-02 20:09:42 +00:00
John Paul Wallington
c20f961b23 2003-07-28 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change)
* progmodes/compile.el (compilation-environment): New user variable.
	(compile-internal): Respect it.
2003-07-28 16:06:55 +00:00
Masatake YAMATO
c52093761b (gdb-script-font-lock-keywords): Put `font-lock-function-name-face'
on a symbol which includes `-' like `hook-run'. Put
font-lock-variable-name-face  on a symbol starting with $.
2003-07-28 06:27:09 +00:00
Thien-Thi Nguyen
90d606ce3e (hs-special-modes-alist): Clarify MDATA-SELECTOR doc; nfc. 2003-07-22 19:59:35 +00:00
Markus Rost
93af03f0a1 (idlwave-comment-indent-char): Fix default value using ?\s. 2003-07-21 21:36:55 +00:00
Andreas Schwab
29653ebc24 (sh-mode-syntax-table): Change syntax of ?, to "_". 2003-07-21 06:25:33 +00:00
Martin Stjernholm
75d6bc9b57 Obsoleted the old awk-mode.el package in favor of the AWK support in CC Mode. 2003-07-17 11:40:43 +00:00
Martin Stjernholm
f6c4327a0c #Updated to 5.30.4. 2003-07-16 21:00:21 +00:00
Martin Stjernholm
117679f7e7 (c-langelem-sym, c-langelem-pos, c-langelem-2nd-pos): Added accessor
functions for syntactic elements.
2003-07-16 20:55:10 +00:00
Martin Stjernholm
1e33046972 (c-literal-faces): Declare as a variable since it might be modified. 2003-07-16 20:54:46 +00:00
Martin Stjernholm
f75ef66d4a (c++-make-template-syntax-table, c-syntactic-ws-start, c-syntactic-ws-end):
Gave more consistent names to these language constants.
2003-07-16 20:54:19 +00:00
Juanma Barranquero
b4dd5c9ca5 Revert last change. 2003-07-14 20:39:39 +00:00
Juanma Barranquero
9c7bda2fc1 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-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-07-13 17:19:18 +00:00
Richard M. Stallman
485fe977a0 (c-declare-lang-variables): Don't use mapcan. 2003-07-13 00:20:39 +00:00
Richard M. Stallman
19c5fddbc3 (c-make-keywords-re): Don't use delete-duplicates.
(c-lang-const): Don't use mapcan.
2003-07-13 00:19:56 +00:00
John Paul Wallington
97534f3298 (visit-tags-table-buffer): Add autoload cookie;
this function can be called from `add-completions-from-tags-table'.
2003-07-10 16:31:43 +00:00
Martin Stjernholm
7bfc3fdba3 2003-07-08 Martin Stjernholm <bug-cc-mode@gnu.org>
* cc-engine.el (c-guess-basic-syntax): Do not do hidden buffer
	changes; there's third party code that calls this function
	directly.

2003-07-07  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-fonts.el (javadoc-font-lock-keywords,
	autodoc-font-lock-keywords): Don't byte compile on font lock
	initialization when running from byte compiled files.

2003-07-06  Alan Mackenzie  <bug-cc-mode@gnu.org>

	* cc-engine.el: Fix AWK mode indentation when previous statement
	ends with auto-increment "++".

2003-07-05  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-langs.el, cc-styles.el (c-style-alist, c-lang-variable-inits,
	c-lang-variable-inits-tail): The values of these are changed, so
	declare them as variables and not constants.
2003-07-08 23:24:44 +00:00
Richard M. Stallman
c72095b345 (compile-auto-highlight): Default now t.
(compile): Doc fix.
(compilation-next-error): Fix previous change.
2003-07-07 20:53:19 +00:00
Martin Stjernholm
a2f3d16b3e New patch version. 2003-07-05 19:57:01 +00:00
Martin Stjernholm
2eb455ab32 (c-style-alist, c-lang-variable-inits, c-lang-variable-inits-tail): The
values of these are changed, so declare them as variables and not constants.
2003-07-05 19:54:33 +00:00
Martin Stjernholm
50fdde0e7e Fixed some autoload problems: Try to ensure that the entry for ".c"
extension comes before the one for ".C" on auto-mode-alist', to behave
better on case insensitive OS:es.  Fixed incorrect entries that were added
to interpreter-mode-alist'.  Moved the autoload directives for AWK to the
top level since they aren't recognized anywhere else.  Do not use the new
AWK mode doc in the autoload form for the old AWK mode.
2003-07-05 19:53:33 +00:00
Stefan Monnier
d96da6c47a (sh-font-lock-paren): Add [ and ] to the
set of chars allowed unquoted in a case pattern.
2003-07-04 20:37:49 +00:00
Martin Stjernholm
d9e94c2273 Updated CC Mode to version 5.30. 2003-07-03 12:30:59 +00:00
Masatake YAMATO
c1b559329f * progmodes/asm-mode.el (asm-font-lock-keywords): Support
labels starting with "." and directives starting with ".".
2003-06-25 06:52:04 +00:00
Stefan Monnier
87d9913f72 (c-mode): Reverting last change. 2003-06-19 15:55:31 +00:00
Stefan Monnier
c3f6b2b412 (gud-find-expr-function): Rename from gud-find-expr.
(gud-find-fortran-expr): Move to fortran.el.
2003-06-18 23:26:28 +00:00