comparison src/ChangeLog @ 96231:2b8c49fb8d24

* buffer.h (struct buffer): New member word_wrap. * buffer.c (syms_of_buffer): New variables default-word-wrap and word-wrap. (init_buffer_once): Initialize them. * dispextern.h (struct it): Replace bool truncate_lines_p with a line_wrap enum possessing three possible values. * termopts.h: Replace truncate_partial_width_windows with Vtruncate_partial_width_windows. * dispnew.c (direct_output_for_insert): Avoid direct output when inserting a space with word wrap on. * indent.c (compute_motion): Obey integer values of truncate-partial-width-windows. * xdisp.c (Vtruncate_partial_width_windows): New Lisp_Object, replacing truncate_partial_width_windows. (init_iterator): If Vtruncate_partial_width_windows is an integer, truncate only if the window width is below that integer. (start_display. resize_mini_window, produce_stretch_glyph) (display_string, move_it_in_display_line_to): Use line_wrap. (back_to_previous_visible_line_start, reseat_1): Reset string_from_display_prop_p. (display_line): Extend default face to end of line when wrapping. (display_line, move_it_in_display_line_to): Add ability to wrap continued lines at word boundaries.
author Chong Yidong <cyd@stupidchicken.com>
date Tue, 24 Jun 2008 17:54:59 +0000
parents 39e0a654d387
children 366bb0df9a46
comparison
equal deleted inserted replaced
96230:07ecdd924140 96231:2b8c49fb8d24
1 2008-06-24 Chong Yidong <cyd@stupidchicken.com>
2
3 * buffer.h (struct buffer): New member word_wrap.
4
5 * buffer.c (syms_of_buffer): New variables default-word-wrap and
6 word-wrap.
7 (init_buffer_once): Initialize them.
8
9 * dispextern.h (struct it): Replace bool truncate_lines_p with a
10 line_wrap enum possessing three possible values.
11
12 * termopts.h: Replace truncate_partial_width_windows with
13 Vtruncate_partial_width_windows.
14
15 * dispnew.c (direct_output_for_insert): Avoid direct output when
16 inserting a space with word wrap on.
17
18 * indent.c (compute_motion): Obey integer values of
19 truncate-partial-width-windows.
20
21 * xdisp.c (Vtruncate_partial_width_windows): New Lisp_Object,
22 replacing truncate_partial_width_windows.
23 (init_iterator): If Vtruncate_partial_width_windows is an integer,
24 truncate only if the window width is below that integer.
25 (start_display. resize_mini_window, produce_stretch_glyph)
26 (display_string, move_it_in_display_line_to): Use line_wrap.
27 (back_to_previous_visible_line_start, reseat_1): Reset
28 string_from_display_prop_p.
29 (display_line): Extend default face to end of line when wrapping.
30
31 2008-06-24 Kim F. Storm <storm@cua.dk>
32
33 * xdisp.c (display_line, move_it_in_display_line_to): Add ability
34 to wrap continued lines at word boundaries.
35
1 2008-06-24 Jason Rumney <jasonr@gnu.org> 36 2008-06-24 Jason Rumney <jasonr@gnu.org>
2 37
3 * font.c (Ffont_face_attributes): Multiply pixel size before point 38 * font.c (Ffont_face_attributes): Multiply pixel size before point
4 conversion to avoid multiplying rounding error. 39 conversion to avoid multiplying rounding error.
5 40
6 2008-06-23 Jason Rumney <jasonr@gnu.org> 41 2008-06-23 Jason Rumney <jasonr@gnu.org>
7 42
8 * w32term.c (x_draw_glyph_string_background) 43 * w32term.c (x_draw_glyph_string_background)
9 (x_draw_glyph_string): Remove old bdf font code. 44 (x_draw_glyph_string): Remove old bdf font code.
10 45
11 * w32term.h (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): Remove. 46 * w32term.h (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): Remove.
12 47
13 2008-06-22 Kenichi Handa <handa@m17n.org> 48 2008-06-22 Kenichi Handa <handa@m17n.org>
14 49
15 * font.c (font_find_for_lface): Try the adstyle specified in 50 * font.c (font_find_for_lface): Try the adstyle specified in
16 the property of LFACE_FONT of LFACE (if any). 51 the property of LFACE_FONT of LFACE (if any).