1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-23 18:47:57 +00:00
Commit Graph

1038 Commits

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