From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59877 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: vim syntax highlighting in MKIV Date: Sun, 27 Jun 2010 14:02:15 +0200 Message-ID: <4C273DC7.1060906@googlemail.com> References: <4C251E90.3050808@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1277640156 4277 80.91.229.12 (27 Jun 2010 12:02:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Jun 2010 12:02:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 27 14:02:35 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OSqZG-0002A4-BP for gctc-ntg-context-518@m.gmane.org; Sun, 27 Jun 2010 14:02:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9B03AC9B21; Sun, 27 Jun 2010 14:02:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JHgf1G7cFtuC; Sun, 27 Jun 2010 14:02:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C3EA8C9AE6; Sun, 27 Jun 2010 14:02:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 663C5C9AE6 for ; Sun, 27 Jun 2010 14:02:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LKYbYQ9ep8CO for ; Sun, 27 Jun 2010 14:02:22 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by balder.ntg.nl (Postfix) with ESMTP id 10B33C9A8A for ; Sun, 27 Jun 2010 14:02:21 +0200 (CEST) Original-Received: by bwz9 with SMTP id 9so291726bwz.14 for ; Sun, 27 Jun 2010 05:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=bcHfx88LReS5DXhk1bXZ7dL8IuRPVRO7mfC1iJCtGhk=; b=hKmqmxgJjVfyNNnDqYf1e1buvYBo7lT0IREP1ftnXyxbMh4he8M+FdF2HJ9trc2EQf Fu3Rk8fnHA34YdggdmlDh4/LcSEjHF9pcrsrbGICNuN8Zc6YLMqPx6fiDhv9V7aUGYnN MqjeBWsQEK0w4cGkFXwyiTYJtIbTj3bXFVElM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=u/wgvEubVOdg2Q5xTcBBd7LYPWKTc+PlLzqCdJdCHYffFJoKyUP3MuyVw4ZJSG7ZyH 2Exbw9D2w06raNpfc9clB2OrRnlqbQCuVJ4eZb9UsmTuYN0cBUW2M40yF0iKAA2Fg+WW B0LsFCymd1I7M3Ov5IAJUgoPSJ/P8qsiKGXqo= Original-Received: by 10.204.25.210 with SMTP id a18mr2352101bkc.175.1277640138940; Sun, 27 Jun 2010 05:02:18 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B292BC3.dip.t-dialin.net [91.41.43.195]) by mx.google.com with ESMTPS id g18sm11292648bkw.15.2010.06.27.05.02.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 27 Jun 2010 05:02:18 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:59877 Archived-At: Am 27.06.10 07:41, schrieb Aditya Mahajan: > On Sat, 26 Jun 2010, Aditya Mahajan wrote: > >> Almost all the errors in t-vim over the years have due to trying to >> support kpse: directive. (The errors were not a fault of ConTeXt, but >> the way quotes are handled by cmd.exe and the various shells in *nix. >> I still haven't figured out a syntax that works with all shells). >> This makes me wonder whether it was a good idea to make vim module >> work out of the box. Perhaps a more robust alternative was to ask the >> uses to copy 2context.vim to $HOME/.vim/scripts/ and forget about >> getting mtxrun to locate the file. What do others think? > > In the spirit of MkIV, I have attempted to redo the vim module from > scratch. > > http://github.com/adityam/filter > > [...] > > * Most importantly, this only runs under MkIV. That is because > \doprocesslocalsetups is not defined in MkII. > > Hans, can you add the definition of \doprocesslocalsetups to MkII? If you don't matter about performance you can use '\processcommacommand[...]\directsetup' Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________