summaryrefslogtreecommitdiff
path: root/lisp/progmodes
Commit message (Collapse)AuthorAgeFilesLines
* Add arch taglinesMiles Bader2003-09-0169-10/+85
|
* (previous-error): Accept a prefix argument, similarly to next-error.Eli Zaretskii2003-09-011-4/+8
|
* Bumped patch release number.Martin Stjernholm2003-08-261-1/+1
|
* (c-lineup-math): Don't align the operators "!=", "<=" and ">=" as assignmentMartin Stjernholm2003-08-262-13/+37
| | | | | | | | | 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'.
* (c-extra-types-widget): The doc string is mandatory inMartin Stjernholm2003-08-261-2/+2
| | | | `define-widget'.
* (c-just-after-func-arglist-p): Safeguard against unbalanced sexps.Martin Stjernholm2003-08-261-8/+10
|
* (c-electric-brace): Work around for a misfeature in `expand-abbrev'Martin Stjernholm2003-08-261-3/+12
| | | | | which caused electric keywords like "else" to disappear if an open brace was typed directly afterwards.
* (gud-display-line): Don't set window-point ifNick Roberts2003-08-241-9/+7
| | | | source buffer is not visible. (Only happens with M-x gdba).
* (sh-builtins): Add some bash builtins.Glenn Morris2003-08-241-12/+22
| | | | | | (sh-leading-keywords): Add the bash `time' reserved word. (sh-variables): Add some bash variables. (sh-add-completer): Fix nil branch of case statement.
* Added ld-script.el.Masatake YAMATO2003-08-241-0/+126
|
* Patch by Michael Mauger <mmaug@yahoo.com>Alex Schroeder2003-08-181-447/+1126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-14 Thu Jari Aalto <jari.aalto@poboxes.com>Alex Schroeder2003-08-171-0/+8
| | | | | | * progmodes/compile.el (compilation-error-regexp-alist): Added Java ANt error detection as described in document http://ant.apache.org/faq.html
* ebnf-no-meta-identifier ==> var instead constant.Vinicius Jose Latorre2003-08-131-3/+4
|
* Move defvar before first use.Vinicius Jose Latorre2003-08-091-3/+5
|
* ebnf-begin-job code fixVinicius Jose Latorre2003-08-081-2/+2
|
* 2003-08-03 Martin Stjernholm <bug-cc-mode@gnu.org>Martin Stjernholm2003-08-031-15/+38
| | | | | | | | | | | | | | * 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-01 Martin Stjernholm <bug-cc-mode@gnu.org>Martin Stjernholm2003-08-031-18/+36
| | | | | | | | | | | * 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-07-16 Martin Stjernholm <bug-cc-mode@gnu.org>Martin Stjernholm2003-08-031-1/+1
| | | | | * cc-defs.el (c-langelem-sym, c-langelem-pos, c-langelem-2nd-pos): Added accessor functions for syntactic elements.
* (sh-mode): Don't set mode-class property.Andreas Schwab2003-08-021-3/+0
|
* 2003-07-28 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change)John Paul Wallington2003-07-281-0/+7
| | | | | * progmodes/compile.el (compilation-environment): New user variable. (compile-internal): Respect it.
* (gdb-script-font-lock-keywords): Put `font-lock-function-name-face'Masatake YAMATO2003-07-281-1/+2
| | | | | on a symbol which includes `-' like `hook-run'. Put font-lock-variable-name-face on a symbol starting with $.
* (hs-special-modes-alist): Clarify MDATA-SELECTOR doc; nfc.Thien-Thi Nguyen2003-07-221-2/+3
|
* (idlwave-comment-indent-char): Fix default value using ?\s.Markus Rost2003-07-211-2/+2
|
* (sh-mode-syntax-table): Change syntax of ?, to "_".Andreas Schwab2003-07-211-0/+1
|
* Obsoleted the old awk-mode.el package in favor of the AWK support in CC Mode.Martin Stjernholm2003-07-171-124/+0
|
* #Updated to 5.30.4.Martin Stjernholm2003-07-161-9/+14
|
* (c-langelem-sym, c-langelem-pos, c-langelem-2nd-pos): Added accessorMartin Stjernholm2003-07-161-12/+50
| | | | functions for syntactic elements.
* (c-literal-faces): Declare as a variable since it might be modified.Martin Stjernholm2003-07-161-1/+1
|
* (c++-make-template-syntax-table, c-syntactic-ws-start, c-syntactic-ws-end):Martin Stjernholm2003-07-161-7/+7
| | | | Gave more consistent names to these language constants.
* Revert last change.Juanma Barranquero2003-07-141-870/+156
|
* Version 1.8.0 of sql-mode.Juanma Barranquero2003-07-131-156/+870
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (c-declare-lang-variables): Don't use mapcan.Richard M. Stallman2003-07-131-6/+7
|
* (c-make-keywords-re): Don't use delete-duplicates.Richard M. Stallman2003-07-131-6/+11
| | | | (c-lang-const): Don't use mapcan.
* (visit-tags-table-buffer): Add autoload cookie;John Paul Wallington2003-07-101-0/+1
| | | | this function can be called from `add-completions-from-tags-table'.
* 2003-07-08 Martin Stjernholm <bug-cc-mode@gnu.org>Martin Stjernholm2003-07-083-70/+77
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* (compile-auto-highlight): Default now t.Richard M. Stallman2003-07-071-6/+8
| | | | | (compile): Doc fix. (compilation-next-error): Fix previous change.
* New patch version.Martin Stjernholm2003-07-051-1/+1
|
* (c-style-alist, c-lang-variable-inits, c-lang-variable-inits-tail): TheMartin Stjernholm2003-07-052-4/+5
| | | | values of these are changed, so declare them as variables and not constants.
* Fixed some autoload problems: Try to ensure that the entry for ".c"Martin Stjernholm2003-07-051-25/+27
| | | | | | | | 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.
* (sh-font-lock-paren): Add [ and ] to theStefan Monnier2003-07-041-1/+1
| | | | set of chars allowed unquoted in a case pattern.
* Updated CC Mode to version 5.30.Martin Stjernholm2003-07-0313-2974/+13633
|
* * progmodes/asm-mode.el (asm-font-lock-keywords): SupportMasatake YAMATO2003-06-251-2/+8
| | | | labels starting with "." and directives starting with ".".
* (c-mode): Reverting last change.Stefan Monnier2003-06-191-2/+1
|
* (gud-find-expr-function): Rename from gud-find-expr.Stefan Monnier2003-06-181-7/+2
| | | | (gud-find-fortran-expr): Move to fortran.el.
* (fortran-gud-find-expr): Move from gud.el (was gud-find-fortran-expr).Stefan Monnier2003-06-181-2/+7
| | | | (fortran-mode): Set gud-find-expr-function.
* (gud-menu-map): Add dbx support for "run" andNick Roberts2003-06-181-20/+32
| | | | | | | | "nexti". (dbx): Define gud-nexti and gud-run. (gud-find-expr, gud-find-fortran-expr): New functions. (gud-find-expr): New variable. (gud-find-c-expr): Simplify.
* (fortran-gud-syntax-table): Syntax tableNick Roberts2003-06-181-0/+7
| | | | | for parsing Fortran expressions for gud-print. (Stefan Monnier) (fortran-mode): Add local variable gud-find-expr.
* (c-mode): Add local variable gud-find-expr.Nick Roberts2003-06-181-0/+1
|
* Add support for SQLite interpreter.Juanma Barranquero2003-06-171-4/+79
|
* (sh-while-getopts, sh-if, sh-case): Revert part of previous change.Juanma Barranquero2003-06-161-3/+3
|