aboutsummaryrefslogtreecommitdiffstats
path: root/src/textprop.c
Commit message (Collapse)AuthorAgeFilesLines
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* * textprop.c (Fnext_property_change, Fnext_single_property_change)Chong Yidong2006-09-121-33/+34
| | | | | | (Fprevious_property_change, Fprevious_single_property_change): Avoid changing limit, so we can correctly catch the case where the property is constant up to limit.
* * buffer.h (struct buffer_text): New field chars_modiff.Chong Yidong2006-09-011-6/+6
| | | | | | | | | | | | | | | | | | | | | | (CHARS_MODIFF, BUF_CHARS_MODIFF): New macros. * buffer.c (Fbuffer_chars_modified_tick): New function returning value of BUF_CHARS_MODIFF. (syms_of_buffer): Defsubr it. (Fget_buffer_create): Initialize BUF_CHARS_MODIFF. * insdel.c (modify_region): New argument preserve_chars_modiff. Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero. (insert_1_both, insert_from_string_1, insert_from_buffer_1) (adjust_after_replace, adjust_after_replace_noundo) (replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF. * lisp.h (modify_region): Add fourth argument in extern. * casefiddle.c (casify_region): Call modify_region with fourth argument zero to assert that CHARS_MODIFF is updated. * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal) (Ftranspose_regions): Likewise. * textprop.c (Fadd_text_properties, Fset_text_properties) (Fremove_text_properties, Fremove_list_of_text_properties): Call modify_region with fourth argument 1 to avoid that CHARS_MODIFF is updated.
* * ebrowse.c (usage, version): Mark as NO_RETURN.Dan Nicolaescu2006-07-181-0/+2
| | | | | | | | | | | | | | | | | * emacsclient.c (print_help_and_exit): Likewise. * xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN. * textprop.c (text_read_only): Likewise. * lread.c (end_of_file_error): Likewise. * lisp.h (circular_list_error, memory_full, buffer_memory_full): Likewise. * eval.c (unwind_to_catch): Likewise. * buffer.h (buffer_slot_type_mismatch): Likewise.
* (text_read_only): Use xsignal0, xsignal1.Kim F. Storm2006-07-181-1/+4
|
* (Fget_char_property_and_overlay): Doc fix.Richard M. Stallman2006-07-031-3/+4
|
* * textprop.c (text_property_stickiness): doc fix.Chong Yidong2006-06-281-0/+4
|
* (Fnext_single_char_property_change)Richard M. Stallman2006-05-141-24/+44
| | | | | | (Fprevious_single_char_property_change): Don't allow returning value beyond LIMIT in any cases. (Fnext_char_property_change, Fprevious_char_property_change): Doc fix.
* (Fremove_list_of_text_properties): EnsureLars Hansen2006-04-201-6/+26
| | | | | modify_region is called only when buffer is modified and that signal_after_change is allways called in that case.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (set_text_properties): Reword description of return value.Luc Teirlinck2005-12-301-3/+3
| | | | | Return Qnil if caller wants to remove all text properties from a string and the string already has no intervals.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-2/+2
|
* (Fnext_char_property_change, Fprevious_char_property_change): Doc fixes.Juanma Barranquero2005-07-211-2/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (Fnext_char_property_change)David Kastrup2005-03-221-4/+14
| | | | | | | | | (Fprevious_char_property_change): allow marker as limit. (Fnext_single_char_property_change) (Fprevious_single_char_property_change): Check that limit is a number in strings. (Fnext_single_char_property_change): Coerce position to integer. (Fprevious_single_char_property_change): Same here.
* (syms_of_textprop): Add `syntax-table' to the nonsticky props.Stefan Monnier2004-10-131-2/+4
|
* (get_char_property_and_overlay): Use GET_OVERLAYS_AT.Kim F. Storm2004-05-171-20/+3
|
* (Fget_char_property_and_overlay): New function.Luc Teirlinck2003-11-301-0/+25
| | | | (syms_of_textprop): Defsubr it.
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* (text_property_stickiness): New arg `buffer'.Stefan Monnier2003-05-171-9/+13
|
* (Ftext_properties_at, Fnext_char_property_change)Francesco Potortì2003-01-141-57/+79
| | | | | | | | | | | (Fprevious_char_property_change) (Fnext_single_char_property_change) (Fprevious_single_char_property_change, Fnext_property_change) (Fnext_single_property_change, Fprevious_property_change) (Fprevious_single_property_change, Fadd_text_properties) (Fput_text_property, Fset_text_properties) (Fremove_text_properties, Fremove_list_of_text_properties) (Ftext_property_any, Ftext_property_not_all): Clarify doc strings.
* (text_read_only): New arg `propval'.Stefan Monnier2002-12-141-11/+11
| | | | | (get_char_property_and_overlay): Remove unused var `next_overlay'. (verify_interval_modification): Use text_read_only's new arg.
* (validate_interval_range, interval_of): Use string macros instead ofKen Raeburn2002-07-161-8/+6
| | | | Lisp_String fields.
* * textprop.c (set_text_properties): Use STRING_SET_INTERVALS.Ken Raeburn2002-07-151-1/+1
|
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-8/+8
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* Use macro SPECPDL_INDEX.Juanma Barranquero2002-07-111-2/+2
|
* (Vchar_property_alias_alist): New variable.Colin Walters2002-06-081-0/+10
| | | | (syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP.
* (remove_properties): Don't use XCAR without CONSP.Stefan Monnier2002-04-291-3/+3
|
* (remove_properties): Fixed trap for malformed plist.Kim F. Storm2002-04-221-7/+6
|
* (remove_properties): New arg LIST allows scanningRichard M. Stallman2002-04-191-26/+150
| | | | | | | | | either a list or a plist. (interval_has_some_properties_list): New function, like interval_has_some_properties using list instead of plist. All callers changed. (Fremove_list_of_text_properties): New function. (syms_of_textprop): Defsubr it.
* (text_property_stickiness): Function moved here from `editfns.c'.Miles Bader2002-03-141-1/+58
|
* (Fnext_property_change, Fnext_single_property_change)Stefan Monnier2002-01-251-11/+21
| | | | | (Fprevious_property_change, Fprevious_single_property_change): Stay within the narrowed-buffer boundaries.
* (set_text_properties_1): Allow args in either order.Richard M. Stallman2001-11-261-2/+9
| | | | Do nothing if range is empty.
* (set_text_properties_1): Clearly mark that the interval should not be empty.Stefan Monnier2001-11-261-1/+3
|
* (Fset_text_properties): Remove unused variables `unchanged',Pavel Janík2001-11-231-3/+1
| | | | `prev_changed', `s' and `len'.
* (set_text_properties_1): New subroutine, broken out of set_text_properties.Richard M. Stallman2001-11-111-28/+35
| | | | (set_text_properties): Use set_text_properties_1.
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-16/+16
|
* (Fget_char_property): Doc fix.Richard M. Stallman2001-11-021-0/+1
|
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-10-211-147/+151
|
* Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn2001-10-161-1/+1
| | | | with lisp system changes.
* (Fnext_char_property_change)Miles Bader2001-10-021-6/+6
| | | | | (Fprevious_char_property_change): Remove reference to non-existant argument OBJECT from doc-string.
* (verify_interval_modification): Fix last change.Gerd Moellmann2001-09-111-12/+18
|
* (verify_interval_modification): Don't runGerd Moellmann2001-09-111-2/+3
| | | | modification-hooks if inhibit_modification_hooks.
* (Fprevious_single_char_property_change)Miles Bader2001-08-271-4/+4
| | | | (Fnext_single_char_property_change): Doc fixes.
* (Fset_text_properties): Doc fix.Eli Zaretskii2001-02-151-1/+3
|
* (Fset_text_properties): Fix newline in doc string.Dave Love2001-01-311-1/+1
|
* (Fset_text_properties): Doc fix.Eli Zaretskii2001-01-291-1/+2
|
* (text_read_only): New function.Gerd Moellmann2000-11-281-6/+18
| | | | | | (verify_interval_modification): Use it instead of signaling `text-read-only'. This makes it easier to catch this error with a breakpoint.:
* (get_char_property_and_overlay): New function.Miles Bader2000-10-251-11/+41
| | | | (Fget_char_property): Use it.
* (Fget_char_property): Update call to overlays_at.Miles Bader2000-08-081-3/+3
|