annotate lisp/gnus/nnkiboze.el @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children 0293115a14e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 ;;; nnkiboze.el --- select virtual news access for Gnus
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 ;; Copyright (C) 1995,96 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 ;; Author: Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 ;; Keywords: news
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 ;; This file is part of GNU Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 ;; GNU Emacs is free software; you can redistribute it and/or modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 ;; it under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 ;; the Free Software Foundation; either version 2, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ;; any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 ;; GNU Emacs is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 ;; GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 ;; You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 ;; along with GNU Emacs; see the file COPYING. If not, write to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 ;; Boston, MA 02111-1307, USA.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 ;;; Commentary:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 ;; The other access methods (nntp, nnspool, etc) are general news
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 ;; access methods. This module relies on Gnus and can not be used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 ;; separately.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 ;;; Code:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 (require 'nntp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 (require 'nnheader)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 (require 'gnus)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 (require 'gnus-score)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 (require 'nnoo)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 (eval-when-compile (require 'cl))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 (nnoo-declare nnkiboze)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 (defvoo nnkiboze-directory gnus-directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 "nnkiboze will put its files in this directory.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 (defvoo nnkiboze-level 9
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 "*The maximum level to be searched for articles.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 (defvoo nnkiboze-remove-read-articles t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 "*If non-nil, nnkiboze will remove read articles from the kiboze group.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 (defconst nnkiboze-version "nnkiboze 1.0"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 "Version numbers of this version of nnkiboze.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 (defvoo nnkiboze-current-group nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 (defvoo nnkiboze-current-score-group "")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 (defvoo nnkiboze-status-string "")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 ;;; Interface functions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 (nnoo-define-basics nnkiboze)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 (deffoo nnkiboze-retrieve-headers (articles &optional group server fetch-old)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 (nnkiboze-possibly-change-newsgroups group)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 (if gnus-nov-is-evil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 (if (stringp (car articles))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 'headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 (let ((first (car articles))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 (last (progn (while (cdr articles) (setq articles (cdr articles)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 (car articles)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 (nov (nnkiboze-nov-file-name)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 (if (file-exists-p nov)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 (save-excursion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 (set-buffer nntp-server-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 (erase-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 (insert-file-contents nov)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 (goto-char (point-min))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 (while (and (not (eobp)) (< first (read (current-buffer))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 (forward-line 1))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 (beginning-of-line)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 (if (not (eobp)) (delete-region 1 (point)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 (while (and (not (eobp)) (>= last (read (current-buffer))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 (forward-line 1))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 (beginning-of-line)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 (if (not (eobp)) (delete-region (point) (point-max)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 'nov))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 (deffoo nnkiboze-open-server (newsgroups &optional something)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 (gnus-make-directory nnkiboze-directory)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 (nnheader-init-server-buffer))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 (deffoo nnkiboze-server-opened (&optional server)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 (and nntp-server-buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 (get-buffer nntp-server-buffer)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 (deffoo nnkiboze-request-article (article &optional newsgroup server buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 (nnkiboze-possibly-change-newsgroups newsgroup)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 (if (not (numberp article))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 ;; This is a real kludge. It might not work at times, but it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 ;; does no harm I think. The only alternative is to offer no
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 ;; article fetching by message-id at all.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 (nntp-request-article article newsgroup gnus-nntp-server buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 (let* ((header (gnus-summary-article-header article))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 (xref (mail-header-xref header))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 igroup iarticle)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 (or xref (error "nnkiboze: No xref"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 (or (string-match " \\([^ ]+\\):\\([0-9]+\\)" xref)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 (error "nnkiboze: Malformed xref"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 (setq igroup (substring xref (match-beginning 1) (match-end 1)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 (setq iarticle (string-to-int
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 (substring xref (match-beginning 2) (match-end 2))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 (and (gnus-request-group igroup t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 (gnus-request-article iarticle igroup buffer)))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 (deffoo nnkiboze-request-group (group &optional server dont-check)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 "Make GROUP the current newsgroup."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 (nnkiboze-possibly-change-newsgroups group)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 (if dont-check
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 (let ((nov-file (nnkiboze-nov-file-name))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 beg end total)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 (save-excursion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 (set-buffer nntp-server-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 (erase-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 (if (not (file-exists-p nov-file))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 (insert (format "211 0 0 0 %s\n" group))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 (insert-file-contents nov-file)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 (if (zerop (buffer-size))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 (insert (format "211 0 0 0 %s\n" group))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 (goto-char (point-min))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 (and (looking-at "[0-9]+") (setq beg (read (current-buffer))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 (goto-char (point-max))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 (and (re-search-backward "^[0-9]" nil t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 (setq end (read (current-buffer))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 (setq total (count-lines (point-min) (point-max)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 (erase-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 (insert (format "211 %d %d %d %s\n" total beg end group)))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 (deffoo nnkiboze-close-group (group &optional server)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 (nnkiboze-possibly-change-newsgroups group)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 ;; Remove NOV lines of articles that are marked as read.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 (when (and (file-exists-p (nnkiboze-nov-file-name))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 nnkiboze-remove-read-articles
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 (eq major-mode 'gnus-summary-mode))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 (save-excursion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 (let ((unreads gnus-newsgroup-unreads)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 (unselected gnus-newsgroup-unselected)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 (version-control 'never))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 (set-buffer (get-buffer-create "*nnkiboze work*"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 (buffer-disable-undo (current-buffer))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 (erase-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 (let ((cur (current-buffer))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 article)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 (insert-file-contents (nnkiboze-nov-file-name))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 (goto-char (point-min))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 (while (looking-at "[0-9]+")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 (if (or (memq (setq article (read cur)) unreads)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 (memq article unselected))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 (forward-line 1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 (delete-region (progn (beginning-of-line) (point))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 (progn (forward-line 1) (point)))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 (write-file (nnkiboze-nov-file-name))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 (kill-buffer (current-buffer)))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 (setq nnkiboze-current-group nil)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 (deffoo nnkiboze-request-list (&optional server)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 (nnheader-report 'nnkiboze "LIST is not implemented."))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 (deffoo nnkiboze-request-newgroups (date &optional server)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 "List new groups."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 (nnheader-report 'nnkiboze "NEWGROUPS is not supported."))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 (deffoo nnkiboze-request-list-newsgroups (&optional server)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 (nnheader-report 'nnkiboze "LIST NEWSGROUPS is not implemented."))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 (deffoo nnkiboze-request-delete-group (group &optional force server)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 (nnkiboze-possibly-change-newsgroups group)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 (when force
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 (let ((files (list (nnkiboze-nov-file-name)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 (concat nnkiboze-directory group ".newsrc")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 (nnkiboze-score-file group))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 (while files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 (and (file-exists-p (car files))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 (file-writable-p (car files))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 (delete-file (car files)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 (setq files (cdr files)))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 (setq nnkiboze-current-group nil))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 ;;; Internal functions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 (defun nnkiboze-possibly-change-newsgroups (group)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 (setq nnkiboze-current-group group))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 (defun nnkiboze-prefixed-name (group)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 (gnus-group-prefixed-name group '(nnkiboze "")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 ;;;###autoload
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 (defun nnkiboze-generate-groups ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 "Usage: emacs -batch -l nnkiboze -f nnkiboze-generate-groups
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 Finds out what articles are to be part of the nnkiboze groups."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 (interactive)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 (let ((nnmail-spool-file nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 (gnus-use-dribble-file nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 (gnus-read-active-file t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 (gnus-expert-user t))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 (gnus))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 (let* ((gnus-newsrc-alist (gnus-copy-sequence gnus-newsrc-alist))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 (newsrc gnus-newsrc-alist)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 gnus-newsrc-hashtb)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 (gnus-make-hashtable-from-newsrc-alist)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 ;; We have copied all the newsrc alist info over to local copies
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 ;; so that we can mess all we want with these lists.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 (while newsrc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 (if (string-match "nnkiboze" (caar newsrc))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 ;; For each kiboze group, we call this function to generate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 ;; it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 (nnkiboze-generate-group (caar newsrc)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 (setq newsrc (cdr newsrc)))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 (defun nnkiboze-score-file (group)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 (list (expand-file-name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 (concat (file-name-as-directory gnus-kill-files-directory)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 (nnheader-translate-file-chars
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 (concat nnkiboze-current-score-group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 "." gnus-score-file-suffix))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 (defun nnkiboze-generate-group (group)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 (let* ((info (nth 2 (gnus-gethash group gnus-newsrc-hashtb)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 (newsrc-file (concat nnkiboze-directory group ".newsrc"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 (nov-file (concat nnkiboze-directory group ".nov"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 (regexp (nth 1 (nth 4 info)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 (gnus-expert-user t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 (gnus-large-newsgroup nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 (version-control 'never)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 (gnus-score-find-score-files-function 'nnkiboze-score-file)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 gnus-select-group-hook gnus-summary-prepare-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 gnus-thread-sort-functions gnus-show-threads
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 gnus-visual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 method nnkiboze-newsrc nov-buffer gname newsrc active
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 ginfo lowest glevel)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 (setq nnkiboze-current-score-group group)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 (or info (error "No such group: %s" group))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 ;; Load the kiboze newsrc file for this group.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 (and (file-exists-p newsrc-file) (load newsrc-file))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 ;; We also load the nov file for this group.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 (save-excursion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 (set-buffer (setq nov-buffer (find-file-noselect nov-file)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 (buffer-disable-undo (current-buffer)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 ;; Go through the active hashtb and add new all groups that match the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 ;; kiboze regexp.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 (mapatoms
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 (lambda (group)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 (and (string-match regexp (setq gname (symbol-name group))) ; Match
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 (not (assoc gname nnkiboze-newsrc)) ; It isn't registered
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 (numberp (car (symbol-value group))) ; It is active
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 (or (> nnkiboze-level 7)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 (and (setq glevel (nth 1 (nth 2 (gnus-gethash
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 gname gnus-newsrc-hashtb))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 (>= nnkiboze-level glevel)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 (not (string-match "^nnkiboze:" gname)) ; Exclude kibozes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 (setq nnkiboze-newsrc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 (cons (cons gname (1- (car (symbol-value group))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 nnkiboze-newsrc))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 gnus-active-hashtb)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 ;; `newsrc' is set to the list of groups that possibly are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 ;; component groups to this kiboze group. This list has elements
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 ;; on the form `(GROUP . NUMBER)', where NUMBER is the highest
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 ;; number that has been kibozed in GROUP in this kiboze group.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 (setq newsrc nnkiboze-newsrc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 (while newsrc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 (if (not (setq active (gnus-gethash
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 (caar newsrc) gnus-active-hashtb)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 ;; This group isn't active after all, so we remove it from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 ;; the list of component groups.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 (setq nnkiboze-newsrc (delq (car newsrc) nnkiboze-newsrc))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 (setq lowest (cdar newsrc))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281 ;; Ok, we have a valid component group, so we jump to it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 (switch-to-buffer gnus-group-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283 (gnus-group-jump-to-group (caar newsrc))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284 ;; We set all list of article marks to nil. Since we operate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 ;; on copies of the real lists, we can destroy anything we
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 ;; want here.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 (and (setq ginfo (nth 2 (gnus-gethash (gnus-group-group-name)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 gnus-newsrc-hashtb)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 (nth 3 ginfo)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 (setcar (nthcdr 3 ginfo) nil))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 ;; We set the list of read articles to be what we expect for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 ;; this kiboze group -- either nil or `(1 . LOWEST)'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 (and ginfo (setcar (nthcdr 2 ginfo)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 (and (not (= lowest 1)) (cons 1 lowest))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 (if (not (and (or (not ginfo)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 (> (length (gnus-list-of-unread-articles
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 (car ginfo))) 0))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 (progn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 (gnus-group-select-group nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 (eq major-mode 'gnus-summary-mode))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 () ; No unread articles, or we couldn't enter this group.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 ;; We are now in the group where we want to be.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303 (setq method (gnus-find-method-for-group gnus-newsgroup-name))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 (and (eq method gnus-select-method) (setq method nil))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 ;; We go through the list of scored articles.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 (while gnus-newsgroup-scored
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 (if (> (caar gnus-newsgroup-scored) lowest)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 ;; If it has a good score, then we enter this article
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 ;; into the kiboze group.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310 (nnkiboze-enter-nov
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 nov-buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 (gnus-summary-article-header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 (caar gnus-newsgroup-scored))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314 (if method
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 (gnus-group-prefixed-name gnus-newsgroup-name method)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 gnus-newsgroup-name)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 (setq gnus-newsgroup-scored (cdr gnus-newsgroup-scored)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318 ;; That's it. We exit this group.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319 (gnus-summary-exit-no-update)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 (setcdr (car newsrc) (car active))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 (setq newsrc (cdr newsrc)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 ;; We save the nov file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 (set-buffer nov-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324 (save-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 (kill-buffer (current-buffer))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 ;; We save the kiboze newsrc for this group.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 (set-buffer (get-buffer-create "*nnkiboze work*"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 (buffer-disable-undo (current-buffer))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 (erase-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 (insert "(setq nnkiboze-newsrc '" (prin1-to-string nnkiboze-newsrc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 ")\n")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 (write-file newsrc-file)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 (kill-buffer (current-buffer))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 (switch-to-buffer gnus-group-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 (gnus-group-list-groups 5 nil)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 (defun nnkiboze-enter-nov (buffer header group)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 (save-excursion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 (set-buffer buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340 (goto-char (point-max))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 (let ((xref (mail-header-xref header))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 (prefix (gnus-group-real-prefix group))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 (first t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 article)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 (if (zerop (forward-line -1))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 (progn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 (setq article (1+ (read (current-buffer))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 (forward-line 1))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 (setq article 1))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 (insert (int-to-string article) "\t"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 (or (mail-header-subject header) "") "\t"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 (or (mail-header-from header) "") "\t"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 (or (mail-header-date header) "") "\t"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 (or (mail-header-id header) "") "\t"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 (or (mail-header-references header) "") "\t"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 (int-to-string (or (mail-header-chars header) 0)) "\t"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 (int-to-string (or (mail-header-lines header) 0)) "\t")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 (if (or (not xref) (equal "" xref))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 (insert "Xref: " (system-name) " " group ":"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 (int-to-string (mail-header-number header))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 "\t\n")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 (insert (mail-header-xref header) "\t\n")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 (search-backward "\t" nil t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 (search-backward "\t" nil t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365 (while (re-search-forward
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 "[^ ]+:[0-9]+"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 (save-excursion (end-of-line) (point)) t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 (if first
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369 ;; The first xref has to be the group this article
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 ;; really came for - this is the article nnkiboze
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 ;; will request when it is asked for the article.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 (save-excursion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 (goto-char (match-beginning 0))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 (insert prefix group ":"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375 (int-to-string (mail-header-number header)) " ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 (setq first nil)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 (save-excursion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 (goto-char (match-beginning 0))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 (insert prefix)))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 (defun nnkiboze-nov-file-name ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 (concat (file-name-as-directory nnkiboze-directory)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383 (nnheader-translate-file-chars
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 (concat (nnkiboze-prefixed-name nnkiboze-current-group) ".nov"))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 (provide 'nnkiboze)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 ;;; nnkiboze.el ends here