emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Recent changes on tramp introduce a bug


From: Herbert Euler
Subject: RE: Recent changes on tramp introduce a bug
Date: Wed, 23 Jan 2008 11:07:31 +0800

> Hi,
> 
>> The following changes to `tramp-wait-for-output' on net/tramp.el
>> introduce a bug:
>>
>> The old code uses (forward-line -2), the new code uses
>> (re-search-backward regexp nil t).
> 
> IIRC, (forward-line -2) results in an error if a command on the remote
> host returns a result without a trailing newline. That's why Tramp
> tries to remove now exactly the trailing prompt, and nothing else.

I see.  That is a real bad feature among different implementations.  :(

> Could you, please, check whether the appended patch works for you?

It works.  Thank you very much!  :D

Regards,
Guanpeng Xu
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]