Gnus development mailing list
 help / color / mirror / Atom feed
From: Niklas Morberg <niklas.morberg@axis.com>
Subject: Re: Fancy splitting getting headers from included text
Date: Fri, 13 Jun 2003 10:33:05 +0200	[thread overview]
Message-ID: <uk7bqwf5q.fsf@axis.com> (raw)
In-Reply-To: <uk7btrmqn.fsf@axis.com> (Niklas Morberg's message of "Wed, 11 Jun 2003 11:23:44 +0200")

Niklas Morberg <niklas@axis.com> writes:

> CVS from 2003-06-05. Still broken here. Where should I look
> to debug the problem?

The fact that nnimap-split-fancy does _not_ use the *nnimap
[server]* buffer took a while to understand. It turns out
it uses the *nntpd* buffer instead.

Anyway, what I've found is that ietf-drums-narrow-to-header
never works on my system. nnimap-split-articles calls
mail-narrow-to-head (which is an alias to i-d-n-t-h), but
the *nntpd* buffer is never narrowed...

(defun ietf-drums-narrow-to-header ()
  "Narrow to the header section in the current buffer."
  (narrow-to-region
   (goto-char (point-min))
   (if (re-search-forward "^\r?$" nil 1)
       (match-beginning 0)
     (point-max)))
  (goto-char (point-min)))

I'm stumped. The regexp in i-d-n-t-h looks fine. If I go to
the *nntpd* buffer and manually do `M-x re-search-forward
[RET] ^\r?$' it will move point to the end of headers. Yet
the function i-d-n-t-h fails to narrow the buffer to
headers.

I have no idea on how to move forward on this. Help?

Niklas




  reply	other threads:[~2003-06-13  8:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-25 19:02 David Z Maze
2003-03-26  8:21 ` Niklas Morberg
2003-03-30  2:47 ` Lars Magne Ingebrigtsen
2003-03-30  9:31   ` Kai Großjohann
2003-03-30 12:08     ` Simon Josefsson
2003-04-05 13:29       ` Ted Zlatanov
2003-04-14 15:53       ` David Z Maze
2003-04-14 16:33         ` Simon Josefsson
2003-04-14 20:25           ` David Z Maze
2003-04-15 17:44             ` Ted Zlatanov
2003-04-15 18:12               ` David Z Maze
2003-04-15 19:47                 ` Ted Zlatanov
2003-05-07 14:27                   ` Niklas Morberg
2003-06-11  9:23                     ` Niklas Morberg
2003-06-13  8:33                       ` Niklas Morberg [this message]
2003-06-13  9:35                         ` Niklas Morberg
2003-06-13  9:50                           ` [PATCH] " Niklas Morberg
2003-06-13 21:07                             ` Kai Großjohann

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=uk7bqwf5q.fsf@axis.com \
    --to=niklas.morberg@axis.com \
    /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).