diff options
| author | Martin Rudalics | 2014-02-04 08:36:58 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2014-02-04 08:36:58 +0100 |
| commit | 764ec9e5f0adaff96b52252eea71eb30ef7cefa1 (patch) | |
| tree | 1aaf762a76e795be19e9a2279db36b496b0d1e15 /etc | |
| parent | 6da8227cfa5bc7f428346e78d028a83a385f908f (diff) | |
| download | emacs-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/NEWS | 12 |
1 files changed, 12 insertions, 0 deletions
| @@ -197,6 +197,18 @@ command `frame-configuration-to-register' still exists, but is unbound. | |||
| 197 | These are normal hooks run when an Emacs frame gains or loses input focus. | 197 | These 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 | ||
| 201 | dividers between side-by-side windows customize the frame parameter | ||
| 202 | right-divider-width to some positive integer. To put dividers between | ||
| 203 | vertically stacked windows set the frame parameter bottom-divider-width | ||
| 204 | to some positive integer. Dividers can be dragged with the mouse and | ||
| 205 | show a corresponding cursor when the mouse hovers over them. The | ||
| 206 | appearance of dividers can be changed by customizing the basic faces | ||
| 207 | window-divider, window-divider-first-pixel and window-divider-last-pixel | ||
| 208 | where the latter two are useful to provide a 3D effect or to better set | ||
| 209 | dividers 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. |
| 201 | As a command, it was a special case of `C-x 2' (`split-window-below'), | 213 | As a command, it was a special case of `C-x 2' (`split-window-below'), |
| 202 | and as such superfluous. After being reimplemented in Lisp, its | 214 | and as such superfluous. After being reimplemented in Lisp, its |