[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tramp: Avoid "Args out of range" error
From: |
Andrew W. Nosenko |
Subject: |
Re: [PATCH] tramp: Avoid "Args out of range" error |
Date: |
Fri, 1 Feb 2013 21:47:39 +0200 |
On Fri, Feb 1, 2013 at 9:11 PM, Michael Albinus <address@hidden> wrote:
> "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))))))
>
Thanks for catch!
--
Andrew W. Nosenko <address@hidden>