Commit graph

84 commits

Author SHA1 Message Date
Stefan Monnier
7b8f3241f1 (c-mode): Don't gratuitously override the default for comment-column. 2000-10-01 00:53:23 +00:00
Karl Heuer
39fc56c9ef (old-c): Remove :group. 1999-03-19 08:00:13 +00:00
Dave Love
f87880f53d (c-outline-level): Bind
buffer-invisibility-spec.
1999-03-06 19:07:47 +00:00
Stephen Eglen
e4df16d007 Customize 1998-04-09 12:31:57 +00:00
Dave Love
c0b08eb017 Use imenu-case-fold-search. 1997-12-12 17:10:08 +00:00
Roland McGrath
f95f9d2b33 Added provide. 1996-02-21 07:29:19 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
82af06af78 (c-imenu-generic-expression): Var defined.
(c-mode): Set imenu-generic-expression.
1995-07-28 00:28:28 +00:00
Richard M. Stallman
3a8a46f183 (calculate-c-indent-after-brace): New function.
(calculate-c-indent, indent-c-exp): Use it.
1995-07-07 13:29:18 +00:00
Simon Marshall
c6b3c155c9 ditto for c-backslash-region. 1995-06-16 12:45:12 +00:00
Simon Marshall
d73ecf45ad Put menu-enable mark-active on relevant items. 1995-06-16 12:30:26 +00:00
Karl Heuer
58ac467ee7 (c-fill-paragraph): Don't alter point
when deciding to narrow at the end for the sake of a comment ender.
1995-05-17 20:44:36 +00:00
Karl Heuer
732be46569 Update copyright. 1995-04-07 01:20:53 +00:00
Karl Heuer
02da8c8209 (c-style-alist): Set c-continued-brace-offset and
c-brace-offset in all styles, so that they don't inherit a trash
value from a previously set style.
1995-03-24 02:50:54 +00:00
Richard M. Stallman
c5c170d083 (c-mode-map): Use "C-mode", not "C mode". 1995-03-20 00:06:30 +00:00
Richard M. Stallman
e7e7be7c5c (c-style-alist): For BSD, set c-continued-brace-offset
instead of c-brace-offset.
1995-03-15 23:04:06 +00:00
Richard M. Stallman
752e8dd9c8 (c-mode): Make comment-multi-line t locally. 1995-03-13 05:25:21 +00:00
Boris Goldowsky
52af0e4756 (c-mode, c-fill-paragraph): Remove ^ from paragraph-start & paragraph-separate. 1995-03-01 15:47:38 +00:00
Richard M. Stallman
0ce62eb250 (c-switch-label-regexp): Insist on colon after `default'. 1995-02-13 18:10:28 +00:00
Richard M. Stallman
fcf9745f68 (c-mode-map): No binding for c-fill-paragraph
(c-fill-paragraph): Return t.
(c-mode): Put c-fill-paragraph in fill-paragraph-function.
1995-02-02 09:48:01 +00:00
Richard M. Stallman
29869734a5 (c-forward-conditional):
If an apparent conditional is not really a conditional, skip past it.

(c-fill-paragraph): If comment terminator is on a
separate line, don't include that line in the filling.
1995-01-25 00:41:22 +00:00
Karl Heuer
389817fd6c (set-c-style): Ignore case in completion. 1995-01-20 03:20:35 +00:00
Richard M. Stallman
73dae9a9d5 (indent-c-exp): Handle `{ if (x)\n foo;\n bar;' case. 1995-01-12 22:45:50 +00:00
Richard M. Stallman
401662cb4b (indent-c-exp): Don't be fooled by else_ or while_.
(c-indent-line): Likewise.
(c-backward-to-start-of-if): Don't be fooled by if_ or else_.
1994-12-17 00:40:24 +00:00
Richard M. Stallman
caeb79ef07 (calculate-c-indent): Handle a top-level decl with multiple paren groups. 1994-11-28 16:53:54 +00:00
Richard M. Stallman
a70332a1c7 (c-mode-map): Capitalize Mode in C Mode menu bar item. 1994-10-12 07:23:06 +00:00
Richard M. Stallman
c825792e64 (c-mode-map): Use "C mode" for the menu bar item name. 1994-10-11 02:32:39 +00:00
Richard M. Stallman
c814718b2e (c-mode-map): Add "Highlight Conditionals" menu item. 1994-09-14 18:55:08 +00:00
Richard M. Stallman
62057cefc1 (indent-c-exp): Preserve point when handling comments. 1994-08-06 21:22:51 +00:00
Richard M. Stallman
84f4e2168f (c-fill-paragraph): Don't include part of comment
terminator in the fill-prefix.
1994-05-25 08:42:32 +00:00
Karl Heuer
5ef470be66 (calculate-c-indent): Don't loop forever at bobp.
(calculate-c-indent, indent-c-exp): Test char against 0, not nil.
1994-03-30 01:43:08 +00:00
Karl Heuer
176afd0492 (c-fill-paragraph): Preserve final sentence boundary. 1994-03-04 00:05:15 +00:00
Richard M. Stallman
bd13332096 (c-mode): Set outline-regexp and outline-level.
(c-outline-level): New function.
1994-02-24 22:34:24 +00:00
Richard M. Stallman
f1ff664544 (indent-c-exp): If line starts with }, ignore what
the previous line ends with.
1994-02-07 00:55:58 +00:00
Richard M. Stallman
410e491707 Comment change. 1994-02-06 01:39:23 +00:00
Karl Heuer
c9a73a9be7 (c-fill-paragraph): Delete extraneous close paren. 1994-02-03 19:18:21 +00:00
Richard M. Stallman
0fef40c099 (c-fill-paragraph): Handle C++ mode. 1994-01-29 01:27:32 +00:00
Richard M. Stallman
d52fd67cd1 (c-indent-region): Keep looping till reach endmark.
Treat #-lines specially.
1994-01-09 21:27:07 +00:00
Richard M. Stallman
0481133773 Comment fix. 1994-01-09 15:03:01 +00:00
Richard M. Stallman
9a474b25f8 Fix typo in previous change. 1994-01-03 10:43:37 +00:00
Richard M. Stallman
1a2ac38862 More menu bar commands. 1994-01-03 07:41:23 +00:00
Richard M. Stallman
885020c535 (c-mode-map): Add menu bar menu. 1994-01-02 21:51:47 +00:00
Richard M. Stallman
7620dcc5bb (c-delete-backslash): Do nothing if empty line. 1993-12-23 04:46:18 +00:00
Richard M. Stallman
988e2aa66b (c-indent-region): As first thing, advance to a nonblank line. 1993-11-23 11:20:27 +00:00
Richard M. Stallman
0b1716286b (c-indent-region): Don't goto-char sexpend if it's nil. 1993-11-23 08:35:46 +00:00
Richard M. Stallman
e6033883a5 Comment change. 1993-11-11 05:25:09 +00:00
Richard M. Stallman
4fd99ee43a (c-indent-region): When looking for a sexp that ends
past this line, make sure it really starts on this line.
1993-11-11 03:02:18 +00:00
Richard M. Stallman
eccf8697a7 (indent-c-exp): Don't document ENDPOS.
(c-indent-region): Rewrite to use indent-c-exp on one sexp at a time,
then use c-indent-line on the next line, etc.
1993-08-02 07:44:36 +00:00
Richard M. Stallman
b70af8d72f (indent-c-exp): Don't move an { from column 0. 1993-08-01 05:17:42 +00:00
Richard M. Stallman
95d19fad86 (calculate-c-indent): When checking whether function decl
is inside a comment, move back to the `(' that starts the arglist.
1993-07-29 04:01:09 +00:00