* Default Window Size
@ 2016-07-08 14:49 Sky Nerd
2016-07-08 18:13 ` Drew Adams
2016-07-08 18:32 ` Eli Zaretskii
0 siblings, 2 replies; 7+ messages in thread
From: Sky Nerd @ 2016-07-08 14:49 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
I'm a beginner at Emacs in general and installed GNU Emacs for windows not
too long ago. Whenever I start Emacs, the window is in a really weird
position: the bottom part is always cut off at the bottom of the screen.
I cannot find a way to adjust the default window size. Resizing the window
"manually" usually fixes this problem with other Windows programs, but not
Emacs.
Can someone give me simple instructions on how to change the default window
size? Even starting the program maximized as a default would be a great
help.
Thanks,
Nathan
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Default Window Size
2016-07-08 14:49 Default Window Size Sky Nerd
@ 2016-07-08 18:13 ` Drew Adams
2016-07-08 18:32 ` Eli Zaretskii
1 sibling, 0 replies; 7+ messages in thread
From: Drew Adams @ 2016-07-08 18:13 UTC (permalink / raw)
To: Sky Nerd, help-gnu-emacs
> I'm a beginner at Emacs in general and installed GNU Emacs for windows not
> too long ago. Whenever I start Emacs, the window is in a really weird
> position: the bottom part is always cut off at the bottom of the screen.
Consider reporting that as an Emacs bug. In particular, it means that
the minibuffer (where you can enter commands) is likely cut off from view.
To report the bug: `M-x report-emacs-bug'.
> I cannot find a way to adjust the default window size. Resizing the window
> "manually" usually fixes this problem with other Windows programs, but not
> Emacs.
Customize option `default-frame-alist', using `M-x customize-option'.
You can specify the height you want for the frame (a "frame" is what
Emacs calls a window-manager window), using parameter `height':
include an entry such as this in the alist value: (height . 30).
In Customize, you click button `INS' to insert an alist entry, and
then enter "height" (without quotes) as the Parameter and, say,
"30" (without quotes) as the Value.
If that doesn't take care of it, you can also customize option
`initial-frame-alist'. There is also `window-system-default-frame-alist',
but you probably need only to customize `default-frame-alist'.
> Can someone give me simple instructions on how to change the default
> window size? Even starting the program maximized as a default would
> be a great help.
You can start Emacs with the frame maximized just by using switch
"-mm" on the command line: emacs -mm. You can then toggle maximizing
using key `M-<f10>'. See the Emacs manual, node `Window Size X'.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Default Window Size
2016-07-08 14:49 Default Window Size Sky Nerd
2016-07-08 18:13 ` Drew Adams
@ 2016-07-08 18:32 ` Eli Zaretskii
1 sibling, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2016-07-08 18:32 UTC (permalink / raw)
To: help-gnu-emacs
> From: Sky Nerd <leethefourth@gmail.com>
> Date: Fri, 8 Jul 2016 09:49:53 -0500
>
> I'm a beginner at Emacs in general and installed GNU Emacs for windows not
> too long ago. Whenever I start Emacs, the window is in a really weird
> position: the bottom part is always cut off at the bottom of the screen.
What version of Emacs did you install, and from which site did you
download the binary distribution?
Also, how do you start Emacs, exactly? Do you have any customizations
on your .emacs init file? What happens if you invoke "emacs -Q"?
> I cannot find a way to adjust the default window size. Resizing the window
> "manually" usually fixes this problem with other Windows programs, but not
> Emacs.
If you type "M-: (frame-height) RET" and "M-: (frame-width) RET", what
does Emacs display in the echo area (the last line of its window)?
> Can someone give me simple instructions on how to change the default window
> size?
The default size should be small enough to produce a window that is
fully visible. Here I get a 36x80 window.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Default Window Size
@ 2008-09-12 7:13 stephan.zimmer
2008-09-12 13:55 ` Drew Adams
0 siblings, 1 reply; 7+ messages in thread
From: stephan.zimmer @ 2008-09-12 7:13 UTC (permalink / raw)
To: help-gnu-emacs
Hallo all,
is there any way to set the default window size of emacs in .emacs?
I.e. to achieve the same effect as starting with --geometry=width x
height? If not, is there any workaround for that, i.e., placing some
default command line options in an environment variable?
For a given window, is there any way to locally restrict the width to
a certain value? I.e., say the window has width 200, but in a certain
buffer I don't want to exceed the 80 signs limit.
Thanks a lot. Best,
Stephan
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Default Window Size
2008-09-12 7:13 stephan.zimmer
@ 2008-09-12 13:55 ` Drew Adams
2008-09-12 14:06 ` Esteban Fornal
[not found] ` <mailman.19122.1221233251.18990.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 7+ messages in thread
From: Drew Adams @ 2008-09-12 13:55 UTC (permalink / raw)
To: 'stephan.zimmer', help-gnu-emacs
> is there any way to set the default window size of emacs in .emacs?
> I.e. to achieve the same effect as starting with --geometry=width x
> height? If not, is there any workaround for that, i.e., placing some
> default command line options in an environment variable?
>
> For a given window, is there any way to locally restrict the width to
> a certain value? I.e., say the window has width 200, but in a certain
> buffer I don't want to exceed the 80 signs limit.
Customize option `default-frame-alist'. See the Emacs manual, keeping in mind
that what you call "window" (a window-manager window) is called a "frame" in
Emacs.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Default Window Size
2008-09-12 13:55 ` Drew Adams
@ 2008-09-12 14:06 ` Esteban Fornal
[not found] ` <mailman.19122.1221233251.18990.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 7+ messages in thread
From: Esteban Fornal @ 2008-09-12 14:06 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 872 bytes --]
2008/9/13 Drew Adams <drew.adams@oracle.com>
> > is there any way to set the default window size of emacs in .emacs?
> > I.e. to achieve the same effect as starting with --geometry=width x
> > height? If not, is there any workaround for that, i.e., placing some
> > default command line options in an environment variable?
> >
> > For a given window, is there any way to locally restrict the width to
> > a certain value? I.e., say the window has width 200, but in a certain
> > buffer I don't want to exceed the 80 signs limit.
>
> Customize option `default-frame-alist'. See the Emacs manual, keeping in
> mind
> that what you call "window" (a window-manager window) is called a "frame"
> in
> Emacs.
>
>
> I have:
>
;; Posicionamiento en inicio
(set-frame-position (selected-frame) 100 10)
(set-frame-height (selected-frame) 48)
(set-frame-width (selected-frame) 100)
[-- Attachment #2: Type: text/html, Size: 1284 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <mailman.19122.1221233251.18990.help-gnu-emacs@gnu.org>]
end of thread, other threads:[~2016-07-08 18:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-08 14:49 Default Window Size Sky Nerd
2016-07-08 18:13 ` Drew Adams
2016-07-08 18:32 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2008-09-12 7:13 stephan.zimmer
2008-09-12 13:55 ` Drew Adams
2008-09-12 14:06 ` Esteban Fornal
[not found] ` <mailman.19122.1221233251.18990.help-gnu-emacs@gnu.org>
2008-09-12 17:49 ` Oleksandr Gavenko
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).