emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] tramp: Avoid "Args out of range" error


From: Michael Albinus
Subject: Re: [PATCH] tramp: Avoid "Args out of range" error
Date: Fri, 01 Feb 2013 20:11:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

"Andrew W. Nosenko" <address@hidden> writes:

Hi Andrew,

> Attached patch for tramp.el avoids the "Args out of range" error inside
> tramp-check-for-regexp.
>
> Such error occurs, for example, when try to compile through tramp with
> FreeBSD-9.1 as remote host.

Thanks for the patch, it makes sense. But I believe it is incorrect, it
should be

            (tramp-compat-funcall
             'buffer-substring-no-properties
             (point-min)
             (min (+ (point-min) tramp-echo-mark-marker-length) (point-max))))))

I would like to install it in the emacs-24 branch, are there objections?
Glenn? Stefan?

> Andrew W. Nosenko <address@hidden>

Best regards, Michael.



reply via email to

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