1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
Commit Graph

1289 Commits

Author SHA1 Message Date
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
Richard M. Stallman
6230363501 Whitespace fix. 1998-07-27 06:38:12 +00:00
Richard M. Stallman
c6d464ec64 (grep): Doc fix.
(next-error): Doc fix.
1998-07-19 22:17:03 +00:00
Richard M. Stallman
a8fa6fc274 (sh-mode): parse-sexp-ignore-comments = t. 1998-07-19 21:58:03 +00:00
Richard M. Stallman
405ff5eaab (scheme-font-lock-keywords-1): Fontify SCWM/Guile
keywords starting with `define'.
1998-07-07 19:27:40 +00:00
Richard M. Stallman
39e7e36ac5 (makefile-font-lock-keywords): Recognize automatic variable references.
(makefile-dependency-regex): Don't be fooled by colons in deps.
1998-07-03 21:37:22 +00:00
Richard M. Stallman
6acae80afe (pascal-insert-block): Fixed space-deletion bug in
front of the "begin" string.
(pascal-beg-of-defun): Used to locate the beginning of a function
incorrectly when a function contained several begin-end blocks.  Fixed.
1998-07-03 20:10:32 +00:00
Richard M. Stallman
33b598d484 Don't require imenu. 1998-07-02 22:27:24 +00:00
Dave Love
d7faae566d (end-of-fortran-subprogram): Check if we're on the END statement. 1998-07-02 19:26:15 +00:00
Dave Love
8fbfe89f86 (fortran-mode-map) <menu>: Tweak the imenu
menu entry.
1998-07-02 19:12:18 +00:00
Tom Tromey
55c6d8fce1 Some itcl additions:
(tcl-typeword-list): Added private, itk_option.
(tcl-proc-list): Added body, configbody, class.
1998-07-02 17:47:49 +00:00
Andreas Schwab
0c3ba9b27c (executable-query): Use `other' widget
type.
1998-06-24 09:21:03 +00:00
Andreas Schwab
add3e8b368 (tags-add-tables): Use `other' widget type. 1998-06-24 09:20:18 +00:00
Richard M. Stallman
80e1568a89 (executable-binary-suffixes): New variable.
(executable-find): Use it to look for executable program files.
1998-06-23 18:37:01 +00:00
Richard M. Stallman
1ffddaf4d4 (grep-command): Initialize to nil.
(grep-find-command): Initialize to nil.
(grep-find-use-xargs): Initialize to nil.
(grep-compute-defaults): New function, sets those three vars properly.
(grep, grep-find): Call grep-compute-defaults if ...command variable
is still nil.
(grep-program): Doc fix.
1998-06-23 15:51:47 +00:00
Karl Heuer
174c05aca0 (dcl): Define as customize group, not
as option.
1998-06-19 16:55:43 +00:00
Thien-Thi Nguyen
28f0c4f275 (hs-minor-mode): Use make-local-variable' not make-variable-buffer-local'. 1998-06-12 05:53:52 +00:00
Thien-Thi Nguyen
aaa114d058 Require `easymenu'. Rework to use easymenu. Remove eol ws.
(hs-hide-level-recursive, hs-hide-level): Add.

(hs-unbalance-handler-method): Delete.
(hs-show-block-at-point): Always use `top-level' unbalanced-handler case.
1998-06-12 05:32:48 +00:00
Richard M. Stallman
268565b059 (c-mode-menu): Use (mark t), not (mark), in enable-expressions. 1998-06-10 18:54:27 +00:00
Richard M. Stallman
b7ec9e590e (pod2man-program): Var reinstalled.
(cperl-pod-to-manpage, cperl-pod2man-build-command): Fns reinstalled.
1998-06-09 04:03:45 +00:00
Richard M. Stallman
cb60918c9c (grep-null-device): Variable deleted.
(grep-command, grep-find-use-xargs): Use null-device.
(grep, grep-find): Use null-device.
1998-06-09 02:52:12 +00:00
Richard M. Stallman
f6cfd0b0c5 Comment change. 1998-06-08 20:19:47 +00:00
Richard M. Stallman
46c7246857 (cperl-problems): Doc fix. 1998-06-08 00:02:30 +00:00
Richard M. Stallman
bab27c0c4d Second half of changes in version 1.4. 1998-06-07 23:58:48 +00:00
Richard M. Stallman
026d871394 (cperl-pod-to-manpage): Function deleted
(cperl-pod2man-build-command, cperl-perldoc-at-point): Likewise.
(cperl-perldoc): Likewise.
(pod2man-program): Variable deleted.
1998-06-07 23:37:02 +00:00
Richard M. Stallman
556dd62982 (fortran-electric-line-number): Add delete-selection property. 1998-06-06 22:43:31 +00:00
Karl Heuer
d1208263cd (grep): Fix previous change. 1998-06-01 03:08:53 +00:00
Richard M. Stallman
db133cb603 (cperl-style-alist): New variable, since `c-mode'
is no longer loaded.
- (Somebody who uses the styles should check that they work OK!)
- (a lot of work is needed, especially with new
  `cperl-fix-line-spacing').
Old value of style is memorized when choosing a new style, may be
restored from the same menu.
(cperl-perldoc, cperl-pod-to-manpage): New commands; thanks to
Anthony Foiani <afoiani@uswest.com> and Nick Roberts
<Nick.Roberts@src.bae.co.uk>.
(`Perl doc', `Regexp'): New submenus (latter to allow short displays).
(cperl-clobber-lisp-bindings): New cfg variable.
(cperl-find-pods-heres): $a->y() is not y///.
(cperl-after-block-p): Add save-excursion.
(cperl-init-faces): Was failing.
Init faces when loading `ps-print'.
(cperl-toggle-autohelp): New command.
(cperl-electric-paren): `while SPACE LESS' was buggy.
(cperl-init-faces): `-text' in `[-text => 1]' was not highlighted.
(cperl-after-block-p): was FALSE after `sub f {}'.
(cperl-electric-keyword): `foreachmy', `formy' expanded too,
Expands `=pod-directive'.
(cperl-linefeed): behaves reasonable in POD-directive lines.
(cperl-message-electric-keyword): new cfg variable.
(cperl-electric-keyword): print a message, governed by
`cperl-message-electric-keyword'.
(cperl-electric-paren): Typing `}' was not checking for being
block or not.
(cperl-beautify-regexp-piece): Did not know about lookbehind;
finding *which* level to work with was not intuitive.
(cperl-beautify-levels): New command.
(cperl-electric-keyword): Allow here-docs contain `=head1'
and friends for keyword expansion.
Fix for broken `font-lock-unfontify-region-function'.  Should
preserve `syntax-table' properties even with `lazy-lock'.
(cperl-indent-region-fix-else): New command.
(cperl-fix-line-spacing): New command.
(cperl-invert-if-unless): New command (C-c C-t and in Menu).
(cperl-hints): mention 20.2's goods/bads.
(cperl-extra-newline-before-brace-multiline): Started to use it.
(cperl-break-one-line-blocks-when-indent): New cfg variable.
(cperl-fix-hanging-brace-when-indent): New cfg variable.
(cperl-merge-trailing-else): New cfg variable.
Workaround for another `font-lock's `syntax-table' text-property bug.
`zerop' could be applied to nil.
At last, may work with `font-lock' without setting `cperl-font-lock'.
(cperl-indent-region-fix-constructs): Renamed from
`cperl-indent-region-fix-constructs'.
(cperl-fix-line-spacing): could be triggered inside strings, would not
know what to do with BLOCKs of map/printf/etc.
(cperl-merge-trailing-else): Handle `continue' too.
(cperl-fix-line-spacing): Likewise.
(cperl-calculate-indent): Knows about map/printf/etc before {BLOCK};
treat after-comma lines as continuation lines.
(cperl-mode): `continue' made electric.
(cperl-electric-keyword): Electric `do' inserts `do/while'.
(cperl-fontify-syntaxically): New function.
(cperl-syntaxify-by-font-lock): New cfg variable.
Make syntaxification to be autoredone via `font-lock',
switched on by `cperl-syntaxify-by-font-lock', off by default so far.
Remove some commented out chunks.
(cperl-set-style-back): Old value of style is memorized when
choosing a new style, may be restored from the same menu.
Mode-documentation added to micro-docs.
(cperl-praise): updated.
(cperl-toggle-construct-fix): New command.  Added on C-c C-w and menu.
(auto-fill-mode): added on C-c C-f and menu.
(cperl-style-alist): `PerlStyle' style added.
(cperl-find-pods-heres): Message for termination of scan corrected.
(cperl-speed): New variable with hints.
(cperl-electric-else): Make backspace electric after
expansion of `else/continue' too.
Fixed customization to honor cperl-hairy.
Created customization groups.
All the compile-time warnings fixed.
(cperl-syntaxify-by-font-lock): Interaction with `font-lock-hot-pass'
fixed.
(cperl-after-block-and-statement-beg): It is BLOCK if we reach lim
when backup sexp.
(cperl-after-block-p, cperl-after-expr-p): Likewise.
(cperl-indent-region): Make a marker for END - text added/removed.
(cperl-style-alist): Include `cperl-merge-trailing-else'
where the value is clear.
(cperl-styles-entries): Likewise.
(cperl-tips, cperl-problems): Improvements to docs.
1998-05-30 15:43:16 +00:00
Karl Heuer
a46fddeb85 (compilation-scroll-output): Correct the :version
keyword to be a string.
1998-05-30 15:00:07 +00:00
Dave Love
2c0b59e3eb (f90-comment-indent): Don't attempt to indent trailing comment as
code.
(f90-looking-at-if-then): Don't lose with scan-lists on bad syntax.
1998-05-25 11:25:48 +00:00
Richard M. Stallman
7cd960e6e0 (grep-tag-default): New function.
(grep): New default arg when prefix arg is specified.
1998-05-24 01:10:12 +00:00
Richard M. Stallman
2f4027021e (vhdl-customize-colors):
Renamed from vhdl-use-default-colors, and sense reversed.
(vhdl-customize-faces):
Renamed from vhdl-use-default-faces, and sense reversed.
(vhdl-font-lock-init, vhdl-ps-init): Implement those changes.
(vhdl-submit-bug-report): Use new variable names.
1998-05-23 19:59:27 +00:00
Dan Nicolaescu
12ab6a7d3a (hs-life-goes-on): Use Emacs' native backquote support. 1998-05-17 01:55:17 +00:00
Richard M. Stallman
fc416240b9 (c-macro-expansion):
Use temporary-file-directory.  Choose temp file name properly.
1998-05-16 17:52:29 +00:00
Richard M. Stallman
84195ec425 (c-macro-expansion): Use system-tmp-directory. 1998-05-16 03:44:02 +00:00
Richard M. Stallman
ced7b4a427 (sh-shell-file): Add cmdproxy to MS shells. 1998-05-07 19:18:29 +00:00
Andreas Schwab
aa53db6a6e * progmodes/compile.el (compilation-directory-stack): Doc fix.
(compilation-mode): Accept optional parameter and initialize
mode-name from it.
(compile-internal): Pass name-of-mode to compilation-mode.  Don't
set mode-name here.
(compilation-minor-mode): Don't let mode-line-process change.
(compilation-next-error-locus): Use forward-char instead of
move-to-column.
(compilation-parse-errors): Set default-directory from head of
compilation-directory-stack.
1998-05-04 08:35:40 +00:00
Eli Zaretskii
eee86eff46 (sh-shell-file): If $SHELL evaluates to
one of MS-DOS or MS-Windows shells, use "bin/sh" instead.
1998-05-03 15:57:33 +00:00
Richard M. Stallman
d06ad999da (perl-mode): Add autoload cookie. 1998-04-30 03:22:20 +00:00
Dave Love
e9feb305f5 (fortran-mode-map): Bind M-^. Use \M-, not \e elsewhere. 1998-04-28 17:54:11 +00:00
Dan Nicolaescu
cd32a7baa4 *** empty log message *** 1998-04-20 02:34:53 +00:00
Dan Nicolaescu
daa02ea5db *** empty log message *** 1998-04-18 20:43:38 +00:00
Dan Nicolaescu
42dfe0ad13 *** empty log message *** 1998-04-18 19:48:40 +00:00
Dave Love
93a7d76ffe (scheme-imenu-generic-expression,
dsssl-imenu-generic-expression): Remove leading space in submenus.
1998-04-17 20:46:21 +00:00
Dave Love
37c3edc4d1 Move eval-when-compile off top level. 1998-04-15 16:25:44 +00:00
Dave Love
20ecf81c6f Don't eval-*and*-compile font-lock stuff. 1998-04-14 20:57:00 +00:00
Karl Heuer
23cec91f9a (vhdl-loop, vhdl-while-loop): Add backslash. 1998-04-10 09:28:12 +00:00
Stephen Eglen
e4df16d007 Customize 1998-04-09 12:31:57 +00:00
Dan Nicolaescu
1c36bac652 *** empty log message *** 1998-04-09 05:47:28 +00:00
Dave Love
2d060bebe7 (fortran-fill-paragraph): This is the one
which must return t, not:
(fortran-fill-statement):
1998-04-08 18:08:59 +00:00
Dave Love
1eb6bf70dc Use regexp-opt and eval-and-compile to
build font-lock patterns.
(fortran-mode): Define indent-region-function,
indent-line-function.
(fortran-tab-mode-string): Make buffer-local.
(fortran-comment-indent-style): Custom tweak.
(fortran-comment-region, fortran-electric-line-number,
fortran-analyze-depth, fortran-break-before-delimiters,
fortran-mode): Doc fix.
(fortran-startup-message, bug-fortran-mode): Variables
deleted.
(fortran-font-lock-keywords-1): Add "select", "case"; allow
double-quoted strings.
(fortran-mode-map): Add fill-paragraph menu item.  Don't
define \t.
(fortran-mode): Make `fill-column' buffer-local; set
`fill-paragraph-function', `indent-region-function',
`indent-line-function'.
(calculate-fortran-indent): Renamed to:
(fortran-calculate-indent):
(fortran-split-line): Simplify.
(fortran-remove-continuation): New function.
(fortran-join-line): Use it.
(fortran-end-prog-re1, fortran-end-prog-re): New variables.
(beginning-of-fortran-subprogram, end-of-fortran-subprogram):
Use them.
(fortran-blink-matching-if, fortran-blink-matching-do,
fortran-indent-new-line): Bind case-fold-search.
(fortran-end-do, fortran-beginning-do, fortran-end-if,
fortran-beginning-if): Bind case-fold-search.  Allow labelled
blocks.  Use fortran-end-prog-re.
(fortran-if-start-re): New variable.
(fortran-calculate-indent): Allow labelled blocks.  Simplify the
conds.  Make select case indentation work.
(fortran-is-in-string-p): Ignore Emacs 18 bug kluge.
(fortran-fill): Allow double quotes in check for string.
(fortran-fill-paragraph): New function.
(fortran-fill-statement): New function.
1998-04-07 18:59:44 +00:00
Richard M. Stallman
4d60e093d5 (compilation-error-regexp-alist):
Handle f90 in  DEC AXP OSF/1 cc  pattern.
1998-03-20 04:41:13 +00:00
Richard M. Stallman
aded9c1ea2 (simula-match-string-or-comment): store-match-data => set-match-data. 1998-03-14 04:53:37 +00:00
Richard M. Stallman
eef4375a10 (fortran-match-!-comment): store-match-data => set-match-data. 1998-03-14 04:53:12 +00:00
Dave Love
22dcd0d12b (scheme-mode-variables): Set font-lock-defaults locally.
(scheme-font-lock-keywords-1, scheme-font-lock-keywords-2,
scheme-font-lock-keywords): Moved here from font-lock.el.
(dsssl-mode): Move font-lock-defaults setting and running hooks.
1998-03-10 22:51:23 +00:00
Richard M. Stallman
3c3d11e776 (c-emacs-features): Var moved to cc-vars.el. 1998-03-08 06:55:27 +00:00
Richard M. Stallman
abfbd5639b (c-emacs-features): Var moved from cc-defs.el. 1998-03-08 06:55:04 +00:00
Richard M. Stallman
461688a195 Don't require cc-defs. 1998-03-08 06:53:15 +00:00
Richard M. Stallman
e5caa08e54 (c-initialize-cc-mode): Moved require's to top level.
(c-initialize-on-load): Variable removed.
1998-03-08 06:52:23 +00:00
Richard M. Stallman
717d3be71d (c-Java-javadoc-paragraph-start): New variable for use in c-fill-paragraph. 1998-03-08 06:51:26 +00:00
Richard M. Stallman
f23da29ac2 (c-fill-paragraph): Bind fill-paragraph-function to
nil when calling fill-paragraph, to avoid bogus recursion which
will signal an error.

(c-fill-paragraph): Always keep point in the same
relative position.  Fill comment before point if there's nothing
else on the same line.  Fill block comments after code a little
better.  Try harder to find a good fill-prefix when point is on a
block comment ender line.  Use c-Java-javadoc-paragraph-start in
block comments in Java mode.  Leave block comment ender alone when
c-hanging-comment-ender-p is nil and point is on that line.
Detect paragraph-separate in multiparagraph comments.  Fix for bug
that may strip the `*' off `*/' if fill-prefix ends with `*' and
c-hanging-comment-ender-p is t.  Added filling of multiline string
literals.  Always return t to disable filling in any unhandled
area, i.e. actual code where fill-paragraph only mess things up.
1998-03-08 06:50:21 +00:00
Richard M. Stallman
b2acd78958 (c-inside-bracelist-p): Fix for enum test.
(c-collect-line-comments): Require same comment start column.

(c-guess-basic-syntax): Fixes for nesting of and
repeated defun-open's inside extern and namespace clauses.  This
is done by passing a relpos to `inextern-lang' and `innamespace'.
Also, the relpos in `defun-open' is no longer always bol.  It's
always bol when on the top level, however.  Changed cases: 5A.5, 5I, 14A.

(c-forward-token-1, c-backward-token-1): New functions to move by tokens.
c-guess-basic-syntax): Fixes for Java 1.1 array initialization brace lists.
1998-03-08 06:49:04 +00:00
Richard M. Stallman
419277c5b8 (c-enable-xemacs-performance-kludge-p): New variable. 1998-03-08 06:45:26 +00:00
Richard M. Stallman
7591cf05f5 (select-tags-table-quit): Use quit-window. 1998-03-08 00:22:03 +00:00
Richard M. Stallman
5904765365 (makefile-browser-quit): Use quit-window. 1998-03-08 00:21:26 +00:00
Dave Love
dc6579acc0 (fortran-column-ruler-fixed,
fortran-column-ruler-tab): Doc fix.
(fortran-mode-map): Bind fortran-narrow-to-subprogram.
(bug-fortran-mode): Variable deleted.
1998-03-06 19:14:13 +00:00
Karl Heuer
9b3d0a18fa (make-mode): Provide make-mode, not makefile. 1998-02-27 22:11:43 +00:00
Dave Love
9b7dee8699 (compilation-error-regexp-alist): Allow initial
program name in first pattern.
1998-02-24 12:45:02 +00:00
Stephen Eglen
ccc3ce39b4 Commented out line 471 (miniperl entry in interpreter-mode-alist)
Removed stray =06 entry on line 4445.
Customized.
1998-02-22 20:03:39 +00:00
Stephen Eglen
5636765c52 Customized. 1998-02-22 19:51:45 +00:00
Simon Marshall
883212ce69 Changed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:58:27 +00:00
Richard M. Stallman
f014d22e07 (c-copy-tree): New function.
(c-initialize-builtin-style): Use c-copy-tree.
1998-02-17 07:26:46 +00:00
Richard M. Stallman
87f235fb1b (c-enable-xemacs-performance-kludge-p): New variable.
(c-default-style): Start doc string with *.

(c-default-style): Renamed from c-site-default-style.
1998-02-17 07:14:36 +00:00
Richard M. Stallman
0bacd8d0b2 (c-make-styles-buffer-local): Take an optional argument which switches
between make-variable-buffer-local and make-local-variable.  Generalize.

(c-offsets-alist): Three new syntactic symbols: innamespace,
namespace-open, namespace-close.  These support C++ namespace blocks.
Also, new syntactic symbol cpp-macro-cont, by default bound to
c-lineup-dont-change.  This symbol is assigned to subsequent lines of
a multi-line C preprocess macro definition.

(c-style-alist): "jdk" style for conformance with Sun's JDK style.

(c-set-style-2, c-initialize-builtin-style): Don't special case
"cc-mode", it's a derived style.  Fix setup of derived style
"cc-mode".  Introduce the new default style "user" which contains all
user customizations.
1998-02-17 07:13:59 +00:00
Richard M. Stallman
77e31a8d08 (c-mode, c++-mode, objc-mode, java-mode): Set
imenu-case-fold-search to nil.

(java-mode): Set c-method-key to nil.  I don't think this is necessary
for Java, and besides, the old value was inherited from Objective-C
which was clearly not right.

(c++-mode): Set c-extra-toplevel-key to c-C++-extra-toplevel-key.
(c-initialize-on-load): New variable, *not* customized.
1998-02-17 07:11:40 +00:00
Richard M. Stallman
f1063b2f66 Imenu support changed. 1998-02-17 07:10:49 +00:00
Richard M. Stallman
bb7830ef8a (c-postprocess-file-styles): If a file style or file offsets are set,
make the variables local to the buffer (via make-local-variable).

(c-java-method-key): Variable deleted.

(c-C-extra-toplevel-key)
(c-C++-extra-toplevel-key, c-extra-toplevel-key): New variables
which parameterize the search for additional top-level enclosing
constructs.

(c-mode-base-map): c-mark-function moved back to M-C-h.
1998-02-17 07:10:11 +00:00
Richard M. Stallman
e1c458ae08 (c-forward-syntactic-ws, c-backward-syntactic-ws):
Don't narrow, just make a simple check against the given limit.

(c-collect-line-comments): New function.

(c-literal-limits): New function that finds the start and end pos
of a comment or string surrounding point.

(c-literal-limits-fast): A faster variant of `c-literal-limits'
for newer Emacsen where the state returned from
`parse-partial-sexp' contains the starting pos of the last literal.

(c-parse-state): Use (c-point 'bod) instead of
beginning-of-defun directly.

(c-guess-basic-syntax): Fixed a few byte compiler warnings.

(c-backward-to-start-of-do): Break infloop for
invalid code, e.g. when someone types while (TRUE) { at the top of
a buffer, we shouldn't hang when the { is typed!

(c-backward-to-start-of-if): Ensure never
move forward, not even if point < lim.

(c-search-uplist-for-classkey): When searching up for a class key,
instead of hardcoding the extended search for "extern", use the new
variable c-extra-toplevel-key, which is language dependent.  For C++,
this variable includes the keyword "namespace" which will match C++
namespace introducing blocks.

(c-guess-basic-syntax): Support for recognizing C++ namespace
blocks, by elaborating on the mechanism used to find external
language blocks.  Searches which hardcoded "extern" now use
c-extra-toplevel-key, a language dependent variable.  Case clauses
that were modified: CASE 5A.1, CASE 5A.4, CASE 5F, CASE 5I, CASE
14A.

CASE 3: we can now determine whether we're at the beginning of a
 	cpp macro definition, or inside the middle of one. Set syntax to
 	'cpp-macro in the former case, 'cpp-macro-cont in the latter.  In
 	both cases, the relpos is the beginning of the macro.

(c-forward-syntactic-ws): Added code that skips forward over
multi-line cpp macros.

(c-beginning-of-macro): Moved, and made into a defsubst.  This
function can now actually find the beginning of a multi-line C
preprocessor macro.

(c-backward-syntactic-ws): Use c-beginning-of-macro to skip backwards
over multi-line macro definitions.

(c-in-literal, c-fast-in-literal): Use c-beginning-of-macro to
find out whether we're in a multi-line macro definition.

(c-fast-in-literal): Function which should be faster than
c-in-literal.  In XEmacs, this uses buffer-syntactic-context.
1998-02-17 07:08:44 +00:00
Richard M. Stallman
d5436a295e (c-point): In XEmacs, use scan-lists + buffer-syntactic-context-depth.
(c-emacs-features): Added autoload cookie.
1998-02-17 07:06:17 +00:00
Richard M. Stallman
28c236dee3 (c-beginning-of-statement)
(c-end-of-statement): Do not move by sentence in strings.

(c-beginning-of-statement): Major rewrite.

(c-beginning-of-defun, c-indent-defun):
Use (c-point 'bod) instead of beginning-of-defun directly.

(c-beginning-of-defun, c-end-of-defun): New commands.

(c-beginning-of-statement): When moving forward by sentences, because
we're either inside or at the start of a comment, be sure to limit
movement to only within the extent of the comment.

(c-electric-colon): Don't insert newlines before or after scope
operators, regardless of the value of c-hanging-colons.

(c-electric-brace): namespace-open and namespace-close braces can hang.

(c-comment-line-break-function): When breaking a
line-oriented comment, copy the comment leader from the previous
line instead of hardcoding it to "// ".  This ensures that
whitespace between the slashes and the text is preserved.

(c-electric-pound, c-electric-brace)
(c-electric-slash, c-electric-star, c-electric-semi&comma)
(c-electric-colon, c-electric-lt-gt, c-scope-operator)
(c-electric-backspace, c-electric-delete)
(c-indent-command, c-indent-exp, c-indent-defun)
(c-backslash-region, c-fill-paragraph): Add "*" to interactive spec.

(c-fill-paragraph): regexp-quote the
fill-prefix when search forward for the end of line oriented comments.
(c-backslash-region): Do not preserve the zmacs region (XEmacs).
1998-02-17 07:04:48 +00:00
Richard M. Stallman
eae8661813 (c-lineup-close-paren)
(c-indent-one-line-block): New indentation functions.

(c-semi&comma-no-newlines-before-nonblanks)
(c-semi&comma-no-newlines-for-oneline-inliners): New functions.

(c-lineup-dont-change): New lineup function that leaves the current
line's indentation unchanged.  Used for the new cpp-macro-cont
syntactic symbol.
1998-02-17 07:02:18 +00:00
Richard M. Stallman
4d7ce99c2f (sh-font-lock-keywords): Fontify sh-style function names in declarations. 1998-02-15 00:30:24 +00:00
Dave Love
d575e99d72 (scheme-imenu-generic-expression): Simplify regexps.
(dsssl-imenu-generic-expression): Likewise
(scheme-mode-variables): Set imenu-syntax-alist.
(dsssl-mode): Remove `!' from font-lock-defaults.  Set
imenu-syntax-alist.
1998-02-12 18:20:21 +00:00
Richard M. Stallman
0775c032ae (sh-set-shell): Use standard-syntax-table if none other is specified. 1998-02-11 07:14:24 +00:00
Dave Love
b5812513a4 (compilation-scroll-output): New variable.
(compile-internal): Use it.  Set lazy-lock-defer-on-scrolling.
1998-02-09 19:40:38 +00:00
Kenichi Handa
a0eb76e1b1 (etags): Fix defgroup syntax. Why should it
be done again and again?
1998-02-04 11:24:28 +00:00
Dan Nicolaescu
b6a386ad60 (hs-special-modes-alist): Improved the regexp for java. 1998-02-02 07:29:59 +00:00
Richard M. Stallman
7ee906030a (hs-special-modes-alist): Improved the regexp for java. 1998-02-02 00:17:19 +00:00
Dave Love
7977773d3f Various docstring and commentary fixes, including
note of current maintainer.
(fortran-mode): Use imenu-syntax-alist.
(fortran-imenu-generic-expression): Use
fortran-continuation-string, not always `+'.
(fortran-font-lock-keywords-1): Include symbol syntax as well
as word, following syntax table changes.
(fortran-imenu-generic-expression): Likewise.
(fortran-mode-map): Add a menu.
(fortran-mode-version, fortran-startup-message): Delete
misleading variables.
(fortran-mode): Don't use them.
(fortran-column-ruler-fixed, fortran-column-ruler-tab): Fix
leading \ which made `0' into null.
(fortran-join-lines): New function and key binding.
(fortran-narrow-to-subprogram): New function and key binding.
(fortran-mode-syntax-table): Make ?., ?_, ?$ symbol, not word.
1998-01-30 17:49:37 +00:00
Richard M. Stallman
b533f3c570 (find-tag-marker-ring-length): New variable.
(find-tag-marker-ring): New variable.
(tags-location-ring): New variable replacing tags-location-ring.
(tags-location-stack): Deleted.
(tags-table-format-hooks): Doc fix.
(initialize-new-tags-table): Init find-tag-marker-ring,
tags-location-ring.
(tags-reset-tags-tables): Doc fix.  Set tags-location-ring,
find-tag-marker-ring.
(find-tag-noselect): Doc fix.  Use tags-location-ring,
find-tag-marker-ring.
(find-tag, find-tag-other-window, find-tag-other-frame,
find-tag-regexp): Doc fix.
(pop-tag-mark): New function.
(esc-map): Bind pop-tag-mark.
1998-01-29 09:10:09 +00:00
Andreas Schwab
28d16ed35b Customized. 1998-01-26 11:29:46 +00:00
Richard M. Stallman
cef926f318 (sh-case): Fix paren error. 1998-01-26 02:33:48 +00:00
Richard M. Stallman
83a139e3e7 (etags): Fix defgroup syntax. 1998-01-19 20:24:16 +00:00
Karl Heuer
d2ddb97469 Initial revision 1998-01-18 03:39:09 +00:00
Karl Heuer
d0ed5e526e (etags): Fix defgroup syntax. 1998-01-18 03:33:26 +00:00
Richard M. Stallman
99783bde12 Customized.
(tags-revert-without-query): New option.
(tags-verify-table): Test tags-revert-without-query.
1997-12-25 01:11:47 +00:00
Richard M. Stallman
f0f68b256f (cc-imenu-objc-function): Use bufsubst-fun as a variable, not as a function. 1997-12-22 07:10:19 +00:00
Dave Love
2b20743d79 Define indentation in normal dialect for let-syntax,
letrec-syntax, syntax-rules, call-with-values, dynamic-wind.
(scheme-mode-map): Remove lisp-complete-symbol.  Add
uncomment-region.
(scheme-mode-hook, dsssl-mode-hook): Declare customized.
(dsssl-sgml-declaration): Fix customization.
1997-12-13 22:21:03 +00:00
Dave Love
c0b08eb017 Use imenu-case-fold-search. 1997-12-12 17:10:08 +00:00
Simon Marshall
87002f70a3 Deal with `#'s in variable references. 1997-12-04 19:47:59 +00:00
Karl Heuer
9d8354ef19 Require imenu. 1997-12-04 05:17:31 +00:00
Karl Heuer
a04f05bdd6 (inferior-octave-directory-tracker):
Anchor regexp match to beginning of command string.
1997-12-04 04:39:00 +00:00
Karl Heuer
2c239c8061 (prolog-mode-variables):
Set imenu-generic-expression.
1997-12-04 04:28:41 +00:00
Karl Heuer
aa2c242656 (sh-imenu-generic-expression): New variable.
(sh-mode): Make imenu-generic-expression local.
(sh-set-shell): Set imenu-generic-expression based on which shell.
1997-12-04 04:27:50 +00:00
Dave Love
59c14ec62d (sh-mode): Set `comment-start-skip' always. 1997-11-30 12:21:42 +00:00
Richard M. Stallman
85d27e9b10 Update author email address. 1997-11-25 03:40:58 +00:00
Richard M. Stallman
761aea38d9 (scheme-mode-variables): Bind normal-auto-fill-function. 1997-11-24 03:43:19 +00:00
Karl Heuer
fcae1b4cb2 (perl-mode): Delete autoload cookie. 1997-11-23 02:14:14 +00:00
Karl Heuer
f83d2997fb Initial revision 1997-11-23 02:10:07 +00:00
Dave Love
240e9cda7d (fortran-imenu-generic-expression): Match
<type>*<mumble> and un-named block data, allow some continuations.
1997-11-18 23:21:34 +00:00
Karl Heuer
915c0e2515 (inferior-octave-startup-args):
Set to '("-i") to force interactive behavior.
(inferior-octave-prompt): Include the `debug' prompt issued by the
Octave `keyboard' command.
1997-11-11 04:00:53 +00:00
Karl Heuer
60db359433 (fortran-imenu-generic-expression): Doc fix.
Delete redundant setq.
1997-11-03 02:50:20 +00:00
Dave Love
9645c179af (fortran-imenu-generic-expression): New variable.
(fortran-mode): Use it.
1997-10-31 23:17:17 +00:00
Karl Heuer
c7c5bbc0b8 (compilation-error-regexp-alist):
New element for Sun F90.
1997-10-27 03:53:24 +00:00
Karl Heuer
d83ee57852 (octave-auto-indent): New variable.
(octave-electric-semi, octave-electric-space): Use it.

(octave-before-magic-comment-p): New func.
(calculate-octave-indent, octave-comment-indent): Use it.

(octave-auto-indent): New variable.
(octave-electric-semi, octave-electric-space): Use it.

(octave-maybe-insert-continuation-string):
New function.
(octave-auto-fill): No longer calls do-auto-fill.  Should now
avoid breaking lines after comment starts or before code line
continuation expressions.
(octave-fill-paragraph): Move forward a line if octave-auto-fill
gave up.

(octave-before-magic-comment-p): New func.
(octave-comment-indent): Handle magic comments correctly.
(calculate-octave-indent): Handle magic comments correctly.

(octave-abbrev-table): Added abbrevs for
switch, case, otherwise, and endswitch.
(octave-begin-keywords): Added switch.
(octave-else-keywords): Added case and otherwise.
(octave-end-keywords): Added endswitch.
(octave-block-match-alist): Added an entry for switch syntax.
(calculate-octave-indent): Added support for switch syntax.
(octave-block-end-offset): New function.
(octave-comment-indent): Fix a typo.

(octave-block-match-alist): Move
`otherwise' to right after `case' to have octave-close-block()
correctly close a `switch' block by `endswitch'.
1997-10-24 20:11:44 +00:00
Karl Heuer
82aba9f42f (c-initialize-builtin-style):
Only use copy-tree if it is
funcall-able.  This is the right patch, and was given by Erik Naggum
<erik@naggum.no>
1997-10-23 07:50:28 +00:00
Karl Heuer
c2efc1d098 (c-submit-bug-report): Remove
c-recognize-knr-p.  Add c-comment-continuation-stars.
1997-10-23 07:49:25 +00:00
Karl Heuer
8729df5954 Patches to Imenu support given by
"Masatake (jet) YAMATO" <masata-y@is.aist-nara.ac.jp>.
1997-10-23 07:49:06 +00:00
Karl Heuer
541aeedfa6 (c-progress-interval): Document new semantics 1997-10-23 07:48:50 +00:00
Karl Heuer
a7c7b186ff (c-progress-init, c-progress-fini):
Be slient if c-progress-interval
is nil.

(c-comment-line-break-function):
Fix for when comment starts at
comment-column and there is non-whitespace preceding this on the
current line.
1997-10-23 07:48:34 +00:00
Karl Heuer
6430c434e3 (c-guess-basic-syntax):
CASE 5F: extern-lang-close relpos should be
element 0 of inclass-p, not element 1.

(c-beginning-of-statement-1):
Watch out for keywords which have a
preceding underscore.
1997-10-23 07:48:09 +00:00
Karl Heuer
81eb2ff929 Remove version number. 1997-10-23 07:47:37 +00:00
Karl Heuer
13e91c8e41 Update version number. 1997-10-23 07:36:15 +00:00
Karl Heuer
55be952731 (c-end-of-statement-1):
Wrap backward-up-list in a c-safe call so no
error results when buffer contains only a comment and point is at
eob.
1997-10-23 07:33:21 +00:00
Karl Heuer
326c27f8f4 Define `/' in c-mode-base-map since all modes now support
c-electric-slash.

Define C-c C-e in mode-specific maps instead of c-mode-base-map since
c-expand-macro is meaningless in Java and IDL.
1997-10-23 07:33:03 +00:00
Karl Heuer
11e9410ecf (c-beginning-of-statement):
Fixes in sentence movement to properly
handle M-e moving forward into a comment when looking at preceding
whitespace, and M-a moving backward into comment when looking at
following whitespace.

Uncommented the looking-at call in the
sentence-flag clause so that moving by forward-sentence when looking
at the beginning of a comment works again.  A previous log message in
cc-mode.el indicates this was commented out "because
c-beginning-of-statement-1 should do the right thing", but clearly it
doesn't.

I don't know if this breaks something else, because I can't figure out
why it was commented out in the first place.
1997-10-23 07:32:37 +00:00
Karl Heuer
8220e74cf2 (c-initialize-builtin-style):
Use existing copy-tree if it's defined.

copy-sequence doesn't work; the
c-offsets-alist must be copied recursively.  Use copy-tree solution
given by Simon Marshall.
1997-10-23 07:32:07 +00:00
Karl Heuer
dc2b4c5f0f (objc-mode): Bind imenu-create-index-function
to cc-imenu-objc-function to enable Imenu support for Objective-C.
Contributed by Masatake (jet) YAMATO.
1997-10-23 07:31:46 +00:00
Karl Heuer
05896d7773 (cc-imenu-c-prototype-macro-regexp): New var.
(cc-imenu-c++-generic-expression): Patches to better match C++ code.
Given by jan.dubois@ibm.net (Jan Dubois)

(cc-imenu-java-generic-expression):
Removed test for declaration
statements.  Patch given by Ake Stenhoff <etxaksf@aom.ericsson.se>, as
forwarded to me by RMS.

Imenu support for Objective-C given by Masatake (jet) YAMATO.
1997-10-23 07:31:26 +00:00
Karl Heuer
61185f425d (scheme-let-indent): New arg NORMAL-INDENT.
(scheme-indent-function): Pass normal-indent as 3rd arg
when calling an indentation function.
1997-10-16 18:07:23 +00:00
Karl Heuer
355345fd1a (compilation-forget-errors):
Reinit compilation-directory-stack the way compile-internal does.
(compilation-parse-errors): Don't let default-directory change.
1997-10-15 23:34:58 +00:00
Karl Heuer
91f676a030 (hs-special-modes-alist): Correct alist
for java-mode.
1997-10-15 22:54:24 +00:00
Karl Heuer
22052f1d13 (compilation-mode-font-lock-keywords): Font-lock column numbers. 1997-09-27 16:12:51 +00:00
Karl Heuer
7933678bcb (compilation-mode-map): Use more meaningful menu name. 1997-09-27 16:06:15 +00:00
Richard M. Stallman
ecec411d9e (c-initialize-builtin-style): Don't ever try to use copy-tree. 1997-09-21 14:11:37 +00:00
Richard M. Stallman
f4a4c856ec (c-initialize-builtin-style):
Copy the whole tree instead of just copy-sequence.
1997-09-19 04:30:28 +00:00
Richard M. Stallman
b20a44dc16 (makefile-pickup-everything-picks-up-filenames-p): Doc fix.
(makefile-mode): Doc fix.
1997-09-12 22:40:55 +00:00
Richard M. Stallman
bb40e751be (compilation-parse-errors): Fixed two bugs that
could make compilation-parse-errors loop infinitely.  Each round
of the parsing loop now either moves point ahead at least a line
or sets `found-desired' to true to stop the loop.
1997-09-12 19:53:33 +00:00
Richard M. Stallman
8c36e64841 (icon-tab-always-indent): Fix customize type. 1997-09-09 02:58:47 +00:00
Richard M. Stallman
39f2ec46d3 (hs-minor-mode-hook): Fix customize type. 1997-09-09 02:58:23 +00:00
Richard M. Stallman
d9d41ec60a (f90-break-before-delimiters): Fix customize type. 1997-09-09 02:58:06 +00:00
Richard M. Stallman
9cbf5df254 (executable-chmod): Fix customize type. 1997-09-09 02:57:27 +00:00
Richard M. Stallman
6e23ef57e9 Comment change. 1997-09-08 03:24:58 +00:00
Richard M. Stallman
f4a344bae3 (c-version): Updated. 1997-09-08 03:24:01 +00:00
Richard M. Stallman
62971612a2 (c-style-alist) <python>:, knr-argdecl-intro == +
fill-column = 78, arglist-intro <= +, inextern-lang <= 0.
Set c-comment-continuation-stars to "".
1997-09-08 03:22:22 +00:00
Richard M. Stallman
9796cb5b2f (c-end-of-statement-1): Wrap backward-up-list in a c-safe call so no
error results when buffer contains only a comment and point is at eob.

(c-inside-bracelist-p): Add a test to the enum list test so that enum
in a k&r arg decl doesn't confuse handling of the function body.
1997-09-08 03:20:49 +00:00
Richard M. Stallman
b2eeba64e9 (c-mode-base-map): Don't define C-c C-e here.
(c-mode-map, c++-mode-map): Define C-c C-e here.
(objc-mode-map): Define C-c C-e, not /.
(java-mode-map, idl-mode-map): Don't define /.
1997-09-08 03:20:17 +00:00
Richard M. Stallman
fd3b1ef655 (c-beginning-of-statement): Fixes in sentence movement to properly
handle M-e moving forward into a comment when looking at preceding
whitespace, and M-a moving backward into comment when looking at
following whitespace.

(c-comment-line-break-function): Don't break line in the middle of a string.
1997-09-08 03:20:02 +00:00
Richard M. Stallman
0f46e66739 (simula-emacs-features): Treat Emacs 20 like Emacs 19. 1997-09-07 03:42:01 +00:00
Richard M. Stallman
1091853337 (m4-mode): Add autoload cookie. 1997-09-06 22:20:09 +00:00
Richard M. Stallman
e83be08050 (compilation-ask-about-save): Add autoload cookie. 1997-09-05 19:41:25 +00:00
Richard M. Stallman
ab685b6b9f (find-tag-tag): Pass default to completing-read. 1997-09-03 22:30:48 +00:00
Richard M. Stallman
d2705a1815 (compilation-error-regexp-alist): Allow spaces in file names for Microsoft C;
check more carefully for the rest of the error message.
1997-08-29 02:08:28 +00:00
Richard M. Stallman
af9944ea8b (sh-indent-line): Delete debugging code. 1997-08-27 17:39:44 +00:00
Richard M. Stallman
d322f0096d (c-macro-expand): Add autoload cookie. 1997-08-25 17:18:44 +00:00
Richard M. Stallman
958ef4fe21 (hif-greater, hif-less, hif-greater-equal)
(hif-less-equal): New functions.
(hif-tokenize): Handle new tokens >, <, >=, <=.
(hif-eq-expr): Handle parsing these new tokens.
(hif-token-regexp): Match >, <. >=, <=
1997-08-25 17:06:42 +00:00
Richard M. Stallman
54c87e2714 (sh-indent-line): Avoid infinite loop
on indented line at start of buffer, when calculating PREVIOUS.
1997-08-23 05:19:09 +00:00
Richard M. Stallman
389ebc1310 Comment change. 1997-08-16 03:42:25 +00:00
Richard M. Stallman
1339f2e787 (c-double-slash-is-comments-p): Remove obsolete variable. 1997-08-16 03:42:09 +00:00
Richard M. Stallman
07092cb12c (c-buffer-is-cc-mode): Definition moved here from cc-vars.el.
Also, put permanent-local property on variable so it's value won't get
killed by kill-all-local-variables.  This makes it easier for non-CC
Mode derived modes to be initialized correctly.

(c++-mode, java-mode, objc-mode, idl-mode):
Remove obsolete variable c-double-slash-is-comments-p.
1997-08-16 03:41:39 +00:00
Richard M. Stallman
f3bc6e682e (c-buffer-is-cc-mode): Definition moved to cc-mode.el 1997-08-16 03:41:02 +00:00
Richard M. Stallman
0f0b1be199 (c-comment-line-break-function): In this function, and the defadvice,
call indent-new-comment-line if not in a comment.

(c-fill-paragraph): Remove conditional on obsolete variable
c-double-slash-is-comments-p.
1997-08-16 03:40:20 +00:00
Richard M. Stallman
041ec7f62a (c-end-of-statement-1): Eliminate false hits on important characters
inside literals (strings, comments).
1997-08-16 03:38:57 +00:00
Richard M. Stallman
c3d3eea991 (c-style-alist): "python" style requires c-comment-continuation-stars be "". 1997-08-16 03:37:28 +00:00
Richard M. Stallman
350ce4cf0a (tags-verify-table): Obey revert-without-query.
(verify-tags-table-function): Doc fix.
1997-08-15 19:28:16 +00:00
Richard M. Stallman
96db060f63 (compilation-error-regexp-alist): New regexp for Caml. 1997-08-14 22:11:09 +00:00
Richard M. Stallman
b402d19f2f (c-style-alist) <gnu>:
Set c-comment-continuation-stars and c-hanging-comment-ender-p.
1997-08-14 22:10:02 +00:00
Richard M. Stallman
a1bf98fa22 (awk-mode): Require cc-mode, not cc-langs. 1997-08-12 17:23:14 +00:00
Richard M. Stallman
811fd07a2f (c-electric-brace): Make preserve-p nil at BOB. 1997-08-11 23:51:04 +00:00
Richard M. Stallman
e76df57d13 Comment change. 1997-08-11 22:16:50 +00:00
Richard M. Stallman
3900d73b85 (c-offsets-alist): Added template-args-cont syntactic symbol.
(c-styles-alist): In "java" style, set c-hanging-comment-starter-p to
nil to preserve Javadoc starter lines.
1997-08-11 22:15:23 +00:00
Richard M. Stallman
0ba1556126 (c-guess-basic-syntax): CASE 5D.4: template argument continuation
lines are now analyzed as template-args-cont.
1997-08-11 22:14:14 +00:00
Richard M. Stallman
acbce627f8 (c-mode-base-map, c++-mode-map):
Move `/' as an electric character
from c++-mode-map to c-mode-base-map for all languages.

(c-common-init): Set comment-multi-line and
comment-line-break-function here for all modes.
Make comment-line-break-function buffer local iff it's boundp.

(c-C-comment-start-regexp): Obsolete.

(c-comment-start-regexp): Initialize from c-C++-comment-start-regexp.

(c-populate-syntax-table, c-setup-dual-comments): Merge both functions
into c-populate-syntax-table.  With the new 9X draft C standard, both
line and block oriented comments are supported in all modes, so always
set up the syntax tables to support both comment styles.

(c-enable-//-in-c-mode): Obsolete.

(c++-mode-syntax-table, java-mode-syntax-table)
(objc-mode-syntax-table, idl-mode-syntax-table): Added autoload
cookies.  c-mode-syntax-table already has one.  Use the new syntax
table initialization idioms.
1997-08-11 22:13:48 +00:00
Richard M. Stallman
611c76a75c (c-initialize-cc-mode): Set c-buffer-is-cc-mode to t.
(c-initialize-cc-mode): Require 'cc-mode-19
if functionp is not bound.  Check cc-mode-19 interface requirements.

(c-mode, c++-mode, objc-mode, java-mode, idl-mode):
Don't set comment-multi-line here.

(c-mode): c-comment-start-regexp uses
c-C++-comment-start-regexp to support line oriented comments.
1997-08-11 22:11:27 +00:00
Richard M. Stallman
d278ad4fd2 (c-buffer-is-cc-mode): New variable.
(c-comment-continuation-stars): New variable.
1997-08-11 22:10:16 +00:00
Richard M. Stallman
0fc3821efe (indent-new-comment-line): Add advice for older Emacs versions if they
don't have the variable comment-line-break-function.

(c-electric-slash): Make this work as the final slash in a */ block
oriented comment closing token.

(c-comment-line-break-function): New function for proposed
mode-specific comment-line-break-function variable.
1997-08-11 22:09:45 +00:00
Richard M. Stallman
16935765f3 (c-lineup-java-throws): Change the when' clause to an if-progn'. 1997-08-11 22:07:04 +00:00
Richard M. Stallman
253011b3a7 (idl-mode-hook): New variable.
(c-initialization-hook): New variable.
1997-08-09 18:37:59 +00:00
Richard M. Stallman
63add9c9fe (c-styles-alist): In "java" style, set
c-hanging-comment-starter-p to nil to preserve Javadoc starter lines.

(c-set-style-2): Fixed broken implementation of inherited styles.

(c-set-style): Call c-initialize-builtin-style.
(c-initialize-builtin-style): Handle c-style-variables-are-local-p.
1997-08-09 18:36:45 +00:00
Richard M. Stallman
aac90c529d (idl-mode): Support for CORBA's IDL language.
(c-initialize-cc-mode): Move the calling of
c-make-styles-buffer-local into c-initialize-builtin-style.

(c-initialize-cc-mode): Run the c-initialization-hook, but only once
per Emacs session.
1997-08-09 18:31:43 +00:00
Richard M. Stallman
5cc9696990 Comment change. 1997-08-09 18:30:01 +00:00
Richard M. Stallman
d0c50a29ad (c-beginning-of-statement-1): When checking for bare semi, don't match
on a semi following a close brace.

(c-guess-basic-syntax): CASE 5I: When adding 'inclass syntax, use the
relpos pointing to the class opening brace, unless that hangs on the
right side, in which case, use the start of the class/struct keyword.
1997-08-09 18:28:54 +00:00
Richard M. Stallman
fb032a9533 (c-symbol-key):
First character must be a letter or underscore.
(c-styles-are-initialized): Variable deleted.
(c-common-init): Don't initialize styles here.

(idl-mode-abbrev-table): New variable.
(idl-mode-map, idl-mode-syntax-table): New variables.
(c-idl-menu): New menu.
1997-08-09 18:26:19 +00:00
Richard M. Stallman
23d93b6a88 Correct the autoload cookies. 1997-08-09 02:11:29 +00:00
Richard M. Stallman
275a02d412 (c-set-offset): Add autoload cookie. 1997-08-07 17:36:36 +00:00
Richard M. Stallman
2f5f9dbd56 (compilation-parse-errors): Fix previous change. 1997-08-06 02:47:18 +00:00
Richard M. Stallman
51e9459c62 (compilation-error-regexp-alist): Make the
MIPS/DEC pattern more specific at the start; accept warnings
as well as errors.
1997-08-05 08:06:52 +00:00
Richard M. Stallman
f80235e34f (pascal-mode-syntax-table): _ is now a symbol constituent.
(pascal-indent-case): Removed unnecessary calls to marker-position.
(pascal-indent-declaration): Editing a parameterlist at the end of
a buffer does not hang.  Removed unnecessary call to marker-position.
(pascal-get-lineup-indent): Removed unused variable.
Now indents parameterlist correctly.
(pascal-completion-response): Removed unused variable.
1997-08-04 19:42:32 +00:00
Richard M. Stallman
3478257bc1 (cpp-edit-reset): Add a close-quote after the file name. 1997-08-04 06:18:23 +00:00
Richard M. Stallman
212a75c49a (cpp-create-bg-face): Don't really make a face.
Just make (background-color . COLOR).
(cpp-highlight-buffer): Don't die if buffer-invisibility-spec is t.
(cpp-face-default-list): Doc fix, fix custom type.
1997-08-04 06:10:46 +00:00
Richard M. Stallman
3fbc965dba Comment change. 1997-08-03 05:06:05 +00:00
Richard M. Stallman
dc3fc79718 (makefile-space-face): Add defface.
(makefile-define-space-face): Function deleted.
(makefile-mode): Don't call makefile-define-space-font.
1997-07-28 22:22:27 +00:00
Richard M. Stallman
487e6fcbdd Customized. 1997-07-27 19:53:27 +00:00
Richard M. Stallman
c098c7f193 Customized.
Doc fixes.
1997-07-27 19:50:06 +00:00
Richard M. Stallman
61c4aaf86e (compile-command): More doc fix. 1997-07-27 19:25:02 +00:00
Richard M. Stallman
8248aeb532 (awk-mode): Call c-initialize-cc-mode. 1997-07-25 20:51:42 +00:00
Richard M. Stallman
f610c00ada (compile-command): Doc fix. 1997-07-25 19:02:00 +00:00
Richard M. Stallman
5dfa3d3536 (compilation-error-regexp-alist): Add elt for EPC F90.
compilation-mode-font-lock-keywords: Ensure that each
regexp generated from compilation-error-regexp-alist begins with "^".
1997-07-25 17:29:29 +00:00
Richard M. Stallman
1eadb66c95 Update copyright notice and permission notice.
(metafont-mode): Add autoload cookie.
(metapost-mode): Add autoload cookie.
1997-07-23 20:57:49 +00:00
Richard M. Stallman
5e336d3ea6 (hs-special-modes-alist): Use a regexp generated by regexp-opt.
(hs-life-goes-on): Nullify inhibit-point-motion-hooks as we have
to move inside intangible overlays. Enable edebug.
1997-07-19 05:34:45 +00:00
Richard M. Stallman
3219bb4315 Comment change. 1997-07-18 02:16:42 +00:00
Richard M. Stallman
1dad69194a (c-initialize-cc-mode): New function.
(c-mode, c++-mode, objc-mode, java-mode): Call it.
1997-07-18 02:16:22 +00:00
Richard M. Stallman
b18c013f8e (c-load-all): Function deleted. 1997-07-18 02:14:22 +00:00
Richard M. Stallman
31b2af0a3b (c-initialize-builtin-style): Use copy-sequence
instead of c-copy-tree.

(c-copy-tree): Function deleted.
1997-07-18 02:12:00 +00:00
Richard M. Stallman
640012115a (c-maybe-labelp): Add defvar. 1997-07-18 02:11:28 +00:00
Richard M. Stallman
c93a62d8c1 Require cc-defs for the c-add-syntax macro.
(c-electric-backspace): Must get 'supercede property
values to work with delsel and pending-del.

(c-electric-brace): Fix ebola eradication consequence
in the preserve-p test.
1997-07-18 02:10:48 +00:00
Richard M. Stallman
a6739a05e3 Require 'cc-defs for the definition of c-emacs-features.
(c-symbol-key): First character must be a letter or underscore.

(c-make-inherited-keymap): Change to a defun.

(c-mode-menu): Added uncomment region and slight rearrangement of items.
1997-07-18 02:09:34 +00:00
Richard M. Stallman
b0c23721e8 (c-copy-tree): Fix bugs. 1997-07-15 19:09:24 +00:00
Richard M. Stallman
e2bddc3892 (awk-mode): Require cc-langs, not cc-mode. 1997-07-13 21:31:12 +00:00
Richard M. Stallman
c55676a166 Require cc-defs. 1997-07-13 21:30:50 +00:00
Richard M. Stallman
41d58f6147 (c-copy-tree): New function.
(c-initialize-builtin-style): Use c-copy-tree.
1997-07-10 07:56:17 +00:00
Richard M. Stallman
785eecbbba Initial revision 1997-07-10 07:54:06 +00:00
Richard M. Stallman
4fa15f59e2 (next-file, tags-loop-scan): Fix error message.
(visit-tags-table-buffer, complete-tag): Likewise.
1997-07-05 00:54:32 +00:00
Richard M. Stallman
b1b56e0136 (compilation-error-regexp-alist):
Support for IAR Systems C compiler added.
1997-07-04 21:05:11 +00:00
Richard M. Stallman
9cab952df9 (compilation-parse-errors): Skip 2 lines only for Compilation major mode. 1997-07-02 19:29:45 +00:00
Richard M. Stallman
7ce22b4126 (compilation-error-regexp-alist): New item, for Oracle compiler. 1997-06-27 22:35:21 +00:00
Richard M. Stallman
e863e26439 (hs-discard-overlays): Use overlays-in to
get all the overlays in a range.  Don't use let inside a cycle.
1997-06-24 02:26:57 +00:00
Richard M. Stallman
b96d6bbdda Delete RCS version header. 1997-06-23 02:10:46 +00:00
Richard M. Stallman
6b27974068 Initial revision 1997-06-22 20:08:32 +00:00
Richard M. Stallman
896546cd9b Add provide call. 1997-06-22 18:57:55 +00:00
Richard M. Stallman
43c89a968e Whitespace change. 1997-06-22 18:47:05 +00:00
Richard M. Stallman
69d92b8a69 Fix provide call. 1997-06-22 18:32:34 +00:00
Simon Marshall
52bb674b93 Do <* *> via syntax table not regexps; use regexp-opt. 1997-06-19 08:55:24 +00:00
Richard M. Stallman
b39697d1df Delete M-TAB binding of complete-tag. 1997-06-19 02:47:38 +00:00
Richard M. Stallman
48879301fd (scheme): Add defgroup.
Put defcustom's into this group.

(scheme-mode-commands): Remove keybinding of \t to old `scheme-indent-line'.
Bind \e\C-q to `indent-sexp', not `scheme-indent-sexp'.
(scheme-mit-dialect): Use defcustom.
(dsssl-sgml-declaration):  Likewise.  Fix doc string.
1997-06-17 21:54:16 +00:00
Richard M. Stallman
32632f6677 (icon-indent-line): A comment ends at the end of the
line, delete call to inexistent function.

(icon-font-lock-keywords-1): Improved regexp.
(icon-font-lock-keywords-2): Likewise.
1997-06-17 19:34:56 +00:00
Richard M. Stallman
000a6a765e (grep-program): Comment out the use of zgrep. 1997-06-16 23:20:46 +00:00