* Emacs application window resizes everytime I start
@ 2010-12-21 19:10 n179911
0 siblings, 0 replies; 3+ messages in thread
From: n179911 @ 2010-12-21 19:10 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
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?
Thank you.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacs application window resizes everytime I start
[not found] <mailman.6.1292958653.30697.help-gnu-emacs@gnu.org>
@ 2010-12-21 21:58 ` Pascal J. Bourguignon
2010-12-22 18:57 ` n179911
0 siblings, 1 reply; 3+ messages in thread
From: Pascal J. Bourguignon @ 2010-12-21 21:58 UTC (permalink / raw)
To: help-gnu-emacs
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 {}.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacs application window resizes everytime I start
2010-12-21 21:58 ` Emacs application window resizes everytime I start Pascal J. Bourguignon
@ 2010-12-22 18:57 ` n179911
0 siblings, 0 replies; 3+ messages in thread
From: n179911 @ 2010-12-22 18:57 UTC (permalink / raw)
To: Pascal J. Bourguignon; +Cc: help-gnu-emacs
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 {}.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-22 18:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.6.1292958653.30697.help-gnu-emacs@gnu.org>
2010-12-21 21:58 ` Emacs application window resizes everytime I start Pascal J. Bourguignon
2010-12-22 18:57 ` n179911
2010-12-21 19:10 n179911
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).