From 384f691a301988e46040a164a4a5d3758f62a01b Mon Sep 17 00:00:00 2001 Message-Id: <384f691a301988e46040a164a4a5d3758f62a01b.1718375169.git.mdw@distorted.org.uk> From: Mark Wooding Date: Fri, 22 Apr 2016 18:37:48 +0100 Subject: [PATCH] dot/xinitrc: Support for GNU Emacs 24. Organization: Straylight/Edgeware From: Mark Wooding Notice its existence (but prefer Emacs 23 for now), and the slightly different size parameters caused by the use of Gtk3. For now, an initial Emacs comes up a column too narrow; another one started later (xinitcmd :emacs) comes up the correct size. I don't know what's going on here. --- dot/xinitrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dot/xinitrc b/dot/xinitrc index 87e5bbd..72afe36 100755 --- a/dot/xinitrc +++ b/dot/xinitrc @@ -206,7 +206,7 @@ start-clients () { ### Main screen layout. ## Choose appropriate clients. -emacs=$(pick_program emacs emacs23 emacs22 emacs21 emacs) +emacs=$(pick_program emacs emacs23 emacs24 emacs22 emacs21 emacs) term=$(pick_program terminal pterm Eterm xterm) ## Emacs window measurements. @@ -221,6 +221,11 @@ case "$emacs" in e_colchars=82 e_cextra=-6 e_lineht=13 e_vextra=46 ;; + emacs24) + e_colwd=492 e_hextra=5 + e_colchars=82 e_cextra=-6 + e_lineht=13 e_vextra=42 + ;; esac ## Terminal window measurements. -- [mdw]