[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs application window resizes everytime I start
From: |
n179911 |
Subject: |
Re: Emacs application window resizes everytime I start |
Date: |
Wed, 22 Dec 2010 10:57:21 -0800 |
I have added these to my .Xresources. I don't care about matching the
color , I just want the emacs window does not resize everytime I
resize the window.
emacs.geometry: 81x71-68+0
emacs.font: 9x15
emacs.menu.font: 9x15
This is my .emacs about setting my font:
; theme
(add-to-list 'load-path "/home/scheung/bin/elisp/color-theme-6.6.0")
(load-file "/home/scheung/bin/elisp/color-theme-almost-monokai.el")
(require 'color-theme)
(eval-after-load "color-theme"
'(progn
(color-theme-initialize)
(color-theme-almost-monokai)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:inherit nil :stipple nil :background "#000000"
:foreground "#F8F8F2" :inverse-video nil :box nil :strike-through nil
:overline nil :underline nil :slant normal :weight normal :height 90
:width normal :foundry "unknown" :family "Droid Sans Mono"))))
On Tue, Dec 21, 2010 at 1:58 PM, Pascal J. Bourguignon
<pjb@informatimago.com> wrote:
> n179911 <n179911@gmail.com> writes:
>
>> I am running emacs on ubuntu 10.10. Everytime I start Emacs, the
>> application window is big and then resize.
>> I assume it is caused by me setting the default font in .emacs file
>> (via the emacs menu time, 'Set default face').
>>
>> Is there anyway to avoid emacs resize its application windows everytime I
>> start?
>
> Before evaluating ~/.emacs, the window manager will create the emacs
> frame as indicated by ~/.Xresources ; to avoid any change of size, you
> should put the same size (and position) there as in ~/.emacs.
>
>
> emacs.geometry: 81x71-68+0
> emacs.dialog*.background: LightBlue1
> emacs*pane.background: LightBlue1
> emacs*menu*background: LightBlue1
> emacs*menubar*background: LightBlue1
> emacs*verticalScrollBar.background: LightBlue1
> emacs*verticalScrollBar.throughColor: LightBlue3
> emacs*background: LightBlue1
> emacs*foreground: DarkSlateBlue
> emacs*pointerColor: Black
> emacs*cursorColor: Red
> emacs*bitmapIcon: off
>
> emacs.font: 6x12
> emacs.menu.font: 6x12
> !! emacs.font: fixed
>
> --
> __Pascal Bourguignon__ http://www.informatimago.com/
> A bad day in () is better than a good day in {}.
>