diff options
| author | Gerd Moellmann | 1999-07-21 21:43:52 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-07-21 21:43:52 +0000 |
| commit | 2d8c80b12e2496188513663162d7756c1ccf91d3 (patch) | |
| tree | 39ae32055a76ff089dc52b316eb9213fceb7231a /src/buffer.h | |
| parent | 5e6d54931471a67bcd1cc1d44166f0e2430d027f (diff) | |
| download | emacs-2d8c80b12e2496188513663162d7756c1ccf91d3.tar.gz emacs-2d8c80b12e2496188513663162d7756c1ccf91d3.zip | |
Add top_line_format.
(scroll_up_aggressively): New.
(scroll_down_aggressively): New.
(struct buffer): indicate_empty_lines renamed from
indicate_zv_lines.
(struct buffer): New member indicate_zv_lines.
(struct buffer): New members left_margin_width
and right_margin_width.
(struct buffer): Add member minibuffer_prompt_length
if PROMPT_IN_BUFFER.
Diffstat (limited to 'src/buffer.h')
| -rw-r--r-- | src/buffer.h | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/src/buffer.h b/src/buffer.h index 6e783373bd0..4928333cd43 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -485,9 +485,15 @@ struct buffer | |||
| 485 | 485 | ||
| 486 | /* Everything from here down must be a Lisp_Object */ | 486 | /* Everything from here down must be a Lisp_Object */ |
| 487 | 487 | ||
| 488 | |||
| 489 | /* The name of this buffer. */ | 488 | /* The name of this buffer. */ |
| 490 | Lisp_Object name; | 489 | Lisp_Object name; |
| 490 | |||
| 491 | #if !NO_PROMPT_IN_BUFFER | ||
| 492 | /* Amount at the start of the buffer used by a minibuffer prompt, | ||
| 493 | or nil if this buffer is not a mini-buffer. */ | ||
| 494 | Lisp_Object minibuffer_prompt_length; | ||
| 495 | #endif | ||
| 496 | |||
| 491 | /* The name of the file visited in this buffer, or nil. */ | 497 | /* The name of the file visited in this buffer, or nil. */ |
| 492 | Lisp_Object filename; | 498 | Lisp_Object filename; |
| 493 | /* Dir for expanding relative file names. */ | 499 | /* Dir for expanding relative file names. */ |
| @@ -522,6 +528,10 @@ struct buffer | |||
| 522 | Lisp_Object mode_name; | 528 | Lisp_Object mode_name; |
| 523 | /* Mode line element that controls format of mode line. */ | 529 | /* Mode line element that controls format of mode line. */ |
| 524 | Lisp_Object mode_line_format; | 530 | Lisp_Object mode_line_format; |
| 531 | |||
| 532 | /* Analogous to mode_line_format for the line displayed at the top | ||
| 533 | of windows. Nil means don't display that line. */ | ||
| 534 | Lisp_Object top_line_format; | ||
| 525 | 535 | ||
| 526 | /* Keys that are bound local to this buffer. */ | 536 | /* Keys that are bound local to this buffer. */ |
| 527 | Lisp_Object keymap; | 537 | Lisp_Object keymap; |
| @@ -652,9 +662,29 @@ struct buffer | |||
| 652 | /* Incremented each time the buffer is displayed in a window. */ | 662 | /* Incremented each time the buffer is displayed in a window. */ |
| 653 | Lisp_Object display_count; | 663 | Lisp_Object display_count; |
| 654 | 664 | ||
| 665 | /* Widths of left and right marginal areas for windows displaying | ||
| 666 | this buffer. */ | ||
| 667 | Lisp_Object left_margin_width, right_margin_width; | ||
| 668 | |||
| 669 | /* Non-nil means indicate lines not displaying text (in a style | ||
| 670 | like vi). */ | ||
| 671 | Lisp_Object indicate_empty_lines; | ||
| 672 | |||
| 655 | /* Time stamp updated each time this buffer is displayed in a window. */ | 673 | /* Time stamp updated each time this buffer is displayed in a window. */ |
| 656 | Lisp_Object display_time; | 674 | Lisp_Object display_time; |
| 657 | 675 | ||
| 676 | /* If scrolling the display because point is below the bottom of a | ||
| 677 | window showing this buffer, try to choose a window start so | ||
| 678 | that point ends up this number of lines from the top of the | ||
| 679 | window. Nil means that scrolling method isn't used. */ | ||
| 680 | Lisp_Object scroll_up_aggressively; | ||
| 681 | |||
| 682 | /* If scrolling the display because point is above the top of a | ||
| 683 | window showing this buffer, try to choose a window start so | ||
| 684 | that point ends up this number of lines from the bottom of the | ||
| 685 | window. Nil means that scrolling method isn't used. */ | ||
| 686 | Lisp_Object scroll_down_aggressively; | ||
| 687 | |||
| 658 | /* These are so we don't have to recompile everything | 688 | /* These are so we don't have to recompile everything |
| 659 | the next few times we add a new slot. */ | 689 | the next few times we add a new slot. */ |
| 660 | Lisp_Object extra2, extra3; | 690 | Lisp_Object extra2, extra3; |
| @@ -772,3 +802,4 @@ extern Lisp_Object Vtransient_mark_mode; | |||
| 772 | #define BUFFER_FREE(data) (free ((data))) | 802 | #define BUFFER_FREE(data) (free ((data))) |
| 773 | #define R_ALLOC_DECLARE(var,data) | 803 | #define R_ALLOC_DECLARE(var,data) |
| 774 | #endif | 804 | #endif |
| 805 | |||