default-frame-alist applies to all emacs frames - the first created  
and all subsequently created frames.  initial-frame-alist only  
applies to the first frame created, and values set in initial-frame- 
alist will supersede those in default-frame-alist.  So if you set  
(left . -1) in initial-frame-alist and (left . 0) in default-frame- 
alist, the first frame will be (almost) flush right, and then next  
frame instantiated will be flush left.
Hope that helps.

r.

On Jul 22, 2007, at 08:08, Simon Wright wrote:

>
> Or there's initial-frame-alist. I don't quite understand the
> interaction with default-frame-alist.
>
> I prefer to have emacs open butted up to the right; in initial-frame-
> alist, set left to -1. I had hoped that -0 would do this, as in X,
> but I can afford to be off by one pixel!
>
> --S
>
> On 21 Jul 2007, at 20:18, Rajiv Patel 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
>>
>>
>>
>>>
>
>
> >

------------------------------------------------------------------------
                                                              rajiv  
patel



--~--~---------~--~----~------------~-------~--~----~
"Carbon Emacs" group mailing list.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to