From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37645 Path: news.gmane.org!not-for-mail From: Jean Magnan de Bornier Newsgroups: gmane.comp.tex.context Subject: Re: Opening ConTeXt files in emacs [was : selectively turn off captions] Date: Sun, 02 Dec 2007 08:51:16 +0100 Message-ID: <87ve7hk00b.fsf_-_@bornier.net> References: <115224fb0711290815o61878902s508811cda01ebb10@mail.gmail.com> <474F3A83.9000804@wxs.nl> <47500815.2000903@wxs.nl> <47501CE2.6020209@wxs.nl> <47515CDB.8070104@wxs.nl> <873aumldci.fsf@bornier.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1196581921 4503 80.91.229.12 (2 Dec 2007 07:52:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2007 07:52:01 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 02 08:52:09 2007 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 1IyjcW-0004wS-Qy for gctc-ntg-context-518@m.gmane.org; Sun, 02 Dec 2007 08:52:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 62A4B1FBEB; Sun, 2 Dec 2007 08:51:37 +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 00903-02-4; Sun, 2 Dec 2007 08:51:27 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 595951FBAA; Sun, 2 Dec 2007 08:51:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 205FA1FBAA for ; Sun, 2 Dec 2007 08:51:26 +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 32415-02-3 for ; Sun, 2 Dec 2007 08:51:22 +0100 (CET) Original-Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by ronja.ntg.nl (Postfix) with ESMTP id EFCCA1FBA6 for ; Sun, 2 Dec 2007 08:51:21 +0100 (CET) Original-Received: from smtp3-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp3-g19.free.fr (Postfix) with ESMTP id A594117B54E for ; Sun, 2 Dec 2007 08:51:21 +0100 (CET) Original-Received: from bokuro (unknown [81.56.145.104]) by smtp3-g19.free.fr (Postfix) with ESMTP id 69F7617B53E for ; Sun, 2 Dec 2007 08:51:21 +0100 (CET) Original-Received: from boldair (unknown [192.168.0.3]) by bokuro (Postfix) with ESMTP id DA7671E586 for ; Sun, 2 Dec 2007 08:46:34 +0100 (CET) In-Reply-To: (Roger Mason's message of "Sat\, 01 Dec 2007 15\:30\:59 -0330") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.50 (gnu/linux) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:37645 Archived-At: Le 01 d=E9cembre =E0 20:00:59 Roger Mason =E9crit notam= ment: | Hello Jean & Peter, > | Jean Magnan de Bornier writes: > | > Well, AucTeX does recognize a LaTeX file from a ConTeXt file; no need f= or that! > | I did it like that because I have (setq-default TeX-master nil) in my | .emacs so it asks then inserts the local variables that Peter | mentioned. Having emacs recognise a context file by \starttext is | fine except when you open a new file. > | This is drifting off topic but, if you have any tweaks to make AUCTeX | work better with context than it does out of the box then I'd be glad | to hear about them. > Well, not specific to AucTeX, you could use one of emacs' template modes to create new tex files, specifying the needed lines in the template. http://www.emacswiki.org/cgi-bin/emacs-en/TemplatesMode (I use template.el to choose e.g. from several styles to write letters, and I like it). On the other hand, AucTeX maintainers might be willing to develop something specific for opening context files... cheers, -- = Jean ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________