1. 05 Jan, 1995 9 commits
  2. 04 Jan, 1995 11 commits
  3. 03 Jan, 1995 10 commits
  4. 02 Jan, 1995 10 commits
    • Richard M. Stallman's avatar
      (gud-dbx-marker-filter): Use gud-marker-acc like gud-gdb-marker-filter. · 7f629252
      Richard M. Stallman authored
      (gud-sdb-marker-filter): Use gud-marker-acc.
      7f629252
    • Richard M. Stallman's avatar
      e4d02e04
    • Richard M. Stallman's avatar
    • Richard M. Stallman's avatar
      (enum Lisp_Type): Delete Lisp_Buffer. · 99a3d506
      Richard M. Stallman authored
      (enum Lisp_Misc_Type): Add Lisp_Misc_Float (not yet used).
      
      (XSETBUFFER, BUFFERP, GC_BUFFERP): Rewrite to use pseudovectors.
      
      (PVEC_BUFFER, PVEC_PROCESS, PVEC_FRAME, PVEC_COMPILED)
      (PVEC_WINDOW, PVEC_WINDOW_CONFIGURATION, PVEC_SUBR):
      Now enumeration constants, not macros.
      (PVEC_FLAG): Enumeration alias for PSEUDOVECTOR_FLAG.
      99a3d506
    • Richard M. Stallman's avatar
      Use BUF_MARKERS throughout. · d281a86a
      Richard M. Stallman authored
      d281a86a
    • Richard M. Stallman's avatar
      (Fmake_indirect_buffer): New function. · 336cd056
      Richard M. Stallman authored
      (Fbuffer_base_buffer): New function.
      (syms_of_buffer): defsubr them.
      
      (reset_buffer): Don't alter intervals here.
      (Fget_buffer_create): Use BUF_MARKERS.  Init BUF_INTERVALS here.
      (Fkill_buffer): Use BUF_MARKERS; but don't touch it in indir buf.
      Likewise BUF_INTERVALS.
      (init_buffer_once): Set up .text and BUF_INTERVALS
      in buffer_local_symbols and buffer_defaults.
      
      (Fkill_buffer): Don't free the text in indirect buffer.
      When killing a base buffer, kill its indirect buffers first.
      
      (set_buffer_temp): New function.
      
      (reset_buffer_local_variables): Initialize buffer_file_type field.
      
      (Fget_buffer_create): Initialize pt_marker, begv/zv_marker.
      (set_buffer_internal): Use and update these markers.
      Copy undo_list in and out of the base buffer.
      
      (Fget_buffer_create): Init save_modiff field here.
      (reset_buffer): Not here.
      (Fbuffer_modified_p): Use BUF_SAVE_MODIFF.
      (Fset_buffer_modified_p): Use SAVE_MODIFF.
      (Fkill_buffer, list_buffers_1): Use BUF_SAVE_MODIFF.
      
      (Fget_buffer_create): Initialize the size and text fields.
      336cd056
    • Richard M. Stallman's avatar
      Use BUF_INTERVALS throughout. · e5d967c9
      Richard M. Stallman authored
      (temp_set_point, set_point): Use BUF_PT.
      (get_local_map): Get keymap from specified buffer, not current one.
      e5d967c9
    • Richard M. Stallman's avatar
      866bf246
    • Richard M. Stallman's avatar
      Use SAVE_MODIFF and BUF_SAVE_MODIFF · 9fbf87cd
      Richard M. Stallman authored
      instead of direct access to the save_modiff field.
      
      (insert_1, prepare_to_modify_buffer, insert_from_buffer_1): Use BUF_INTERVALS.
      (adjust_markers): Use BUF_MARKERS.
      
      (adjust_point): Use BUF_PT.
      9fbf87cd
    • Richard M. Stallman's avatar
      (struct buffer): Fields markers and intervals moved out. · c1ea566e
      Richard M. Stallman authored
      (struct buffer_text): Fields markers and intervals moved here.
      (BUF_MARKERS, BUF_INTERVALS): New macros.
      
      (struct buffer): Make buffer_file_type field unconditional.
      
      (struct buffer): New field pt_marker.
      save_modiff field deleted.
      (struct buffer_text): save_modiff field moved here.
      (SAVE_MODIFF, BUF_SAVE_MODIFF): New macros.
      Use them instead of direct access to save_modiff field.
      
      (struct buffer): New fields begv_marker, zv_marker.
      
      (struct buffer): Make text field be a pointer.
      The struct buffer_text field renamed to own_text.
      Add fields indirect_to_buffer and size.
      Move pt, begv and zv fields here.
      (struct buffer_text): Moved from here.
      (BEGV, PT, ZV, BEGV_ADDR, PT_ADDR, ZV_ADDR): Corresponding changes.
      (BUF_BEGV, BUF_PT, BUF_ZV): Corresponding changes.
      (SET_BUF_ZV, SET_BUF_PT, point):
      c1ea566e