From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 777B0BC85 for ; Mon, 17 Dec 2007 18:26:52 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAKtAZkdA6aawkmdsb2JhbACQBQEBAQEHAgYJChaZTQ X-IronPort-AV: E=Sophos;i="4.24,177,1196636400"; d="scan'208";a="20421784" Received: from concorde.inria.fr ([192.93.2.39]) by mail4-smtp-sop.national.inria.fr with ESMTP; 17 Dec 2007 18:26:52 +0100 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id lBHHQpXW017418 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Mon, 17 Dec 2007 18:26:52 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAKtAZkdA6aawkmdsb2JhbACQBQEBAQEHAgYJChaZTQ X-IronPort-AV: E=Sophos;i="4.24,177,1196636400"; d="scan'208";a="20421780" Received: from unknown (HELO py-out-1112.google.com) ([64.233.166.176]) by mail4-smtp-sop.national.inria.fr with ESMTP; 17 Dec 2007 18:26:45 +0100 Received: by py-out-1112.google.com with SMTP id u52so4740061pyb.1 for ; Mon, 17 Dec 2007 09:26:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=UZeIY+5DTZAAeoiyYJQFW1RPHJRLzu62slEu2T24C0Y=; b=AD+7NdE7gSZ/xc+e+4VizQx7w9w8FqA77BWP565ejKIXEnHHQtHK89Rz5d7ODgmuY/PuBPGmxLnHq8owVr5vBHTTT6P8MJrF3gGmAtSLHlzdkVc4ZiTRcFe8Wkpwishpd4hEyr9UR8CfSq7ceIqqdWg6O74kXMG5U3LbIge2bc4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sYA/oS3OUuQxT4R18GKFm0qbFWjW0CzdYwNUtwBUMhKe0h1hZe2Elbw0g1a/gfExBogOG4VkY9UYE+vEuDbNOH9gPs1wvv26+of5eHATM5C5kOolFjErViWzkqRW4j2rCaB7TYUquva5Vd++z1rcDmzIOmrndzr1VuUMrJpW2w4= Received: by 10.64.199.2 with SMTP id w2mr15420624qbf.11.1197912401671; Mon, 17 Dec 2007 09:26:41 -0800 (PST) Received: by 10.65.113.18 with HTTP; Mon, 17 Dec 2007 09:26:41 -0800 (PST) Message-ID: <9f09a07a0712170926q6adffbdfx5d6ec797f4062aa7@mail.gmail.com> Date: Mon, 17 Dec 2007 18:26:41 +0100 From: "Matthieu Dubuget" To: Caml-list@inria.fr Subject: Re: [Caml-list] Emacs mode for revised syntax In-Reply-To: <4766A868.7090406@stork.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4766A868.7090406@stork.ru> X-Miltered: at concorde with ID 4766B15B.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; matthieu:01 dubuget:01 matthieu:01 dubuget:01 emacs:01 syntax:01 emacs:01 syntax:01 syntactic:01 caml-list:01 revised:02 revised:02 tend:03 depends:04 wich:05 2007/12/17, SerP : > I can't find any emacs mode for revised syntax, is this exist? This is not so far from a more general question about syntactic extensions and IDE I have been having in mind for some time. What does need an editor to be able to colorize files using syntax extensions? Some ideas: - it would have to know wich syntax extension is used in each file. Until know, this knowledge is at building tools level? Would it be a good idea to move this information inside the files. - there should be some extension of the colorisations rules, also? Depends on the IDE? Well would it be possible (and enough) or something to much difficult to add some more simple tools that would help any IDE? Like -dtypes does, for example. I mean simple tools that would make editors mode more simple to write (especially emacs, since this is the one I tend to use ;-) Thanks Matt