From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45049 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: emacs Date: Thu, 23 Oct 2008 23:08:20 +0200 Message-ID: <20081023210820.GA20122@gaston.couberia.bzh> References: <20081021224645.GS29313@atos.labs.wmid.amu.edu.pl> <20081022053132.GA11737@gaston.couberia.bzh> <20081022061808.GA21389@atos.labs.wmid.amu.edu.pl> 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 1224796195 15199 80.91.229.12 (23 Oct 2008 21:09:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2008 21:09:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 23 23:10:56 2008 connect(): Connection refused 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 1Kt7SI-0003zJ-4w for gctc-ntg-context-518@m.gmane.org; Thu, 23 Oct 2008 23:10:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B203C1FC93; Thu, 23 Oct 2008 23:09:46 +0200 (CEST) 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 26194-02-4; Thu, 23 Oct 2008 23:08:58 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4FD4B1FB49; Thu, 23 Oct 2008 23:08:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D39D61FB3C for ; Thu, 23 Oct 2008 23:08:56 +0200 (CEST) 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 26194-02-3 for ; Thu, 23 Oct 2008 23:08:21 +0200 (CEST) Original-Received: from smtp21.orange.fr (smtp21.orange.fr [80.12.242.46]) by ronja.ntg.nl (Postfix) with ESMTP id AB5771FB49 for ; Thu, 23 Oct 2008 23:08:21 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2102.orange.fr (SMTP Server) with ESMTP id 760B51C000A8 for ; Thu, 23 Oct 2008 23:08:21 +0200 (CEST) Original-Received: from gaston.couberia.bzh (ARennes-358-1-38-90.w90-49.abo.wanadoo.fr [90.49.221.90]) by mwinf2102.orange.fr (SMTP Server) with ESMTP id 38E3A1C0009B for ; Thu, 23 Oct 2008 23:08:21 +0200 (CEST) X-ME-UUID: 20081023210821233.38E3A1C0009B@mwinf2102.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id 92A9130612; Thu, 23 Oct 2008 23:08:20 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <20081022061808.GA21389@atos.labs.wmid.amu.edu.pl> User-Agent: Mutt/1.5.17 (2007-11-01) 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:45049 Archived-At: On Wed, Oct 22 2008, Marcin Borkowski wrote: > > What are the problems with emacs? > > Here is the (unordered) list of what I remember at the moment. > > * It almost never knows when to launch "View"; it almost always offers > me to "ConTeXt" the file. Hello Marcin, Right, this is a bug. I could make a bug report for that issue. I haven't done this before, because I don't really need this feature: - I open a ConTeXt file - then I begin with the View command to open an xpdf window - then I only need ConTeXt commands, that refresh automatically the xpdf window (C-c C-c return) Customization code for TeX-command-list: ("ConTeXt" "context --once --nonstopmode %t; xpdfcheck \"%s\" && xpdf -remote \"%s\" -reload" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "context --nonstopmode %t; xpdfcheck \"%s\" && xpdf -remote \"%s\" -reload" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") This is xpdfcheck.c : #include #include int main(int argc, char *argv[]) { Display *display; Atom remoteAtom; char remoteName[256]; if(argc != 2){ fprintf(stderr, "Usage: %s \n", argv[0]); return 1; } snprintf(remoteName, sizeof(remoteName), "xpdf_%s", argv[1]); if(!(display = XOpenDisplay(NULL))) return 1; remoteAtom = XInternAtom(display, remoteName, False); return !XGetSelectionOwner(display, remoteAtom); } > * (This is probably related to the previous one.) When finished > compilation, it says "ConTeXt: problems after {1} page." or something > like this. Indeed, this should be mentioned in the bug report. > * When finding files, it offers me to find not only the .tex file, but > also all the .tui, .tuo stuff etc. by default, which is rather > inconvenient. (setq completion-ignored-extensions (append completion-ignored-extensions '(".tui" ".tuo"))) > * It has no idea about most of ConTeXt commands, e.g., it tries to > insert {} after ConTeXt commands put by C-c C-m. Don't know about this one, I just type the command (often with the help of "dabbrev-expand"). > * Unlike when editing LaTeX files, it does not insert an \item when > doing C-c C-e itemize. I use itemizations a lot and this is a bit > annoying, especially that I got used to its behaior when doing LaTeX. > Also, having C-c C-j asking about the (optional) label all the time is > also tiring, I would prefer to be asked for it only with C-u C-c C-j. This is also annoying to me. I'll try to solve this, should no be too complicated I think (only problem I have, is no spare time, just like you...). > * By default, being in dvi or pdf mode doesn't matter: you always end up > with a pdf file. This is fine when you have a fast computer, but on > low-end, older ones (like mine;)) xdvi is *a lot* faster than xpdf. Start xpdf just once, then use only "xpdf -reload". Besides, there are more and more issues with dvi, since it's no more supported by ConTeXt (clipping of figures, protrusion with TTF and perhaps a lot more). So I consider dvi as obsolete. Cheers, Peter -- http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________