[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Trying to right-align my window on startup
From: |
Drew Adams |
Subject: |
RE: Trying to right-align my window on startup |
Date: |
Thu, 9 Jan 2014 12:32:27 -0800 (PST) |
> ? (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))
Sheesh. Just use `M-x customize-option default-frame-alist'.
(And use a `custom-file', to keep Customize stuff out of your ~/.emacs.)
> The problem here is that I want a generic file that will work for
> multiple screen dimensions. A while ago I had tried going down
> the path you have suggested here and just didn't know all of the
> screen parameters, nor how to convert from one unit type to another.
> That's why the -1 was used, as an attempt at using emacs' knowledge
> of the screen's right edge location.
Just use a negative integer (e.g. -1) to set the number of pixels
from the right or bottom edge of your screen.
See the Elisp manual, node `(elisp) Position Parameters'
- Trying to right-align my window on startup, Mickey Ferguson, 2014/01/08
- Re: Trying to right-align my window on startup, Eli Zaretskii, 2014/01/08
- RE: Trying to right-align my window on startup, Drew Adams, 2014/01/09
- Re: Trying to right-align my window on startup, Juanma Barranquero, 2014/01/11
- poor Customize [was: Trying to right-align my window on startup], Drew Adams, 2014/01/11
- Message not available
- Re: poor Customize [was: Trying to right-align my window on startup], jack-mac, 2014/01/13
- RE: poor Customize [was: Trying to right-align my window on startup], Drew Adams, 2014/01/13
- Message not available
- Re: Trying to right-align my window on startup, Rusi, 2014/01/14
- In defense of Customize [was: Trying to right-align my window on startup], Drew Adams, 2014/01/14