The Gnus Diary Library
-* Diary Summary Line Format:: \e$B$h$jNI$$35N,%P%C%U%!$N%b!<%I9T$N=qK!;EMM\e(B
+* Diary Summary Line Format:: \e$B$h$jNI$$35N,9T;EMM\e(B
* Diary Articles Sorting:: \e$B%a%C%;!<%8$rJB$YBX$($k5$$NMx$$$?J}K!\e(B
* Diary Headers Generation:: \e$B<j:n6H$G$=$l$r$7$J$$$G\e(B
* Diary Group Parameters:: \e$B<j:n6H$G$=$l$i$r07$o$J$$$G\e(B
@code{To} \e$B$d\e(B @code{Newsreader} \e$B%X%C%@!<$,Be$o$j$K;HMQ$5$l$^$9!#\e(B
\e$B$=$l$i$N\e(B @code{From} \e$B%U%#!<%k%I$,F~$lBX$o$C$F$$$k5-;v$H!"IaDL$N5-;v$r6h\e(B
-\e$BJL$9$k$?$a$K!"35N,9T$N\e(B @code{To} \e$B$^$?$O\e(B @code{Newsgroups} \e$B%X%C%@$K!"$"$k\e(B
-\e$BJ8;zNs$,A0CV$5$l$^$9!#$=$NJ8;zNs$O%G%#%U%)%k%H$G!"\e(B@code{To} \e$B$K\e(B
+\e$BJL$9$k$?$a$K!"35N,9T$N\e(B @code{To} \e$B$^$?$O\e(B @code{Newsgroups} \e$B%X%C%@!<$K!"$"\e(B
+\e$B$kJ8;zNs$,A0CV$5$l$^$9!#$=$NJ8;zNs$O%G%#%U%)%k%H$G!"\e(B@code{To} \e$B$K\e(B
\e$B$O\e(B @samp{-> } \e$B$,!"\e(B@code{Newsgroups} \e$B$K$O\e(B @samp{=> } \e$B$,;H$o$l$^$9$,!"\e(B
@code{gnus-summary-to-prefix} \e$B$H\e(B @code{gnus-summary-newsgroup-prefix} \e$B$K\e(B
\e$B$h$C$F!"$=$l$i$NJ8;zNs$r%+%9%?%^%$%:$9$k$3$H$,$G$-$^$9!#\e(B
\e$BL>A0$rJ;5-$7$^$9\e(B (\e$B$?$@$7%a!<%k$N>l9g$@$1!"$5$b$J$1$l$P%0%k!<%WL>$OD4$Y$^\e(B
\e$B$;$s\e(B)\e$B!#$5$F!"$$$h$$$h%a!<%k$N?6$jJ,$1$,;O$^$k$H!"4X?t\e(B
@code{nnmail-split-fancy-with-parent} \e$B$O!"BP>]$H$J$k3F5-;v$N\e(B References
-(\e$B$H\e(B In-Reply-To) \e$B%X%C%@$rD4$Y!"\e(B@code{nnmail-message-id-cache-file} \e$B$K;X\e(B
-\e$BDj$5$l$F$$$k%U%!%$%k$K$=$l$i$N%a%C%;!<%8\e(B ID \e$B$,$"$k$+$I$&$+D4$Y$^$9!#?F5-\e(B
-\e$B;v$,8+$D$+$k$H!"$=$N%0%k!<%WL>$,@55,I=\e(B
+(\e$B$H\e(B In-Reply-To) \e$B%X%C%@!<$rD4$Y!"\e(B@code{nnmail-message-id-cache-file} \e$B$K\e(B
+\e$B;XDj$5$l$F$$$k%U%!%$%k$K$=$l$i$N%a%C%;!<%8\e(B ID \e$B$,$"$k$+$I$&$+D4$Y$^$9!#?F\e(B
+\e$B5-;v$,8+$D$+$k$H!"$=$N%0%k!<%WL>$,@55,I=\e(B
\e$B8=\e(B @code{nnmail-split-fancy-with-parent-ignore-groups} \e$B$K%^%C%A$7$J$1$l\e(B
\e$B$P!"$3$N4X?t$OBP1~$9$k%0%k!<%WL>$rJV$9$o$1$G$9!#$3$3$G!"JQ\e(B
\e$B?t\e(B @code{nnmail-message-id-cache-length} \e$B$NCM$r4{DjCM$h$j$b4v$i$+Bg$-$J\e(B
\e$B;HMQ2DG=$K$J$C$F$$$J$$$+$.$j!":G=i$K9gCW$7$?5,B'$,\e(B ``\e$B>!$A\e(B'' \e$B$^$9!#Aj8_Ej\e(B
\e$B9F$r$7$F$$$k>l9g$O!"A4$F$N9gCW$7$?5,B'$,\e(B ``\e$B>!$A\e(B'' \e$B$^$9!#\e(B
-\e$B$3$NJQ?t$O$=$NCM$H$7$F4X?t$r;}$D$3$H$b$G$-$^$9!#$=$N4X?t$O5-;v$N%X%C%@$N\e(B
-\e$BItJ,$KHO0O$,69$a$i$l$?>uBV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(B
-\e$B$k$3$H$r2?$G$b$d$j$^$9!#\e(B
+\e$B$?$J$i\e(B (\e$B$9$J$o$A!":G=i$N?t9T$,%X%C%@!<$N$h$&$K8+$($?$i\e(B) \e$B$=$l$r%X%C%@!<$H\e(B
+\e$B$7$F;H$$$^$9!#$b$7$=$l$,%X%C%@!<$N$J$$$?$@$NE,Ev$J%U%!%$%k\e(B (\e$BNc$($P\e(B C \e$B$N\e(B
+\e$B%=!<%9%U%!%$%k\e(B) \e$B$G$"$C$?$J$i!"\e(B@code{nneething} \e$B$O%X%C%@!<$r5u6u$+$i:n$j\e(B
+\e$B=P$7$^$9!#$3$l$O%U%!%$%k$N=jM-<T!"L>A0!"F|IU$r;H$$!"$3$l$i$NMWAG$KBP$7$F\e(B
+\e$B$G$-$k$3$H$r2?$G$b$d$j$^$9!#\e(B
\e$B$3$l$O$"$J$?$K$H$C$F$OA4$F<+F0E*$K5/$3$k$3$H$G!"$"$J$?$O%K%e!<%9%0%k!<%W\e(B
\e$B$K$H$F$bNI$/;w$?2?$+$r8+$;$i$l$k$3$H$K$J$k$G$7$g$&!#$[$s$H$&$K@#J,0c$o$J\e(B
* Sending or Not Sending:: \e$BF|5-%a%C%;!<%8$rAw$k$H$-$KCm0U$9$k$3$H\e(B
@end menu
-@c TRANSLATEME
@node The NNDiary Back End
-@subsection The NNDiary Back End
+@subsection NNDiary \e$B%P%C%/%(%s%I\e(B
@cindex nndiary
@cindex the nndiary back end
-@code{nndiary} is a back end very similar to @code{nnml} (@pxref{Mail
-Spool}). Actually, it could appear as a mix of @code{nnml} and
-@code{nndraft}. If you know @code{nnml}, you're already familiar with
-the message storing scheme of @code{nndiary}: one file per message, one
-directory per group.
+@code{nndiary} \e$B$O\e(B @code{nnml} (@pxref{Mail Spool}) \e$B$K$H$F$b$h$/;w$F$$$k\e(B
+\e$B%P%C%/%(%s%I$G$9!#8=$K$=$l$O\e(B @code{nnml} \e$B$H\e(B @code{nndraft} \e$B$r9g$o$;$?$b\e(B
+\e$B$N$K8+$($k$G$7$g$&!#\e(B@code{nnml} \e$B$r$4B8CN$J$i$P!"$"$J$?$O$9$G\e(B
+\e$B$K\e(B @code{nndiary} \e$B$,%a%C%;!<%8$r3JG<$9$k;EAH$_\e(B (\e$B0lDL$"$?$j0l$D$N%U%!%$%k!"\e(B
+\e$B0l%0%k!<%W$"$?$j0l$D$N%G%#%l%/%H%j\e(B) \e$B$K@:DL$7$F$$$^$9!#\e(B
- Before anything, there is one requirement to be able to run
-@code{nndiary} properly: you @emph{must} use the group timestamp feature
-of Gnus. This adds a timestamp to each group's parameters. @ref{Group
-Timestamp} to see how it's done.
+\e$B2?$O$5$F$*$-!"\e(B@code{nndiary} \e$B$r$A$c$s$HF0:n$5$;$k$K$O!"0l$D$NMW7o$,$"$j\e(B
+\e$B$^$9\e(B: Gnus \e$B$N%0%k!<%W$NF|IU$N5!G=$r;H$o\e(B@emph{\e$B$J$1$l$P\e(B}\e$B$J$j$^$;$s!#$=$l$,\e(B
+\e$B$I$&$$$&$U$&$K9T$J$o$l$k$+$O\e(B @ref{Group Timestamp} \e$B$r8+$F2<$5$$!#\e(B
@menu
* Diary Messages:: \e$B%a%C%;!<%8$r\e(B nndiary \e$B$G;H$($k$h$&$K$9$k$K$O\e(B
@end menu
@node Diary Messages
-@subsubsection Diary Messages
+@subsubsection \e$BF|!9$N%a%C%;!<%8\e(B
@cindex nndiary messages
@cindex nndiary mails
-@code{nndiary} messages are just normal ones, except for the mandatory
-presence of 7 special headers. These headers are of the form
-@code{X-Diary-<something>}, @code{<something>} being one of
-@code{Minute}, @code{Hour}, @code{Dom}, @code{Month}, @code{Year},
-@code{Time-Zone} and @code{Dow}. @code{Dom} means ``Day of Month'', and
-@code{dow} means ``Day of Week''. These headers actually behave like
-crontab specifications and define the event date(s):
+\e$B<7$D$NFCJL$J%X%C%@!<$,I,?\$G$"$k$3$H0J30!"\e(B@code{nndiary} \e$B$N%a%C%;!<%8$O\e(B
+\e$BIaDL$N$b$N$G$9!#$=$l$i$N%X%C%@!<$O\e(B @code{X-Diary-<something>} \e$B$NMM<0$GI=\e(B
+\e$B$5$l!"\e(B@code{<something>} \e$B$NItJ,$O\e(B @code{Minute}, @code{Hour},
+@code{Dom}, @code{Month}, @code{Year}, @code{Time-Zone} \e$B$*$h$S\e(B
+@code{Dow} \e$B$N$&$A$N0l$D$G$9!#\e(B@code{Dom} \e$B$O!VF|\e(B(Day of Month)\e$B!W$r!"\e(B
+@code{Dow} \e$B$O!VMKF|\e(B(Day ofWeek)\e$B!W$r0UL#$7$^$9!#$3$l$i$N%X%C%@!<\e(B
+\e$B$O\e(B crontab \e$B$N;EMM$N$h$&$KF/$$$F!"M=DjF|$rDj5A$7$^$9!#\e(B
@itemize @bullet
@item
-For all headers except the @code{Time-Zone} one, a header value is
-either a star (meaning all possible values), or a list of fields
-(separated by a comma).
+@code{Time-Zone} \e$B$N$b$N0J30$N$9$Y$F$N%X%C%@!<$K$D$$$F!"%X%C%@!<$NCM$O@1\e(B
+\e$B0u\e(B (\e$B2DG=$J$9$Y$F$NCM$r0UL#$7$^$9\e(B) \e$B$+%3%s%^$G6h@Z$i$l$?%U%#!<%k%I$N%j%9%H\e(B
+\e$B$G$9!#\e(B
@item
-A field is either an integer, or a range.
+\e$B%U%#!<%k%I$O@0?t$+HO0O$G$9!#\e(B
@item
-A range is two integers separated by a dash.
+\e$BHO0O$H$O!"%@%C%7%e\e(B (-) \e$B$G6h@Z$i$l$?Fs$D$N@0?t$G$9!#\e(B
@item
-Possible integer values are 0--59 for @code{Minute}, 0--23 for
-@code{Hour}, 1--31 for @code{Dom}, 1--12 for @code{Month}, above 1971
-for @code{Year} and 0--6 for @code{Dow} (0 meaning Sunday).
+\e$B2DG=$JCM$O!"$=$l$>$l\e(B @code{Minute} \e$B$K$O\e(B 0--59\e$B!"\e(B@code{Hour} \e$B$K$O\e(B 0--23\e$B!"\e(B
+@code{Dom} \e$B$K$O\e(B 1--31\e$B!"\e(B@code{Month} \e$B$K$O\e(B 1--12\e$B!"\e(B@code{Year} \e$B$K$O\e(B 1971 \e$B$h\e(B
+\e$B$jBg$-$$CM!"$=$7$F\e(B @code{Dow} \e$B$K$O\e(B 0--6 (0 \e$B$,F|MKF|\e(B) \e$B$G$9!#\e(B
@item
-As a special case, a star in either @code{Dom} or @code{Dow} doesn't
-mean ``all possible values'', but ``use only the other field''. Note
-that if both are star'ed, the use of either one gives the same result.
+\e$BFCJL$J>l9g$H$7$F!"\e(B@code{Dom} \e$B$^$?$O\e(B @code{Dow} \e$B$K$*$1$k@10u$O!V2DG=$J$9\e(B
+\e$B$Y$F$NCM!W$G$O$J$/!"!V$b$&0lJ}$N%U%#!<%k%I$@$1$r;H$&!W0UL#$K$J$j$^$9!#N>\e(B
+\e$BJ}$H$b@10u$K$7$?>l9g$O!"$I$A$i$r;H$C$F$bF1$87k2L$K$J$k$3$H$KCm0U$7$F2<$5\e(B
+\e$B$$!#\e(B
@item
-The @code{Time-Zone} header is special in that it can only have one
-value (@code{GMT}, for instance). A star doesn't mean ``all possible
-values'' (because it makes no sense), but ``the current local time
-zone''. Most of the time, you'll be using a star here. However, for a
-list of available time zone values, see the variable
-@code{nndiary-headers}.
+@code{Time-Zone} \e$B%X%C%@!<$O!"CM$r0l$D$7$+;}$F$J$$\e(B (\e$BNc$($P\e(B @code{GMT}) \e$BE@\e(B
+\e$B$GFCJL$G$9!#@10u$O!V2DG=$J$9$Y$F$NCM!W$G$O$J$/\e(B (\e$B$=$l$O0UL#$r$J$5$J$$$N$G\e(B)\e$B!"\e(B
+\e$B!V8=:_$N%m!<%+%k$J%?%$%`%>!<%s!W$r0UL#$7$^$9!#$3$3$G$O$?$$$F$$@10u$r;H$&\e(B
+\e$B$G$7$g$&!#$7$+$7!"MxMQ$G$-$k%?%$%`%>!<%s$NCM$K$D$$$F$O!"JQ\e(B
+\e$B?t\e(B @code{nndiary-headers} \e$B$r8+$F2<$5$$!#\e(B
@end itemize
-As a concrete example, here are the diary headers to add to your message
-for specifying ``Each Monday and each 1st of month, at 12:00, 20:00,
-21:00, 22:00, 23:00 and 24:00, from 1999 to 2010'' (I'll let you find
-what to do then):
+1999\e$BG/$+$i\e(B 2010\e$BG/$^$G$NKh=57nMKF|$HKh7n$N0lF|$N\e(B 12:00, 20:00, 21:00,
+22:00, 23:00 \e$B$*$h$S\e(B 24:00 \e$B$r@_Dj$9$k$?$a$K!"%a%C%;!<%8$K2C$($kF|5-%X%C%@!<\e(B
+\e$B$N6qBNNc$G$9\e(B (\e$B$=$N;~2?$r$7$?$iNI$$$+$O!"<+J,$G9M$($F2<$5$$\e(B):
@example
X-Diary-Minute: 0
@end example
@node Running NNDiary
-@subsubsection Running NNDiary
+@subsubsection NNDiary \e$B$rF0$+$9\e(B
@cindex running nndiary
@cindex nndiary operation modes
-@code{nndiary} has two modes of operation: ``traditional'' (the default)
-and ``autonomous''. In traditional mode, @code{nndiary} does not get new
-mail by itself. You have to move (@kbd{B m}) or copy (@kbd{B c}) mails
-from your primary mail back end to nndiary groups in order to handle them
-as diary messages. In autonomous mode, @code{nndiary} retrieves its own
-mail and handles it independently from your primary mail back end.
-
-One should note that Gnus is not inherently designed to allow several
-``master'' mail back ends at the same time. However, this does make
-sense with @code{nndiary}: you really want to send and receive diary
-messages to your diary groups directly. So, @code{nndiary} supports
-being sort of a ``second primary mail back end'' (to my knowledge, it is
-the only back end offering this feature). However, there is a limitation
-(which I hope to fix some day): respooling doesn't work in autonomous
-mode.
-
-In order to use @code{nndiary} in autonomous mode, you have several
-things to do:
+@code{nndiary} \e$B$K$OFs$D$NF0:n%b!<%I$,$"$j$^$9!#0l$D$O%G%#%U%)%k%H$N\e(B
+\e$B!VEAE}7?\e(B(traditional)\e$B!W!"$b$&0l$D$O!V<+N'7?\e(B(autonomous)\e$B!W$G$9!#EAE}7?$N\e(B
+\e$B%b!<%I$G$O!"\e(B@code{nndiary} \e$B$O$=$l<+?H$,?7Ce%a!<%k$r<hF@$9$k$3$H$O$"$j$^\e(B
+\e$B$;$s!#F|5-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3$H$r$d$C$F$b\e(B
+\e$B$i$o$J$1$l$P$J$j$^$;$s\e(B:
@itemize @bullet
@item
-Allow @code{nndiary} to retrieve new mail by itself. Put the following
-line in your @file{gnusrc} file:
+\e$B?7Ce%a!<%k$r\e(B @code{nndiary} \e$B$,<+J,$G<h$j9~$a$k$h$&$K$7$^$9!#0J2<$N9T\e(B
+\e$B$r\e(B @file{gnusrc} \e$B%U%!%$%k$K5-F~$7$F2<$5$$\e(B:
@lisp
(setq nndiary-get-new-mail t)
@end lisp
@item
-You must arrange for diary messages (those containing @code{X-Diary-*}
-headers) to be split in a private folder @emph{before} Gnus treat them.
-Again, this is needed because Gnus cannot (yet ?) properly handle
-multiple primary mail back ends. Getting those messages from a separate
-source will compensate this misfeature to some extent.
+\e$BF|5-%a%C%;!<%8\e(B (@code{X-Diary-*} \e$B%X%C%@!<$r4^$s$G$$$k\e(B) \e$B$,!"\e(BGnus \e$B$,$=$l$i\e(B
+\e$B$r=hM}$9$k\e(B @emph{\e$BA0\e(B} \e$B$K@lMQ$N%U%)%k%@!<$KJ,G[$5$l$k$h$&$K!"=`Hw$r9T$J$o\e(B
+\e$B$J$1$l$P$J$j$^$;$s!#7+$jJV$7$^$9$,!"\e(BGnus \e$B$,J#?t$NBh0l%a!<%k!&%P%C%/%(%s\e(B
+\e$B%I$rE,@Z$K07$&$3$H$,\e(B (\e$B$^$@\e(B ?) \e$B$G$-$J$$$N$G!"$3$l$,I,MW$G$9!#JL!9$N%=!<%9\e(B
+\e$B$+$i$=$l$i$N%a%C%;!<%8$r<h$j9~$`$3$H$K$h$C$F!"$3$N7gE@$O$"$kDxEYJd$o$l$^\e(B
+\e$B$9!#\e(B
-As an example, here's my procmailrc entry to store diary files in
-@file{~/.nndiary} (the default @code{nndiary} mail source file):
+\e$BF|5-%U%!%$%k$r\e(B @file{~/.nndiary} (\e$B$3$l$,%G%#%U%)%k%H$N\e(B @code{nndiary} \e$B$N\e(B
+\e$B%a!<%k%=!<%9!&%U%!%$%k$G$9\e(B) \e$B$K3JG<$9$k$?$a$N\e(B procmailrc \e$B$N9`$NNc$G$9\e(B:
@example
:0 HD :
@end example
@end itemize
-Once this is done, you might want to customize the following two options
-that affect the diary mail retrieval and splitting processes:
+\e$B$$$C$?$s$3$l$r<B;\$7$?$i!"F|5-%a!<%k$N<h$j9~$_$HJ,3d$N=hM}$K1F6A$9$k!"0J\e(B
+\e$B2<$NFs$D$N%*%W%7%g%s$r%+%9%?%^%$%:$9$kI,MW$,$"$k$G$7$g$&\e(B:
@defvar nndiary-mail-sources
-This is the diary-specific replacement for the standard
-@code{mail-sources} variable. It obeys the same syntax, and defaults to
-@code{(file :path "~/.nndiary")}.
+\e$BI8=`$N\e(B @code{mail-sources} \e$BJQ?t$N!"F|5-MQ$KFC2=$7$?BeBXIJ$G$9!#F1$8%7%s\e(B
+\e$B%?%C%/%9$r;H$$!"%G%#%U%)%k%HCM$O\e(B @code{(file :path "~/.nndiary")} \e$B$G$9!#\e(B
@end defvar
@defvar nndiary-split-methods
-This is the diary-specific replacement for the standard
-@code{nnmail-split-methods} variable. It obeys the same syntax.
+\e$BI8=`$N\e(B @code{nnmail-split-methods} \e$BJQ?t$N!"F|5-MQ$KFC2=$7$?BeBXIJ$G$9!#\e(B
+\e$BF1$8%7%s%?%C%/%9$r;H$$$^$9!#\e(B
@end defvar
- Finally, you may add a permanent @code{nndiary} virtual server
-(something like @code{(nndiary "diary")} should do) to your
-@code{gnus-secondary-select-methods}.
+\e$B:G=*E*$K$O\e(B @code{gnus-secondary-select-methods} \e$B$K!"915WE*\e(B
+\e$B$J\e(B @code{nndiary} \e$B2>A[%5!<%P!<\e(B (@code{(nndiary "diary")} \e$B$,9T$J$&$Y$-$G\e(B
+\e$B$"$k$h$&$J$b$N\e(B) \e$B$rDI2C$7$F$bNI$$$G$7$g$&!#\e(B
- Hopefully, almost everything (see the TODO section in
-@file{nndiary.el}) will work as expected when you restart Gnus: in
-autonomous mode, typing @kbd{g} and @kbd{M-g} in the group buffer, will
-also get your new diary mails and split them according to your
-diary-specific rules, @kbd{F} will find your new diary groups etc.
+\e$B$&$^$/$$$1$P!"\e(BGnus \e$B$r:F5/F0$9$k$H!"$[$H$s$I$9$Y\e(B
+\e$B$F\e(B (@file{nndiary.el} \e$B$N\e(B TODO \e$B$N9`$r;2>H\e(B) \e$B$,4|BTDL$j$K\e(B (\e$B<+N'7?$N%b!<%I$G\e(B
+\e$B$O!"\e(B@kbd{g} \e$B$d\e(B @kbd{M-g} \e$B$r%0%k!<%W%P%C%U%!$G%?%$%W$9$l$P?7$7$$F|5-%a!<\e(B
+\e$B%k$r$b<h$j9~$s$G!"F|5-MQ$KFC2=$7$?5,B'$K=>$C$F$=$l$i$rJ,3d$9$k$7!"\e(B
+@kbd{F} \e$B$O?7$7$$F|5-%0%k!<%W$r8+$D$1$F$/$l$k!"$J$I\e(B) \e$BF0:n$9$k$G$7$g$&!#\e(B
@node Customizing NNDiary
-@subsubsection Customizing NNDiary
+@subsubsection NNDiary \e$B$N%+%9%?%^%$%:\e(B
@cindex customizing nndiary
@cindex nndiary customization
-Now that @code{nndiary} is up and running, it's time to customize it.
-The custom group is called @code{nndiary} (no, really ?!). You should
-browse it to figure out which options you'd like to tweak. The following
-two variables are probably the only ones you will want to change:
+\e$B$5$"\e(B @code{nndiary} \e$B$,N)$A>e$,$C$FF0:n$7$F$$$^$9!#$=$l$r%+%9%?%^%$%:$9$k\e(B
+\e$B$H$-$,Mh$^$7$?!#%+%9%?%^%$%:$9$k$?$a$N%0%k!<%W$O\e(B @code{nndiary} \e$B$G$9\e(B (\e$B$X\e(B
+\e$B$(!<\e(B)\e$B!#$I$N%*%W%7%g%s$r%+%9%?%^%$%:$7E]$7$?$$$+$r8+$D$1$k$?$a$K!"$=$l$K\e(B
+\e$BL\$rDL$7$F2<$5$$!#$"$J$?$,JQ99$7$?$$$N$O!"$*$=$i$/0J2<$N$?$C$?Fs$D$NJQ?t\e(B
+\e$B$G$7$g$&\e(B:
@defvar nndiary-reminders
-This is the list of times when you want to be reminded of your
-appointements (e.g. 3 weeks before, then 2 days before, then 1 hour
-before and that's it). Remember that ``being reminded'' means that the
-diary message will pop up as brand new and unread again when you get new
-mail.
+\e$BM=Dj$r;W$$=P$5$;$F$b$i$$$?$$;~9o$N%j%9%H\e(B (\e$BNc$($P;0=54VA0!"$=$l$+$iFsF|A0!"\e(B
+\e$B$=$l$+$i0l;~4VA0!"$=$7$F$=$N$H$-\e(B) \e$B$G$9!#!V;W$$=P$5$;$F$b$i$&!W$N0UL#$O!"\e(B
+\e$B?7Ce%a!<%k$r<h$j9~$s$@$H$-$K!"F|5-%a%C%;!<%8$,???7$7$/L$FI$K$J$C$F!"%]%C\e(B
+\e$B%W%"%C%W$9$k$3$H$G$"$k$3$H$r;W$$=P$7$F2<$5$$!#\e(B
@end defvar
@defvar nndiary-week-starts-on-monday
-Rather self-explanatory. Otherwise, Sunday is assumed (this is the
-default).
+\e$BFI$s$G;z$NG!$7!#$5$b$J$/$PF|MKF|$,2>Dj$5$l$^$9\e(B (\e$B$=$l$,%G%#%U%)%k%H$G$9\e(B)\e$B!#\e(B
@end defvar
-
@node The Gnus Diary Library
-@subsection The Gnus Diary Library
+@subsection Gnus Diary \e$B%i%$%V%i%j\e(B
@cindex gnus-diary
@cindex the gnus diary library
-Using @code{nndiary} manually (I mean, writing the headers by hand and
-so on) would be rather boring. Fortunately, there is a library called
-@code{gnus-diary} written on top of @code{nndiary}, that does many
-useful things for you.
+@code{nndiary} \e$B$r<j:n6H$G;H$&$N\e(B (\e$B%X%C%@!<$r<j$G=q$/!"$H$+\e(B) \e$B$O!"$$$5$5$+\e(B
+\e$B$&$s$6$j$7$^$9!#9,$$\e(B @code{nndiary} \e$B$N>e0L3,AX$K=q$+$l\e(B
+\e$B$?\e(B @code{gnus-diary} \e$B$H$$$&%i%$%V%i%j$,$"$C$F!"$?$/$5$s$NJXMx$J$3$H$r$d$C\e(B
+\e$B$F$/$l$^$9!#\e(B
- In order to use it, add the following line to your @file{gnusrc} file:
+\e$B$=$l$r;H$&$?$a$K$O!"0J2<$N9T$r\e(B @file{gnusrc} \e$B%U%!%$%k$K2C$($F2<$5$$\e(B:
@lisp
(require 'gnus-diary)
@end lisp
- Also, you shouldn't use any @code{gnus-user-format-function-[d|D]}
-(@pxref{Summary Buffer Lines}). @code{gnus-diary} provides both of these
-(sorry if you used them before).
-
+\e$B$5$i$K!"$I$s$J\e(B @code{gnus-user-format-function-[d|D]} (@pxref{Summary
+Buffer Lines}) \e$B$b!";H$C$F$O$$$1$^$;$s!#\e(B@code{gnus-diary} \e$B$O$=$l$i$NN>J}\e(B
+\e$B$rDs6!$7$^$9\e(B (\e$B$"$J$?$,$=$l$i$r;H$C$F$$$?$i!"$9$_$^$;$s\e(B)\e$B!#\e(B
@menu
-* Diary Summary Line Format:: \e$B$h$jNI$$35N,%P%C%U%!$N%b!<%I9T$N=qK!;EMM\e(B
+* Diary Summary Line Format:: \e$B$h$jNI$$35N,9T;EMM\e(B
* Diary Articles Sorting:: \e$B%a%C%;!<%8$rJB$YBX$($k5$$NMx$$$?J}K!\e(B
* Diary Headers Generation:: \e$B<j:n6H$G$=$l$r$7$J$$$G\e(B
* Diary Group Parameters:: \e$B<j:n6H$G$=$l$i$r07$o$J$$$G\e(B
@end menu
@node Diary Summary Line Format
-@subsubsection Diary Summary Line Format
+@subsubsection \e$BF|5-$N35N,9T;EMM\e(B
@cindex diary summary buffer line
@cindex diary summary line format
-Displaying diary messages in standard summary line format (usually
-something like @samp{From Joe: Subject}) is pretty useless. Most of
-the time, you're the one who wrote the message, and you mostly want to
-see the event's date.
+\e$BI8=`$N35N,9T;EMM\e(B (\e$BDL>o\e(B @samp{From Joe: Subject} \e$B$N$h$&$J$b$N\e(B) \e$B$GF|5-%a%C\e(B
+\e$B%;!<%8$rI=<($9$k$N$O!"$^$C$?$/Lr$KN)$A$^$;$s!#$?$$$F$$$O$"$J$?$,%a%C%;!<\e(B
+\e$B%8$r=q$$$??M$G!"$*$*$+$?M=Dj$NF|IU$r8+$?$$$H;W$C$F$$$k$G$7$g$&!#\e(B
- @code{gnus-diary} provides two supplemental user formats to be used in
-summary line formats. @code{D} corresponds to a formatted time string
-for the next occurrence of the event (e.g. ``Sat, Sep 22 01, 12:00''),
-while @code{d} corresponds to an approximative remaining time until the
-next occurrence of the event (e.g. ``in 6 months, 1 week'').
+@code{gnus-diary} \e$B$O!"35N,9T;EMM$G;H$&Fs$D$NDI2C$NMxMQ<TDj5A$N=qK!;EMM$r\e(B
+\e$BDs6!$7$^$9!#\e(B@code{D} \e$B$O<!$NM=Dj$,@8$8$k$H$-$N$?$a$N@07A$5$l$?;~9oI=\e(B
+\e$B<(\e(B (\e$BNc$($P\e(B ``Sat, Sep 22 01, 12:00'') \e$B$rI=$9$N$KBP$7$F!"\e(B@code{d} \e$B$O<!$N\e(B
+\e$BM=Dj$,@8$8$k$^$G$N$*$*$h$=$N;D$j;~4V\e(B (\e$BNc$($P\e(B ``in 6 months, 1 week'') \e$B$r\e(B
+\e$BI=$7$^$9!#\e(B
- For example, here's how Joe's birthday is displayed in my
-@code{nndiary+diary:birthdays} summary buffer (note that the message is
-expirable, but will never be deleted, as it specifies a periodic event):
+\e$B%8%g!<$NCB@8F|$,!"35N,9T$K$I$&I=<($5$l$k$+$NNc$G$9\e(B (\e$BDj4|E*$JM=Dj$r;XDj$9\e(B
+\e$B$k$H>C$5$l$J$$$3$H$r=|$$$F!"%a%C%;!<%8$,4|8B@Z$l>C5n2DG=$G$"$k$3$H$KCmL\\e(B
+\e$B$7$F2<$5$$\e(B):
@example
E Sat, Sep 22 01, 12:00: Joe's birthday (in 6 months, 1 week)
@end example
-In order to get something like the above, you would normally add the
-following line to your diary groups'parameters:
+\e$B>e5-$N$h$&$J$b$N$rF@$k$?$a$K!"IaCJ$@$C$?$i!"$"$J$?$O0J2<$N9T$rF|5-%0%k!<\e(B
+\e$B%W$N%Q%i%a!<%?$K2C$($h$&$H$9$k$G$7$g$&\e(B:
@lisp
(gnus-summary-line-format "%U%R%z %uD: %(%s%) (%ud)\n")
@end lisp
-However, @code{gnus-diary} does it automatically (@pxref{Diary Group
-Parameters}). You can however customize the provided summary line format
-with the following user options:
+\e$B$G$b\e(B @code{gnus-diary} \e$B$O$=$l$r<+F0$G9T$J$$$^$9\e(B (@pxref{Diary Group
+Parameters})\e$B!#$"$J$?$O$7$+$7!"0J2<$N%f!<%6!&%*%W%7%g%s72$GDs6!$5$l$k35N,\e(B
+\e$B9T;EMM$r!"%+%9%?%^%$%:$9$k$3$H$,$G$-$^$9\e(B:
@defvar gnus-diary-summary-line-format
-Defines the summary line format used for diary groups (@pxref{Summary
-Buffer Lines}). @code{gnus-diary} uses it to automatically update the
-diary groups'parameters.
+\e$BF|5-%0%k!<%W$G;H$&35N,9T;EMM$rDj5A$7$^$9\e(B (@pxref{Summary Buffer Lines})\e$B!#\e(B
+@code{gnus-diary} \e$B$O$=$l$r!"F|5-%0%k!<%W$N%Q%i%a!<%?$r<+F0$G99?7$9$k$?$a\e(B
+\e$B$K;H$$$^$9!#\e(B
@end defvar
@defvar gnus-diary-time-format
-Defines the format to display dates in diary summary buffers. This is
-used by the @code{D} user format. See the docstring for details.
+\e$BF|5-$N35N,%P%C%U%!$KF|IU$rI=<($9$k$?$a$N=qK!;EMM$rDj5A$7$^$9!#$3$l\e(B
+\e$B$OMxMQ<TDj5A$N=qK!;EMM\e(B @code{D} \e$B$G;H$o$l$^$9!#>\:Y$OJQ?t$N@bL@J8$r8+$F2<\e(B
+\e$B$5$$!#\e(B
@end defvar
@defvar gnus-diary-delay-format-function
-Defines the format function to use for displaying delays (remaining
-times) in diary summary buffers. This is used by the @code{d} user
-format. There are currently built-in functions for English and French;
-you can also define your own. See the docstring for details.
+\e$BF|5-$N35N,%P%C%U%!$KCY1d\e(B (\e$B;D$j;~4V\e(B) \e$B$rI=<($9$k$?$a$N@07A4X?t$rDj5A$7$^$9!#\e(B
+\e$B$3$l$OMxMQ<TDj5A$N=qK!;EMM\e(B @code{d} \e$B$G;H$o$l$^$9!#8=:_$O1Q8l$H%U%i%s%98l\e(B
+\e$B$N$?$a$NAH$_9~$_4X?t$,$"$j!"<+J,$GDj5A$9$k$3$H$b$G$-$^$9!#>\:Y$OJQ?t$N@b\e(B
+\e$BL@J8$r8+$F2<$5$$!#\e(B
@end defvar
+@c TRANSLATEME
@node Diary Articles Sorting
-@subsubsection Diary Articles Sorting
+@subsubsection \e$BF|5-5-;v$NJB$YBX$(\e(B
@cindex diary articles sorting
@cindex diary summary lines sorting
@findex gnus-summary-sort-by-schedule
Parameters}).
@node Diary Headers Generation
-@subsubsection Diary Headers Generation
+@subsubsection \e$BF|5-%X%C%@!<$N@8@.\e(B
@cindex diary headers generation
@findex gnus-diary-check-message
instance.
@node Diary Group Parameters
-@subsubsection Diary Group Parameters
+@subsubsection \e$BF|5-%0%k!<%W$N%Q%i%a!<%?\e(B
@cindex diary group parameters
When you create a new diary group, or visit one, @code{gnus-diary}
automatically (although not filled with proper values yet).
@node Sending or Not Sending
-@subsection Sending or Not Sending
+@subsection \e$BAw?.$9$k$Y$-$+!"$7$J$$$Y$-$+\e(B
Well, assuming you've read of of the above, here are two final notes on
mail sending with @code{nndiary}:
\e$B$O\e(B @code{spam-use-regex-headers} \e$B%P%C%/%(%s%I$r;H$&>l9g!"\e(B
@code{X-Spam-Status} \e$B%X%C%@!<$,;H$o$l$^$9!#\e(B@code{spam-use-bogofilter} \e$B$r\e(B
\e$B;H$&>l9g$O!"\e(B@code{X-Bogosity} \e$B$,;H$o$l$^$9!#\e(B@code{spam-use-crm114} \e$B$r;H\e(B
-\e$B$&$N$J$i$P!"\e(BCRM114 \e$B%9%3%"!&%U%)!<%^%C%H$K9gCW$9$k!"$$$:$l$+$N%X%C%@$,;H\e(B
-\e$B$o$l$^$9!#\e(B@file{spam.el} \e$B$r%m!<%I$9$k\e(B @emph{\e$BA0\e(B} \e$B$K!"E,@Z$J%P%C%/%(%s%IJQ\e(B
-\e$B?t$r\e(B t \e$B$K@_Dj$9$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