From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48256 Path: news.gmane.org!not-for-mail From: John Devereux Newsgroups: gmane.comp.tex.context Subject: Re: die if a module is missing Date: Thu, 12 Mar 2009 15:20:50 +0000 Message-ID: <87iqmeepil.fsf@cordelia.devereux.me.uk> References: <87mybqesxv.fsf@cordelia.devereux.me.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1236871605 16925 80.91.229.12 (12 Mar 2009 15:26:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2009 15:26:45 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 12 16:28:00 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LhmkF-0000z3-Uo for gctc-ntg-context-518@m.gmane.org; Thu, 12 Mar 2009 16:22:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C09F1FB6B; Thu, 12 Mar 2009 16:21:28 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11112-04; Thu, 12 Mar 2009 16:21:00 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C12FA1FADF; Thu, 12 Mar 2009 16:21:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7912B1FADF for ; Thu, 12 Mar 2009 16:20:58 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22552-01 for ; Thu, 12 Mar 2009 16:20:52 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id EFAFB1FA2B for ; Thu, 12 Mar 2009 16:20:51 +0100 (CET) Original-Received: from cordelia.devereux.me.uk (cordelia.devereux.me.uk [217.169.15.178]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2CFKpui029221 for ; Thu, 12 Mar 2009 16:20:51 +0100 Original-Received: from [217.169.15.178] (helo=cordelia.devereux.me.uk ident=jd) by cordelia.devereux.me.uk with esmtp (Exim 4.69) (envelope-from ) id 1LhmiI-0004P1-Sp for ntg-context@ntg.nl; Thu, 12 Mar 2009 15:20:50 +0000 In-Reply-To: (Wolfgang Schuster's message of "Thu\, 12 Mar 2009 15\:19\:44 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=217.169.15.178; country=GB; region=L6; city=Much Wenlock; latitude=52.6000; longitude=-2.5500; http://maps.google.com/maps?q=52.6000,-2.5500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 192660516 - 3f6f9ab18a90 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:48256 Archived-At: Wolfgang Schuster writes: > Am 12.03.2009 um 15:06 schrieb John Devereux: > >> Michael Bynum writes: >> >>> This has burned me too. It would be nice if the errors were more >>> prominent, perhaps repeated at the end of the output? >>> Mike >> >> While we are on the subject, is it possible to make it "die" when >> incorrect (non-existent) options are passed to a context command? Is >> there any way at all of knowing if the option did anything (even by >> examining the log?) > > No, this is not possible and even such a feature would increase > the compile time a lot, e.g. I used list with valid names in a earlier > version of my letter module and it was 30% slower than the current > version and now imagine what happens if you check each key in a > assignment list. OK. It seems strange (coming from a programming background). If it is only the compile time, then a command line switch might be an option. (But it sounds like it is inherently hard to do, now). -- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________