jed-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Ann: New release of JoergsLatexMode


Hallo Romano,

Romano Giannetti <romanol@xxxxxxx> wrote:
> On Wed, 2006-09-06 at 03:34 +0200, Jörg Sommer wrote:
>> > Ahhh... yes, I see. Ctrl-c y show the error window... you see, operator
>> > error. I expected it would opens alone in case of errors. 
>> 
>> That's for somewhat reason not possible, IIRC. I take a look into it.
>> Would you like to see it popup after the build?
>> 
>
> Well, there was one point in story when if an error happened during a
> build, the little window with the log and the cursor pointing to the
> first error would open alone, without the need to ctrl-c y. Maybe it was
> another LaTeX mode, don't remember... it's not a matter of calling
> pop_log_file() if compose terminate with an error? 

Try this patch:
#v+
--- latex_external.sl   (Revision 79)
+++ latex_external.sl   (Arbeitskopie)
@@ -1140,7 +1140,11 @@
         else
         {
             if (status != 0)
-              throw ApplicationError, "(compose) finished with error";
+            {
+                pop_log_file();
+                find_next('e', 1);
+                throw ApplicationError, "(compose) finished with error";
+            }
             flush("(compose) finished");
         }
 
#v-

I did not encounter any errors. The only thing I find annoying is that
the focus jumps to a different window. If you type anything while the
compose run quits, your text may go to the log buffer. It's not really
the kind of behaviour I expect from a backgroud process. But, how do you
(or others) think?

Bye, Jörg.
-- 
Da würde ich auch lieber den Panzerführerschein machen als den MCSE.
Bringt mehr, dürfte das gleiche kosten und macht sicher mehr Spaß.
                                   Jens Dittmar in de.comp.security

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]