diff options
| author | Stefan Monnier | 2003-05-25 00:45:01 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-05-25 00:45:01 +0000 |
| commit | 9018a88ed6de37d8f33a7820781f0dc983617689 (patch) | |
| tree | 87603c2c316e51b39d3c2dbd22aeddf1f619cc38 /src | |
| parent | aeeace45c821a6f6912e578c5f09dab7da7e20f1 (diff) | |
| download | emacs-9018a88ed6de37d8f33a7820781f0dc983617689.tar.gz emacs-9018a88ed6de37d8f33a7820781f0dc983617689.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 63 |
1 files changed, 36 insertions, 27 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ed47a31bef1..7e7298ee22d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -9,11 +9,11 @@ | |||
| 9 | 2) Allow fringe and scroll bar parameters to be set per-buffer and | 9 | 2) Allow fringe and scroll bar parameters to be set per-buffer and |
| 10 | per-window (like display margins). Such settings are now stored | 10 | per-window (like display margins). Such settings are now stored |
| 11 | in window configurations, preserved when frames are resized, and | 11 | in window configurations, preserved when frames are resized, and |
| 12 | copied when windows are split vertically or horisontally. | 12 | copied when windows are split vertically or horizontally. |
| 13 | Several bugs related to display margins have been fixed. | 13 | Several bugs related to display margins have been fixed. |
| 14 | 14 | ||
| 15 | 3) Consistently use FRAME_FONT and FRAME_FONTSET macros. | 15 | 3) Consistently use FRAME_FONT and FRAME_FONTSET macros. |
| 16 | 16 | ||
| 17 | 4) Use FRAME_COLUMN_WIDTH (f) consistently throughout the code | 17 | 4) Use FRAME_COLUMN_WIDTH (f) consistently throughout the code |
| 18 | rather than FRAME_WIDTH (FRAME_FONT (f)). | 18 | rather than FRAME_WIDTH (FRAME_FONT (f)). |
| 19 | 19 | ||
| @@ -179,7 +179,7 @@ | |||
| 179 | that referred to FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT and | 179 | that referred to FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT and |
| 180 | FRAME_SCROLL_BAR_WIDTH. | 180 | FRAME_SCROLL_BAR_WIDTH. |
| 181 | (WINDOW_SCROLL_BAR_COLS, WINDOW_SCROLL_BAR_AREA_WIDTH) | 181 | (WINDOW_SCROLL_BAR_COLS, WINDOW_SCROLL_BAR_AREA_WIDTH) |
| 182 | (WINDOW_SCROLL_BAR_AREA_X): New macros. | 182 | (WINDOW_SCROLL_BAR_AREA_X): New macros. |
| 183 | (WINDOW_HEADER_LINE_HEIGHT): Renamed from | 183 | (WINDOW_HEADER_LINE_HEIGHT): Renamed from |
| 184 | WINDOW_DISPLAY_HEADER_LINE_HEIGHT, moved from dispextern.h. | 184 | WINDOW_DISPLAY_HEADER_LINE_HEIGHT, moved from dispextern.h. |
| 185 | (WINDOW_BOX_HEIGHT_NO_MODE_LINE): Renamed from | 185 | (WINDOW_BOX_HEIGHT_NO_MODE_LINE): Renamed from |
| @@ -196,9 +196,9 @@ | |||
| 196 | (window_from_coordinates): Update prototype. | 196 | (window_from_coordinates): Update prototype. |
| 197 | (Fset_window_buffer): Update EXFUN. | 197 | (Fset_window_buffer): Update EXFUN. |
| 198 | (set_window_buffer): Update prototype. | 198 | (set_window_buffer): Update prototype. |
| 199 | 199 | ||
| 200 | * dispextern.h (struct glyph_matrix): Rename members window_left_x | 200 | * dispextern.h (struct glyph_matrix): Rename members window_left_x |
| 201 | to window_left_col, window_top_y to window_top_line. All uses | 201 | to window_left_col, window_top_y to window_top_line. All uses |
| 202 | changed. | 202 | changed. |
| 203 | (FRAME_INTERNAL_BORDER_WIDTH_SAFE): Remove macro; can now safely | 203 | (FRAME_INTERNAL_BORDER_WIDTH_SAFE): Remove macro; can now safely |
| 204 | use FRAME_INTERNAL_BORDER_WIDTH macro instead as | 204 | use FRAME_INTERNAL_BORDER_WIDTH macro instead as |
| @@ -212,11 +212,11 @@ | |||
| 212 | (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) | 212 | (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) |
| 213 | (WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH) | 213 | (WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH) |
| 214 | (WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, WINDOW_WANTS_MODELINE_P): | 214 | (WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, WINDOW_WANTS_MODELINE_P): |
| 215 | Move to window.h and renamed [see window.h changes]. | 215 | Move to window.h and renamed [see window.h changes]. |
| 216 | (WINDOW_AREA_TO_FRAME_PIXEL_X, WINDOW_AREA_PIXEL_WIDTH) | 216 | (WINDOW_AREA_TO_FRAME_PIXEL_X, WINDOW_AREA_PIXEL_WIDTH) |
| 217 | (WINDOW_DISPLAY_TEXT_AREA_PIXEL_WIDTH): Remove macros. | 217 | (WINDOW_DISPLAY_TEXT_AREA_PIXEL_WIDTH): Remove macros. |
| 218 | (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Use | 218 | (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): |
| 219 | WINDOW_TOTAL_LINES. | 219 | Use WINDOW_TOTAL_LINES. |
| 220 | (frame_update_line_height): Remove prototype. | 220 | (frame_update_line_height): Remove prototype. |
| 221 | 221 | ||
| 222 | * buffer.h (struct buffer): Rename members measured in columns: | 222 | * buffer.h (struct buffer): Rename members measured in columns: |
| @@ -239,7 +239,7 @@ | |||
| 239 | (mode_line_string): No need to adjust width for mode lines, as it | 239 | (mode_line_string): No need to adjust width for mode lines, as it |
| 240 | is already adjusted by the caller. | 240 | is already adjusted by the caller. |
| 241 | (marginal_area_string): Handle fringes inside/outside margins. | 241 | (marginal_area_string): Handle fringes inside/outside margins. |
| 242 | 242 | ||
| 243 | * frame.c: Make (many) trivial substitutions for renamed and | 243 | * frame.c: Make (many) trivial substitutions for renamed and |
| 244 | new macros in dispextern.h, frame.h and window.h. | 244 | new macros in dispextern.h, frame.h and window.h. |
| 245 | (make_frame): Initialize left_fringe_width, right_fringe_width, | 245 | (make_frame): Initialize left_fringe_width, right_fringe_width, |
| @@ -250,7 +250,7 @@ | |||
| 250 | 250 | ||
| 251 | * gtkutil.c: Make (many) trivial substitutions for renamed and | 251 | * gtkutil.c: Make (many) trivial substitutions for renamed and |
| 252 | new macros in dispextern.h, frame.h and window.h. | 252 | new macros in dispextern.h, frame.h and window.h. |
| 253 | 253 | ||
| 254 | * indent.c: Make (few) trivial substitutions for renamed and | 254 | * indent.c: Make (few) trivial substitutions for renamed and |
| 255 | new macros in dispextern.h, frame.h and window.h. | 255 | new macros in dispextern.h, frame.h and window.h. |
| 256 | 256 | ||
| @@ -286,9 +286,9 @@ | |||
| 286 | right_fringe_width, fringes_outside_margins, scroll_bar_width, | 286 | right_fringe_width, fringes_outside_margins, scroll_bar_width, |
| 287 | and vertical_scroll_bar_type. | 287 | and vertical_scroll_bar_type. |
| 288 | (coordinates_in_window): Adapted to new fringe/margin positions | 288 | (coordinates_in_window): Adapted to new fringe/margin positions |
| 289 | and per-window fringes and scroll-bars. | 289 | and per-window fringes and scroll-bars. |
| 290 | Fix bug related to incorrectly adjusting coordinates by | 290 | Fix bug related to incorrectly adjusting coordinates by |
| 291 | frame's internal_border_width (the effect normally negible since | 291 | frame's internal_border_width (the effect normally negible since |
| 292 | the internal_border_width is typically 0 or 1 pixel, but very | 292 | the internal_border_width is typically 0 or 1 pixel, but very |
| 293 | noticeable for an internal_border_width of e.g. 25 pixels). | 293 | noticeable for an internal_border_width of e.g. 25 pixels). |
| 294 | Upon successful return (other than ON_NOTHING), the coordinates | 294 | Upon successful return (other than ON_NOTHING), the coordinates |
| @@ -308,8 +308,8 @@ | |||
| 308 | Fset_window_scroll_bars to setup per-window elements. | 308 | Fset_window_scroll_bars to setup per-window elements. |
| 309 | Add new arg KEEP_MARGINS_P. Non-nil means to keep window's | 309 | Add new arg KEEP_MARGINS_P. Non-nil means to keep window's |
| 310 | existing display margin, fringe widths, and scroll bar settings | 310 | existing display margin, fringe widths, and scroll bar settings |
| 311 | (e.g. after splitting a window or resizing the frame). All | 311 | (e.g. after splitting a window or resizing the frame). |
| 312 | callers changed. | 312 | All callers changed. |
| 313 | (Fset_window_buffer): New arg KEEP_MARGINS. All callers changed. | 313 | (Fset_window_buffer): New arg KEEP_MARGINS. All callers changed. |
| 314 | (Fsplit_window): Duplicate original window's display margin, | 314 | (Fsplit_window): Duplicate original window's display margin, |
| 315 | fringe, and scroll-bar settings; then call Fset_window_buffer with | 315 | fringe, and scroll-bar settings; then call Fset_window_buffer with |
| @@ -320,8 +320,8 @@ | |||
| 320 | narrow. This fixes a bug which could cause emacs to trap if the | 320 | narrow. This fixes a bug which could cause emacs to trap if the |
| 321 | width of the split window was less than the width of the display | 321 | width of the split window was less than the width of the display |
| 322 | margins. | 322 | margins. |
| 323 | (window_box_text_cols): Renamed from window_internal_width. All | 323 | (window_box_text_cols): Renamed from window_internal_width. |
| 324 | uses changed. Adapt to per-window fringes and scroll bars. | 324 | All uses changed. Adapt to per-window fringes and scroll bars. |
| 325 | Fix bug that caused vertical separator to be subtracted also on | 325 | Fix bug that caused vertical separator to be subtracted also on |
| 326 | window frames. Fix another bug that did not reduce the returned | 326 | window frames. Fix another bug that did not reduce the returned |
| 327 | value by the columns used for display margins. | 327 | value by the columns used for display margins. |
| @@ -378,18 +378,18 @@ | |||
| 378 | (window_box): Allow null args for unnecessary return values; | 378 | (window_box): Allow null args for unnecessary return values; |
| 379 | change/simplify relevant callers. | 379 | change/simplify relevant callers. |
| 380 | (x_y_to_hpos_vpos): Adapt to per-window fringes and scroll bars, | 380 | (x_y_to_hpos_vpos): Adapt to per-window fringes and scroll bars, |
| 381 | and new fringe vs. display margin position. Use | 381 | and new fringe vs. display margin position. |
| 382 | window_box_left_offset and window_box_right_offset | 382 | Use window_box_left_offset and window_box_right_offset |
| 383 | (get_glyph_string_clip_rect): Adapt to per-window fringes and | 383 | (get_glyph_string_clip_rect): Adapt to per-window fringes and |
| 384 | scroll bars, and new fringe vs. display margin position. Use | 384 | scroll bars, and new fringe vs. display margin position. |
| 385 | WINDOW_LEFT_EDGE_X and WINDOW_TOTAL_WIDTH. | 385 | Use WINDOW_LEFT_EDGE_X and WINDOW_TOTAL_WIDTH. |
| 386 | (draw_fringe_bitmap): Rework to handle per-window fringes and new | 386 | (draw_fringe_bitmap): Rework to handle per-window fringes and new |
| 387 | fringe vs. display margin position. | 387 | fringe vs. display margin position. |
| 388 | (hscroll_window_tree): Use window_box_width instead of window_box. | 388 | (hscroll_window_tree): Use window_box_width instead of window_box. |
| 389 | (redisplay_window): Adapt to per-window scroll bars. | 389 | (redisplay_window): Adapt to per-window scroll bars. |
| 390 | (draw_glyphs): Rework to handle per-window fringes and scroll | 390 | (draw_glyphs): Rework to handle per-window fringes and scroll |
| 391 | bars, and new fringe vs. display margin position. Use | 391 | bars, and new fringe vs. display margin position. |
| 392 | WINDOW_LEFT_EDGE_X, WINDOW_TOTAL_WIDTH, and window_box_left. | 392 | Use WINDOW_LEFT_EDGE_X, WINDOW_TOTAL_WIDTH, and window_box_left. |
| 393 | (x_clear_end_of_line): Adapt to per-window fringes and scroll | 393 | (x_clear_end_of_line): Adapt to per-window fringes and scroll |
| 394 | bars, and new fringe vs. display margin position. Fix bug which | 394 | bars, and new fringe vs. display margin position. Fix bug which |
| 395 | increased total width of full_width rows by width of scroll bars | 395 | increased total width of full_width rows by width of scroll bars |
| @@ -426,7 +426,7 @@ | |||
| 426 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | 426 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) |
| 427 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h | 427 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h |
| 428 | and renamed [see frame.h changes]. | 428 | and renamed [see frame.h changes]. |
| 429 | 429 | ||
| 430 | * xterm.c: Make (several) trivial substitutions for renamed and | 430 | * xterm.c: Make (several) trivial substitutions for renamed and |
| 431 | new macros in dispextern.h, frame.h and window.h. | 431 | new macros in dispextern.h, frame.h and window.h. |
| 432 | (x_draw_glyph_string_box): Adapt to per-window fringes and | 432 | (x_draw_glyph_string_box): Adapt to per-window fringes and |
| @@ -460,7 +460,7 @@ | |||
| 460 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | 460 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) |
| 461 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h | 461 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h |
| 462 | and renamed [see frame.h changes]. | 462 | and renamed [see frame.h changes]. |
| 463 | 463 | ||
| 464 | * w32term.c: Make (several) trivial substitutions for renamed and | 464 | * w32term.c: Make (several) trivial substitutions for renamed and |
| 465 | new macros in dispextern.h, frame.h and window.h. | 465 | new macros in dispextern.h, frame.h and window.h. |
| 466 | (x_draw_glyph_string_box): Adapt to per-window fringes and | 466 | (x_draw_glyph_string_box): Adapt to per-window fringes and |
| @@ -501,7 +501,7 @@ | |||
| 501 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | 501 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) |
| 502 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h | 502 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h |
| 503 | and renamed [see frame.h changes]. | 503 | and renamed [see frame.h changes]. |
| 504 | 504 | ||
| 505 | * macterm.c: Make (several) trivial substitutions for renamed and | 505 | * macterm.c: Make (several) trivial substitutions for renamed and |
| 506 | new macros in dispextern.h, frame.h and window.h. | 506 | new macros in dispextern.h, frame.h and window.h. |
| 507 | (x_draw_glyph_string_box): Adapt to per-window fringes and | 507 | (x_draw_glyph_string_box): Adapt to per-window fringes and |
| @@ -519,7 +519,7 @@ | |||
| 519 | 519 | ||
| 520 | * macfns.c: Make (several) trivial substitutions for renamed and | 520 | * macfns.c: Make (several) trivial substitutions for renamed and |
| 521 | new macros in dispextern.h, frame.h and window.h. | 521 | new macros in dispextern.h, frame.h and window.h. |
| 522 | (x_real_positions): Set f->x_pixels_diff and f->y_pixels_diff to 0. | 522 | (x_real_positions): Set f->x_pixels_diff and f->y_pixels_diff to 0. |
| 523 | 523 | ||
| 524 | * macmenu.c: Make (few) trivial substitutions for renamed and | 524 | * macmenu.c: Make (few) trivial substitutions for renamed and |
| 525 | new macros in dispextern.h, frame.h and window.h. | 525 | new macros in dispextern.h, frame.h and window.h. |
| @@ -533,10 +533,15 @@ | |||
| 533 | * msdos.c: Make (several) trivial substitutions for renamed and | 533 | * msdos.c: Make (several) trivial substitutions for renamed and |
| 534 | new macros in dispextern.h, frame.h and window.h. | 534 | new macros in dispextern.h, frame.h and window.h. |
| 535 | (IT_note_mouse_highlight): Use updated window coordinates returned | 535 | (IT_note_mouse_highlight): Use updated window coordinates returned |
| 536 | by window_from_coordinates, rather than adjusting them locally. | 536 | by window_from_coordinates, rather than adjusting them locally. |
| 537 | (internal_terminal_init): No need to initialize line_height here; | 537 | (internal_terminal_init): No need to initialize line_height here; |
| 538 | it now defaults to 1. | 538 | it now defaults to 1. |
| 539 | 539 | ||
| 540 | 2003-05-24 Stefan Monnier <monnier@cs.yale.edu> | ||
| 541 | |||
| 542 | * keyboard.c (read_key_sequence): Adjust fkey and keytran when | ||
| 543 | dropping `down' events. | ||
| 544 | |||
| 540 | 2003-05-24 Andreas Schwab <schwab@suse.de> | 545 | 2003-05-24 Andreas Schwab <schwab@suse.de> |
| 541 | 546 | ||
| 542 | * coding.c (find_safe_codings): Fix last change. | 547 | * coding.c (find_safe_codings): Fix last change. |
| @@ -547,6 +552,10 @@ | |||
| 547 | 552 | ||
| 548 | 2003-05-23 Stefan Monnier <monnier@cs.yale.edu> | 553 | 2003-05-23 Stefan Monnier <monnier@cs.yale.edu> |
| 549 | 554 | ||
| 555 | * xdisp.c (display_mode_element): Increase max depth. | ||
| 556 | Simplify the error handling code. Use a different error string | ||
| 557 | for the case where we hit the depth limit. | ||
| 558 | |||
| 550 | * lisp.h (Vfundamental_mode_abbrev_table): Don't declare. | 559 | * lisp.h (Vfundamental_mode_abbrev_table): Don't declare. |
| 551 | 560 | ||
| 552 | * buffer.c (reset_buffer_local_variables): Remove redundant setting. | 561 | * buffer.c (reset_buffer_local_variables): Remove redundant setting. |