denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] Scheme script debugging


From: Andreas Schneider
Subject: [Denemo-devel] Scheme script debugging
Date: Tue, 21 May 2013 20:57:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12

Hi,

is there an easy way to debug a scheme script? I suppose the scheme
script editor has no built-in debugger? (Hey, one can dream ...) I have
written a script that does not work, and I don't understand why.

;;;MarkupAtEnd
(let ((tag "MarkupAtEnd"))
        (d-DirectivePut-movement-override tag DENEMO_OVERRIDE_GRAPHIC)
        (d-DirectivePut-movement-display tag "MarkupAtEnd")
        (if (d-Directive-movement? tag)
                (let themarkup (d-DirectiveGet-movement-postfix tag))
                (let themarkup (""))
        )
        (set! themarkup (d-GetUserInput (_ "MarkupAtEnd") (_ "Edit markup:")
themarkup))
        (d-DirectivePut-movement-postfix tag themarkup)
        (d-DirectivePut-movement-override tag DENEMO_OVERRIDE_AFFIX)
        (d-SetSaved #f)
)

Thanks

Andreas



reply via email to

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