Commit graph

1433 commits

Author SHA1 Message Date
Dave Love
b073b657d4 (ada-outline-level): Bind buffer-invisibility-spec. 1999-03-06 19:06:40 +00:00
Richard M. Stallman
c04bb32e21 Set version to 1.4.1. Changed mail address to
alex@gnu.org.  Mention the mailin listg sql.el@gnu.org.
(sql-input-ring-separator): Doc fix.
(sql-mode-syntax-table): double-dash starts comments is defined as
". 56" instead of ". 12b" for XEmacs.
(sql-stop, sql-interactive-mode): Doc fixes.
(sql-postgres): Queries for database and server, not just one.
(sql-set-sqli-buffer): sql-set-sqli-hook must be quoted.
1999-02-19 04:27:18 +00:00
Richard M. Stallman
c7055d6660 (sql-set-sqli-hook): A hook run when sql-buffer is
changed.  This is needed for master.el to work.
(sql-set-sqli-buffer): Use the new hook.

(sql-make-alternate-buffer-name): Function that sets
sql-alternate-buffer-name.
(sql-alternate-buffer-name): Possible name of SQLi buffers.
(sql-interactive-mode): Set sql-alternate-buffer-name.
(sql-rename-buffer): New command.
(sql-interactive-mode-menu): Menu for SQLi buffers.

(sql-interactive-mode): Doc fix.  sql-input-ring-separator
and sql-input-ring-file-name are used to temporarily set
comint-input-ring-file-name and comint-input-ring-separator when
reading and writing input history files.

(sql-stop): Use sql-input-ring-separator and
sql-input-ring-file-name.
(sql-input-ring-file-name): New variable with customization.
(sql-input-ring-separator): New variable with customization.
(sql-set-sqli-buffer): Renamed from sql-change-sqli-buffer.
Callers changed.
(sql-show-sqli-buffer): The message for "sql-buffer is not set"
now includes the name of the current buffer.

(sql-mode): Set paragraph-separate and paragraph-start so that
sql-send-paragraph sends the entire SQL statements, even if it
contains indented lines.
1999-02-19 04:24:12 +00:00
Simon Marshall
abb7e5cfc3 Added c-at-toplevel-p for font-lock.el. 1999-02-17 09:46:28 +00:00
Richard M. Stallman
bccc6e3d9f (compile-internal): Use save-selected-window. 1999-02-16 03:36:28 +00:00
Richard M. Stallman
8e70c858a7 Record new maintainer. 1999-02-16 03:07:34 +00:00
Richard M. Stallman
dab100d7ad Added keywords from `finder-by-keyword'.
Set version to 1.3.2

(sql-solid-program): Added support for solid.
(sql-help): Doc mentions sql-solid.
(sql-solid): Entry function for Solid.
(sql-buffer): Doc explains the use of the variable and how to change it.
(sql-mode-menu): Included entries for sql-show-sqli-buffer and
sql-change-sqli-buffer; sql-send-region and sql-send-buffer are
disabled if sql-buffer doesn't have a process; sql-send-paragraph is new.
(sql-show-sqli-buffer): New function to display the value of sql-buffer.
(sql-change-sqli-buffer): New function to change sql-buffer.
(sql-mode): Doc explains how to change sql-buffer.
(sql-send-paragraph): New function to send a paragraph.
(sql-mode-map): Added keybinding for sql-send-paragraph.
(sql-mysql): Doc corrected.
(sql-ms): Doc corrected.

(sql-server): Doc fix.
(sql-mysql): Added the use of sql-server to specify the host,
sql-database now specifies database instead of host.
(sql-mode-menu): Send... menu items are only active if sql-buffer
is non-nil.
(sql-help): Changed tag of entry functions a bit.

(sql-mode): Made sql-buffer a local variable, changed the
documentation: removed instructions to add *.sql files to
auto-mode-alist, added documentation for having mutliple SQL
buffers sending their stuff to different SQLi buffers, each
running a different process.
(sql-postgres): Quoted *SQL* in doc string.
(sql-ms): Likewise.
(sql-ingres): Likewise.
(sql-ingres): Quoted *SQL* in doc string, added references to
sql-user and sql-password used during login.
(sql-sybase): Quoted *SQL* in doc string, added comma.
(sql-oracle): Likewise.
(sql-interactive-mode): Added extensive documentation for having
mutliple SQL buffers sending their stuff to different SQLi
buffers, each running a different process.
(sql-buffer): Changed doc from *SQL* to SQLi.
(sql-get-login): Doc fix.
1999-02-13 12:04:00 +00:00
Richard M. Stallman
4315d68ee5 (compile-auto-highlight): Customize. 1999-02-09 09:14:34 +00:00
Richard M. Stallman
474d71ae8b (compilation-setup): Set value of
compilation-directory-stack as in compilation-forget-errors.
(compile-reinitialize-errors): Bind buffer-undo-list and deactivate-mark.
(compilation-forget-errors): Likewise.
1999-02-08 23:50:42 +00:00
Barry A. Warsaw
0ec8351b95 Installed CC Mode 5.25. 1999-02-08 16:53:18 +00:00
Barry A. Warsaw
32348c138b Initial revision 1999-02-08 16:52:35 +00:00
Richard M. Stallman
3b7f63b13f Comment changes. 1999-02-07 04:07:14 +00:00
Richard M. Stallman
5084216469 (sql-help): Doc fix.
(sql-mysql): Doc fix.
1999-02-06 05:12:54 +00:00
Richard M. Stallman
a081a52939 Changed version to 1.2.1.
(sql-pop-to-buffer-after-send-region): Improved documentation.
(sql-mysql-program): Added MySQL support.
(sql-prompt-length): Made prompt-length configurable.
(sql-mode-syntax-table): Made apostrophe (') be a string delimiter.
(sql-help): Added MySQL support, changed documentation.
(sql-send-region): A message is displayed if something is sent.
(sql-mode): Added buffer-local comment-start.
(sql-interactive-mode): Use sql-prompt-length to set left-margin.
(sql-interactive-mode): Added buffer-local comment-start.
(sql-oracle): Set sql-prompt-length.
(sql-sybase): Set sql-prompt-length.
(sql-mysql): Added MySQL support.
(sql-ingres): Set sql-prompt-length.
(sql-ms): Set sql-prompt-length.
(sql-postgres): Set sql-prompt-length.
1999-02-06 05:09:31 +00:00
Dave Love
41a3354e11 (compile-mouse-goto-error): Don't lose with
null markers.
(compile-goto-error): Likewise.
1999-02-05 15:19:54 +00:00
Dave Love
c4c42b2e43 (mark-fortran-subprogram): Activate mark
here...
(fortran-narrow-to-subprogram, fortran-indent-subprogram): ... not
here.
1999-02-02 19:35:29 +00:00
Richard M. Stallman
db85e69ca4 (makefile-imenu-generic-expression): New var.
(makefile-menu-index-function): Function deleted.
(makefile-mode): Use makefile-imenu-generic-expression.
1999-02-02 03:47:08 +00:00
Richard M. Stallman
667aec946d (compilation-next-error-locus): Don't decrease argument FIND-AT-LEAST
of compilation-next-error-locus.
1999-02-01 10:38:08 +00:00
Dave Love
6fd849f6b0 (fortran-narrow-to-subprogram): Ensure mark
is active.
(fortran-indent-subprogram): Likewise.
1999-01-19 19:53:06 +00:00
Richard M. Stallman
c8d3ad6afd (pascal-calculate-indent): Code with an invalid
beginning could cause Emacs to hang.  Fixed.
1999-01-19 03:23:10 +00:00
Richard M. Stallman
d28701c72f (compilation-goto-locus): If already in the
compilation buffer's window, keep it in that window.
(compile-mouse-goto-error): Add Doc.  Don't play with windows.
(compile-goto-error): Don't play with windows.
1999-01-18 01:10:25 +00:00
Karl Heuer
8de85318d8 (sql-mode-ansi-font-lock-keywords): Quote font-lock
faces, eliminating the need to load font-lock before loading sql.
(sql-mode-oracle-font-lock-keywords): Likewise.
(sql-mode-postgres-font-lock-keywords): Likewise.
1999-01-12 21:50:44 +00:00
Richard M. Stallman
7052680be6 (compilation-shell-minor-mode): New function. 1999-01-11 17:37:34 +00:00
Richard M. Stallman
95e4b2efaf Initial revision 1999-01-11 15:26:36 +00:00
Dave Love
aa9305c929 (fortran-window-create): Account for scroll
bar width.
1999-01-06 18:38:15 +00:00
Dave Love
45d1e4d442 1999-01-05 Dave Love <fx@gnu.org>
* progmodes/f90.el (f90-mode): Make imenu-case-fold-search
	buffer-local.

1998-01-05  Torbjorn Einarsson	<T.Einarsson@clab.ericsson.se>

	* f90.el: Change of regular expressions for type to correct
	high-lighting and identation. Some small fixes for compatibility
	with XEmacs.
1999-01-05 14:20:30 +00:00
Richard M. Stallman
5bd52f0ea6 Can use linear algorithm for indentation if Emacs supports it.
(cperl-after-expr-p):	It is BLOCK if we reach lim when backup sexp.
(cperl-after-block-p):	Likewise.
(cperl-after-block-and-statement-beg): Likewise.
(cperl-after-block-p):	After END/BEGIN we are a block.
(cperl-after-expr-p):	Skip labels when checking
(cperl-indent-region):	Make a marker for END - text added/removed.
Disable hooks during the call (how to call them later?).
Now indents 820-line-long function in 6.5 sec (including
syntaxification) the first time	(when buffer has few
properties), 7.1 sec the second time.
(cperl-indent-region):	Do not indent whitespace lines
(cperl-style-alist)
	Include `cperl-merge-trailing-else' where the value is clear.
(cperl-styles-entries): Likewise.
(cperl-problems):	Improvements to docs.
(cperl-tips):		Likewise.
(cperl-non-problems):	Likewise.
(cperl-mode):		Make lazy syntaxification possible.
Loads pseudo-faces for the sake of `cperl-find-pods-heres' (for 19.30).
`font-lock-unfontify-region-function' was set to a wrong function.

(cperl-find-pods-heres): Safe a position in buffer where it is safe to
restart syntaxification.  Changed so that -d ?foo? is a RE. Do
not warn on `=cut' if doing a chunk only. 1 << 6 was OK,
but 1<<6 was considered as HERE-doc.
<file/glob> made into a string.
Postpone addition of faces after syntactic step.
Recognition of <FH> was wrong.
Highlight `gem' in s///gem as a keyword.  `qr' recognized.
Knows that split// is null-RE.
Highlights separators in 3-parts expressions as labels.
<> was considered as a glob.
Would err if the last line is `=head1'.
$a-1 ? foo : bar; was a considered a regexp.
`<< (' was considered a start of HERE-doc.
mark qq[]-etc sections as syntax-type=string
Was not processing sub protos after a comment ine.
Was treating $a++ <= 5 as a glob.
Tolerate unfinished REx at end-of-buffer.
`unwind-protect' was left commented.
/ and ? after : start a REx.

(cperl-syntaxify-by-font-lock): Set to t, should be safe now.
Better default, customizes to `message' too, off in text-mode.

(cperl-array-face): Renamed from `font-lock-emphasized-face',
`defface'd.
(cperl-hash-face): Renamed from `font-lock-other-emphasized-face'.
`defface'd.
(cperl-emacs-can-parse):	New state variable.
(cperl-indent-line):	Corrected to use global state.
(cperl-calculate-indent):	Likewise.
(cperl-fix-line-spacing):	Likewise (not used yet).
(cperl-calculate-indent):	Did not consider `,' as
continuation mark for statements.
(cperl-calculate-indent): Avoid parse-data optimization at toplevel.
Remove another parse-data optimization at toplevel: would
indent correctly.
Correct for labels when calculating indentation of continuations.
Docstring updated.
(cperl-choose-color):	Converted to a function (to be
compilable in text-mode).
(cperl-dark-background):	Disable without window-system.
Do `defface' only if window-system.
(cperl-fix-line-spacing):	sped up to bail out early.
(x-color-defined-p): was not compiling on XEmacs
Was defmacro'ed with a tick.  Remove another def.
(cperl-clobber-lisp-bindings): if set, C-c variants are the old ones
(cperl-unwind-to-safe):	New function.
(cperl-fontify-syntaxically): Use `cperl-unwind-to-safe' to start at reasonable position.
(cperl-fontify-syntaxically): Unwinds start and end to go out of
			     long strings (not very successful).
(cperl-forward-re):	Highlight the trailing / in s/foo// as string.
Highlight the starting // in s//foo/ as function-name.
Emit a meaningful error instead of a cryptic one for an
uncomplete REx near end-of-buffer.

(cperl-electric-keyword):	`qr' recognized.
(cperl-electric-else):		Likewise
(cperl-to-comment-or-eol):	Likewise
(cperl-make-regexp-x):	Likewise
(cperl-init-faces):	Likewise, and `lock' (as overridable?).
Corrected to use new macros;
`if' for copying `reference-face' to `constant-face' was backward.
remove init `font-lock-other-emphasized-face',
`font-lock-emphasized-face', `font-lock-keyword-face'.
Interpolate `cperl-invalid-face'.
(cperl-make-regexp-x):	Misprint in a message.
(cperl-syntaxify-unwind): New configuration variable
(cperl-fontify-m-as-s):	New configuration variable
(cperl-electric-pod):	check for after-expr was performed
inside of POD too.
(cperl-backward-to-noncomment):	better treatment of PODs and HEREs.
(cperl-clobber-mode-lists): New configuration variable.
(cperl-not-bad-style-regexp):	Updated.
Init:			`cperl-is-face' was busted.
(cperl-make-face):	New macros.
(cperl-force-face):	New macros.
(font-lock-other-type-face): Done via `defface' too.
(cperl-nonoverridable-face):	New face.  Renamed from
`font-lock-other-type-face'.
(cperl-init-faces-weak):	use `cperl-force-face'.
(cperl-comment-indent):	Commenting __END__ was not working.
(cperl-indent-for-comment):	Likewise.
(cperl-write-tags):	Correct for XEmacs's `visit-tags-table-buffer'.
When removing old TAGS info was not relativizing filename.
(cperl-tags-hier-init):	Gross hack to pretend we work (are we?).
Another try to work around XEmacs problems.  Better progress messages.
(toplevel):		require custom unprotected => failure on 19.28.
(cperl-xemacs-p):	defined when compile too
(cperl-find-tags):	Was writing line/pos in a wrong order,
pos off by 1 and not at beg-of-line.
(cperl-etags-snarf-tag): New macro
(cperl-etags-goto-tag-location): New macro
(cperl-version):	New variable.  New menu entry
random docstrings:	References to "future" 20.3 removed.
Menu was described as `CPerl' instead of `Perl'
(perl-font-lock-keywords): Would not highlight `sub foo($$);'.
(cperl-toggle-construct-fix): Was toggling to t instead of 1.
(cperl-ps-print-init):	Associate `cperl-array-face', `cperl-hash-face'
Remove `font-lock-emphasized-face', `font-lock-other-emphasized-face',
`font-lock-reference-face', `font-lock-keyword-face'.
Use `eval-after-load'.
Remove not-CPerl-related faces.
(cperl-tips-faces):	New variable and an entry into Mini-docs.
(cperl-indent-exp):	Was not processing else-blocks.
(cperl-get-state):	NOP line removed.
(cperl-ps-print):	New function and menu entry.
(cperl-ps-print-face-properties):	New configuration variable.
(cperl-invalid-face):	New configuration variable.
(perl-font-lock-keywords):	Highlight trailing whitespace
(cperl-contract-levels):	Documentation corrected.
(cperl-contract-level):		Likewise.
(cperl-ps-extend-face-list):	New macro.
(cperl-invalid-face):	Change to ''underline.
1999-01-02 00:16:05 +00:00
Richard M. Stallman
5119b7a78f (m4-m4-region, m4-m4-buffer): Use shell-command-on-region.
(m4-start-m4, m4-end-m4): Functions deleted.
1998-12-30 19:02:31 +00:00
Karl Heuer
3e9103768f Update comment. 1998-12-14 03:22:44 +00:00
Karl Heuer
fb98fa17e4 Initial revision 1998-12-14 03:18:06 +00:00
Karl Heuer
d914bed56b (compilation-error-regexp-alist): Insist on a non-digit in the file name. 1998-12-14 03:12:21 +00:00
Karl Heuer
e228c7e2d4 (compilation-error-regexp-alist): Fix regexp to match
"ChangeLog:1:1998-12-09 ..."
1998-12-14 03:06:46 +00:00
Dave Love
645ff508dd (fortran-font-lock-keywords-1): Warp
forward-sexp in condition-case.
1998-12-11 17:40:18 +00:00
Karl Heuer
c63ae7f26e (cc-imenu-java-generic-expression): Get rid of nested loops. 1998-12-10 03:27:31 +00:00
Karl Heuer
aa82f4fbdf (octave-abbrev-start): Use the correct
name of the abbrev table, and provide support for XEmacs.
(octave-xemacs-p): New variable.
1998-12-10 03:15:25 +00:00
Dave Love
bd6cabcf14 (fortran-check-end-prog-re): Allow trailing
comment.
1998-12-09 16:38:37 +00:00
Dave Love
45cf60ae1a Various minor doc fixes.
(fortran-font-lock-keywords-1): Add `d' to comment-chars.
(fortran-with-subprogram-narrowing): New macro.
fortran-check-for-matching-do): Use it.
(fortran-end-do): Use fortran-check-end-prog-re.
(fortran-beginning-do, fortran-end-if, fortran-beginning-if)
(fortran-calculate-indent, fortran-calculate-indent): Likewise.
1998-11-23 15:15:09 +00:00
Dave Love
0a3a1c190a (fortran-end-prog-re): Fix typo. 1998-11-18 19:19:09 +00:00
Dave Love
823ab5da19 Fix previous change:
(fortran-end-prog-re1): Changed.
(fortran-check-end-prog-re): New function.
(beginning-of-fortran-subprogram, end-of-fortran-subprogram): Use
it.
1998-11-15 15:50:30 +00:00
Karl Heuer
7172d0aab3 (switch-to-lisp): if no inferior lisp present, call
`run-lisp' instead of signalling an error.
1998-11-12 01:55:57 +00:00
Dave Love
0f1057e9e8 Fix for fontification of strings lost
somehow:
(fortran-fontify-string): New function.
(fortran-font-lock-keywords-1): Use it.
1998-11-02 19:53:05 +00:00
Dave Love
7b84ff901c (fortran-end-prog-re1): Fix the regexp. 1998-11-01 16:52:39 +00:00
Karl Heuer
ef8c3cf90e (pascal-mode): `blink-matching-paren-dont-ignore-comments' set to t. 1998-10-30 19:47:56 +00:00
Andreas Schwab
842cc0e685 (sh-canonicalize-shell): Fix regexp.
(sh-set-shell): Likewise.
1998-10-30 11:02:42 +00:00
Richard M. Stallman
931f525c9e (initialize-new-tags-table):
Do not alter find-tag-marker-ring and tags-location-ring.
1998-10-28 00:04:28 +00:00
Richard M. Stallman
b946fbad39 (sh-font-lock-keywords): Don't crash for an unrecognized shell. 1998-10-21 03:47:41 +00:00
Richard M. Stallman
547745f5b3 (sh-mode): Handle .spec and .mspec files.
(sh-font-lock-keywords): Handle rpm and rpm2.
(sh-ancestor-alist): Handle rpm.
1998-10-20 18:50:13 +00:00
Richard M. Stallman
1c20c5890a (vhdl-add-index-menu): reverse order in imenu-generic-expression.
(vhdl-template-assert, vhdl-block, vhdl-configuration-spec)
(vhdl-elsif, vhdl-generate, vhdl-if, vhdl-map)
(vhdl-selected-signal-assignment, vhdl-use, vhdl-while-loop)
(vhdl-get-port, vhdl-get-generic): Replace (undo 0) by (undo).
(vhdl-when): Fix indentation problem.
(vhdl-outer-space): Add "_" to syntax table for expand-abbrev.
(vhdl-get-port, vhdl-get-generic): Bug fix in template.
(vhdl-hooked-abbrev): Bug fix in hooked abbrev.
1998-10-14 19:55:35 +00:00
Dave Love
46d4d7bffa 1998-10-14 Dave Love <fx@gnu.org>
* progmodes/fortran.el (fortran-mode-map): Change "Join
	Continuation Line" to "Join Line".
	(font-lock-keywords-1): Add "cycle", "exit".

1998-10-14  Emilio Lopes  <Emilio.Lopes@Physik.TU-Muenchen.DE>

	* progmodes/fortran.el (fortran-join-line): Use
	`delete-indentation' instead of issuing an error message if not on
	a continuation line.  Provide for joining several lines using
	prefix arg.
1998-10-14 18:09:05 +00:00
Andreas Schwab
4e391a67d1 (hide-ifdef-env, hif-outside-read-only):
Move declaration before first use.
(hif-parse-if-exp, hif-nexttoken, hif-expr, hif-term, hif-eq-expr,
hif-math, hif-factor): Rename token to hif-token and token-list to
hif-token-list.
(hif-token, hif-token-list): Declare them.
(hif-find-ifdef-block): Return cons of top and bottom point
instead of setting dynamically bound variables.
(hide-ifdef-block, show-ifdef-block): Use return value of
hif-find-ifdef-block.
1998-10-13 09:52:54 +00:00