1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 07:11:34 -08:00
Commit graph

1115 commits

Author SHA1 Message Date
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
Richard M. Stallman
d5792fb2eb (tags-loop-revert-buffers): New variable.
(next-file): Optionally offer to revert a file's buffer,
if it has an existing buffer but the file has changed.
1998-10-11 22:17:03 +00:00
Karl Heuer
466886a219 (tags-reset-tags-tables): Properly
find the markers in the old rings that are being discarded.
1998-10-06 22:35:51 +00:00
Dan Nicolaescu
f467e98486 *** empty log message *** 1998-10-02 18:11:14 +00:00
Stephen Eglen
9eb580d27f (inferior-octave-prompt): Also match prompts of the form
`octave.bin:1>' which come from using precopiled binary	versions.
1998-09-28 14:03:38 +00:00
Richard M. Stallman
c8b88e9f92 (sh-set-shell): Remove .exe suffix from shell name.
Don't reuse local var `shell' for two different things.
(sh-canonicalize-shell): Remove .exe suffix from shell name.
1998-09-28 13:31:53 +00:00
Dave Love
e58aeb3dd3 Don't call regexp-opt when deriving
font-lock patterns with keywords that aren't all literal.
1998-09-28 09:51:12 +00:00
Richard M. Stallman
f9e6a7e8f5 Fix author's email address. 1998-09-28 09:20:40 +00:00
Karl Heuer
1ce965febf (asm-mode): Doc fix.
(asm-comment-char): Escape literal semicolon.
1998-09-23 23:38:11 +00:00
Thien-Thi Nguyen
115db33eb5 *** empty log message *** 1998-09-18 09:41:31 +00:00
Andreas Schwab
d2ef1f6239 (vhdl-header-file): Fix customize type. 1998-09-18 09:18:40 +00:00
Andreas Schwab
0b44343bfb (cpp-face-light-list, cpp-face-dark-list): Fix
customize type.
1998-09-18 09:17:45 +00:00
Andreas Schwab
300f7bb347 (cperl-lazy-help-time): Fix customize
type.
1998-09-18 09:17:02 +00:00
Andreas Schwab
f8e03ecbd3 (compilation-error-screen-columns): New
variable.
(compilation-next-error-locus): Use it to decide whether to use
forward-char or move-to-column.
1998-09-18 09:06:20 +00:00
Thien-Thi Nguyen
b51900451a (hs-grok-mode-type) Handle nil comment-start' and comment-end'. 1998-09-13 21:55:51 +00:00
Karl Heuer
ae9e2dc7ae (compilation-error-regexp-alist):
Fix previous change: allow . and _ in command name.
1998-09-10 15:58:37 +00:00
Karl Heuer
8d9fbccc36 (compilation-error-regexp-alist):
In first pattern (GNU utilities and other things),
allow a space after the optional program name at the beginning.
1998-09-06 14:20:14 +00:00
Karl Heuer
452b228575 (ada-search-ignore-string-comment):
In "found in comment" case, don't beginning-of-line after forward-line.
1998-09-04 19:58:39 +00:00
Richard M. Stallman
966c0a72c3 (next-error): Doc fix.
(grep): Doc fix.
1998-08-09 06:31:29 +00:00