all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: n179911 <n179911@gmail.com>
To: "Pascal J. Bourguignon" <pjb@informatimago.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs application window resizes everytime I start
Date: Wed, 22 Dec 2010 10:57:21 -0800	[thread overview]
Message-ID: <AANLkTi=b_f0cYTmZs5-LmDnj42ES8D9n7okNytkW460r@mail.gmail.com> (raw)
In-Reply-To: <877hf2wzxz.fsf@kuiper.lan.informatimago.com>

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 {}.
>



  reply	other threads:[~2010-12-22 18:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2010-12-21 19:10 n179911

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=b_f0cYTmZs5-LmDnj42ES8D9n7okNytkW460r@mail.gmail.com' \
    --to=n179911@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=pjb@informatimago.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.