aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (set_buffer_internal): Set windows_or_buffers_changedGerd Moellmann1999-08-231-29/+25
| | | | | | | | | | | | only if buffer is displayed somewhere. (modify_overlay): Use BUF_COMPUTE_UNCHANGED. (reset_buffer): Set clip_changed to 0 and prevent_redisplay_optimizations_p to 1. (Fget_buffer_create): Set prevent_redisplay_optimizations_p to 1. (modify_overlay): Compute beg/end_unchanged per buffer. (Fget_buffer_create): Initialize new members of the buffer structure.
* Remove conditional compilation on NO_PROMPT_IN_BUFFER.Gerd Moellmann1999-08-211-6/+0
|
* (Fprevious_overlay_change): Just return the answer obtained from overlays_at.Richard M. Stallman1999-08-071-31/+2
|
* (switch_to_buffer_1): New subroutine, taken out from Fswitch_to_buffer.Richard M. Stallman1999-08-061-2/+12
| | | | | | (no_switch_buffer): New function. (Fswitch_to_buffer): Call them. Don't get confused by "same-window" buffers in a dedicated frame.
* (switch_to_buffer_1): New subroutine, taken out from Fswitch_to_buffer.Richard M. Stallman1999-08-051-17/+41
| | | | | | (no_switch_buffer): New function. (Fswitch_to_buffer): Call them. Don't get confused by "same-window" buffers in a dedicated frame.
* (init_buffer_once): Init top_line_format.Gerd Moellmann1999-07-211-2/+99
| | | | | | | | | | | | | | | | | | | | | | | | | (default-top-line-format): New. (top-line-format): New buffer-local variable. (init_buffer_once): Set buffer_local_flags for scroll_*_aggressively. (syms_of_buffer): Add DEFVAR_PER_BUFFER for scroll-*-aggressively. (init_buffer_once): Set defaults for these variables. (syms_of_buffer): Add default-scroll-*-aggressively. (indicate-empty-lines): New. (default-indicate-zv-lines): Likewise. (init_buffer_once): Add default for `indicate-zv-lines'. (init_buffer_once): New variable `default-indicate-zv-lines'. (syms_of_buffer): New buffer-local varianle `indicate-zv-lines'. (init_buffer_once): Add left_margin_width and right_margin_width to buffer_local_flags. (syms_of_buffer): Add buffer-local variables left-margin-width and right-margin-width. Add defaults default-left-margin-width and default-right-margin-width. (record_buffer): Return void. (record_asynch_buffer_change): Return void. (Fget_buffer_create): Initialize minibuffer_prompt_length. (Fmake_indirect_buffer): Ditto. (Fkill_buffer): Ditto.
* (syms_of_buffer): Make default-enable-multibyte-characters a user variable.Dave Love1999-07-201-1/+1
|
* (syms_of_buffer): Don't makeKenichi Handa1999-06-161-1/+1
| | | | enable-multibyte-characters customizable.
* (syms_of_buffer): Doc fix.Richard M. Stallman1999-05-241-2/+8
|
* (Fmake_indirect_buffer): Copy multibyte status from the base buffer.Richard M. Stallman1999-04-091-0/+11
| | | | | (Fset_buffer_multibyte): Copy new multibyte status into the buffer's indirect buffers.
* (Fset_buffer_modified_p): Don't lock or unlockKarl Heuer1999-03-261-1/+2
| | | | if buffer-file-name is nil.
* (syms_of_buffer): Doc fix.Karl Heuer1999-03-041-1/+1
|
* (syms_of_buffer): Doc fix for enable-multibyte-characters.Richard M. Stallman1999-02-261-4/+10
|
* (Fset_buffer_multibyte): Error if buffer is multibyte.Richard M. Stallman1999-02-011-0/+3
|
* (syms_of_buffer): Doc fix.Richard M. Stallman1998-11-241-3/+10
|
* (inhibit_modification_hooks): New variable.Kenichi Handa1998-10-081-0/+5
| | | | (init_buffer_once): Initialize inhibit_modification_hooks to 0.
* (enable-multibyte-characters): Doc fix.Dave Love1998-09-041-3/+3
|
* (Fother_buffer): Doc fix.Richard M. Stallman1998-05-221-0/+2
|
* (Fother_buffer): New arg FRAME. Calls changed.Richard M. Stallman1998-05-221-14/+21
| | | | | | Pass it to frame_buffer_list, frame_buffer_predicate. (record_buffer): Pass selected frame to them and to set_frame_buffer_list.
* (init_buffer): Support DOS_NT absolute file names.Richard M. Stallman1998-05-211-1/+2
|
* (syms_of_buffer): Set up Lisp variable buffer-display-time.Richard M. Stallman1998-05-201-2/+19
| | | | | | Doc fixes. (reset_buffer): Initialize display_time slot. (init_buffer_once): Initialize display_time slot.
* (Fset_buffer_multibyte): Error if marker is putRichard M. Stallman1998-05-111-0/+6
| | | | on buffer's marker-chain while we have temporarily put nil there.
* Comment change.Richard M. Stallman1998-05-111-0/+4
|
* (syms_of_buffer) <buffer-file-coding-system>: Doc fix.Richard M. Stallman1998-05-071-1/+1
|
* Whitespace change.Richard M. Stallman1998-05-021-2/+2
|
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-2/+14
|
* (Fset_buffer_multibyte): Do nothing if nothing actuallyAndreas Schwab1998-04-141-0/+4
| | | | changes.
* Use STRING_BYTES and SET_STRING_BYTES.Richard M. Stallman1998-03-211-7/+9
|
* (init_buffer): Call Fset_buffer_multibyte for *scratch*.Richard M. Stallman1998-03-121-8/+10
| | | | | | (set_buffer_internal_1) (swap_out_buffer_local_variables): Handle new data structure for struct Lisp_Buffer_Local_Value.
* (advance_to_char_boundary): Handle the case the codeRichard M. Stallman1998-03-061-4/+14
| | | | 0240..0377 is not a constituent of a multibyte sequence.
* (Fset_buffer_multibyte): Fix arg for chars_in_text.Kenichi Handa1998-03-041-4/+22
| | | | Be sure not to have a multibyte sequence striding over the GAP
* (syms_of_buffer): enable-multibyte-characters is read-only.Karl Heuer1998-02-271-9/+14
|
* (advance_to_char_boundary): Make the behaviourKenichi Handa1998-02-201-11/+5
| | | | consistent with INC_POS.
* (advance_to_char_boundary): New function.Richard M. Stallman1998-02-081-4/+49
| | | | | (Fset_buffer_multibyte): Advance all byte-positions to char boundaries. Clear undo list.
* (Fpop_to_buffer): Pass new arg to Fdisplay_buffer.Richard M. Stallman1998-02-061-1/+1
|
* Update copyright year.Richard M. Stallman1998-01-211-1/+1
|
* (set_buffer_if_live): New function.Richard M. Stallman1998-01-211-0/+11
|
* (Fset_buffer_multibyte): New function.Richard M. Stallman1998-01-191-1/+77
| | | | (syms_of_buffer): defsubr it.
* (record_overlay_string): Totalize sizes assumingRichard M. Stallman1998-01-051-8/+37
| | | | | strings are converted to match buffer in multibyteness. (overlay_strings): Convert strings to match buffer in multibyteness.
* (Fmake_indirect_buffer): Use set_marker_both.Richard M. Stallman1998-01-011-28/+56
| | | | | | | | | | | (set_buffer_internal_1): Likewise. (set_buffer_temp): Likewise. (set_buffer_temp): Update BUF_PT_BYTE, BUF_BEGV_BYTE and BUF_ZV_BYTE. (Fmake_indirect_buffer, set_buffer_internal_1): Set up the pt, begv and zv markers with both kinds of position. Set BUF_PT_BYTE, BUF_BEGV_BYTE, BUF_ZV_BYTE. (Fget_buffer_create): Set BUF_..._BYTE.
* (nsberror, record_buffer, validate_region,Kenichi Handa1997-11-271-0/+4
| | | | fix_overlay_before): Declare them as void.
* (Fkill_buffer): Don't assume buffer is current.Karl Heuer1997-10-271-1/+1
|
* (init_buffer): Don't add /: to default dir if it's `/'.Karl Heuer1997-10-161-1/+6
|
* (mode-line-format): Doc fix.Karl Heuer1997-09-251-0/+1
|
* (modify_overlay): Update overlay_modiff of proper buffer.Richard M. Stallman1997-09-071-1/+1
|
* Include errno.h.Richard M. Stallman1997-08-271-1/+4
| | | | (init_buffer) [HAVE_GETCWD]: Fix error message for getcwd failure.
* (syms_of_buffer): Doc fixes.Richard M. Stallman1997-08-221-3/+3
|
* (init_buffer): Use getcwd instead of getwd, if available.Richard M. Stallman1997-08-091-0/+5
|
* (syms_of_buffer): Doc fix.Richard M. Stallman1997-07-231-0/+2
|
* (set_buffer_internal_1): Convert Fset_marker argument to Lisp_Integer.Richard M. Stallman1997-07-121-10/+20
| | | | | (set_buffer_temp): Likewise. (fix_overlays_in_range): Likewise.