unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Herbert Euler <herberteuler@hotmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: RE: Recent changes on tramp introduce a bug
Date: Wed, 23 Jan 2008 11:07:31 +0800	[thread overview]
Message-ID: <BAY143-W45948F1C2492DCAA2358C5DA3F0@phx.gbl> (raw)
In-Reply-To: <nqtzl6x7mn.fsf@alcatel-lucent.de>


> 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	other threads:[~2008-01-23  3:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-22  5:57 Recent changes on tramp introduce a bug Herbert Euler
2008-01-22 14:22 ` Michael Albinus
2008-01-23  3:07   ` Herbert Euler [this message]
2008-01-23 20:56     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY143-W45948F1C2492DCAA2358C5DA3F0@phx.gbl \
    --to=herberteuler@hotmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).