From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64593 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: nndiary documentation bug Date: Mon, 07 May 2007 18:32:27 +0200 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1178561313 19114 80.91.229.12 (7 May 2007 18:08:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 May 2007 18:08:33 +0000 (UTC) Cc: Holger Sparr To: Original-X-From: ding-owner+M13104@lists.math.uh.edu Mon May 07 20:08:31 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hl7dP-0006A9-Fd for ding-account@gmane.org; Mon, 07 May 2007 20:08:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Hl7dK-0007up-AX; Mon, 07 May 2007 13:08:26 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Hl7dJ-0007uc-3w for ding@lists.math.uh.edu; Mon, 07 May 2007 13:08:25 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1Hl7dF-0005kF-F0 for ding@lists.math.uh.edu; Mon, 07 May 2007 13:08:25 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Hl7Iy-0007Lu-00 for ; Mon, 07 May 2007 19:47:24 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.8/8.13.8) with ESMTP id l47HF5WX019690; Mon, 7 May 2007 19:17:35 +0200 (MEST) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 7B4E812A4C; Mon, 7 May 2007 19:15:04 +0200 (CEST) X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T;w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv,vbL^XF1nIp\:F=$Ei2o&mEe:%N~,:3]vtQ~s9u$9izmX$IF@VgGl7/,^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X Mail-Followup-To: In-Reply-To: (Didier Verna's message of "Mon\, 07 May 2007 15\:10\:33 +0200") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.98 (gnu/linux) X-DCC-CTc-dcc2-Metrics: arktur 1031; Body=2 Fuz1=2 Fuz2=2 X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64593 Archived-At: On Mon, May 07 2007, Didier Verna wrote: > I'm actually reluctant to advertise this variable as a server one > (although technically, I guess it's possible to use it that way). Okay. >> BTW, is there any reason _not_ to include (info "(gnus)Running >> NNDiary") in the stable branch (v5-10)? > > If nndiary is present in the stable branch, the whole "Email Based > Diary" node should be included in the doc. Apart from minor issues (compatibility code) and comments (moved to gnus.texi), the versions of nndiary.el and gnus-diary.el in trunk and v5-10 are identical. So I will sync the lisp files and install (info "(gnus)Email Based Diary") in v5-10 unless you'd like to do it yourself. Bye, Reiner. --8<---------------cut here---------------start------------->8--- --- v5-10/lisp/nndiary.el 2007-02-04 17:09:38.000000000 +0100 +++ No/lisp/nndiary.el 2007-01-26 20:41:00.000000000 +0100 @@ -725,7 +606,7 @@ (nconc rest articles))) (deffoo nndiary-request-move-article - (article group server accept-form &optional last) + (article group server accept-form &optional last move-is-internal) (let ((buf (get-buffer-create " *nndiary move*")) result) (nndiary-possibly-change-directory group server) @@ -994,7 +875,7 @@ (search-forward id nil t)) ; We find the ID. ;; And the id is in the fourth field. (if (not (and (search-backward "\t" nil t 4) - (not (search-backward"\t" (gnus-point-at-bol) t)))) + (not (search-backward"\t" (point-at-bol) t)))) (forward-line 1) (beginning-of-line) (setq found t) @@ -1215,9 +1096,7 @@ (push (list group (cons (or (caar files) (1+ last)) (max last - (or (let ((f files)) - (while (cdr f) (setq f (cdr f))) - (caar f)) + (or (caar (last files)) 0)))) nndiary-group-alist))) --- v5-10/lisp/gnus-diary.el 2007-02-04 17:09:37.000000000 +0100 +++ plain_No/lisp/gnus-diary.el 2007-01-26 20:40:58.000000000 +0100 @@ -402,7 +347,7 @@ (when (re-search-forward (concat "^" header ":") nil t) (unless (eq (char-after) ? ) (insert " ")) - (setq value (buffer-substring (point) (gnus-point-at-eol))) + (setq value (buffer-substring (point) (point-at-eol))) (and (string-match "[ \t]*\\([^ \t]+\\)[ \t]*" value) (setq value (match-string 1 value))) (condition-case () --8<---------------cut here---------------end--------------->8--- -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/