emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/buffer.h


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/buffer.h
Date: Wed, 09 Jul 2003 15:44:15 -0400

Index: emacs/src/buffer.h
diff -c emacs/src/buffer.h:1.92 emacs/src/buffer.h:1.93
*** emacs/src/buffer.h:1.92     Wed Jul  9 10:47:45 2003
--- emacs/src/buffer.h  Wed Jul  9 15:44:14 2003
***************
*** 27,33 ****
  
  /* Position of beginning of buffer.  */
  #define BEG (1)
! #define BEG_BYTE (1)
  
  /* Position of beginning of accessible range of buffer.  */
  #define BEGV (current_buffer->begv)
--- 27,33 ----
  
  /* Position of beginning of buffer.  */
  #define BEG (1)
! #define BEG_BYTE (BEG)
  
  /* Position of beginning of accessible range of buffer.  */
  #define BEGV (current_buffer->begv)
***************
*** 397,407 ****
         into a buffer's text to functions that malloc.  */
      unsigned char *beg;
  
!     int gpt;                  /* Char pos of gap in buffer.  */
!     int z;                    /* Char pos of end of buffer.  */
!     int gpt_byte;             /* Byte pos of gap in buffer.  */
!     int z_byte;                       /* Byte pos of end of buffer.  */
!     int gap_size;             /* Size of buffer's gap.  */
      int modiff;                       /* This counts buffer-modification 
events
                                   for this buffer.  It is incremented for
                                   each such event, and never otherwise
--- 397,407 ----
         into a buffer's text to functions that malloc.  */
      unsigned char *beg;
  
!     EMACS_INT gpt;            /* Char pos of gap in buffer.  */
!     EMACS_INT z;              /* Char pos of end of buffer.  */
!     EMACS_INT gpt_byte;               /* Byte pos of gap in buffer.  */
!     EMACS_INT z_byte;         /* Byte pos of end of buffer.  */
!     EMACS_INT gap_size;               /* Size of buffer's gap.  */
      int modiff;                       /* This counts buffer-modification 
events
                                   for this buffer.  It is incremented for
                                   each such event, and never otherwise
***************
*** 412,421 ****
      int overlay_modiff;               /* Counts modifications to overlays.  */
  
      /* Minimum value of GPT - BEG since last redisplay that finished.  */
!     int beg_unchanged;
  
      /* Minimum value of Z - GPT since last redisplay that finished.  */
!     int end_unchanged;
  
      /* MODIFF as of last redisplay that finished; if it matches MODIFF,
         beg_unchanged and end_unchanged contain no useful information.  */
--- 412,421 ----
      int overlay_modiff;               /* Counts modifications to overlays.  */
  
      /* Minimum value of GPT - BEG since last redisplay that finished.  */
!     EMACS_INT beg_unchanged;
  
      /* Minimum value of Z - GPT since last redisplay that finished.  */
!     EMACS_INT end_unchanged;
  
      /* MODIFF as of last redisplay that finished; if it matches MODIFF,
         beg_unchanged and end_unchanged contain no useful information.  */
***************
*** 464,480 ****
    struct buffer_text *text;
  
    /* Char position of point in buffer.  */
!   int pt;
    /* Byte position of point in buffer.  */
!   int pt_byte;
    /* Char position of beginning of accessible range.  */
!   int begv;
    /* Byte position of beginning of accessible range.  */
!   int begv_byte;
    /* Char position of end of accessible range.  */
!   int zv;
    /* Byte position of end of accessible range.  */
!   int zv_byte;
  
    /* In an indirect buffer, this points to the base buffer.
       In an ordinary buffer, it is 0.  */
--- 464,480 ----
    struct buffer_text *text;
  
    /* Char position of point in buffer.  */
!   EMACS_INT pt;
    /* Byte position of point in buffer.  */
!   EMACS_INT pt_byte;
    /* Char position of beginning of accessible range.  */
!   EMACS_INT begv;
    /* Byte position of beginning of accessible range.  */
!   EMACS_INT begv_byte;
    /* Char position of end of accessible range.  */
!   EMACS_INT zv;
    /* Byte position of end of accessible range.  */
!   EMACS_INT zv_byte;
  
    /* In an indirect buffer, this points to the base buffer.
       In an ordinary buffer, it is 0.  */
***************
*** 503,509 ****
    int auto_save_failure_time;
    /* Position in buffer at which display started
       the last time this buffer was displayed.  */
!   int last_window_start;
  
    /* Set nonzero whenever the narrowing is changed in this buffer.  */
    int clip_changed;
--- 503,509 ----
    int auto_save_failure_time;
    /* Position in buffer at which display started
       the last time this buffer was displayed.  */
!   EMACS_INT last_window_start;
  
    /* Set nonzero whenever the narrowing is changed in this buffer.  */
    int clip_changed;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]