Gnus development mailing list
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: ding@gnus.org
Subject: Killing text from article buffers goes weird
Date: Mon, 07 Feb 2011 20:26:32 +0100	[thread overview]
Message-ID: <87ei7jk5nb.fsf@member.fsf.org> (raw)

Hi all,

lately, I have pretty hard times killing regions from article buffers
and yanking them in another buffer.  What I've killed doesn't match what
comes out of the yank.

Let's use my message <87ipww6pzc.fsf@member.fsf.org> on this list as an
example.  In the article buffer, I marked the following region:

--8<---------------cut here---------------start------------->8---
in my ~/.gnus.el to let Gnus regularily fetch news and mail.
Unfortunately, sometimes the fetching process seems to hang.  In the
echo area, I can read something like
--8<---------------cut here---------------end--------------->8---

Now I yank it here, and get this!

--8<---------------cut here---------------start------------->8---
Message-ID: <87ipww6pzc.fsf@member.fsf.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Hi,

I have this

  (require 'gnus-demon)
  (gnus-demon-add-handler 'gnus-demon-scan-news 15 5)
--8<---------------cut here---------------end--------------->8---

Ok, I kill that region again, C-y here (same wrong text as above), then
M-y, and then I finally have the correct text.

--8<---------------cut here---------------start------------->8---
in my ~/.gnus.el to let Gnus regularily fetch news and mail.
Unfortunately, sometimes the fetching process seems to hang.  In the
echo area, I can read something like
--8<---------------cut here---------------end--------------->8---

Another madness: The article has the folllowing displayed headers
(again, I have to kill, C-y, M-y to get them correctly yanked; after the
C-y only the headers till the Date header (including) are there):

--8<---------------cut here---------------start------------->8---
From:  Tassilo Horn <tassilo@member.fsf.org>
Subject: How to debug hangs during message fetching
To: ding@gnus.org
Date: Mon, 07 Feb 2011 12:31:03 +0100 (7 hours, 47 minutes, 55 seconds ago)
Message-ID: <87ipww6pzc.fsf@member.fsf.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)
--8<---------------cut here---------------end--------------->8---

Now I set point to the start of the Message-ID-header line, go down one
line, so that the Message-ID line is in the active region, and when the
funky Date header gets updated after one second, the start of the region
expands to the beginning of the Date header line!

When looking at my examples, I'm pretty sure it has something to do with
that new Date header display (which I like!).  All the wrong text seems
to be "bounded" to the Date header: either the wrong regien ends there
(including), or it starts there (excluding).

Bye,
Tassilo
-- 
Sent from my Emacs



             reply	other threads:[~2011-02-07 19:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-07 19:26 Tassilo Horn [this message]
2011-02-14  2:59 ` Lars Ingebrigtsen
2011-02-14  7:31   ` Tassilo Horn
2011-02-14 22:17 ` Lars Ingebrigtsen
2011-02-15  7:42   ` Tassilo Horn
2011-02-21  4:15     ` Lars Ingebrigtsen
2011-02-26 22:28       ` Tassilo Horn
2011-03-05 11:44         ` Lars Magne Ingebrigtsen
2011-03-07 10:36     ` Julien Danjou
2011-03-07 11:08       ` Tassilo Horn
2011-03-07 14:15         ` Julien Danjou
2011-03-15 17:25           ` Lars Magne Ingebrigtsen
2011-03-16  9:14             ` Julien Danjou
2011-03-17 17:34               ` Lars Magne Ingebrigtsen
2011-03-18 11:09                 ` Julien Danjou
2011-03-29 18:47                   ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ei7jk5nb.fsf@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --cc=ding@gnus.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.
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 NNTP newsgroup(s).