From: Baloff <washdc@wash.edu>
Subject: Re: using Xresources for geometry
Date: 01 Sep 2005 23:48:47 +1000 [thread overview]
Message-ID: <87oe7czyo0.fsf@wash.edu> (raw)
In-Reply-To: 87vf1nltsj.fsf@tiger.rapttech.com.au
Tim X <timx@spamto.devnul.com> writes:
> Baloff <washdc@wash.edu> writes:
>
> > Hello
> > in my Xresources I have
> >
> > emacs*Background: Black
> > emacs*Foreground: White
> > emacs*pointerColor: White
> > emacs*cursorColor: White
> > emacs*bitmapIcon: on
> > emacs*font: fixed
> > emacs*geometry: 160x80
> >
> > the last line I changed from 80x40 but no changes happened when I
> > restarted emacs.
> >
> > isn't suppose to work?
> > nothing in my .emacs which has to do with (setq initial-frame-alist
>
> What window manager are you using? some window managers will
> "remember" the last size you had emacs set to and will restore that
> and override any geometry setting. In particular, I've been bitten by
> this in the past with (I think) gnome+sawfish and KDE.
>
> Tim
>
>
> --
> Tim Cross
> The e-mail address on this message is FALSE (obviously!). My real e-mail is
> to a company in Australia called rapttech and my login is tcross - if you
> really need to send mail, you should be able to work it out!
gnome 2.6.1
I read this in the documentation C-h v initial-frame-alist
****************************************
* Specify X resources to give the geometry you want.
* Set `default-frame-alist' to override these options so that they
don't affect subsequent frames.
* Set `initial-frame-alist' in a way that matches the X resources,
to override what you put in `default-frame-alist'.
****************************************
well, I have the following
.Xresources******************************
emacs*height: 70
emacs*width: 180
emacs*top: 1
emacs*left: 1
the last lines in my .emacs are
****************************************
;;these lines should be at the end of this file
(setq initial-frame-alist '((top . 1)(left . 1)
(width . 180)(height . 70)))
(setq default-frame-alist '((width . 180)(height . 70)))
> LocalWords: alist setq
next prev parent reply other threads:[~2005-09-01 13:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-27 9:17 using Xresources for geometry Baloff
2005-08-27 11:18 ` Angelina Carlton
2005-08-27 18:18 ` Henrik Enberg
2005-08-30 8:21 ` Tim X
2005-09-01 13:48 ` Baloff [this message]
[not found] ` <mailman.5215.1125143063.20277.help-gnu-emacs@gnu.org>
2005-08-28 5:30 ` Baloff
2005-08-29 15:49 ` Drew Adams
2005-08-30 9:18 ` Ismael Valladolid Torres
2005-08-30 13:34 ` Drew Adams
2005-08-30 8:22 ` Tim X
[not found] <mailman.5379.1125330936.20277.help-gnu-emacs@gnu.org>
2005-09-01 14:50 ` Ballof
2005-09-01 16:49 ` Drew Adams
[not found] <mailman.5717.1125593848.20277.help-gnu-emacs@gnu.org>
2005-09-05 19:52 ` Baloff
2005-09-06 14:47 ` Drew Adams
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oe7czyo0.fsf@wash.edu \
--to=washdc@wash.edu \
/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.
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).