unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to set the frame size of emacs
@ 2009-07-17 16:53 n179911
  0 siblings, 0 replies; 3+ messages in thread
From: n179911 @ 2009-07-17 16:53 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

Can I configure in my .emacs so that when it comes up, it is 80x50?
I tried putting this:
(set-frame-height (selected-frame) 50)

(set-frame-width (selected-frame) 80)

but that does not do anything.

Thank you.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to set the frame size of emacs
       [not found] <mailman.2705.1247849616.2239.help-gnu-emacs@gnu.org>
@ 2009-07-17 17:26 ` Brian Adkins
  2009-07-17 20:06   ` Peter Dyballa
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Adkins @ 2009-07-17 17:26 UTC (permalink / raw)
  To: help-gnu-emacs

n179911 <n179911@gmail.com> writes:

> Hi,
>
> Can I configure in my .emacs so that when it comes up, it is 80x50?
> I tried putting this:
> (set-frame-height (selected-frame) 50)
>
> (set-frame-width (selected-frame) 80)

I use the following:

  (set-frame-position (selected-frame) 0 0)
  (set-frame-size (selected-frame) 237 59))

>
> but that does not do anything.
>
> Thank you.
>
>

-- 
Brian Adkins
http://lojic.com/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to set the frame size of emacs
  2009-07-17 17:26 ` How to set the frame size of emacs Brian Adkins
@ 2009-07-17 20:06   ` Peter Dyballa
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2009-07-17 20:06 UTC (permalink / raw)
  To: Emacs list


Am 17.07.2009 um 19:26 schrieb Brian Adkins:

>> (set-frame-height (selected-frame) 50)
>>
>> (set-frame-width (selected-frame) 80)
>
> I use the following:
>
>   (set-frame-position (selected-frame) 0 0)
>   (set-frame-size (selected-frame) 237 59))


It's also possible to use in default- and initial-frame-alist

	(top . 50) (left . 150) (width . 80) (height . 50)

and maybe more. In X11 you can put

	Emacs*geometry:                 80x50+111+11

--
Greetings

   Pete

Think of XML as Lisp for COBOL programmers.
				- Tony-A (some guy on /.)







^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-17 20:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2705.1247849616.2239.help-gnu-emacs@gnu.org>
2009-07-17 17:26 ` How to set the frame size of emacs Brian Adkins
2009-07-17 20:06   ` Peter Dyballa
2009-07-17 16:53 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).