[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Negative positions in frame parameters
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: Negative positions in frame parameters |
Date: |
Wed, 14 Apr 2010 08:41:38 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Tue, 13 Apr 2010 18:31:20 +0200, Jan Djärv <address@hidden> said:
> 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)))
Apparently you meant
(make-frame '((top . (- -10)) (left . (- -10))))
and
(make-frame '((top . (+ -10)) (left . (+ -10))))
YAMAMOTO Mitsuharu
address@hidden
Re: Negative positions in frame parameters, Jan Djärv, 2010/04/13