emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Cannot interrupt async shell command


From: Kevin Rodgers
Subject: Re: Cannot interrupt async shell command
Date: Fri, 01 Sep 2006 08:30:36 -0600
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

Romain Francoise wrote:
Juri Linkov <address@hidden> writes:

One way to fix this bug is to replace the following line in
`shell-filter-ctrl-a-ctrl-b':

      (goto-char (or comint-last-output-start (point-min)))

with

      (goto-char (or (and (marker-position comint-last-output-start)
                          comint-last-output-start)
                     (point-min)))

i.e. to check if there is a buffer position recorded in
comint-last-output-start instead of checking the marker
(always created in `comint-mode') for nil.

That sounds like a good thing to do in any case.  Could you install this
change?

Shouldn't that be:

      (goto-char (or (and comint-last-output-start
                          (marker-position comint-last-output-start))
                     (point-min)))

--
Kevin





reply via email to

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