emacs-devel
[Top][All Lists]
Advanced

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

Re: FIX: byte-code: Wrong type argument: number-or-marker-p, (+ -21)


From: Jan Nieuwenhuizen
Subject: Re: FIX: byte-code: Wrong type argument: number-or-marker-p, (+ -21)
Date: Mon, 17 Nov 2003 14:43:36 +0100
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3 (powerpc-unknown-linux-gnu)

address@hidden (Kim F. Storm) writes:

>> +                        (cond ((eq '+ (car fif-top)) (cadr fif-top))
>> +                              ((eq '- (car fif-top)) (- 0 (cadr fif-top)))

> This still looks bogus to me, as the new parameter doesn't preserve
> the (+ ...) or (- ...) form of the original setting, but uses the
> calculated value directly.  Shouldn't it preserve the top/left (+) or
> bottom/right (-) indication?

Ah, so that's what (and why) the strange notation means.  Then it
should probably be something like:

 (cond ((eq '+ (car fif-top)) (cadr fif-top))
       ((eq '- (car fif-top)) (- <DISPLAY-HEIGHT> (cadr fif-top)))

Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org





reply via email to

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