unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How make Emacs start with BIGGER xterm??? Can I set width and height??
@ 2003-01-18  0:16 Christian Seberino
  2003-01-18  4:27 ` Tim X
  2003-01-18 13:43 ` Christopher J. White
  0 siblings, 2 replies; 6+ messages in thread
From: Christian Seberino @ 2003-01-18  0:16 UTC (permalink / raw)


I usually like a bigger xterm when I launch Emacs and was wondering
if I could put something in .emacs to avoid having to set size
with the mouse all the time.

thanks!

Chris

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

* Re: How make Emacs start with BIGGER xterm??? Can I set width and height??
  2003-01-18  0:16 How make Emacs start with BIGGER xterm??? Can I set width and height?? Christian Seberino
@ 2003-01-18  4:27 ` Tim X
  2003-01-18  5:19   ` Billy O'Connor
  2003-01-18 13:43 ` Christopher J. White
  1 sibling, 1 reply; 6+ messages in thread
From: Tim X @ 2003-01-18  4:27 UTC (permalink / raw)


>>>>> "Christian" == Christian Seberino <seberino@spawar.navy.mil> writes:

 Christian> I usually like a bigger xterm when I launch Emacs and was
 Christian> wondering if I could put something in .emacs to avoid
 Christian> having to set size with the mouse all the time.

Why are you running emacs within an xterm rather than within its own
window?

You could start the xterm with the geometry command line argument or
set a default size with your .Xresources e.g.

prompt$ xterm -geometry 82x31

or within .Xresources

XTerm*geometry: 82x31

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!

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

* Re: How make Emacs start with BIGGER xterm??? Can I set width and height??
  2003-01-18  4:27 ` Tim X
@ 2003-01-18  5:19   ` Billy O'Connor
  2003-01-18  6:16     ` Tim X
  0 siblings, 1 reply; 6+ messages in thread
From: Billy O'Connor @ 2003-01-18  5:19 UTC (permalink / raw)


Tim X <timx@spamto.devnul.com> writes:

>>>>>> "Christian" == Christian Seberino <seberino@spawar.navy.mil> writes:
>
>  Christian> I usually like a bigger xterm when I launch Emacs and was
>  Christian> wondering if I could put something in .emacs to avoid
>  Christian> having to set size with the mouse all the time.
>
> Why are you running emacs within an xterm rather than within its own
> window?
>
> You could start the xterm with the geometry command line argument or
> set a default size with your .Xresources e.g.
>
> prompt$ xterm -geometry 82x31
>
> or within .Xresources
>
> XTerm*geometry: 82x31
>

Damn, I was hoping he merely misspoke, and really *meant* running
emacs in it's own window.  I was also hoping you'd be thinking the
same thing, and tell him how to make the emacs window bigger on
startup.  :)

-- 
Billy O'Connor
Editor, Beyond Linux From Scratch   http://beyond.linuxfromscratch.org
"Free software never simply picks up its marbles and goes home."
      - Jonathan Corbet, LWN

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

* Re: How make Emacs start with BIGGER xterm??? Can I set width and height??
  2003-01-18  5:19   ` Billy O'Connor
@ 2003-01-18  6:16     ` Tim X
  0 siblings, 0 replies; 6+ messages in thread
From: Tim X @ 2003-01-18  6:16 UTC (permalink / raw)


>>>>> "Billy" == Billy O'Connor <billyoc@linuxfromscratch.org> writes:

 Billy> Tim X <timx@spamto.devnul.com> writes:
 >>>>>>> "Christian" == Christian Seberino <seberino@spawar.navy.mil>
 >>>>>>> writes:
 >>
 Christian> I usually like a bigger xterm when I launch Emacs and was
 Christian> wondering if I could put something in .emacs to avoid
 Christian> having to set size with the mouse all the time.
 >>
 >> Why are you running emacs within an xterm rather than within its
 >> own window?
 >>
 >> You could start the xterm with the geometry command line argument
 >> or set a default size with your .Xresources e.g.
 >>
 >> prompt$ xterm -geometry 82x31
 >>
 >> or within .Xresources
 >>
 >> XTerm*geometry: 82x31
 >>

 Billy> Damn, I was hoping he merely misspoke, and really *meant*
 Billy> running emacs in it's own window.  I was also hoping you'd be
 Billy> thinking the same thing, and tell him how to make the emacs
 Billy> window bigger on startup.  :)

Well, if he did, the same could apply except you substitute
emacs*geometry for xterm*geometry. I think emacs also obeys the
-geometry command line setting as well.

With emacs, there is also an additional option in that I think you can
set the initial-frame-alist and specify a size there (and probably
also default-frame-alist) in your .emacs file

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!

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

* Re: How make Emacs start with BIGGER xterm??? Can I set width and height??
  2003-01-18  0:16 How make Emacs start with BIGGER xterm??? Can I set width and height?? Christian Seberino
  2003-01-18  4:27 ` Tim X
@ 2003-01-18 13:43 ` Christopher J. White
  2003-01-29 23:20   ` Christian Seberino
  1 sibling, 1 reply; 6+ messages in thread
From: Christopher J. White @ 2003-01-18 13:43 UTC (permalink / raw)


>>>>> "cs" == Christian Seberino <seberino@spawar.navy.mil> writes:

cs> I usually like a bigger xterm when I launch Emacs and was wondering
cs> if I could put something in .emacs to avoid having to set size
cs> with the mouse all the time.

I'm going to assume you mean starting an emacs session that 
opens it's own window which is not really in an xterm.  
Ie., running a version of emacs with X11 support.

As someone else alluded to, you can put geometry info
in the default-frame-alist, this controls the creation of
new frames as well:

(setq default-frame-alist `((width . 80) (height . 50)))

You might also need to set initial-frame-alist to the same
to control the first emacs frame:

(setq initial -frame-alist `((width . 80) (height . 50)))

I don't need to do this in  my configuration, but I can't
remember why (been using this .emacs for a long time....)

...cj

-- 
------------------------------------------------------------------------------
 Christopher J. White                                    chris@grierwhite.com
------------------------------------------------------------------------------ 

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

* Re: How make Emacs start with BIGGER xterm??? Can I set width and height??
  2003-01-18 13:43 ` Christopher J. White
@ 2003-01-29 23:20   ` Christian Seberino
  0 siblings, 0 replies; 6+ messages in thread
From: Christian Seberino @ 2003-01-29 23:20 UTC (permalink / raw)


Thanks to all.  This was what I was looking for.

Chris

chris@grierwhite.com (Christopher J. White) wrote in message news:<m2ptqutvyc.fsf@bluesteel.grierwhite.com>...
> >>>>> "cs" == Christian Seberino <seberino@spawar.navy.mil> writes:
> 
> cs> I usually like a bigger xterm when I launch Emacs and was wondering
> cs> if I could put something in .emacs to avoid having to set size
> cs> with the mouse all the time.
> 
> I'm going to assume you mean starting an emacs session that 
> opens it's own window which is not really in an xterm.  
> Ie., running a version of emacs with X11 support.
> 
> As someone else alluded to, you can put geometry info
> in the default-frame-alist, this controls the creation of
> new frames as well:
> 
> (setq default-frame-alist `((width . 80) (height . 50)))
> 
> You might also need to set initial-frame-alist to the same
> to control the first emacs frame:
> 
> (setq initial -frame-alist `((width . 80) (height . 50)))
> 
> I don't need to do this in  my configuration, but I can't
> remember why (been using this .emacs for a long time....)
> 
> ...cj

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

end of thread, other threads:[~2003-01-29 23:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-18  0:16 How make Emacs start with BIGGER xterm??? Can I set width and height?? Christian Seberino
2003-01-18  4:27 ` Tim X
2003-01-18  5:19   ` Billy O'Connor
2003-01-18  6:16     ` Tim X
2003-01-18 13:43 ` Christopher J. White
2003-01-29 23:20   ` Christian Seberino

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).