From: Michael Albinus <michael.albinus@gmx.de>
To: "Andrew W. Nosenko" <andrew.w.nosenko@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] tramp: Avoid "Args out of range" error
Date: Fri, 01 Feb 2013 20:11:35 +0100 [thread overview]
Message-ID: <87k3qrluhk.fsf@gmx.de> (raw)
In-Reply-To: <CALa-7vyUzLrPr93BRH87d6x9qPimRevjCbXwqRo+EM-9pEetSA@mail.gmail.com> (Andrew W. Nosenko's message of "Fri, 1 Feb 2013 18:05:14 +0200")
"Andrew W. Nosenko" <andrew.w.nosenko@gmail.com> 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 <andrew.w.nosenko@gmail.com>
Best regards, Michael.
next prev parent reply other threads:[~2013-02-01 19:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-01 16:05 [PATCH] tramp: Avoid "Args out of range" error Andrew W. Nosenko
2013-02-01 19:11 ` Michael Albinus [this message]
2013-02-01 19:47 ` Andrew W. Nosenko
2013-02-01 20:36 ` Stefan Monnier
2013-02-01 21:12 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k3qrluhk.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=andrew.w.nosenko@gmail.com \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.