From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53134 Path: main.gmane.org!not-for-mail From: Niklas Morberg Newsgroups: gmane.emacs.gnus.general Subject: Re: Fancy splitting getting headers from included text Date: Fri, 13 Jun 2003 10:33:05 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <843cl5i4kg.fsf@lucy.is.informatik.uni-duisburg.de> <874r51jcsv.fsf@cag.lcs.mit.edu> <87znmsygfh.fsf@cag.lcs.mit.edu> <4n3ckjbqpg.fsf@lockgroove.bwh.harvard.edu> <87ptnntyt3.fsf@cag.lcs.mit.edu> <4nsmsja6gw.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055493185 14963 80.91.224.249 (13 Jun 2003 08:33:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2003 08:33:05 +0000 (UTC) Original-X-From: ding-owner+M1678@lists.math.uh.edu Fri Jun 13 10:33:01 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Qjxq-0003nG-00 for ; Fri, 13 Jun 2003 10:31:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19Qk03-0003OT-00; Fri, 13 Jun 2003 03:33:31 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19Qjzv-0003OL-00 for ding@lists.math.uh.edu; Fri, 13 Jun 2003 03:33:23 -0500 Original-Received: (qmail 54813 invoked by alias); 13 Jun 2003 08:33:22 -0000 Original-Received: (qmail 54808 invoked from network); 13 Jun 2003 08:33:21 -0000 Original-Received: from unknown (HELO krynn.se.axis.com) (212.209.10.216) by sclp3.sclp.com with SMTP; 13 Jun 2003 08:33:21 -0000 Original-Received: from PCNIKLAS (dh10-13-8-248.se.axis.com [10.13.8.248]) by krynn.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) with ESMTP id h5D8X5D7014268 for ; Fri, 13 Jun 2003 10:33:06 +0200 Original-To: ding@gnus.org In-Reply-To: (Niklas Morberg's message of "Wed, 11 Jun 2003 11:23:44 +0200") X-Now-Playing: Lou Reed: Transformer (1972) - Perfect Day Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUAAAC/s3sAAAHp6eUV FBFoYknVwnUCAgJqbtfcAAACQklEQVR4nIWTQW+rMAyA/RBPnCMGu2YIKWfkVruubaJcRxs/zj2M M0NB+fvPCS3dpic9g5Dtz46dxIAQ9Xgdx+t1FGIca35G1oSAqPxDrv8BFX1UVFMliIiVBBIn80EP qR8ZRAxEleI3UIu6oj9jZagX9/gIBGmjtSEbgteBRdNIdSWAdPBhDmHWzCYACSp6ekhRagpzX3Zu yiYJTVBBmQSmpglLiYjv7Ib4Ti3YuE6QzYn9+AowM5tB5mBnKFiBE5U7s4NYBKQEBqpRbILOL3vT Jz80MmvhKLNoFNYgCnyLMdHOGSQ9oz4WGVbyFVyw477o/Rvg/rLUFZYJFJD5e8bhkAA+lrKr8tnh vi/RyQ3cQtpUe+/bYpK3GrAGvaSdnw+G3Pw1A17iWe2Oee6pau0DZL877ARCS07KXx0f4gZwCAsC mEFC4eSakfGbI7qSgfVT3NgKWtYh1mAAp2lrN9NH3u3pBvQ5tR+BjyBTJLCDu8SMTMt4WEpmarp1 koDKbdRW+/ZJO5/7oTjCF98dLGK4eadvwBqnmxl+Sg5ah6U5PhaSG5gKfb8EhtmNMKjUEzxAEXwa 4RyM1V+LKkM0zBEM3kq1+ZvFhWB8nERHrgkbCM5fns0SM5yf4zzILBVd7AVfXco4S/Bz0Ny1mpvg FsSnwb+t7QYeAE1kp2KxcRqttuBBnNtYkP9AQ9p98p0YZW3bAz575zmucvxz6niNZtbsANyZZCJ2 ziTFuUPJ81Luh3WeN9kdyg5LwE7jT+lEJ/4C/oPIjTgcHJAAAAAASUVORK5CYII= Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53134 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53134 Niklas Morberg 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