Commit graph

1433 commits

Author SHA1 Message Date
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