Commit graph

1433 commits

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