+2005-06-20 Miles Bader <miles@gnu.org>
+
+ * faces.el (vertical-divider): New face.
+
2005-06-20 Juanma Barranquero <lekktu@gmail.com>
* simple.el (kill-whole-line): Doc fix.
:group 'modeline
:group 'basic-faces)
+(defface vertical-divider
+ '((default :inherit mode-line-inactive))
+ "Face used for vertical window dividers on ttys."
+ :version "22.1"
+ :group 'modeline
+ :group 'basic-faces)
+
;; Make `modeline' an alias for `mode-line', for compatibility.
(put 'modeline 'face-alias 'mode-line)
(put 'modeline-inactive 'face-alias 'mode-line-inactive)
+2005-06-20 Miles Bader <miles@gnu.org>
+
+ * display.texi (Faces): Add `vertical-divider'.
+
2005-06-17 Richard M. Stallman <rms@gnu.org>
* text.texi (Adaptive Fill): Minor clarification.
@c This is part of the Emacs manual.
-@c Copyright (C) 1985, 86, 87, 93, 94, 95, 1997, 2000, 2001, 2002
+@c Copyright (C) 1985, 86, 87, 93, 94, 95, 1997, 2000, 2001, 2002, 2005
@c Free Software Foundation, Inc.
@c See file emacs.texi for copying conditions.
@node Display, Search, Registers, Top
@item header-line
Similar to @code{mode-line} for a window's header line. Most modes
don't use the header line, but the Info mode does.
+@item vertical-divider
+This face is used for the vertical divider between windows on
+character terminals. By default this face inherits from the
+@code{mode-line-inactive} face.
@item minibuffer-prompt
This face is used for the prompt strings displayed in the minibuffer.
@item highlight
+2005-06-20 Miles Bader <miles@gnu.org>
+
+ * xfaces.c (Qvertical_divider): New variable.
+ (realize_basic_faces): Realize its face.
+ (syms_of_xfaces): Initialize it.
+
+ * dispextern.h (enum face_id): Add `VERTICAL_DIVIDER_FACE_ID'.
+
+ * dispnew.c (build_frame_matrix_from_leaf_window): Display vertical
+ window-separator on ttys using `vertical-divider' face by default.
+
2005-06-17 Richard M. Stallman <rms@gnu.org>
* xdisp.c (get_next_display_element): Reverse
CURSOR_FACE_ID,
MOUSE_FACE_ID,
MENU_FACE_ID,
+ VERTICAL_DIVIDER_FACE_ID,
BASIC_FACE_ID_SENTINEL
};
if (!WINDOW_RIGHTMOST_P (w))
{
struct Lisp_Char_Table *dp = window_display_table (w);
- right_border_glyph = (dp && INTEGERP (DISP_BORDER_GLYPH (dp))
- ? XINT (DISP_BORDER_GLYPH (dp))
- : '|');
- right_border_glyph = spec_glyph_lookup_face (w, right_border_glyph);
+
+ right_border_glyph
+ = ((dp && INTEGERP (DISP_BORDER_GLYPH (dp)))
+ ? spec_glyph_lookup_face (w, XINT (DISP_BORDER_GLYPH (dp)))
+ : '|');
+
+ if (FAST_GLYPH_FACE (right_border_glyph) <= 0)
+ right_border_glyph
+ = FAST_MAKE_GLYPH (right_border_glyph, VERTICAL_DIVIDER_FACE_ID);
}
}
else
Lisp_Object Qdefault, Qtool_bar, Qregion, Qfringe;
Lisp_Object Qheader_line, Qscroll_bar, Qcursor, Qborder, Qmouse, Qmenu;
-Lisp_Object Qmode_line_inactive;
+Lisp_Object Qmode_line_inactive, Qvertical_divider;
extern Lisp_Object Qmode_line;
/* The symbol `face-alias'. A symbols having that property is an
realize_named_face (f, Qcursor, CURSOR_FACE_ID);
realize_named_face (f, Qmouse, MOUSE_FACE_ID);
realize_named_face (f, Qmenu, MENU_FACE_ID);
+ realize_named_face (f, Qvertical_divider, VERTICAL_DIVIDER_FACE_ID);
/* Reflect changes in the `menu' face in menu bars. */
if (FRAME_FACE_CACHE (f)->menu_face_changed_p)
staticpro (&Qmouse);
Qmode_line_inactive = intern ("mode-line-inactive");
staticpro (&Qmode_line_inactive);
+ Qvertical_divider = intern ("vertical-divider");
+ staticpro (&Qvertical_divider);
Qtty_color_desc = intern ("tty-color-desc");
staticpro (&Qtty_color_desc);
Qtty_color_standard_values = intern ("tty-color-standard-values");