emacs-devel
[Top][All Lists]
Advanced

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

Re: Negative positions in frame parameters


From: Jan Djärv
Subject: Re: Negative positions in frame parameters
Date: Tue, 13 Apr 2010 18:31:20 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4

David Kastrup skrev 2010-04-13 17.26:
> Jan Djärv<address@hidden>  writes:
>
>> The problem in Emacs is how do you say the equivalent to
>>
>>    -geometry --10--10, -geometry +-10+-10
>>
>> in frame parameters?
>
> (make-frame '((right . -10) (bottom . -10)))
>
> (make-frame '((left . -10) (top . -10)))
>
> would seem like a reasonably obvious way.
>

You would think that, but I found out that is actually:

(make-frame '((right . (- -10)) (left . (- -10)))
and
(make-frame '((right . (+ -10)) (left . (+ -10)))

        Jan D.






reply via email to

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