mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] lowercase string scheme function?


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] lowercase string scheme function?
  • Date: Mon, 22 Jun 2009 22:46:36 +0200

Hi Alvaro,

Scheme functions need to make 'secure' if you want to use them
using 'extern' inside a macro ; otherwise, opening a document
might compromise your system security.

You may also set the security to accepting all scripts in the preferences.

--Joris


On Mon, Jun 22, 2009 at 06:52:43PM +0200, Alvaro Tejero Cantero wrote:
> Thanks, Joris.
>
> For reference I found out that exposed C++ functions get their Scheme
> aliases at /src/Guile/Glue/glue_basic.cpp
>
> however, I don't manage just to get the simple code
>
> <extern|locase-all|FooBar>
>
> working. Not to speak of embedding this in a macro such as
>
> <assign|<macro|x|<extern|locase-all|<quote-arg|x>>>>
>
> (for accessibility I've read I'd need to set drd-props).
>
> Where can I get documentation on making the string FooBar acceptable
> for locase-all?
>
> Best regards,
>
> Álvaro.
>
> On Wed, Jun 17, 2009 at 20:07, Joris van der Hoeven<address@hidden> wrote:
> > On Wed, Jun 17, 2009 at 04:47:31PM +0200, Alvaro Tejero Cantero wrote:
> >> does anybody know of a scheme function in TeXmacs that takes a string
> >> and makes it lowercase? I didn't find anything in the help or by
> >> grepping the sources.
> >
> >        You have locase-all and locase-first
> >
> > (this is actually a developers question).
> >
> > Best wishes, Joris
> >



Archive powered by MHonArc 2.6.19.

Top of page