denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Scheme script debugging


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

Okay, I have removed the DENEMO_OVERRIDE_EDITOR, but as I tried before,
it still does not execute the script on pressing the button, but shows
the default Low Level Denemo Directive Edit window. Here's the script:

;;;MarkupAtEnd
(let ((tag "MarkupAtEnd")(themarkup #f))
        (d-DirectivePut-movementcontrol-override tag (logior
DENEMO_OVERRIDE_GRAPHIC DENEMO_OVERRIDE_AFFIX))
        (d-DirectivePut-movementcontrol-display tag "MarkupAtEnd")
        (disp "checking previous markup ...")
        (if (d-Directive-movementcontrol? tag)
                (set! themarkup (d-DirectiveGet-movementcontrol-postfix
tag))

                (set! themarkup (""))

        )
        (set! themarkup (d-GetUserInput (_ "MarkupAtEnd") (_ "Edit
markup:") themarkup))
        (disp themarkup)
        (d-DirectivePut-movementcontrol-postfix tag themarkup)
        (d-SetSaved #f)
)

Thanks,

Andreas

Am 23.05.2013 21:20, schrieb Richard Shann:
> Please send the exact script you have used for your command and the name
> you gave the command (not the label, but the actual command name).
> I will be able to say what it is exactly that is going on.
> 
> (Well, that is if you have gone as far as creating a command to execute
> the scheme, otherwise, just send the scheme itself).




reply via email to

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