1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 11:00:45 -08:00
Commit graph

24467 commits

Author SHA1 Message Date
Luc Teirlinck
3b26f44c9e (widget-echo-help): Make it handle expressions that evaluate to
strings.
2003-08-18 22:48:44 +00:00
Luc Teirlinck
55f57de7d7 *** empty log message *** 2003-08-18 22:46:02 +00:00
Alex Schroeder
e6e76838b6 ChangeLog 2003-08-18 18:07:27 +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
Kenichi Handa
bb55c6c97e (encode-char): Fix for the ASCII case. 2003-08-18 12:39:14 +00:00
Glenn Morris
33d0b73fec *** empty log message *** 2003-08-17 22:53:07 +00:00
Glenn Morris
8923d271ca Edward M. Reingold <reingold@emr.cs.iit.edu>
Bind `calendar-goto-day-of-year' to key.

Alan Shutko  <ats@acm.org>
(calendar-make-alist): Correct off-by-one keeping December out of the
alist.
2003-08-17 22:51:29 +00:00
Glenn Morris
163fd24dfd Edward M. Reingold <reingold@emr.cs.iit.edu>
(calendar-goto-day-of-year): New function.
2003-08-17 22:49:46 +00:00
Glenn Morris
f9df0ca042 Edward M. Reingold <reingold@emr.cs.iit.edu>
(calendar-mode-map): Add `calendar-goto-day-of-year' to menu.
(calendar-flatten): New function.
(calendar-mouse-view-other-diary-entries)
(calendar-mouse-view-diary-entries): Rewritten to put any holidays in
the menu title and to show multi-line diary entries correctly in the
menu.
2003-08-17 22:48:54 +00:00
Kim F. Storm
a1839f0622 (kmacro-keymap): Group related bindings in
initialization for clarity.  Bind C-s to start macro.
Remove C-r binding.
(kmacro-initial-counter-value): New defvar to hold initial counter
value in case we set the value before defining a macro.
(kmacro-insert-counter): Clear kmacro-initial-counter-value..
(kmacro-set-counter): Set kmacro-initial-counter-value if we are
not defining or executing macro.  Doc fix.
(kmacro-add-counter): Clear kmacro-initial-counter-value.
(kmacro-view-last-item, kmacro-view-item-no): New defvars used to
temporarily view older elements on the macro ring without cycling
the ring.
(kmacro-display): Doc fix.
(kmacro-exec-ring-item): New helper function.
(kmacro-call-ring-2nd): Use it.
(kmacro-call-ring-2nd-repeat): Doc fix.
(kmacro-start-macro): Use (and clear) kmacro-initial-counter-value.
(kmacro-end-or-call-macro): Execute last viewed macro (using
kmacro-exec-ring-item) from ring if this follows
kmacro-view-macro.  This allows us to find a macro on the ring
with C-x C-k C-v C-v ... and execute it (with C-k) without cycling
the ring to bring it to the head of the ring.
(kmacro-bind-to-key): Doc fix (describe reserved bindings).
Allow binding to reserved keys without specifying C-x C-k prefix.
Ask for confirmation if entered key sequence is already bound to
a non-macro command.
(kmacro-view-macro): Repeating command will show older elements
on the macro ring; C-k will execute the last viewed macro.
(kmacro-view-macro-repeat): Doc fix.  Change its kmacro-repeat
property from 'ring to 'head.
2003-08-17 22:04:44 +00:00
Kim F. Storm
100df2143b *** empty log message *** 2003-08-17 22:04:05 +00:00
Vinicius Jose Latorre
d73b08cbfe Adjust 2003-08-14 log order and format 2003-08-17 18:19:24 +00:00
Alex Schroeder
3cb0286846 *** empty log message *** 2003-08-17 09:52:49 +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
Alex Schroeder
d12d93962c Commentary change.
(desktop-kill): Unquoted t.
2003-08-17 09:32:10 +00:00
Luc Teirlinck
b52a319db5 (Info-scroll-prefer-subnodes): Add :version keyword to defcustom,
because the default was recently changed.
2003-08-17 05:25:58 +00:00
Luc Teirlinck
215f7a2d7c *** empty log message *** 2003-08-17 05:23:07 +00:00
Richard M. Stallman
0e7d7aae70 *** empty log message *** 2003-08-17 00:27:53 +00:00
Richard M. Stallman
6df73ca392 (ange-ftp-error): Add save-excursion. 2003-08-17 00:19:18 +00:00
Richard M. Stallman
606f5e7543 (eval-last-sexp-print-value): New subroutine, broken out of eval-last-sexp-1.
(eval-last-sexp-1): Use eval-last-sexp-print-value.
2003-08-17 00:18:15 +00:00
Richard M. Stallman
a8c78057ff (custom-load-symbol): Load cus-load and cus-start first. 2003-08-17 00:17:16 +00:00
Richard M. Stallman
6ee55cb130 (dabbrev--safe-replace-match): Use with-no-warnings. 2003-08-17 00:16:25 +00:00
Richard M. Stallman
b82d844fa4 (eval-expression): Use eval-last-sexp-print-value.
(backward-word, forward-to-indentation)
(backward-to-indentation):  Argument changed to optional.
(next-line, previous-line): Use `or' instead of `unless'.
2003-08-17 00:15:53 +00:00
Kenichi Handa
8d9a9cbd8e (setup-default-fontset): Change "*" to
nil in the specifications of font family.
2003-08-15 12:10:45 +00:00
Miles Bader
5aad5947b8 Revision: emacs--cvs-trunk--0--patch-14
Archive: miles@gnu.org--gnu-2003
Creator: Miles Bader <miles@gnu.org>
Summary: Avoid .arch-ids dirs when making autoloads
Modified-files: ./lisp/Makefile.in
New-patches: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-14

Avoid .arch-ids dirs when making autoloads
2003-08-14 09:05:44 +00:00
Vinicius Jose Latorre
1002b9b5d9 ebnf-no-meta-identifier ==> var instead constant. 2003-08-13 00:37:24 +00:00
Vinicius Jose Latorre
8276286688 Fix ebnf-iso 2003-08-13 00:36:11 +00:00
Markus Rost
aafd109351 (shell): With prefix-arg, suggest a new buffer name. 2003-08-12 23:37:25 +00:00
André Spiegel
8b9177ce1b # 2003-08-12 18:05:44 +00:00
André Spiegel
8bfde4bea1 (vc-sccs-state-heuristic): Fix parentheses.
(vc-sccs-workfile-version): Search the entire delta table, rather
than just the first entry, because that might be a deleted version.
2003-08-12 18:01:21 +00:00
Karl Fogel
aef1a2e639 * menu-bar.el (menu-bar-options-menu): Supply a body for the
[save-place] binding in the Options menu.  Have it require 'saveplace'
and then toggle the variable manually, to avoid an an unbound variable
error.  Thanks to <Sebastien.Kirche@sage.com> for the bug report.
2003-08-12 05:14:49 +00:00
Nick Roberts
2ff0458dd0 (gdb-insert-field, gdb-array-format1)
(gdb-info-breakpoints-custom, gdb-info-frames-custom)
(gdb-info-threads-custom): Add help-echo text.
(gdb-display-back): Don't use purecopy.
(gdb-info-breakpoints-custom, gdb-reset)
(gdb-assembler-custom): Use display-images-p to test if breakpoint
icons can be displayed.
2003-08-11 21:55:20 +00:00
Nick Roberts
87911c22a4 *** empty log message *** 2003-08-11 21:52:48 +00:00
Markus Rost
13582d5354 *** empty log message *** 2003-08-11 19:20:30 +00:00
Markus Rost
23fed45391 (reftex-auto-recenter-toc): Fix typo. 2003-08-11 19:17:53 +00:00
Stefan Monnier
175d0960bf (bookmark-completing-read): Use a popup menu if activated from the mouse.
Return a string, instead of a list of one string.
(bookmark-edit-annotation): Remove unused vars.
(bookmark-jump, bookmark-relocate, bookmark-insert-location)
(bookmark-rename, bookmark-insert, bookmark-delete): Adjust calls
to bookmark-completing-read.
(bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
(bookmark-bmenu-mark, bookmark-bmenu-select, bookmark-bmenu-unmark)
(bookmark-bmenu-delete, bookmark-bmenu-list): Use inhibit-read-only
and erase-buffer.
(bookmark-menu-delete, bookmark-menu-rename, bookmark-menu-locate)
(bookmark-menu-jump, bookmark-menu-insert)
(bookmark-popup-menu-and-apply-function)
(bookmark-menu-popup-paned-bookmark-menu): Remove.
(bookmark-menu-build-paned-menu): Remove by folding it into
bookmark-menu-popup-paned-menu.
(menu-bar-bookmark-map): Move the define-key statements here.
Use the "non-menu" commands since they now pop up a menu if needed.
(bookmark-exit-hook-internal): Simplify.
2003-08-11 17:30:47 +00:00
Carsten Dominik
3666daf637 Updated to version 4.21 2003-08-11 12:27:02 +00:00
Carsten Dominik
65cb21088c *** empty log message *** 2003-08-11 12:25:27 +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
Glenn Morris
3d880a4b89 (list-diary-entries-hook, diary-display-hook, nongregorian-diary-listing-hook)
(mark-diary-entries-hook, nongregorian-diary-marking-hook): Add some
customize options for these hooks.
(calendar-abbrev-construct): Don't try to take a substring longer than
the original string.
2003-08-06 10:10:46 +00:00
Richard M. Stallman
c5e0561f37 *** empty log message *** 2003-08-06 01:45:14 +00:00
Richard M. Stallman
91cbc31fa9 (noreturn): Report error if does return.
(testcover-reinstrument-clauses): Doc fix.
2003-08-06 01:10:37 +00:00
Richard M. Stallman
10b6c9320f Doc fixes, args renamed.
(warning-type-format): Renamed from warning-group-format.
2003-08-06 01:09:33 +00:00
Richard M. Stallman
9e31e67b6f (byte-compile-not-obsolete-var): New var.
(byte-compile-variable-ref): Handle byte-compile-not-obsolete-var.
(byte-compile-defvar): Bind byte-compile-not-obsolete-var
to prevent warnings about defvar for an obsolete variable.

(byte-compile-log-warning):
warning-group-format renamed to warning-type-format.
2003-08-06 01:08:21 +00:00
Richard M. Stallman
f0491f768e (read-passwd): Use clear-string instead of fillarray. 2003-08-06 01:05:15 +00:00
Richard M. Stallman
7725f0fb6c (edmacro-format-keys): Use edmacro-sanitize-for-string.
Use vconcat instead of concat.
(edmacro-sanitize-for-string): New function.
2003-08-06 01:04:34 +00:00
Dave Love
7cd8a5076e *** empty log message *** 2003-08-05 15:38:13 +00:00
Dave Love
779d0b80f8 Add open-paren-in-column-0-is-defun-start,
line-number-display-limit-width.
2003-08-05 15:27:38 +00:00
Dave Love
4372483c63 (tex-dvi-view-command): Fix quoted quotes. 2003-08-05 15:07:38 +00:00