1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 05:01:02 -08:00
Commit graph

915 commits

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