[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] operation on the selection
From: |
Nix N. Nix |
Subject: |
Re: [Texmacs-dev] operation on the selection |
Date: |
26 Mar 2003 14:59:05 -0700 |
[...]
> Oh, I see. However, this does not work either:
>
> (define (make-brackets left right)
> (if (selection-active-normal?)
> (begin (cut "primary") (make-large-left left) (paste "primary")
> (let* ((pos (tm-position-new)) (old (tm-position-get pos)))
> (make-large-right right)
> (tm-go-to old)
> (tm-position-delete pos)))
> (begin (make-large-left left)
> (let* ((pos (tm-position-new)) (old (tm-position-get pos)))
> (make-large-right right)
> (tm-go-to old)
> (tm-position-delete pos)))))
>
[...]
Correction: The motion commands /do/ seem to work, but only on Mac OS
X. This same code doesn't move the insertion point on any of my Linux
computers. The Mac OS X machine has guile version 1.4, just like my
Linux boxen, as well as TeXmacs 1.0.1.8, just like my Linux boxen.
I have tried a binary TeXmacs RPM and I have also tried compiling it
from source. In both cases, (tm-go-to old) from the above code doesn't
seem to work.
Re: [Texmacs-dev] Bracket convenience, Nix N. Nix, 2003/03/21
Re: [Texmacs-dev] Bracket convenience, Álvaro Tejero Cantero, 2003/03/21