annotate INSTALL-CVS @ 51208:86d74f5ea803

(struct window): Rename members left to left_col, top to top_line, height to total_lines, width to total_cols, left_margin_width to left_margin_cols, right_margin_width to right_margin_cols, orig_height to orig_total_lines, orig_top to orig_top_line. All uses changed. (struct window): New members left_fringe_width, right_fringe_width, fringes_outside_margins, scroll_bar_width, vertical_scroll_bar_type. (WINDOW_XFRAME, WINDOW_FRAME_COLUMN_WIDTH, WINDOW_FRAME_LINE_HEIGHT): New macros primarily used to simplify other macros. (WINDOW_TOTAL_COLS): New macro. Change relevant code that referred to XINT (w->width). (WINDOW_TOTAL_LINES): New macro. Change relevant code that referred to XINT (w->height). (WINDOW_TOTAL_WIDTH): New macro. Change relevant code that referred to XINT (w->width) * canon_x_unit. (WINDOW_TOTAL_HEIGHT): New macro. Change relevant code that referred to XINT (w->height) * canon_y_unit. (WINDOW_LEFT_EDGE_COL): New macro. Change relevant code that referred to XINT (w->left). (WINDOW_RIGHT_EDGE_COL): Renamed from WINDOW_RIGHT_EDGE. Change all uses and code that referred to XINT (w->left) + XINT (w->width). (WINDOW_TOP_EDGE_LINE): New macro. Change relevant code that referred to XINT (w->top). (WINDOW_BOTTOM_EDGE_LINE): New macro. Change relevant code that referred to XINT (w->top) + XINT (w->height). (WINDOW_LEFT_EDGE_X): New macro. Change relevant code that referred to XINT (w->left) * canon_x_unit. (WINDOW_RIGHT_EDGE_X): New macro. Change relevant code that referred to (XINT (w->left) + XINT (w->width)) * canon_x_unit. (WINDOW_TOP_EDGE_Y): New macro. Change relevant code that referred to XINT (w->top) * canon_y_unit. (WINDOW_BOTTOM_EDGE_Y): New macro. Change relevant code that referred to (XINT (w->top) + XINT (w->height)) * canon_y_unit. (WINDOW_LEFTMOST_P): New macro. (WINDOW_BOX_LEFT_EDGE_COL): Renamed from WINDOW_LEFT_MARGIN. All uses changed. (WINDOW_BOX_RIGHT_EDGE_COL): Renamed from WINDOW_RIGHT_MARGIN. All uses changed. (WINDOW_BOX_LEFT_EDGE_X): Renamed from WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, moved from dispextern.h. Do not exclude left fringe width. (WINDOW_BOX_RIGHT_EDGE_X): Renamed from WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X, moved from dispextern.h. Do not exclude fringe widths. (WINDOW_LEFT_FRINGE_WIDTH, WINDOW_RIGHT_FRINGE_WIDTH) (WINDOW_FRINGE_COLS, WINDOW_TOTAL_FRINGE_WIDTH): New macros. Change relevant code that referred to FRAME_LEFT_FRINGE_WIDTH, FRAME_RIGHT_FRINGE_WIDTH, FRAME_FRINGE_COLS, and FRAME_TOTAL_FRINGE_WIDTH to allow per-window fringe settings. (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS): New macro. (WINDOW_VERTICAL_SCROLL_BAR_TYPE, WINDOW_HAS_VERTICAL_SCROLL_BAR) (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT) (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT) (WINDOW_CONFIG_SCROLL_BAR_WIDTH, WINDOW_CONFIG_SCROLL_BAR_COLS): New macros. Change code which referenced corresponding FRAME_VERTICAL_SCROLL_BAR_TYPE, FRAME_HAS_VERTICAL_SCROLL_BARS, FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT, FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT, FRAME_SCROLL_BAR_PIXEL_WIDTH, and FRAME_SCROLL_BAR_COLS macros to allow per-window scroll-bar settings. (WINDOW_LEFT_SCROLL_BAR_COLS, WINDOW_RIGHT_SCROLL_BAR_COLS): New macros. (WINDOW_LEFT_SCROLL_BAR_AREA_WIDTH): New macro. Change code that referred to FRAME_LEFT_SCROLL_BAR_WIDTH. (WINDOW_RIGHT_SCROLL_BAR_AREA_WIDTH): New macro. Change code that referred to FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT and FRAME_SCROLL_BAR_WIDTH. (WINDOW_SCROLL_BAR_COLS, WINDOW_SCROLL_BAR_AREA_WIDTH) (WINDOW_SCROLL_BAR_AREA_X): New macros. (WINDOW_HEADER_LINE_HEIGHT): Renamed from WINDOW_DISPLAY_HEADER_LINE_HEIGHT, moved from dispextern.h. (WINDOW_BOX_HEIGHT_NO_MODE_LINE): Renamed from WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, moved from dispextern.h. (WINDOW_BOX_TEXT_HEIGHT): Renamed from WINDOW_DISPLAY_PIXEL_WIDTH, moved from dispextern.h. (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) (WINDOW_TEXT_TO_FRAME_PIXEL_X): Moved here from dispextern.h. (WINDOW_LEFT_MARGIN_WIDTH): Renamed from WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH, moved from dispextern.h. (WINDOW_RIGHT_MARGIN_WIDTH): Renamed from WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, moved from dispextern.h. (window_from_coordinates): Update prototype. (Fset_window_buffer): Update EXFUN. (set_window_buffer): Update prototype.
author Kim F. Storm <storm@cua.dk>
date Sat, 24 May 2003 22:08:20 +0000
parents ca7aa82d6f39
children 88cd9cfe5459
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
45852
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1 Building and Installing Emacs from CVS
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
2
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
3 Some of the files that are included in the Emacs tarball, such as
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
4 byte-compiled Lisp files, are not stored in the CVS repository.
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
5 Therefore, to build from CVS you must run "make bootstrap"
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
6 instead of just "make":
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
7
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
8 $ ./configure
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
9 $ make bootstrap
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
10
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
11 The bootstrap process makes sure all necessary files are rebuilt
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12 before it builds the final Emacs binary.
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14 Normally, it is not necessary to use "make bootstrap" after every CVS
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
15 update. Unless there are problems, we suggest the following
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16 procedure:
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
17
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18 $ ./configure
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19 $ make
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20 $ cd lisp
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21 $ make recompile EMACS=../src/emacs
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22 $ cd ..
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
23 $ make
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25 (If you want to install the Emacs binary, type "make install" instead
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
26 of "make" in the last command.)
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
28 If the above procedure fails, try "make bootstrap".
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
29
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
30 Users of non-Posix systems (MS-Windows etc.) should run the
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
31 platform-specific configuration scripts (nt/configure.bat, config.bat,
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
32 etc.) before "make bootstrap" or "make"; the rest of the procedure is
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
33 applicable to those systems as well.
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
34
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35 Note that "make bootstrap" overwrites some files that are under CVS
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
36 control, such as lisp/loaddefs.el. This could produce CVS conflicts
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
37 next time that you resync with the CVS. If you see such conflicts,
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
38 overwrite your local copy of the file with the clean version from the
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
39 CVS repository. For example:
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
40
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
41 cvs update -C lisp/loaddefs.el
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
42
50100
ca7aa82d6f39 *** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 45852
diff changeset
43 Questions, requests, and bug reports about the CVS versions of Emacs
ca7aa82d6f39 *** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 45852
diff changeset
44 sould be sent to emacs-pretest-bug@gnu.org rather.