From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Re: "Connection broken" message appearing in odd places in buffers
Date: Thu, 15 Sep 2011 00:46:54 +0200 [thread overview]
Message-ID: <m3mxe6eo81.fsf@stories.gnus.org> (raw)
In-Reply-To: m3boumixf2.fsf@stories.gnus.org
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> So the process-mark stays at character 363, and that's where it outputs
> the message. So the question is, I guess -- why doesn't the marker
> increase?
It's as if this code doesn't get run, for some reason, in
read_process_output.
/* Make sure the process marker's position is valid when the
process buffer is changed in the signal_after_change above.
W3 is known to do that. */
if (BUFFERP (p->buffer)
&& (b = XBUFFER (p->buffer), b != current_buffer))
set_marker_both (p->mark, p->buffer, BUF_PT (b), BUF_PT_BYTE (b));
else
set_marker_both (p->mark, p->buffer, PT, PT_BYTE);
And from reading the code, that just seems impossible.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
next prev parent reply other threads:[~2011-09-14 22:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-14 22:04 "Connection broken" message appearing in odd places in buffers Lars Magne Ingebrigtsen
2011-09-14 22:14 ` Lars Magne Ingebrigtsen
2011-09-14 22:46 ` Lars Magne Ingebrigtsen [this message]
2011-09-14 22:52 ` Lars Magne Ingebrigtsen
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=m3mxe6eo81.fsf@stories.gnus.org \
--to=larsi@gnus.org \
--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 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).