summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b0e8611)
Two changes over the years. Firstly, Emacs later than 21 (I think) have
fringes in which they display overflow markers, rather than needing a
text column for them, so we should set the default (one-column) frame
width to 77, rather than 78. Secondly, I use very narrow fringes, so
Emacs's initial estimate of the frame width comes out wrong, so we need
to fiddle with the X resource.
XConsole*geometry: 485x455
!! Emacs.
XConsole*geometry: 485x455
!! Emacs.
Emacs.pane.menubar.font: NICEFONT
Emacs.menu*.font: NICEFONT
Emacs.font: FIXED
Emacs.pane.menubar.font: NICEFONT
Emacs.menu*.font: NICEFONT
Emacs.font: FIXED
(setq default-frame-alist
(mdw-uniquify-alist
(setq default-frame-alist
(mdw-uniquify-alist
+ `((width . ,(if (>= emacs-major-version 21) 77 78))
(height . 33)
(vertical-scroll-bars . right)
(cursor-type . bar)
(height . 33)
(vertical-scroll-bars . right)
(cursor-type . bar)
(left-fringe . 5)
(right-fringe . 5)
(scroll-bar-width . 15)
(left-fringe . 5)
(right-fringe . 5)
(scroll-bar-width . 15)
- (cursor-color . "red"))
- (if mdw-black-background
- '((background-mode . dark))
- '((background-mode . light)))))
+ (cursor-color . "red")
+ (background-mode . ,(if mdw-black-background 'dark 'light)))))
(setq window-system-default-frame-alist
'((pm (font . "-os2-System VIO-medium-r-normal--*-40-*-*-m-*-cp850")
(menu-font . "8.Helv")
(setq window-system-default-frame-alist
'((pm (font . "-os2-System VIO-medium-r-normal--*-40-*-*-m-*-cp850")
(menu-font . "8.Helv")