[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: |
Fri, 10 Jan 2014 19:07:09 -0800 (PST) |
> Here is a very pared down file I'm calling minimal.el.
OK. Putting paring that down further, it should be enough to put
just this in your init file:
(set-frame-font
"-outline-Consolas-bold-r-normal-normal-12-90-96-96-c-*-iso10646-1")
(set-frame-position (selected-frame) -1 0)
What I see here (on MS Windows, like you) is that this does not
work with Emacs 23.4 or 24.3. But it does work with recent Emacs 24
development snapshots (what will become Emacs 24.4).
However, if I add a non-nil KEEP-SIZE argument for `set-frame-font'
then it works in all three versions. That is:
(set-frame-font
"-outline-Consolas-bold-r-normal-normal-12-90-96-96-c-*-iso10646-1"
t) ; <==== ADD THIS SECOND ARGUMENT
(set-frame-position (selected-frame) -1 0)
Seems like a bug has been fixed in the development version, but
perhaps someone else has a different take on that or can suggest
a workaround for the case where KEEP-SIZE is nil.
Meanwhile, if you don't care about the size or number of lines
and columns (and it sounds like you do not - you just want to
set the font), then just add the `t' argument.
- Re: In defense of Customize [was: Trying to right-align my window on startup], (continued)
- Message not available
- Re: In defense of Customize [was: Trying to right-align my window on startup], Emanuel Berg, 2014/01/31
- Message not available
- Re: In defense of Customize [was: Trying to right-align my window on startup], Rusi, 2014/01/31
- Message not available
- Re: In defense of Customize [was: Trying to right-align my window on startup], Christoph Wedler, 2014/01/31
- Message not available
- Re: Trying to right-align my window on startup, Sebastien Vauban, 2014/01/09
- RE: Trying to right-align my window on startup, Drew Adams, 2014/01/09
- RE: Trying to right-align my window on startup, Mickey Ferguson, 2014/01/10
- RE: Trying to right-align my window on startup, Drew Adams, 2014/01/10
- RE: Trying to right-align my window on startup, Mickey Ferguson, 2014/01/10
- RE: Trying to right-align my window on startup,
Drew Adams <=
- RE: Trying to right-align my window on startup, Mickey Ferguson, 2014/01/13
- Re: Trying to right-align my window on startup, Eli Zaretskii, 2014/01/13