From: John Devereux <john@devereux.me.uk>
To: ntg-context@ntg.nl
Subject: Re: What do you miss in ConTeXt?
Date: Sat, 13 Feb 2010 16:24:11 +0000 [thread overview]
Message-ID: <878waxhzo4.fsf@devereux.me.uk> (raw)
In-Reply-To: <4B769B64.9000405@googlemail.com> (Wolfgang Schuster's message of "Sat, 13 Feb 2010 13:30:28 +0100")
Wolfgang Schuster <schuster.wolfgang@googlemail.com> writes:
> Am 13.02.10 13:24, schrieb John Devereux:
>> I asked before why ConTeXt does not flag incorrect parameters, I seem to
>> recall the answer was that it would slow things down too much. But a
>> command line switch to do this would be very useful.
> Already available for MkIV (mult-chk.mkiv):
>
> \starttext
>
> \testfeatureonce{10000}{\getcheckedparameters[test][xx][a=b,c= d, e =
> f]} % 0.20 seconds
>
> \enablecheckparameters
>
> \testfeatureonce{10000}{\getcheckedparameters[test][xx][a=b,c= d, e =
> f]} % 0.35 seconds
>
> \getcheckedparameters[test][xx][a=a]
> \getcheckedparameters[test][xx][b= b]
> \getcheckedparameters[test][xx][c = c]
> \getcheckedparameters[test][xx][d = d d , e = e ,f = f ]
> \getcheckedparameters[test][xx][g={oeps {oeps}}]
> \getcheckedparameters[test][xx][crap=whatever]
>
> \startlines
> [a:\getvalue{xxa}][a]
> [b:\getvalue{xxb}][b]
> [c:\getvalue{xxc}][c]
> [d:\getvalue{xxd}][d d ]
> [e:\getvalue{xxe}][e ]
> [f:\getvalue{xxf}][f ]
> [g:\getvalue{xxg}][\detokenize\expandafter{\xxg}]
> \stoplines
>
> \setvalidparameterkeys[test][crap]
>
> \getcheckedparameters[test][xx][crap=whatever]
>
> \stoptext
>
> Wolfgang
Hi Wolfgang.
That is a bit beyond me... I am guessing this means that there is now a
facility whereby certain commands could be instrumented? In the future?
What I was asking for was a general "switch" that could turn on
parameter error checking for all commands. (Perhaps the work involved is
too much).
--
John Devereux
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2010-02-13 16:24 UTC|newest]
Thread overview: 117+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-08 11:25 Wolfgang Schuster
2010-02-08 11:43 ` Sebastien Mengin
2010-02-08 11:55 ` Peter Münster
2010-02-09 17:31 ` Hans Hagen
[not found] ` <20100209110640.GE3508@localhost.localdomain>
2010-02-09 22:30 ` Peter Münster
2010-02-09 22:48 ` Hans Hagen
2010-02-10 8:22 ` Peter Münster
2010-02-10 8:33 ` Hans Hagen
2010-02-10 9:45 ` Sebastien Mengin
2010-02-10 9:52 ` Hans Hagen
2010-02-10 10:12 ` Alan BRASLAU
2010-02-10 10:34 ` Hans Hagen
2010-02-10 11:46 ` Alan BRASLAU
2010-02-10 9:11 ` Sebastien Mengin
2010-02-10 7:55 ` Alan BRASLAU
2010-02-10 8:36 ` Hans Hagen
2010-02-10 9:54 ` Alan BRASLAU
2010-02-10 9:07 ` Sebastien Mengin
2010-02-10 10:05 ` Alan BRASLAU
2010-02-10 14:04 ` Wolfgang Schuster
2010-02-11 10:10 ` Sebastien Mengin
2010-02-11 10:13 ` Alan BRASLAU
2010-02-08 11:56 ` Bernhard Rosensteiner
2010-02-08 12:14 ` Wolfgang Schuster
2010-02-08 13:22 ` Sebastien Mengin
2010-02-08 12:06 ` Peter Münster
2010-02-08 13:41 ` Alan BRASLAU
2010-02-08 16:54 ` Wolfgang Schuster
2010-02-08 17:08 ` John Haltiwanger
2010-02-08 13:49 ` Philipp Gesang
2010-02-08 14:21 ` Bernhard Rosensteiner
2010-02-08 15:05 ` Taco Hoekwater
2010-02-08 15:12 ` Hans Hagen
2010-02-08 21:14 ` Philipp Gesang
2010-02-08 21:26 ` Wolfgang Schuster
2010-02-08 22:08 ` Philipp Gesang
2010-02-08 22:13 ` Wolfgang Schuster
2010-02-08 22:20 ` Hans Hagen
2010-02-08 23:40 ` Philipp Gesang
2010-02-09 2:50 ` Curiouslearn
2010-02-09 8:32 ` Alan BRASLAU
2010-02-09 9:15 ` John Haltiwanger
2010-02-09 9:27 ` Wolfgang Schuster
2010-02-09 14:04 ` Hans Hagen
2010-02-09 14:27 ` Philipp Gesang
2010-02-09 14:56 ` Hans Hagen
2010-02-09 14:05 ` Thomas A. Schmitz
2010-02-08 22:25 ` John Haltiwanger
2010-02-08 16:51 ` Oliver Heins
2010-02-08 17:29 ` David Rogers
2010-02-08 17:37 ` Hans Hagen
2010-02-09 5:53 ` Otared Kavian
2010-02-09 9:29 ` Hans Hagen
2010-02-09 12:09 ` Vedran Miletić
2010-02-09 12:21 ` Wolfgang Schuster
2010-02-09 16:31 ` Oliver Buerschaper
2010-02-09 16:49 ` Wolfgang Schuster
2010-02-09 17:50 ` Khaled Hosny
2010-02-09 17:56 ` Hans Hagen
2010-02-09 18:44 ` Khaled Hosny
2010-02-09 19:12 ` Idris Samawi Hamid ادريس سماوي حامد
2010-02-09 19:25 ` Khaled Hosny
2010-02-09 18:07 ` Martin Schröder
2010-02-09 22:29 ` Hans Hagen
2010-02-09 22:49 ` Martin Schröder
2010-02-09 18:21 ` Kevin D. Robbins
2010-02-09 18:40 ` Hans Hagen
2010-02-13 12:19 ` John Devereux
2010-02-13 12:50 ` tracking changes (was: Re: What do you miss in ConTeXt?) Peter Münster
2010-02-13 15:24 ` Kevin D. Robbins
2010-02-13 16:14 ` John Devereux
2010-02-13 20:08 ` tracking changes Peter Münster
2010-02-09 18:45 ` What do you miss in ConTeXt? Alan BRASLAU
2010-02-09 18:50 ` Wolfgang Schuster
2010-02-09 19:54 ` Hans Hagen
2010-02-09 22:05 ` luigi scarso
2010-02-09 22:07 ` luigi scarso
2010-02-09 18:51 ` Hans Hagen
2010-02-10 8:00 ` Mikael Persson
2010-02-10 14:24 ` Wolfgang Schuster
2010-02-11 8:43 ` Steffen Wolfrum
2010-02-11 9:05 ` Taco Hoekwater
2010-02-11 9:37 ` Hans Hagen
2010-02-11 9:47 ` Vedran Miletić
2010-02-11 10:07 ` Peter Münster
2010-02-11 13:08 ` Taco Hoekwater
2010-02-11 10:08 ` Taco Hoekwater
2010-02-11 10:15 ` Steffen Wolfrum
2010-02-11 10:12 ` Steffen Wolfrum
2010-02-11 10:24 ` Sebastien Mengin
2010-02-14 14:17 ` Hans Hagen
2010-02-11 9:55 ` Peter Münster
2010-02-11 13:24 ` Hans Hagen
2010-02-11 13:48 ` Peter Münster
2010-02-11 15:17 ` Hans Hagen
2010-02-11 10:01 ` Peter Münster
2010-02-13 12:24 ` John Devereux
2010-02-13 12:30 ` Wolfgang Schuster
2010-02-13 13:21 ` checking keys (was: Re: What do you miss in ConTeXt?) Peter Münster
2010-02-13 13:34 ` checking keys Wolfgang Schuster
2010-02-13 13:45 ` Peter Münster
2010-02-13 13:49 ` Wolfgang Schuster
2010-02-13 16:24 ` John Devereux [this message]
2010-02-13 12:30 ` What do you miss in ConTeXt? Eric DÉTREZ
2010-02-19 16:24 ` Kevin D. Robbins
2010-03-05 9:13 ` Vedran Miletić
[not found] ` <6faad9f01003051213n3fe17c24u9cac1a536bde33b7@mail.gmail.com>
[not found] ` <4B94CAB6.8070908@wxs.nl>
[not found] ` <6faad9f01003080636x539d48f0ic94100baabb3925c@mail.gmail.com>
2010-03-14 21:06 ` Vedran Miletić
2010-03-14 22:47 ` Hans Hagen
2010-03-15 13:53 ` Mojca Miklavec
2010-03-15 14:12 ` Hans Hagen
2010-03-19 20:36 ` Vedran Miletić
2010-03-15 1:41 ` Joshua Lee
2010-02-09 8:53 What do you miss in ConTeXt?: Robert Blackstone
2010-02-10 8:50 What do you miss in ConTeXt? Robert Blackstone
2010-02-10 8:56 ` Matija Šuklje
2010-02-14 12:42 ` Matija Šuklje
[not found] <mailman.237.1265794125.26807.ntg-context@ntg.nl>
2010-02-10 14:01 ` Vyatcheslav Yatskovsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878waxhzo4.fsf@devereux.me.uk \
--to=john@devereux.me.uk \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).