help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to right-align my window on startup


From: Eli Zaretskii
Subject: Re: Trying to right-align my window on startup
Date: Thu, 09 Jan 2014 22:30:50 +0200

> From: Mickey Ferguson <Mickey.Ferguson@cassidiancommunications.com>
> CC: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
> Date: Thu, 9 Jan 2014 20:16:07 +0000
> 
> >Why don't you try doing this by modifying frame parameters (via
> >add-to-list) instead?  This is how I set the position and dimensions
> >of my frame in my .emacs:
> >
> ?  (add-to-list 'default-frame-alist '(top . 0))
> >  (add-to-list 'default-frame-alist '(left . 140))
> >  (add-to-list 'initial-frame-alist '(height . 52))
> >  (add-to-list 'default-frame-alist '(height . 50))
> >
> >I understand that in your case the numbers will have to be computed
> >first, but that's just a minor variation, I think.
> 
> The problem here is that I want a generic file that will work for multiple
> screen dimensions.

That's why I said that the numbers will have to be computed, and that
computation will need to take the screen dimensions into account.
Where's the contradiction? what am I missing?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]