1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 23:31:55 -08:00
Commit graph

43 commits

Author SHA1 Message Date
Richard M. Stallman
b7e6e61235 (Fforward_comment): Always clear immediate_quit for return. 1995-03-09 02:58:36 +00:00
Karl Heuer
0220c51857 Change all occurences of SWITCH_ENUM_BUG to use SWITCH_ENUM_CAST instead. 1995-01-18 20:52:48 +00:00
Karl Heuer
36cd82fe63 (describe_syntax_1): Set help-mode in *Help* buffer. 1994-11-09 05:56:23 +00:00
Richard M. Stallman
5a28e48c70 (scan_sexps_forward): At startincomment,
do notice a 2-char comment ender that straddles FROM.
1994-10-12 08:24:47 +00:00
Jim Blandy
be5357e28e * syntax.c (find_defun_start): Call scan_buffer with new args. 1994-10-08 22:15:36 +00:00
Karl Heuer
247e20a8ba (Fmodify_syntax_entry): Don't use XFASTINT as an lvalue. 1994-10-04 17:32:17 +00:00
Karl Heuer
1e142fb79d (Fcopy_syntax_table, Fmodify_syntax_entry, scan_lists, init_syntax_once):
Don't use XFASTINT as an lvalue.
1994-10-04 16:13:34 +00:00
Karl Heuer
330cf232bf (Fsyntax_table_p, describe_syntax): Use type test macros. 1994-09-27 01:20:25 +00:00
Richard M. Stallman
2eb1d6a2a2 (Fforward_comment): Do increment from, when reaching
single-char comment end going forward.
1994-09-17 19:49:03 +00:00
Richard M. Stallman
4841063fd9 (scan_lists, Fforward_comment): When moving backward over
a comment, ignore a comment-starter that overlaps the comment-ender.
1994-06-24 21:52:16 +00:00
Richard M. Stallman
a8bd7cd809 (Fmatching_paren): Fix typo. 1994-06-20 17:07:22 +00:00
Richard M. Stallman
beefa22e7b (Fmatching_paren): New function.
(Fchar_syntax): Pass arg directly to SYNTAX, no masking.
1994-06-19 18:20:52 +00:00
Richard M. Stallman
c01f7ec05d (scan_lists): Get error if eob within comment with depth!=0. 1994-06-16 15:03:04 +00:00
Karl Heuer
3a22ee3595 Update copyright. 1994-05-04 02:41:09 +00:00
Karl Heuer
048822963e (Fforward_comment): Do the right thing at eob. 1994-03-02 05:31:15 +00:00
Richard M. Stallman
45eb8d9d68 (find_defun_start): Pass new arg to scan_buffer. 1994-02-03 05:05:42 +00:00
Richard M. Stallman
6cb71bf6c6 (describe_syntax): Handle Sinherit.
(syntax_code_spec, syntax_spec_code): Add entry for @ and Sinherit.
1994-01-05 20:33:23 +00:00
Richard M. Stallman
abae13bd2c (Fmodify_syntax_entry): Doc fix. 1993-12-24 23:12:07 +00:00
Richard M. Stallman
7fc8191e85 (Fforward_comment): On backward scan, exit inner loop
after we reach beginning of a comment.
Check the SYNTAX_COMMENT_STYLE of a one-character comment ender.
(scan_lists): Check the SYNTAX_COMMENT_STYLE
of a one-character comment ender.
1993-11-10 19:45:50 +00:00
Roland McGrath
18160b98ce Include <config.h> instead of "config.h". 1993-09-10 06:15:46 +00:00
Richard M. Stallman
af50f9e585 Doc fix. 1993-08-05 17:38:20 +00:00
Richard M. Stallman
ec11639d93 Doc fix. 1993-08-01 08:42:46 +00:00
Richard M. Stallman
58980a95f8 (scan_sexps_forward): Delete extra Fcdr when analyzing OLDSTATE. 1993-07-27 16:49:34 +00:00
Jim Blandy
2fcea188d6 * syntax.c (Fmodify_syntax_entry): Doc fix. 1993-07-18 06:26:51 +00:00
Richard M. Stallman
8f9dc2ed1c (scan_lists, Fforward_comment): #if 0 the code
to treat two-character comment enders with a special shortcut.

(scan_sexps_forward): Set state.comstart to before the
comment starter, not after.
1993-06-17 04:09:15 +00:00
Richard M. Stallman
340f92b576 (scan_lists, Fforward_comment): Pass 0 as commentstop arg
to scan_sexps_forward.
(scan_sexps_forward, char_quoted): Now static.
(describe_syntax, describe_syntax_1): Now static.
1993-06-13 23:57:33 +00:00
Richard M. Stallman
f110a66478 (Fset_syntax_table): Add XFASTINT. 1993-06-12 16:57:29 +00:00
Jim Blandy
407865ffc9 * syntax.c (scan_lists, Fforward_comment): Call scan_sexps_forward
with the proper number of arguments.
1993-06-10 10:28:58 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Richard M. Stallman
c81a3712fa (Fforward_comment): Set point to where scan stops,
thus moving acros whitespace.  When moving fwd, treat Sendcomment
as whitespace; likewise for Scomment when moving back.
(scan_sexps_forward): New arg COMMENTSTOP.
(Fparse_partial_sexp): Likewise.
1993-06-08 06:12:08 +00:00
Richard M. Stallman
840f481ca4 (Fforward_comment): Arg is a Lisp_Object.
Convert it to an int.
1993-05-25 20:46:16 +00:00
Richard M. Stallman
be72084520 (Fforward_comment): Fix last change. 1993-05-25 18:49:54 +00:00
Richard M. Stallman
5d3bffd459 (Fforward_comment): Always set point. 1993-05-25 18:45:25 +00:00
Jim Blandy
c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Richard M. Stallman
b3cfe0c85a (describe_syntax_1): Delete excess arg to describe_vector.
(check_syntax_table): Delete excess arg to wrong_type_argument.

(Fforward_comment): New function.
1993-03-02 17:21:05 +00:00
Richard M. Stallman
f77ffc3d77 (find_defun_start): scan_buffer returns start of line;
no need to advance over newline.
1992-10-11 20:41:13 +00:00
Joseph Arceneaux
410e16ff89 (describe_syntax): Use insert_char to insert `match'. 1992-10-01 01:52:09 +00:00
Richard M. Stallman
37bef2308f (scan_lists): When searching back for comment:
if comment-end is 2 chars, assume it does end a comment.
Otherwise, scan back to previous comment-end to see if there's
a comment starter between.  Also record whether the string quotes
between the start and the end are paired and uniform.
If so, skip to comment starter.  If not, scan from start of
defun to find comment starter if any.
(find_defun_start): New function.
1992-09-19 17:52:07 +00:00
Richard M. Stallman
e5d4f4dc54 (scan_lists): Improve smarts for backwards scan of comments.
Don't modify comstyle inside that loop.
If string quotes don't match up, don't take value from OFROM;
instead, parse forward using scan_sexps_forward.
(scan_sexps_forward): Return value via a pointer passed in.
New element in state contains char addr of last comment-starter seen.
(Fparse_partial_sexp): Change call to scan_sexps_forward.
1992-09-05 05:34:24 +00:00
Jim Blandy
a4275ad1c8 entered into RCS 1992-06-24 05:07:51 +00:00
Jim Blandy
32676c085c *** empty log message *** 1992-05-01 06:20:46 +00:00
Jim Blandy
265a9e559d *** empty log message *** 1992-01-13 21:48:08 +00:00
Richard M. Stallman
8489eb6781 Initial revision 1991-01-14 01:21:14 +00:00