unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Setting geometry for second frame ??
@ 2009-09-12 12:03 William Case
  2009-09-12 18:49 ` Kevin Rodgers
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: William Case @ 2009-09-12 12:03 UTC (permalink / raw)
  To: Emacs Help List

Hi;

How do you set the size of a secondary frame?

My Xresources file is set to 'Emacs.Geometry: 80x55+96+35'.  That size,
generally speaking, is the default size I am most comfortable with.
However, I have a key binding that opens a second frame containing a
text file in which I keep my notes as I am working.

(global-set-key [(super f1)] (lambda() 
     (interactive)(find-file-other-frame
"~/Documents/C/Text/C-Notes.txt")))

I want this second frame to open with a geometry of 75x55 so that I can
fit two frames, side-by-side, on my desktop.  I don't want to change my
Xresources file unless there is a safe way to write a conditional
command in Xresources, nor compromise on my default setting.  

Is there a way to do this using a key binding to an existing function or
do I have to write my own function?  If I have to write my own function,
could you outline which functions and/or variables I might need to use?
 
-- 
Regards Bill
Fedora 11, Gnome 2.26.3
Evo.2.26.3, Emacs 23.1.1





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

end of thread, other threads:[~2009-09-14 14:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-12 12:03 Setting geometry for second frame ?? William Case
2009-09-12 18:49 ` Kevin Rodgers
2009-09-13  2:13   ` Wang Lei
2009-09-13 19:10 ` Setting geometry for second frame ?? [SOLVED - with Thanks] William Case
     [not found] ` <mailman.6599.1252869121.2239.help-gnu-emacs@gnu.org>
2009-09-13 19:50   ` Joost Kremers
2009-09-14 14:22     ` William Case

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