From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45055 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.comp.tex.context Subject: Re: emacs Date: Fri, 24 Oct 2008 00:46:39 +0200 Message-ID: <20081023224638.GO21389@atos.labs.wmid.amu.edu.pl> References: <20081021224645.GS29313@atos.labs.wmid.amu.edu.pl> <20081022053132.GA11737@gaston.couberia.bzh> <20081022061808.GA21389@atos.labs.wmid.amu.edu.pl> <20081023210820.GA20122@gaston.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1224802112 1179 80.91.229.12 (23 Oct 2008 22:48:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2008 22:48:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 24 00:49:32 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 1Kt8zg-0001IL-KE for gctc-ntg-context-518@m.gmane.org; Fri, 24 Oct 2008 00:49:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 25CBB1FB57; Fri, 24 Oct 2008 00:48:19 +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 02191-06-3; Fri, 24 Oct 2008 00:47:15 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 129F41FBCC; Fri, 24 Oct 2008 00:47:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DB7A21FBCC for ; Fri, 24 Oct 2008 00:47:12 +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 02191-06-2 for ; Fri, 24 Oct 2008 00:46:39 +0200 (CEST) Original-Received: from atos.wmid.amu.edu.pl (atos.wmid.amu.edu.pl [150.254.78.2]) by ronja.ntg.nl (Postfix) with ESMTP id 834361FBC5 for ; Fri, 24 Oct 2008 00:46:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by atos.wmid.amu.edu.pl (Postfix) with ESMTP id 4E3FF109F5E0 for ; Fri, 24 Oct 2008 00:46:39 +0200 (CEST) X-Virus-Scanned: by amavisd-new (PLD-Linux) at wmid.amu.edu.pl Original-Received: from atos.wmid.amu.edu.pl ([127.0.0.1]) by localhost (atos.wmid.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id aj0k111FaFYP for ; Fri, 24 Oct 2008 00:46:39 +0200 (CEST) Original-Received: by atos.wmid.amu.edu.pl (Postfix, from userid 3884) id 1B932109F13F; Fri, 24 Oct 2008 00:46:39 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20081023210820.GA20122@gaston.couberia.bzh> User-Agent: Mutt/1.4.2.3i 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:45055 Archived-At: Dnia Thu, Oct 23, 2008 at 11:08:20PM +0200, Peter M=FCnster napisał(a): > 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) The same I do, but if I work on a few files simultaneously, or just want to jump into a new file (to check something or so) the current behavior is a bit inconvenient. > = > 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 !=3D 2){ > fprintf(stderr, "Usage: %s \n", argv[0]); > return 1; > } > snprintf(remoteName, sizeof(remoteName), "xpdf_%s", argv[1]); > if(!(display =3D XOpenDisplay(NULL))) > return 1; > remoteAtom =3D XInternAtom(display, remoteName, False); > return !XGetSelectionOwner(display, remoteAtom); > } Wow, thanks! I'll try it (but not today;))! > > * (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"))) Thanks! I'll have it added together with .aux;). Edit: it was there already. Emacs, I'm scared of you. > > * 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"). Well, in case of LaTeX-mode, it's very useful, since it knows about the usage of many standard commands and asks for the arguments. > > * 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...). That would be great, also from the point of view of learning elisp... > > * 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 mo= re > and more issues with dvi, since it's no more supported by ConTeXt (clippi= ng > of figures, protrusion with TTF and perhaps a lot more). So I consider dvi > as obsolete. I know, but I edit mostly rather simple files (no figures, no non-type1 fonts, no rotation etc...) and then uses xdvi a lot (when using LaTeX). > Cheers, Peter > = > -- = > http://pmrb.free.fr/contact/ Thanks, greets! PS. I visited your homepage. Loved the M$ jokes; the essay on viruses on linux was also *very* interesting. -- = Marcin Borkowski (http://mbork.pl) ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________