1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

189 commits

Author SHA1 Message Date
Stefan Monnier
fcdd458570 (Fforward_comment): Detect generic comment at beginning of
buffer when moving backwards.
2006-05-01 13:09:24 +00:00
Stefan Monnier
39c41ad421 (Fforward_comment): Don't forget to break out of the loop
when we skipped backward over a generic comment.
2006-04-30 15:35:54 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Stefan Monnier
0e6228bc0b (Fparse_partial_sexp): Fix docstring. 2005-10-29 16:05:41 +00:00
Stefan Monnier
5a77452283 (update_syntax_table): Properly reproduce the special +1
setting of e_property at the end of the buffer when bumping into the
INTERVALS_AT_ONCE limit.
2005-08-29 20:49:28 +00:00
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Kim F. Storm
a2994c46f9 (syms_of_syntax): Staticpro lisp objects in gl_state.
Staticpro re_match_object.
2005-07-14 11:24:18 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Juanma Barranquero
b764a6537d (Fstring_to_syntax): Follow error conventions. 2005-06-23 16:15:29 +00:00
Stefan Monnier
c096ae4d4e (Fforward_word): Avoid non-idempotent side-effects in macro arguments. 2004-12-11 21:59:15 +00:00
Stefan Monnier
c5d4b96fe2 (scan_sexps_forward): Prefer 2-char comment-starter over a 1-char one. 2004-10-27 20:15:05 +00:00
Kenichi Handa
1ad6e4db01 (skip_chars): Fix for unibyte case. 2004-08-20 08:46:50 +00:00
Stefan Monnier
789f332078 (back_comment): Fixup globals in all cases. 2004-08-19 22:17:59 +00:00
Stefan Monnier
709a47ceff (char_quoted): Mixup byte/char pos. 2004-08-19 19:00:58 +00:00
Stefan Monnier
4f55e211b4 (skip_chars): Remove unused labels fwd_unibyte_ok and back_unibyte_ok. 2004-06-30 19:34:49 +00:00
Kim F. Storm
b3bda4fdfd (skip_chars): Only recognize [:class:] when it has the
proper format and class is a lower-case word.
2004-06-15 09:42:31 +00:00
Richard M. Stallman
a1bc88d455 Include regex.h.
(skip_chars): New arg HANDLE_ISO_CLASSES.  Callers changed.
If requested, make a list of classes, then check the scanned
chars for membership in them.
(in_classes): New function.
(Fskip_chars_forward): Doc fix.
2004-06-13 22:25:34 +00:00
Andreas Schwab
ab229fdd0d (char_quoted): Avoid warning about undefined operation.
(find_defun_start): Likewise.
(scan_lists): Likewise.
(INC_FROM): Likewise.
(scan_sexps_forward): Likewise.
2004-06-13 15:28:55 +00:00
Juanma Barranquero
d7ee9fab39 (Fmodify_syntax_entry): Fix docstring. 2004-05-07 22:26:29 +00:00
Stefan Monnier
d0abdf7e83 (scan_lists): Simplify backward string scan.
Fix off-by-one boundary check for string and comment fences.
2004-04-13 21:45:13 +00:00
Andreas Schwab
57951c2efa (skip_chars): Treat '-' at end of string as ordinary
character.
2004-01-06 16:11:00 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
29e16385d0 (Fforward_word): Argument changed to optional. Set default value to 1. 2003-08-17 00:25:17 +00:00
Richard M. Stallman
1fd1cc2fc2 (find_defun_start): When open_paren_in_column_0_is_defun_start,
return beginning of buffer.
2003-05-17 12:50:31 +00:00
Kenichi Handa
4e837cd04f (skip_chars): Fix previous change. 2003-04-24 23:25:09 +00:00
Kenichi Handa
9af7511a2a (skip_chars): Make the code faster by using the common
technique of *p, *stop, and *endp.
2003-04-24 01:28:43 +00:00
Stefan Monnier
d070eb221d (back_comment): Only check nestedness of 2nd char if needed. 2003-02-25 01:36:23 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Dave Love
b222e4153c (Fskip_chars_forward)
(open-paren-in-column-0-is-defun-start): Doc fix.
2003-01-31 15:39:48 +00:00
Dave Love
ddc447fcff (scan_sexps_forward):
Declare all args (per C99).
2002-11-14 14:17:40 +00:00
Stefan Monnier
3ceb4629cf (scan_sexps_forward): Undo last patch.
Use a more obvious fix: check eob before updating the syntax table.
2002-11-12 20:41:14 +00:00
Stefan Monnier
79bd6490a2 (scan_sexps_forward): Update syntax table before reading
a char rather than after so we don't update the table past eob.
2002-11-09 22:20:02 +00:00
Dave Love
ee648c1188 (Fforward_comment): Doc fix. 2002-10-30 19:17:31 +00:00
Juanma Barranquero
7d0393cf12 Fix typo in comment. 2002-10-18 10:09:43 +00:00
Stefan Monnier
240c43e89c (scan_lists): Don't get fooled by a symbol ending with a backslash-quoted char.
(scan_lists, scan_sexps_forward): Pacify the compiler.
2002-10-14 04:44:24 +00:00
Ken Raeburn
2e567bd3ec (Fstring_to_syntax, skip_chars): Treat Lisp string
contents as const.
2002-07-19 14:27:24 +00:00
Ken Raeburn
d5db40779d Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Stefan Monnier
394e256115 (syms_of_syntax): Remove defsubr of Sdescribe_syntax.
(describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove.
2001-11-26 23:37:01 +00:00
Stefan Monnier
a395ef6aae (describe_syntax): Add dummy arg.
(describe_syntax_1): Update call to describe_vector.
2001-11-19 22:47:32 +00:00
Stefan Monnier
62abe9cbe0 (describe_syntax): New wrapper.
(Finternal_describe_syntax_value): Rename from describe_syntax.
Don't insert space at front and \n at the end.
(syms_of_syntax): Defsubr Sinternal_describe_syntax_value.
2001-11-02 23:27:02 +00:00
Pavel Janík
b782650360 Update usage of CHECK_ macros (remove unused second argument). 2001-11-02 20:46:55 +00:00
Stefan Monnier
2c9e190074 Fix comment ending. 2001-10-25 04:18:22 +00:00
Pavel Janík
a50a10a02d (modify-syntax-entry): Fix argument names (use CHAR instead of C) and usage. 2001-10-23 12:01:58 +00:00
Pavel Janík
fdb82f9337 Change doc-string comments to new style' [w/doc:' keyword]. 2001-10-20 20:56:10 +00:00
Stefan Monnier
bb0de08420 (update_syntax_table): Simplify.
(Fforward_comment): Don't skip quoted chars when going backward.
2001-10-12 01:37:54 +00:00
Stefan Monnier
e35f6ff793 Include keymap.h. 2001-10-10 16:05:21 +00:00
Richard M. Stallman
7cc80f0aef Comment change. 2001-09-08 14:30:12 +00:00
Eli Zaretskii
db9f48c3ca Fixed a typo in a comment. 2001-06-15 07:31:16 +00:00
Stefan Monnier
423e705d9c (update_syntax_table): Check that oldi has the same
properties as old_prop before deciding not to invalidate.
2001-05-01 13:49:44 +00:00
Stefan Monnier
42ebfa3190 (scan_lists): Check that the right quote char has the
right Sstring syntax when jumping over strings.
(init_syntax_once): Use Smax rather than 13.
2000-12-09 20:17:59 +00:00