Rajiv is right. I should have clarified that maxframe was written to solve my own problem of plugging a laptop into different sized external monitors from day to day. It auto-sniffs your resolution, character size, fringes, etc to correctly place your frame. -Ryan
On 7/21/07, Rajiv Patel <[EMAIL PROTECTED]> wrote: > > > You don't need to go to so much trouble for this - just add top, > left, width and height fields to default-frame-alist, which you can > get to via customize-variable. If you set top and left both to 0, > emacs will first appear at the center of the screen, but then pop to > the top left corner. Width and height are in characters and lines, > respectively. > > r. > > On Jul 21, 2007, at 13:59, Ryan McGeary wrote: > > > Adrian, > > > > This doesn't answer your question directly, but take a look at this > > maxframe package that I wrote. Here's a blog post that describes it: > > > > http://www.emacsblog.org/2007/02/22/maximize-on-startup-part-2/ > > > > The latest version is available here: > > http://files.emacsblog.org/ryan/elisp/maxframe.el > > > > You should be able to get your desired placement on startup by > > tweaking some of the following variables: > > > > mf-display-padding-width > > mf-display-padding-height > > mf-offset-x > > mf-offset-y > > mf-max-width > > mf-max-height > > > > -Ryan > > > > On 6/27/07, Adrian <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I have been using Carbon Emacs for a while now, and I have to say that > > its a great program. I'm wondering if there's any way to change the > > default size and position of the emacs window? I'd like the windows > > to appear bigger and more towards the sides of the screen, rather than > > popping in the center of the desktop as they do now. I have tried > > adding lines to my .emacs file as well as using the -g option, but > > neither seems to work. > > > > Thank you, > > Adrian > > > > > ------------------------------------------------------------------------ > rajiv > > patel > > > > > > --~--~---------~--~----~------------~-------~--~----~ "Carbon Emacs" group mailing list. To post to this group, send email to carbon-emacs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/carbon-emacs?hl=en -~----------~----~----~----~------~----~------~--~---