aboutsummaryrefslogtreecommitdiffstats
path: root/src/marker.c
Commit message (Collapse)AuthorAgeFilesLines
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* (buf_charpos_to_bytepos, buf_bytepos_to_charpos)Stefan Monnier2003-06-261-67/+49
| | | | | | (Fset_marker, set_marker_restricted, set_marker_both, unchain_marker) (set_marker_restricted_both, Fbuffer_has_markers_at, count_markers): Update for new types.
* (verify_bytepos): New function.Richard M. Stallman2003-04-061-0/+18
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-7/+7
|
* Fix typo in comment.Juanma Barranquero2002-04-171-1/+1
|
* (count_markers): New function.Richard M. Stallman2002-04-131-0/+17
|
* (buf_charpos_to_bytepos, buf_bytepos_to_charpos): Use BEG and BEG_BYTE.Stefan Monnier2002-04-011-4/+4
|
* Comment change.Richard M. Stallman2001-11-181-1/+4
|
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-14/+14
|
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-10-311-30/+29
|
* (Fmarker_position): Remove unused variables `pos', `i',Eli Zaretskii2001-01-021-5/+0
| | | | | and `buf'. (Fmarker_insertion_type): Remove unused variable `buf'.
* Avoid some more compiler warnings.Gerd Moellmann2000-09-211-1/+3
| | | | (byte_char_debug_check): Return void.
* * lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):Ken Raeburn2000-03-301-3/+3
| | | | | | | | | | | | | | | | | | Verify correct object type before returning pointer, using eassert. * frame.h (XFRAME): Likewise. * buffer.c (Frename_buffer, Fset_buffer_multibyte, swap_out_buffer_local_variables, Fmove_overlay): Don't apply XSYMBOL, XBUFFER, etc, to values that may be nil or of the wrong type. * data.c (set_internal): Likewise. * dispextern.h (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Likewise. * fileio.c (auto_save_1): Likewise. * insdel.c (check_markers): Likewise. * marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise. * undo.c (record_insert): Likewise. * vmsproc.c (child_sig): Likewise. * window.c (unshow_buffer, window_loop): Likewise. * xterm.c (x_erase_phys_cursor): Likewise.
* (Fcopy_marker): Make return from wrong_type_argumentKarl Heuer1998-07-121-9/+7
| | | | fall thru into normal case.
* (unchain_marker): Abort if the marker is not in its buffer's chain.Richard M. Stallman1998-05-111-7/+17
| | | | | | (buf_bytepos_to_charpos): Fix assignment of `record' when scanning from below. Don't create a marker if buffer's marker chain is empty.
* (set_marker_both): Remove bogus checks on charpos.Andreas Schwab1998-04-141-9/+0
|
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-0/+1
|
* (buf_charpos_to_bytepos, buf_bytepos_to_charpos):Karl Heuer1998-04-131-8/+12
| | | | When calling set_marker_both, pass the right buffer.
* (Fbuffer_has_markers_at): Fix termination condition.Karl Heuer1998-04-091-1/+1
|
* (buf_charpos_to_bytepos): Delete local variable gapend_byte.Kenichi Handa1998-04-021-1/+0
|
* (byte_char_debug_check): Call multibyte_chars_in_textKenichi Handa1998-03-191-5/+6
| | | | | instead of chars_in_text because we must ignore enable-multibyte-characters here.
* (byte_char_debug_check): New function.Richard M. Stallman1998-02-081-4/+66
| | | | | | | (CONSIDER, both definitions): Call it. (buf_charpos_to_bytepos, buf_bytepos_to_charpos): Likewise. (byte_debug_flag): New variable. (syms_of_marker): Set up Lisp variable.
* Update copyright year.Richard M. Stallman1998-01-211-1/+1
|
* (clear_charpos_cache): New function.Richard M. Stallman1998-01-191-0/+7
|
* (buf_bytepos_to_charpos): Use marker bytepos, not bufpos.Richard M. Stallman1998-01-021-37/+9
| | | | | | (buf_charpos_to_bytepos, marker_byte_position): Likewise. (Fset_marker, set_marker_restricted, set_marker_both): Likewise. (set_marker_restricted_both): Likewise.
* (marker_byte_position): Renamed from marker_position.Richard M. Stallman1998-01-011-37/+545
| | | | | | | | | | | | (marker_position): New function returns the charpos. (Fbuffer_has_markers_at): Test the marker's charpos. (set_marker_restricted, Fset_marker): Set both kinds of position. Optimize case where POSITION is a marker. (set_marker_both, set_marker_restricted_both): New functions. (Fmarker_position): Use the charpos. (charpos_to_bytepos, bytepos_to_charpos): New functions. (buf_charpos_to_bytepos, buf_bytepos_to_charpos): New functions.
* (unchain_marker): Define as returning nothing.Andreas Schwab1997-11-211-0/+2
| | | | (syms_of_marker): Likewise.
* (Fbuffer_has_markers_at): New function.Richard M. Stallman1996-10-111-0/+27
| | | | (syms_of_marker): defsubr it.
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* (Fset_marker): Harmonize arguments with documentation.Erik Naggum1996-01-091-8/+8
|
* (Fset_marker_insertion_type): Doc fix.Richard M. Stallman1995-10-291-1/+1
|
* (Fcopy_marker): New arg TYPE.Richard M. Stallman1995-09-031-16/+44
| | | | | (Fmarker_insertion_type, Fset_marker_insertion_type): New functions. (syms_of_marker): defsubr them.
* Update GPL to version 2.Karl Heuer1995-06-151-1/+1
|
* (unchain_marker): Allow differing buffersRichard M. Stallman1995-03-141-2/+3
| | | | as long as they have the same text.
* Use BUF_MARKERS throughout.Richard M. Stallman1995-01-021-10/+13
|
* (Fmarker_position): Don't use XFASTINT as an lvalue.Karl Heuer1994-10-041-1/+1
|
* (Fmarker_buffer): Use new accessor macros instead of calling XSET directly.Karl Heuer1994-10-041-1/+1
|
* (Fset_marker, set_marker_restricted, Fcopy_marker): Use type test macros.Karl Heuer1994-09-271-7/+4
|
* (unchain_marker): Use EMACS_INT.Richard M. Stallman1994-09-171-1/+1
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* entered into RCSJim Blandy1992-01-131-6/+6
|
* Initial revisionJim Blandy1990-11-121-0/+295