aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
|
* * src/syntax.c (back_comment): Detect the case where a 1-char commentStefan Monnier2010-09-211-4/+7
| | | | starter is also the 2nd char of a 2-char comment ender.
* (skip_chars): Setup gl_state (bug#3823).Stefan Monnier2010-03-051-1/+7
| | | | (in_classes): Use CONSP before XCAR/XCDR.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): RemoveAndreas Schwab2009-11-211-13/+10
| | | | | | | ignored second argument. All callers changed. * regex.c (STRING_CHAR, STRING_CHAR_AND_LENGTH, RE_STRING_CHAR) (RE_STRING_CHAR_AND_LENGTH): Likewise. * xdisp.c (string_char_and_length): Likewise.
* * xterm.c (syms_of_xterm):Dan Nicolaescu2009-11-061-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * xselect.c (syms_of_xselect): * xmenu.c (syms_of_xmenu): * xfns.c (syms_of_xfns): * xfaces.c (syms_of_xfaces): * xdisp.c (syms_of_xdisp): * window.c (syms_of_window): * w32fns.c (syms_of_w32fns): * undo.c (syms_of_undo): * textprop.c (syms_of_textprop): * terminal.c (syms_of_terminal): * syntax.c (syms_of_syntax): * sound.c (syms_of_sound): * search.c (syms_of_search): * print.c (syms_of_print): * minibuf.c (syms_of_minibuf): * macros.c (syms_of_macros): * keymap.c (syms_of_keymap, initial_define_key) (initial_define_lispy_key): * keyboard.c (syms_of_keyboard): * insdel.c (syms_of_insdel): * image.c (syms_of_image): * fringe.c (syms_of_fringe): * frame.c (syms_of_frame): * fontset.c (syms_of_fontset): * fns.c (syms_of_fns): * fns.c (syms_of_fns): * fileio.c (syms_of_fileio): * fileio.c (syms_of_fileio): * eval.c (syms_of_eval): * doc.c (syms_of_doc): * dispnew.c (syms_of_display): * dired.c (syms_of_dired): * dbusbind.c (syms_of_dbusbind): * data.c (syms_of_data): * composite.c (syms_of_composite): * coding.c (syms_of_coding): * cmds.c (syms_of_cmds): * charset.c (define_charset_internal, syms_of_character): * ccl.c (syms_of_ccl): * category.c (syms_of_category, init_category_once): * casetab.c (syms_of_casetab): * casefiddle.c (syms_of_casefiddle): * callint.c (syms_of_callint): * bytecode.c (syms_of_bytecode): * buffer.c (keys_of_buffer, syms_of_buffer): * alloc.c (syms_of_alloc): * process.c (syms_of_process, init_process): * lread.c (syms_of_lread, init_obarray): * font.c (build_style_table): * emacs.c (syms_of_emacs, main): Replace calls to intern with intern_c_string, calls to make_pure_string with make_pure_c_string. Use pure_cons instead of Fcons. * process.c (socket_options): Make it const. (set_socket_option, init_process): Use a const pointer. * lread.c (intern_c_string): New function. (defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool) (defvar_int): Uset it. Make the name const char*. * font.c (struct table_entry): Remove unused member. Make NAMES constant. (weight_table, slant_table, width_table): Make constant. * emacs.c (struct standard_args): Make name and longname constant.
* * alloc.c: Do not define struct catchtag.Dan Nicolaescu2009-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * eval.c: Move struct catchtag definition ... * lisp.h: ... here. * image.c: Move png.h #include earlier to avoid warnings. * xterm.c: * xsmfns.c: * xselect.c: * xrdb.c: * xmenu.c: * xftfont.c: * xfont.c: * xfns.c: * xfaces.c: * xdisp.c: * window.c: * widget.c: * w32xfns.c: * w32uniscribe.c: * w32term.c: * w32select.c: * w32reg.c: * w32proc.c: * w32menu.c: * w32inevt.c: * w32heap.c: * w32font.c: * w32fns.c: * w32console.c: * w32.c: * w16select.c: * vm-limit.c: * unexsol.c: * unexec.c: * unexcw.c: * unexaix.c: * undo.c: * tparam.c: * textprop.c: * terminfo.c: * terminal.c: * termcap.c: * term.c: * syntax.c: * sound.c: * sheap.c: * search.c: * scroll.c: * region-cache.c: * regex.c: * ralloc.c: * process.c: * print.c: * msdos.c: * minibuf.c: * menu.c: * marker.c: * macros.c: * keymap.c: * keyboard.c: * intervals.c: * insdel.c: * indent.c: * gtkutil.c: * ftxfont.c: * ftfont.c: * fringe.c: * frame.c: * fontset.c: * font.c: * fns.c: * floatfns.c: * filelock.c: * fileio.c: * emacs.c: * editfns.c: * dosfns.c: * doprnt.c: * doc.c: * dispnew.c: * dired.c: * dbusbind.c: * data.c: * composite.c: * coding.c: * cmds.c: * cm.c: * chartab.c: * charset.c: * character.c: * ccl.c: * category.c: * casetab.c: * casefiddle.c: * callproc.c: * callint.c: * bytecode.c: * buffer.c: * atimer.c: Include setjmp.h. (Bug#4643) * xlwmenu.c: * lwlib.c: * lwlib-utils.c: * lwlib-Xm.c: * lwlib-Xlw.c: * lwlib-Xaw.c: Include setjmp.h.
* Remove leftover table unibyte_to_multibyte_table.Stefan Monnier2009-10-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | * character.c (unibyte_to_multibyte_table): Remove. (Funibyte_char_to_multibyte): Use MAKE_CHAR_MULTIBYTE. * charset.c (init_charset_once): Don't init unibyte_to_multibyte_table. * character.h (UNIBYTE_TO_CHAR): New macro. (MAKE_CHAR_MULTIBYTE): Use it. (unibyte_to_multibyte_table, unibyte_char_to_multibyte): Remove. * xdisp.c (get_next_display_element): USE ASCII_CHAR_P. (message_dolog, set_message_1): * search.c (Freplace_match): * editfns.c (Fcompare_buffer_substrings): * fns.c (Fcompare_strings): Use MAKE_CHAR_MULTIBYTE. (concat): * insdel.c (copy_text, count_size_as_multibyte): Use ASCII_CHAR_P and BYTE8_TO_CHAR. * term.c (produce_glyphs): * syntax.c (skip_chars): Use BYTE8_TO_CHAR. * regex.c (RE_CHAR_TO_MULTIBYTE): * cmds.c (internal_self_insert): * buffer.h (FETCH_CHAR_AS_MULTIBYTE): Use UNIBYTE_TO_CHAR.
* Fix typos in comments.Juanma Barranquero2009-10-041-1/+1
|
* * syntax.c (Fchar_syntax): Minor doc fix (Bug#119).Chong Yidong2009-09-181-2/+2
|
* (Fskip_chars_forward): Fix doc typo.Glenn Morris2009-02-201-1/+1
|
* Add 2009 to copyright years.Glenn Morris2009-01-081-1/+1
|
* * syntax.c (Fmodify_syntax_entry): Doc fix.Juanma Barranquero2008-12-111-2/+2
|
* (scan_words): Call word_boundary_p instead of comparingKenichi Handa2008-10-221-2/+2
| | | | scripts.
* (struct lisp_parse_state, char_quoted, inc_bytepos)Stefan Monnier2008-07-241-25/+22
| | | | (dec_bytepos, find_defun_start): Use EMACS_INT for buffer positions.
* (char_quoted): Check "charpos > beg" before decrementing.Stefan Monnier2008-07-221-16/+2
|
* (find_start_pos, find_start_value)Andreas Schwab2008-07-201-19/+19
| | | | | | (find_start_value_byte, find_start_begv, find_defun_start) (back_comment, scan_sexps_forward): Use EMACS_INT for buffer positions.
* various small cleanups detailed in changelogsAdrian Robert2008-07-161-1/+0
|
* merging Emacs.app (NeXTstep port)Adrian Robert2008-07-151-0/+13
|
* * character.h (CHAR_TO_BYTE_SAFE): New macro.Stefan Monnier2008-06-121-1/+5
| | | | | | | | * character.c (Fmultibyte_char_to_unibyte): Obey the docstring. * regex.c (RE_CHAR_TO_UNIBYTE): Use the new macro. (WEAK_ALIAS): Simplify. * syntax.c (skip_chars): Don't mark non-byte chars in the fastmap when searching a unibyte buffer.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-141-6/+4
|
* (Fforward_word): Add ^ interactive spec.Chong Yidong2008-04-021-1/+1
|
* (scan_lists): Follow coding convention.Stefan Monnier2008-02-121-7/+14
|
* Merge from emacs--devo--0Miles Bader2008-01-091-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
| * Add 2008 to copyright years.Glenn Morris2008-01-081-1/+1
| |
* | Merge from emacs--devo--0Miles Bader2007-07-271-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 824-831) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 70-74) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-238
| * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| |
| * (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD.Chong Yidong2007-06-061-6/+6
| |
* | Merge from emacs--devo--0Miles Bader2007-05-241-7/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 751-770) - Update from CVS - Merge from emacs--rel--22 - Update from CVS: lisp/textmodes/sgml-mode.el: Revert last change. - Merge from gnus--rel--5.10 * emacs--rel--22 (patch 18-25) * gnus--rel--5.10 (patch 222-223) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-208
| * | (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD.Kenichi Handa2007-05-221-6/+6
| |/
| * (skip_chars): Update syntax-table only after we checked thatStefan Monnier2007-05-191-1/+1
| | | | | | | | the new location is valid.
* | (skip_syntaxes): Synch with the trunk.Kenichi Handa2007-05-211-1/+1
| |
* | Merge from emacs--devo--0Miles Bader2007-01-261-2/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 586-614) - Update from CVS - Update from erc--emacs--22 - Merge from gnus--rel--5.10 - Merge from erc--main--0 - Make byte compiler correctly write circular constants * gnus--rel--5.10 (patch 186-196) - Update from CVS - Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
| * Update copyright for years from Emacs 21 to present (mainly addingGlenn Morris2007-01-141-2/+3
| | | | | | | | 2001).
* | Merge from emacs--devo--0Miles Bader2006-12-161-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 545-562) - Update from CVS - Update from erc--emacs--22 - Merge from gnus--rel--5.10 - erc-iswitchb: Temporarily enable iswitchb mode * gnus--rel--5.10 (patch 172-176) - Merge from emacs--devo--0 - Update from CVS - Update from CVS: lisp/legacy-gnus-agent.el: Add Copyright notice. Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-156
| * Fix spurious open-paren-in-column-0 in a comment.Stefan Monnier2006-12-101-1/+1
| |
| * * syntax.c (Fpartial_parse_sexp): Correct Docco: Elt 8 of theAlan Mackenzie2006-12-091-1/+1
| | | | | | | | result is now neither the last elt nor optional for OLDSTATE.
* | Merge from emacs--devo--0Miles Bader2006-12-071-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 523-544) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 168-171) - Update from CVS - Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-150
| * Space/tab mixup.Juanma Barranquero2006-11-241-1/+1
| |
* | Merge from emacs--devo--0Miles Bader2006-09-201-0/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 437-446) - Update from CVS - lisp/url/url-methods.el: Fix format error when http_proxy is empty string - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 137-140) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-111
| * * search.c (clear_regexp_cache): New function.Chong Yidong2006-09-171-0/+5
| | | | | | | | * syntax.c (Fmodify_syntax_entry): Clear regexp cache.
* | Merge from emacs--devo--0Miles Bader2006-07-191-36/+33
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 343-356) - Update from CVS - Update for ERC 5.1.3. - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 113-115) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-90
| * (scan_lists): Use xsignal3.Kim F. Storm2006-07-181-14/+9
| |
| * (scan_sexps_forward): Use EMACS_INT for out_bytepos andAndreas Schwab2006-07-131-1/+1
| | | | | | | | out_charpos.
| * (check_syntax_table): Use CHECK_TYPE.Kim F. Storm2006-07-121-3/+2
| |
| * (forw_comment): Also use EMACS_INT for buffer positions.Stefan Monnier2006-07-111-2/+3
| |
| * (back_comment, scan_lists): Also use EMACS_INT for buffer positions.Stefan Monnier2006-07-091-11/+13
| |
| * (Fforward_comment): Revert the reversion.Stefan Monnier2006-07-091-5/+5
| |
| * (Fforward_comment): Use type int for `stop', `count1', `out_charpos'John Paul Wallington2006-07-091-3/+3
| | | | | | | | and `out_bytepos' too; revert Stef's previous change.
| * (Fforward_comment): Use type int for `from' and `from_byte'.John Paul Wallington2006-07-091-2/+2
| |