diff options
| author | Karoly Lorentey | 2005-06-21 15:45:30 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-06-21 15:45:30 +0000 |
| commit | f3479ceeb65724094be33b49bae289a81f42b6ee (patch) | |
| tree | 505f3924a1c689929c68105fbaf1a4f98f014b42 /src | |
| parent | a3fbb8977ddcc3f913058d323af6034cb70561a9 (diff) | |
| parent | 9afc7f1bc3cbb494759cb5bc55a16f88d2f300c3 (diff) | |
| download | emacs-f3479ceeb65724094be33b49bae289a81f42b6ee.tar.gz emacs-f3479ceeb65724094be33b49bae289a81f42b6ee.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 435-437)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-435
Implement tty vertical-divider face
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-436
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-437
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-352
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 17 | ||||
| -rw-r--r-- | src/dispextern.h | 1 | ||||
| -rw-r--r-- | src/dispnew.c | 13 | ||||
| -rw-r--r-- | src/fns.c | 2 | ||||
| -rw-r--r-- | src/xfaces.c | 5 |
5 files changed, 31 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 12e52237e9b..a6532912246 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,18 @@ | |||
| 1 | 2005-06-20 Kim F. Storm <storm@cua.dk> | ||
| 2 | |||
| 3 | * fns.c (Fsort): Doc fix. | ||
| 4 | |||
| 5 | 2005-06-20 Miles Bader <miles@gnu.org> | ||
| 6 | |||
| 7 | * xfaces.c (Qvertical_divider): New variable. | ||
| 8 | (realize_basic_faces): Realize its face. | ||
| 9 | (syms_of_xfaces): Initialize it. | ||
| 10 | |||
| 11 | * dispextern.h (enum face_id): Add `VERTICAL_DIVIDER_FACE_ID'. | ||
| 12 | |||
| 13 | * dispnew.c (build_frame_matrix_from_leaf_window): Display vertical | ||
| 14 | window-separator on ttys using `vertical-divider' face by default. | ||
| 15 | |||
| 1 | 2005-06-17 Richard M. Stallman <rms@gnu.org> | 16 | 2005-06-17 Richard M. Stallman <rms@gnu.org> |
| 2 | 17 | ||
| 3 | * xdisp.c (get_next_display_element): Reverse | 18 | * xdisp.c (get_next_display_element): Reverse |
| @@ -6,7 +21,7 @@ | |||
| 6 | * term.c (produce_special_glyphs): Use spec_glyph_lookup_face. | 21 | * term.c (produce_special_glyphs): Use spec_glyph_lookup_face. |
| 7 | (Ftty_no_underline): New function. | 22 | (Ftty_no_underline): New function. |
| 8 | (syms_of_term): defsubr it. | 23 | (syms_of_term): defsubr it. |
| 9 | 24 | ||
| 10 | * keyboard.c (read_char): Call restore_getcjmp after jump occurs. | 25 | * keyboard.c (read_char): Call restore_getcjmp after jump occurs. |
| 11 | 26 | ||
| 12 | * dispnew.c (spec_glyph_lookup_face): New function. | 27 | * dispnew.c (spec_glyph_lookup_face): New function. |
diff --git a/src/dispextern.h b/src/dispextern.h index 8648303af8c..5219a6e924f 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -1588,6 +1588,7 @@ enum face_id | |||
| 1588 | CURSOR_FACE_ID, | 1588 | CURSOR_FACE_ID, |
| 1589 | MOUSE_FACE_ID, | 1589 | MOUSE_FACE_ID, |
| 1590 | MENU_FACE_ID, | 1590 | MENU_FACE_ID, |
| 1591 | VERTICAL_DIVIDER_FACE_ID, | ||
| 1591 | BASIC_FACE_ID_SENTINEL | 1592 | BASIC_FACE_ID_SENTINEL |
| 1592 | }; | 1593 | }; |
| 1593 | 1594 | ||
diff --git a/src/dispnew.c b/src/dispnew.c index 30897a7a78f..307e3c5f010 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -2708,10 +2708,15 @@ build_frame_matrix_from_leaf_window (frame_matrix, w) | |||
| 2708 | if (!WINDOW_RIGHTMOST_P (w)) | 2708 | if (!WINDOW_RIGHTMOST_P (w)) |
| 2709 | { | 2709 | { |
| 2710 | struct Lisp_Char_Table *dp = window_display_table (w); | 2710 | struct Lisp_Char_Table *dp = window_display_table (w); |
| 2711 | right_border_glyph = (dp && INTEGERP (DISP_BORDER_GLYPH (dp)) | 2711 | |
| 2712 | ? XINT (DISP_BORDER_GLYPH (dp)) | 2712 | right_border_glyph |
| 2713 | : '|'); | 2713 | = ((dp && INTEGERP (DISP_BORDER_GLYPH (dp))) |
| 2714 | right_border_glyph = spec_glyph_lookup_face (w, right_border_glyph); | 2714 | ? spec_glyph_lookup_face (w, XINT (DISP_BORDER_GLYPH (dp))) |
| 2715 | : '|'); | ||
| 2716 | |||
| 2717 | if (FAST_GLYPH_FACE (right_border_glyph) <= 0) | ||
| 2718 | right_border_glyph | ||
| 2719 | = FAST_MAKE_GLYPH (right_border_glyph, VERTICAL_DIVIDER_FACE_ID); | ||
| 2715 | } | 2720 | } |
| 2716 | } | 2721 | } |
| 2717 | else | 2722 | else |
| @@ -1892,7 +1892,7 @@ Lisp_Object merge (); | |||
| 1892 | DEFUN ("sort", Fsort, Ssort, 2, 2, 0, | 1892 | DEFUN ("sort", Fsort, Ssort, 2, 2, 0, |
| 1893 | doc: /* Sort LIST, stably, comparing elements using PREDICATE. | 1893 | doc: /* Sort LIST, stably, comparing elements using PREDICATE. |
| 1894 | Returns the sorted list. LIST is modified by side effects. | 1894 | Returns the sorted list. LIST is modified by side effects. |
| 1895 | PREDICATE is called with two elements of LIST, and should return t | 1895 | PREDICATE is called with two elements of LIST, and should return non-nil |
| 1896 | if the first element is "less" than the second. */) | 1896 | if the first element is "less" than the second. */) |
| 1897 | (list, predicate) | 1897 | (list, predicate) |
| 1898 | Lisp_Object list, predicate; | 1898 | Lisp_Object list, predicate; |
diff --git a/src/xfaces.c b/src/xfaces.c index f55ee7a901f..2494e1e1837 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -327,7 +327,7 @@ Lisp_Object Qframe_update_face_colors; | |||
| 327 | 327 | ||
| 328 | Lisp_Object Qdefault, Qtool_bar, Qregion, Qfringe; | 328 | Lisp_Object Qdefault, Qtool_bar, Qregion, Qfringe; |
| 329 | Lisp_Object Qheader_line, Qscroll_bar, Qcursor, Qborder, Qmouse, Qmenu; | 329 | Lisp_Object Qheader_line, Qscroll_bar, Qcursor, Qborder, Qmouse, Qmenu; |
| 330 | Lisp_Object Qmode_line_inactive; | 330 | Lisp_Object Qmode_line_inactive, Qvertical_divider; |
| 331 | extern Lisp_Object Qmode_line; | 331 | extern Lisp_Object Qmode_line; |
| 332 | 332 | ||
| 333 | /* The symbol `face-alias'. A symbols having that property is an | 333 | /* The symbol `face-alias'. A symbols having that property is an |
| @@ -6899,6 +6899,7 @@ realize_basic_faces (f) | |||
| 6899 | realize_named_face (f, Qcursor, CURSOR_FACE_ID); | 6899 | realize_named_face (f, Qcursor, CURSOR_FACE_ID); |
| 6900 | realize_named_face (f, Qmouse, MOUSE_FACE_ID); | 6900 | realize_named_face (f, Qmouse, MOUSE_FACE_ID); |
| 6901 | realize_named_face (f, Qmenu, MENU_FACE_ID); | 6901 | realize_named_face (f, Qmenu, MENU_FACE_ID); |
| 6902 | realize_named_face (f, Qvertical_divider, VERTICAL_DIVIDER_FACE_ID); | ||
| 6902 | 6903 | ||
| 6903 | /* Reflect changes in the `menu' face in menu bars. */ | 6904 | /* Reflect changes in the `menu' face in menu bars. */ |
| 6904 | if (FRAME_FACE_CACHE (f)->menu_face_changed_p) | 6905 | if (FRAME_FACE_CACHE (f)->menu_face_changed_p) |
| @@ -8034,6 +8035,8 @@ syms_of_xfaces () | |||
| 8034 | staticpro (&Qmouse); | 8035 | staticpro (&Qmouse); |
| 8035 | Qmode_line_inactive = intern ("mode-line-inactive"); | 8036 | Qmode_line_inactive = intern ("mode-line-inactive"); |
| 8036 | staticpro (&Qmode_line_inactive); | 8037 | staticpro (&Qmode_line_inactive); |
| 8038 | Qvertical_divider = intern ("vertical-divider"); | ||
| 8039 | staticpro (&Qvertical_divider); | ||
| 8037 | Qtty_color_desc = intern ("tty-color-desc"); | 8040 | Qtty_color_desc = intern ("tty-color-desc"); |
| 8038 | staticpro (&Qtty_color_desc); | 8041 | staticpro (&Qtty_color_desc); |
| 8039 | Qtty_color_standard_values = intern ("tty-color-standard-values"); | 8042 | Qtty_color_standard_values = intern ("tty-color-standard-values"); |