comparison lispref/internals.texi @ 48261:f31837228578

Added two references from Buffer Internals to Buffer Gap.
author Francesco Potortì <pot@gnu.org>
date Tue, 12 Nov 2002 08:11:30 +0000
parents 301b9b704145
children bfdd0deae843
comparison
equal deleted inserted replaced
48260:06d37ae4038f 48261:f31837228578
1 @c -*-texinfo-*- 1 @c -*-texinfo-*-
2 @c This is part of the GNU Emacs Lisp Reference Manual. 2 @c This is part of the GNU Emacs Lisp Reference Manual.
3 @c Copyright (C) 1990, 1991, 1992, 1993, 1998, 1999 3 @c Copyright (C) 1990, 1991, 1992, 1993, 1998, 1999
4 @c Free Software Foundation, Inc. 4 @c Free Software Foundation, Inc.
5 @c See the file elisp.texi for copying conditions. 5 @c See the file elisp.texi for copying conditions.
6 @setfilename ../info/internals 6 @setfilename ../info/internals
7 @node GNU Emacs Internals, Standard Errors, Tips, Top 7 @node GNU Emacs Internals, Standard Errors, Tips, Top
8 @comment node-name, next, previous, up 8 @comment node-name, next, previous, up
9 @appendix GNU Emacs Internals 9 @appendix GNU Emacs Internals
650 @smallexample 650 @smallexample
651 @group 651 @group
652 DEFUN ("coordinates-in-window-p", Fcoordinates_in_window_p, 652 DEFUN ("coordinates-in-window-p", Fcoordinates_in_window_p,
653 Scoordinates_in_window_p, 2, 2, 653 Scoordinates_in_window_p, 2, 2,
654 "xSpecify coordinate pair: \nXExpression which evals to window: ", 654 "xSpecify coordinate pair: \nXExpression which evals to window: ",
655 "Return non-nil if COORDINATES is in WINDOW.\n\ 655 "Return non-nil if COORDINATES is in WINDOW.\n\
656 COORDINATES is a cons of the form (X . Y), X and Y being distances\n\ 656 COORDINATES is a cons of the form (X . Y), X and Y being distances\n\
657 ... 657 ...
658 @end group 658 @end group
659 @group 659 @group
660 If they are on the border between WINDOW and its right sibling,\n\ 660 If they are on the border between WINDOW and its right sibling,\n\
775 @item beg 775 @item beg
776 This field contains the actual address of the buffer contents. 776 This field contains the actual address of the buffer contents.
777 777
778 @item gpt 778 @item gpt
779 This holds the character position of the gap in the buffer. 779 This holds the character position of the gap in the buffer.
780 @xref{Buffer Gap}.
780 781
781 @item z 782 @item z
782 This field contains the character position of the end of the buffer 783 This field contains the character position of the end of the buffer
783 text. 784 text.
784 785
787 788
788 @item z_byte 789 @item z_byte
789 Holds the byte position of the end of the buffer text. 790 Holds the byte position of the end of the buffer text.
790 791
791 @item gap_size 792 @item gap_size
792 Contains the size of buffer's gap. 793 Contains the size of buffer's gap. @xref{Buffer Gap}.
793 794
794 @item modiff 795 @item modiff
795 This field counts buffer-modification events for this buffer. It is 796 This field counts buffer-modification events for this buffer. It is
796 incremented for each such event, and never otherwise changed. 797 incremented for each such event, and never otherwise changed.
797 798
798 @item save_modiff 799 @item save_modiff
799 Contains the previous value of @code{modiff}, as of the last time a 800 Contains the previous value of @code{modiff}, as of the last time a
800 buffer was visited or saved in a file. 801 buffer was visited or saved in a file.
801 802
802 @item overlay_modiff 803 @item overlay_modiff
803 Counts modifications to overlays analogous to @code{modiff}. 804 Counts modifications to overlays analogous to @code{modiff}.
804 805
805 @item beg_unchanged 806 @item beg_unchanged
806 Holds the number of characters at the start of the text that are known 807 Holds the number of characters at the start of the text that are known
807 to be unchanged since the last redisplay that finished. 808 to be unchanged since the last redisplay that finished.
808 809
809 @item end_unchanged 810 @item end_unchanged
810 Holds the number of characters at the end of the text that are known to 811 Holds the number of characters at the end of the text that are known to
811 be unchanged since the last redisplay that finished. 812 be unchanged since the last redisplay that finished.
812 813
813 @item unchanged_modified 814 @item unchanged_modified
814 Contains the value of @code{modiff} at the time of the last redisplay 815 Contains the value of @code{modiff} at the time of the last redisplay
815 that finished. If this value matches @code{modiff}, 816 that finished. If this value matches @code{modiff},
816 @code{beg_unchanged} and @code{end_unchanged} contain no useful 817 @code{beg_unchanged} and @code{end_unchanged} contain no useful
817 information. 818 information.
818 819
819 @item overlay_unchanged_modified 820 @item overlay_unchanged_modified
820 Contains the value of @code{overlay_modiff} at the time of the last 821 Contains the value of @code{overlay_modiff} at the time of the last
821 redisplay that finished. If this value matches @code{overlay_modiff}, 822 redisplay that finished. If this value matches @code{overlay_modiff},
822 @code{beg_unchanged} and @code{end_unchanged} contain no useful 823 @code{beg_unchanged} and @code{end_unchanged} contain no useful
823 information. 824 information.
824 825
825 @item markers 826 @item markers
826 The markers that refer to this buffer. This is actually a single 827 The markers that refer to this buffer. This is actually a single
827 marker, and successive elements in its marker @code{chain} are the other 828 marker, and successive elements in its marker @code{chain} are the other
828 markers referring to this buffer text. 829 markers referring to this buffer text.
829 830
858 859
859 @item pt_byte 860 @item pt_byte
860 Contains the byte position of point in a buffer. 861 Contains the byte position of point in a buffer.
861 862
862 @item begv 863 @item begv
863 This field contains the character position of the beginning of the 864 This field contains the character position of the beginning of the
864 accessible range of text in the buffer. 865 accessible range of text in the buffer.
865 866
866 @item begv_byte 867 @item begv_byte
867 This field contains the byte position of the beginning of the 868 This field contains the byte position of the beginning of the
868 accessible range of text in the buffer. 869 accessible range of text in the buffer.
869 870
870 @item zv 871 @item zv
871 This field contains the character position of the end of the 872 This field contains the character position of the end of the
872 accessible range of text in the buffer. 873 accessible range of text in the buffer.
873 874
874 @item zv_byte 875 @item zv_byte
875 This field contains the byte position of the end of the 876 This field contains the byte position of the end of the
876 accessible range of text in the buffer. 877 accessible range of text in the buffer.
877 878
878 @item base_buffer 879 @item base_buffer
879 In an indirect buffer, this points to the base buffer. In an ordinary 880 In an indirect buffer, this points to the base buffer. In an ordinary
880 buffer, it is null. 881 buffer, it is null.
905 906
906 @item clip_changed 907 @item clip_changed
907 This flag is set when narrowing changes in a buffer. 908 This flag is set when narrowing changes in a buffer.
908 909
909 @item prevent_redisplay_optimizations_p 910 @item prevent_redisplay_optimizations_p
910 this flag indicates that redisplay optimizations should not be used 911 this flag indicates that redisplay optimizations should not be used
911 to display this buffer. 912 to display this buffer.
912 913
913 @item undo_list 914 @item undo_list
914 This field points to the buffer's undo list. @xref{Undo}. 915 This field points to the buffer's undo list. @xref{Undo}.
915 916
917 The buffer name is a string that names the buffer. It is guaranteed to 918 The buffer name is a string that names the buffer. It is guaranteed to
918 be unique. @xref{Buffer Names}. 919 be unique. @xref{Buffer Names}.
919 920
920 @item filename 921 @item filename
921 The name of the file visited in this buffer, or @code{nil}. 922 The name of the file visited in this buffer, or @code{nil}.
922 923
923 @item directory 924 @item directory
924 The directory for expanding relative file names. 925 The directory for expanding relative file names.
925 926
926 @item save_length 927 @item save_length
927 Length of the file this buffer is visiting, when last read or saved. 928 Length of the file this buffer is visiting, when last read or saved.
928 This and other fields concerned with saving are not kept in the 929 This and other fields concerned with saving are not kept in the
929 @code{buffer_text} structure because indirect buffers are never saved. 930 @code{buffer_text} structure because indirect buffers are never saved.
930 931
931 @item auto_save_file_name 932 @item auto_save_file_name
932 File name used for auto-saving this buffer. This is not in the 933 File name used for auto-saving this buffer. This is not in the
933 @code{buffer_text} because it's not used in indirect buffers at all. 934 @code{buffer_text} because it's not used in indirect buffers at all.
934 935
935 @item read_only 936 @item read_only
936 Non-@code{nil} means this buffer is read-only. 937 Non-@code{nil} means this buffer is read-only.
937 938
955 @item mode_line_format 956 @item mode_line_format
956 Mode line element that controls the format of the mode line. If this 957 Mode line element that controls the format of the mode line. If this
957 is @code{nil}, no mode line will be displayed. 958 is @code{nil}, no mode line will be displayed.
958 959
959 @item header_line_format 960 @item header_line_format
960 This field is analoguous to @code{mode_line_format} for the mode 961 This field is analoguous to @code{mode_line_format} for the mode
961 line displayed at the top of windows. 962 line displayed at the top of windows.
962 963
963 @item keymap 964 @item keymap
964 This field holds the buffer's local keymap. @xref{Keymaps}. 965 This field holds the buffer's local keymap. @xref{Keymaps}.
965 966
1065 1066
1066 @item begv_marker 1067 @item begv_marker
1067 In an indirect buffer, or a buffer that is the base of an indirect 1068 In an indirect buffer, or a buffer that is the base of an indirect
1068 buffer, this holds a marker that records @code{begv} for this buffer 1069 buffer, this holds a marker that records @code{begv} for this buffer
1069 when the buffer is not current. 1070 when the buffer is not current.
1070 1071
1071 @item zv_marker 1072 @item zv_marker
1072 In an indirect buffer, or a buffer that is the base of an indirect 1073 In an indirect buffer, or a buffer that is the base of an indirect
1073 buffer, this holds a marker that records @code{zv} for this buffer when 1074 buffer, this holds a marker that records @code{zv} for this buffer when
1074 the buffer is not current. 1075 the buffer is not current.
1075 1076
1100 This holds a time stamp that is updated each time this buffer is 1101 This holds a time stamp that is updated each time this buffer is
1101 displayed in a window. 1102 displayed in a window.
1102 1103
1103 @item scroll_up_aggressively 1104 @item scroll_up_aggressively
1104 The value of @code{scroll-up-aggressively} in this buffer. 1105 The value of @code{scroll-up-aggressively} in this buffer.
1105 1106
1106 @item scroll_down_aggressively 1107 @item scroll_down_aggressively
1107 The value of @code{scroll-down-aggressively} in this buffer. 1108 The value of @code{scroll-down-aggressively} in this buffer.
1108 @end table 1109 @end table
1109 1110
1110 @node Window Internals 1111 @node Window Internals
1184 redisplay does if point is off the screen: instead of scrolling the 1185 redisplay does if point is off the screen: instead of scrolling the
1185 window to show the text around point, it moves point to a location that 1186 window to show the text around point, it moves point to a location that
1186 is on the screen. 1187 is on the screen.
1187 1188
1188 @item frozen_window_start_p 1189 @item frozen_window_start_p
1189 This field is set temporarily to 1 to indicate to redisplay that 1190 This field is set temporarily to 1 to indicate to redisplay that
1190 @code{start} of this window should not be changed, even if point 1191 @code{start} of this window should not be changed, even if point
1191 gets invisible. 1192 gets invisible.
1192 1193
1193 @item start_at_line_beg 1194 @item start_at_line_beg
1194 Non-@code{nil} means current value of @code{start} was the beginning of a line 1195 Non-@code{nil} means current value of @code{start} was the beginning of a line