jed-users mailing list

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

Re: asynchronous process problem


On Tue, Mar 23, 2004 at 02:12:54PM +0100, Guenter Milde wrote:
> Evaluate line by line
> 
> ashell();
> send_process (AShell_Id, "ispell -a \n");
> send_process (AShell_Id, "uffe");
>  
> and you will see the correction proposals in the *aspell* buffer
You mean

send_process (AShell_Id, "uffe\n");

 
> Evaluate en-bloc and there will be no proposal until you send a new string
> to the process (e.g. by going to *aspell* and pressing Enter.
That's strange, but it doesn't involve a process handler or a buffer switch
so it's a different topic.

I find that commenting the line 

if (CBuf != cbuf) switch_to_buffer (cbuf);

in jprocess.c's call_slang_status_change_hook() solves the problem for
hyperman.sl, but not for server.sl.

If I comment the line 

if (b != CBuf) switch_to_buffer (b);

in read_process_input(), server.sl works OK but flyspell does not - every time
a word is checked, the next command goes to the wrong buffer.

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


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