From: J G Miller <miller@yoyo.ORG>
To: help-gnu-emacs@gnu.org
Subject: Re: Window too big
Date: Tue, 6 Oct 2015 14:42:22 +0000 (UTC) [thread overview]
Message-ID: <mv0mkd$g1r$1@dont-email.me> (raw)
In-Reply-To: mailman.485.1444094378.16064.help-gnu-emacs@gnu.org
On Tuesday, October 6th, 2015, at 01:19:22 +0000, Hendrik Boom observed:
> When I start emacs from the menu in xcfe, it always is slightly taller
> than my screen. I have to mouse around and make it smaller before it is
> usable. Is there something I can put, say, in my ~/.emacs file to change
> how tall it is?
emacs can use the apps-default emacs.geometry to comply with height and width
and position.
So you can create an apps-default Emacs file in a directory in the apps-default
search path or a directory specified by the environmental variable XAPPLRESDIR
and put in a line
emacs.geometry: widthxheight+x_position+y_position
In fact you could have -x_position or -y_position if you wanted the
position to be relative to the right or bottom of the screen.
Optionally the values in the Emacs apps-default file can be loaded into the
X11 resource database property with xrdb (during the Xsession startup sequence)
for faster loading (instead of emacs searching for the apps-default file).
You can also set frame sizes (and other properties) in emacsrc file with
(cond ((eq window-system 'x)
(setq default-frame-alist
'((user-position . t)
(user-size . t)
(height . 42)
(width . 108)
(top . 0)
(left . 0)
(cursor-color . "#dddd44")
(mouse-color . "#ffffaa")))
)
but the values for height widrth and position here are overriden (in my experience)
by the Emacs apps-default values if they are set.
next parent reply other threads:[~2015-10-06 14:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.485.1444094378.16064.help-gnu-emacs@gnu.org>
2015-10-06 14:42 ` J G Miller [this message]
2015-10-07 9:42 ` Window too big Michael Heerdegen
[not found] ` <mailman.46.1444210988.916.help-gnu-emacs@gnu.org>
2015-10-07 12:29 ` J G Miller
2015-11-10 2:06 ` Dan Espen
2015-10-06 1:19 Hendrik Boom
2015-10-06 1:36 ` Emanuel Berg
2015-11-02 14:26 ` Hendrik Boom
2015-11-03 2:39 ` Emanuel Berg
2015-11-09 20:25 ` Hendrik Boom
2015-11-09 20:44 ` Random832
2015-11-10 1:33 ` Emanuel Berg
2015-11-03 3:09 ` Michael Heerdegen
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='mv0mkd$g1r$1@dont-email.me' \
--to=miller@yoyo.org \
--cc=help-gnu-emacs@gnu.org \
/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.