aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMartin Rudalics2014-02-04 08:36:58 +0100
committerMartin Rudalics2014-02-04 08:36:58 +0100
commit764ec9e5f0adaff96b52252eea71eb30ef7cefa1 (patch)
tree1aaf762a76e795be19e9a2279db36b496b0d1e15 /etc
parent6da8227cfa5bc7f428346e78d028a83a385f908f (diff)
downloademacs-764ec9e5f0adaff96b52252eea71eb30ef7cefa1.tar.gz
emacs-764ec9e5f0adaff96b52252eea71eb30ef7cefa1.zip
Improve window dividers code.
* faces.el (window-divider): New default value. Rewrite doc-string. (window-divider-first-pixel, window-divider-last-pixel): New faces. * dispextern.h (face_id): Add WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID and WINDOW_DIVIDER_LAST_PIXEL_FACE_ID. * w32term.c (w32_draw_window_divider): Handle first and last pixels specially. * w32term.h (w32_fill_area_abs): New function. * xdisp.c (x_draw_right_divider): Don't draw over bottom divider. * xfaces.c (realize_basic_faces): Handle new face ids. * xfns.c (Fx_create_frame): Call x_default_parameter for right and bottom divider width. * xterm.c (x_draw_window_divider): Handle first and last pixels specially.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index cfcb74cf782..11cb240890a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -197,6 +197,18 @@ command `frame-configuration-to-register' still exists, but is unbound.
197These are normal hooks run when an Emacs frame gains or loses input focus. 197These are normal hooks run when an Emacs frame gains or loses input focus.
198 198
199--- 199---
200*** Emacs can now draw dividers between adjacent windows. To put
201dividers between side-by-side windows customize the frame parameter
202right-divider-width to some positive integer. To put dividers between
203vertically stacked windows set the frame parameter bottom-divider-width
204to some positive integer. Dividers can be dragged with the mouse and
205show a corresponding cursor when the mouse hovers over them. The
206appearance of dividers can be changed by customizing the basic faces
207window-divider, window-divider-first-pixel and window-divider-last-pixel
208where the latter two are useful to provide a 3D effect or to better set
209dividers apart from surrounding display objects.
210
211---
200*** `split-window' is now a non-interactive function, not a command. 212*** `split-window' is now a non-interactive function, not a command.
201As a command, it was a special case of `C-x 2' (`split-window-below'), 213As a command, it was a special case of `C-x 2' (`split-window-below'),
202and as such superfluous. After being reimplemented in Lisp, its 214and as such superfluous. After being reimplemented in Lisp, its