You are not logged in.
I'm having a couple problems with emacs 23 and couldn't get them solved after about an hour of tinkering. I'm wondering if anyone else has had some luck and could share their solutions.
1. I'm using terminus font, and emacs is anti-aliasing it and it looks awful. I don't have this problem in other Xft/X font configs. I'm using this config:
(set-default-font "-*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*")
. I tried setting it in .Xdefaults with the same result.
2. I'm using Awesome WM and the window size is seriously screwed up. There is a big white window and emacs takes up 70% of the upper left corner. It seems like I can sometimes fix it by playing around with maximizing/moving the window around.
Edit: Problem with the font was a local .font directory with ttf files for Terminus, which emacs was picking up instead of the bitmapped version. However still have weird issues with the window size, like minibuffer being too large.
Last edited by jsravn (2009-08-04 16:41:40)
Offline
I have the same problem maximizing emacs on startup in openbox. maximizing it by manually however works fine.
When using default font or changing the font before maximizing, the emacs window becomes too large for my screen. If I change the font after maximizing it, the emacs window occupies the whole screen, but only uses 70% of the emacs window.
Offline
Neheb, have you tried setting your font via ~/.Xdefaults ?
Emacs*font: Terminus 8
(lambda ())
Offline
thanks for the tip. Tried using .Xdefaults now, but it didn't help.
the code i use to maximize is
(defun toggle-fullscreen ()
(interactive)
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_MAXIMIZED_HORZ" 0))
)
(toggle-fullscreen)
Offline