* mml2015.el (mml2015-pgg-decrypt): Set gnus details even when
[gnus] / lisp / ChangeLog
1 2002-10-10  Simon Josefsson  <jas@extundo.com>
2
3         * mml2015.el (mml2015-pgg-decrypt): Set gnus details even when
4         decrypt failed.
5
6 2002-10-10  Ted Zlatanov <tzz@lifelogs.com>
7         * spam.el: compilation fixes, spam-check-bbdb function is nil if no
8         BBDB installed
9     
10         * spam-stat.el: added code from Alex Schroeder <alex@gnu.org> to do
11         statistical analysis of spam in Lisp only
12
13 2002-10-10  Simon Josefsson  <jas@extundo.com>
14
15         * nnimap.el (nnimap-open-server): Re-open server if it isn't in
16         auth, selected or examine state.
17
18         * pgg-gpg.el (pgg-gpg-verify-region): Filter out stuff into output
19         buffer and error buffer depending on type of information.
20
21         * mml2015.el (mml2015-gpg-extract-signature-details): Parse
22         --status-fd stuff even if gpg.el is not used (revert earlier
23         change).
24         (mml2015-pgg-{clear-,}verify): Store both output and errors as
25         gnus details.
26         (mml2015-pgg-{clear-,}verify): Extract signature info from errors
27         buffer.
28
29         * pgg.el (pgg-verify-region): Use it.
30
31         * pgg-def.el (pgg-query-keyserver): New variable.
32
33         * pgg.el (pgg-decrypt-region): Bind pgg-default-user-id to
34         key-identifier in packet.  Is this a good idea?
35
36         * mml.el (mml-mode-map): Add security commands that operates on
37         MIME parts.
38         (mml-menu): And menu items for them.
39
40         * mml1991.el (mml1991-pgg-encrypt): Remove headers.
41
42         * mml.el (mml-parse-1): Support sender in #secure tags.
43
44         * mml1991.el (mml1991-pgg-sign): Only use message-sender if it is
45         defined.
46
47         * mml-sec.el (mml-smime-encrypt-buffer): Warn about combined signing.
48         (mml-pgp-encrypt-buffer): Support combined signing.
49
50         * mml1991.el (mml1991-mailcrypt-encrypt): Support combined signing.
51         (mml1991-gpg-encrypt): Ditto.
52         (mml1991-pgg-encrypt): Ditto.
53         (mml1991-encrypt): Pass sign parameter.
54
55         * mml-sec.el (mml-signencrypt-style-alist): Defcustom.
56         (mml-signencrypt-style): Mention the variable.
57
58 2002-10-09  Simon Josefsson  <jas@extundo.com>
59
60         * mml1991.el (mml1991-pgg-sign): Bind pgg-default-user-id, not
61         pgg-gpg-user-id.
62
63         * pgg.el (pgg-insert-url-with-w3): Ignore errors.
64         (pgg-fetch-key-function): Nil if w3 is not installed.
65
66 2002-10-08  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
67
68         * gnus-agent.el (gnus-agent-fetch-selected-article): Bind
69         gnus-agent-current-history.
70
71 2002-10-06  Simon Josefsson  <jas@extundo.com>
72
73         * imap.el (imap-parse-status): Don't use read to read token.
74
75 2002-10-05  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
76
77         * gnus-agent.el (gnus-agent-fetch-selected-article): Do nothing
78         for methods not covered by the agent, and when unplugged.
79
80 2002-10-05  Simon Josefsson  <jas@extundo.com>
81
82         * pgg-gpg.el (pgg-gpg-encrypt-region): Query passphrase when
83         signing.
84
85         * gnus-agent.el (gnus-agent-read-servers): If getting method from
86         a named server fails, ignore the server.
87
88         * mml1991.el (mml1991-pgg-sign): Do QP.
89
90         * pgg-gpg.el (pgg-gpg-encrypt-region): Make signencrypt really
91         work.
92
93 2002-10-04  Simon Josefsson  <jas@extundo.com>
94
95         * pgg-gpg.el (pgg-gpg-encrypt-region): Make signencrypt work.
96
97         * pgg-pgp.el (pgg-pgp-verify-region): Inline
98         binary-write-decoded-region from MEL.
99
100         * pgg.el (pgg-encrypt-region): Support sign.
101
102         * pgg-gpg.el (pgg-gpg-encrypt-region): Ditto.
103
104         * mml2015.el (mml2015-pgg-encrypt): Ditto.
105
106         * pgg.el, pgg-def.el, pgg-parse.el, pgg-gpg.el, pgg-pgp5.el,
107         pgg-pgp6.el: Moved from ../pgg/.  Modifications compared to EMIKO
108         branch where PGG was taken from in the ChangeLog entries below.
109
110 2002-10-01  Simon Josefsson  <jas@extundo.com>
111
112         * pgg-pgp.el: Don't require mel.  Don't use luna.
113         (pgg-scheme-pgp-instance, pgg-make-scheme-pgp): Remove.
114         (pgg-pgp-process-region): Use expand-file-name instead of concat.
115         (pgg-pgp-process-region): Don't use binary-funcall.
116
117         * pgg-pgp5.el (pgg-pgp5-process-region): Don't use binary-funcall.
118
119         * pgg-gpg.el (pgg-gpg-process-region): Use expand-file-name
120         instead of concat.
121
122         * pgg-pgp5.el (pgg-pgp5-process-region): Ditto.
123
124 2002-09-29  Simon Josefsson  <jas@extundo.com>
125
126         * pgg-parse.el (pgg-char-int, pgg-string-as-unibyte): Prevent byte
127         compile warnings.
128
129         * pgg.el (pgg-decrypt-region): Don't parse packet.
130
131         * pgg.el, pgg-gpg.el, pgg-pgp5.el: Don't depend on luna.el.
132
133 2002-09-29  Daiki Ueno <ueno@unixuser.org>
134
135         * pgg.el: Remove dependency on calist.el.
136
137 2002-09-28  Simon Josefsson  <jas@extundo.com>
138
139         * pgg.el (pgg-temporary-file-directory): New variable.
140         (pgg-verify-region): Don't assume set-buffer-multibyte exists.
141
142         * pgg-pgp5.el (pgg-pgp5-process-region, pgg-scheme-verify-region)
143         (pgg-scheme-snarf-keys-region): Use pgg-temporary-file-directory.
144
145         * pgg-parse.el (pgg-char-int): Defalias.
146         (pgg-format-key-identifier, pgg-byte-after, pgg-read-byte) 
147         (pgg-read-bytes, pgg-read-body): Use it.
148         (pgg-decode-packets): Don't use MEL, use base64-*.
149         (pgg-parse-armor): Don't assume set-buffer-multibyte exists.
150         (pgg-string-as-unibyte): Defalias.
151         (pgg-parse-armor-region): Use it.
152
153         * pgg-gpg.el (pgg-gpg-process-region): Use
154         pgg-temporary-file-directory.
155
156         * luna.el: Don't def-edebug.
157
158         * pgg-pgp5.el (pgg-scheme-verify-region): Inline
159         binary-write-decoded-region from MEL.
160
161         * pgg-pgp5.el, pgg-gpg.el: Don't require mel.
162
163         * alist.el, calist.el: Don't require product/APEL.
164
165         * pgg-parse.el (top-level): Remove dependency on static.el,
166         pccl.el, mel.el.
167         (pgg-parse-crc24, pgg-parse-crc24-string): Only define if
168         `define-ccl-program' is boundp, instead of using broken.
169
170 2002-10-01  Simon Josefsson  <jas@extundo.com>
171
172         * message.el (message-required-mail-headers): Remove Lines:.
173
174 2002-10-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
175         From Jesper Harder.
176
177         * gnus-group.el (gnus-group-fetch-charter,
178         gnus-group-fetch-control): Prompt for group if given a prefix
179         argument.
180         * gnus-sum.el (t): Add gnus-group-fetch-charter and
181         gnus-group-fetch-control to summary key map and menu.
182
183
184 2002-10-03  Paul Jarc  <prj@po.cwru.edu>
185
186         * nnmaildir.el (nnmaildir--group-maxnum-art): fix maximum article
187         number when there are no articles.
188
189 2002-10-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
190
191         * gnus-agent.el (gnus-agent-summary-fetch-group): Optional prefix
192         arg ALL means to fetch all articles, not only downloadable ones.
193         (gnus-agent-fetch-selected-article): New function for
194         gnus-select-article-hook or gnus-mark-article-hook.
195
196 2002-10-02  Katsumi Yamaoka  <yamaoka@jpl.org>
197         From Peter von der Ahe <nospam2159@daimi.au.dk>.
198
199         * gnus-ems.el (gnus-x-splash): Set coding-system-for-read to
200         raw-text.
201
202 2002-09-30  Ted Zlatanov <tzz@lifelogs.com>
203
204         * spam.el: merged changes from pinard@iro.umontreal.ca (Fran\e,Ag\e(Bois
205         Pinard).
206         Major revamp of the code, documentation is in comments in the file
207         for now.
208
209 2002-09-30  Simon Josefsson  <jas@extundo.com>
210
211         * mml2015.el (mml2015-pgg-clear-verify): Verifying in a unibyte
212         buffer seem to be needed?
213
214 2002-09-29  Simon Josefsson  <jas@extundo.com>
215
216         * mml1991.el (pgg-output-buffer, pgg-errors-buffer): Prevent byte
217         compile warnings.
218
219         * mml1991.el (mml1991-function-alist): Add pgg.
220         (mml1991-pgg-sign, mml1991-pgg-encrypt): New functions.
221         (mml1991-pgg-encrypt): Fix recipients querying.
222
223 2002-09-28  Simon Josefsson  <jas@extundo.com>
224
225         * mml2015.el (autoload): Autoload correct files.  Trivial patch
226         from dme@dme.org.
227         (mml2015-pgg-decrypt, mml2015-pgg-verify): Make sure either nil or
228         handle is returned.
229
230 2002-09-27  Katsumi Yamaoka  <yamaoka@jpl.org>
231
232         * gnus-start.el (gnus-fixup-nnimap-unread-after-getting-new-news):
233         Protect against non-existent of `nnimap-mailbox-info'.
234
235 2002-09-27  Simon Josefsson  <jas@extundo.com>
236
237         * gnus-start.el (gnus-fixup-nnimap-unread-after-getting-new-news): New.
238         (gnus-setup-news-hook): Use it.
239         (gnus-after-getting-new-news-hook): Ditto.
240
241         * nnimap.el (nnimap-fixup-unread-after-getting-new-news): Remove.
242
243 2002-09-27  Katsumi Yamaoka  <yamaoka@jpl.org>
244         From Mats Lidell <matsl@contactor.se>.
245
246         * gnus-art.el (gnus-article-mode-syntax-table): Replace "-" to " ".
247
248 2002-09-27  TSUCHIYA Masatoshi  <tsuchiya@namazu.org>
249
250         * gnus-sum.el (gnus-nov-parse-line): When an error is signaled in
251         the part to decode encoded words, use raw words instead of decoded
252         words.
253
254 2002-09-26  ShengHuo ZHU  <zsh@cs.rochester.edu>
255
256         * nnimap.el (nnimap-update-unseen): Use gnus-gethash-safe.
257
258         * mm-view.el (mm-w3m-mode-ignored-keys): New variable.
259         (mm-setup-w3m): Use it.
260
261 2002-09-27  Simon Josefsson  <jas@extundo.com>
262
263         * gnus-art.el (gnus-article-mode-syntax-table): Make M-. work in
264         article buffers.
265
266         * nnimap.el (nnimap-fixup-unread-after-getting-new-news): Autoload
267         it just in case.
268         (nnimap-update-unseen): New function; update unseen count in
269         `n-m-info'.
270         (nnimap-close-group): Call it.
271
272         * gnus-start.el (gnus-setup-news-hook): Add n-f-u-a-g-n-n.
273         (gnus-after-getting-new-news-hook): Ditto.
274
275         * nnimap.el (nnimap-retrieve-groups): Move the quick mail check
276         message into verboselevel 9.  Change slow mail check message.
277         (nnimap-retrieve-groups): Use prefixed names in n-mailbox-info.
278         (nnimap-fixup-unread-after-getting-new-news): New function, to be
279         used as a hook after getting new mail.
280
281 2002-09-26  Simon Josefsson  <jas@extundo.com>
282
283         * imap.el (imap-parse-resp-text-code): The UNSEEN value in
284         SELECT/EXAMINE is first unseen article, not number of unseen
285         articles.  Make them distinct by renaming the former to
286         `first-unseen' instead of `unseen'.
287
288         * nnimap.el (nnimap-retrieve-groups): Get uidvalidity and unseen
289         too.
290         (nnimap-retrieve-groups): Don't used cached data if uidvalidity
291         changed.
292         (nnimap-retrieve-groups): Store uidvalidity and unseen data too.
293
294         * gnus-int.el (gnus-server-unopen-status): Defcustom.
295
296         * mml-sec.el (mml-signencrypt-style): Docstring to font-lock
297         better.
298
299         * mml2015.el (mml2015-pgg-decrypt): Only add security information
300         if dissecting resulting buffer actually had any information.
301
302 2002-09-26  Katsumi Yamaoka  <yamaoka@jpl.org>
303
304         * gnus-group.el (gnus-group-sort-by-method): Remove `symbol-name'
305         because the function `string<' allows symbols.
306
307         * gnus-sum.el (gnus-summary-make-menu-bar): Ditto.
308
309 2002-09-25  ShengHuo ZHU  <zsh@cs.rochester.edu>
310
311         * message.el (message-forward-make-body): Revert an early change
312         because 8-bit utf-8 emails.
313
314 2002-09-25  Bj\e,Av\e(Brn Torkelsson  <torkel@acc.umu.se>
315
316         * gnus-agent.el (gnus-category-line-format): Doc fixes (mostly added
317         links to Info)
318         * gnus-art.el (gnus-treat-highlight-signature):
319         * gnus-art.el (gnus-treat-buttonize):
320         * gnus-art.el (gnus-treat-buttonize-head):
321         * gnus-art.el (gnus-treat-emphasize):
322         * gnus-art.el (gnus-treat-strip-cr):
323         * gnus-art.el (gnus-treat-unsplit-urls):
324         * gnus-art.el (gnus-treat-leading-whitespace):
325         * gnus-art.el (gnus-treat-hide-headers):
326         * gnus-art.el (gnus-treat-hide-boring-headers):
327         * gnus-art.el (gnus-treat-hide-signature):
328         * gnus-art.el (gnus-treat-fill-article):
329         * gnus-art.el (gnus-treat-hide-citation):
330         * gnus-art.el (gnus-treat-hide-citation-maybe):
331         * gnus-art.el (gnus-treat-strip-list-identifiers):
332         * gnus-art.el (gnus-treat-strip-pgp):
333         * gnus-art.el (gnus-treat-strip-pem):
334         * gnus-art.el (gnus-treat-strip-banner):
335         * gnus-art.el (gnus-treat-highlight-headers):
336         * gnus-art.el (gnus-treat-highlight-citation):
337         * gnus-art.el (gnus-treat-date-ut):
338         * gnus-art.el (gnus-treat-date-local):
339         * gnus-art.el (gnus-treat-date-english):
340         * gnus-art.el (gnus-treat-date-lapsed):
341         * gnus-art.el (gnus-treat-date-original):
342         * gnus-art.el (gnus-treat-date-iso8601):
343         * gnus-art.el (gnus-treat-date-user-defined):
344         * gnus-art.el (gnus-treat-strip-headers-in-body):
345         * gnus-art.el (gnus-treat-strip-trailing-blank-lines):
346         * gnus-art.el (gnus-treat-strip-leading-blank-lines):
347         * gnus-art.el (gnus-treat-strip-multiple-blank-lines):
348         * gnus-art.el (gnus-treat-unfold-headers):
349         * gnus-art.el (gnus-treat-fold-headers):
350         * gnus-art.el (gnus-treat-fold-newsgroups):
351         * gnus-art.el (gnus-treat-overstrike):
352         * gnus-art.el (gnus-treat-display-xface):
353         * gnus-art.el (gnus-treat-display-smileys):
354         * gnus-art.el (gnus-treat-from-picon):
355         * gnus-art.el (gnus-treat-mail-picon):
356         * gnus-art.el (gnus-treat-newsgroups-picon):
357         * gnus-art.el (gnus-treat-body-boundary):
358         * gnus-art.el (gnus-treat-capitalize-sentences):
359         * gnus-art.el (gnus-treat-fill-long-lines):
360         * gnus-art.el (gnus-treat-play-sounds):
361         * gnus-art.el (gnus-treat-translate):
362         * gnus-art.el (gnus-treat-x-pgp-sig):
363         * gnus-art.el (gnus-mime-button-line-format):
364         * gnus-art.el (gnus-button-man-level):
365         * gnus-art.el (gnus-button-emacs-level):
366         * gnus-cus.el (gnus-group-parameters):
367         * gnus-gl.el (bbb-build-mid-scores-alist):
368         * gnus-group.el (gnus-group-line-format):
369         * gnus-mlspl.el (gnus-group-split-setup):
370         * gnus-mlspl.el (gnus-group-split):
371         * gnus-msg.el (gnus-mailing-list-groups):
372         * gnus-msg.el (gnus-posting-styles):
373         * gnus-nocem.el (gnus-nocem-issuers):
374         * gnus-score.el (gnus-score-regexp-bad-p):
375         * gnus-srvr.el (gnus-server-line-format):
376         * gnus-topic.el (gnus-topic-line-format):
377         * gnus.el (gnus-summary-line-format):
378         * mail-source.el (mail-sources):
379         * message.el (message-subscribed-address-file):
380         * nnmail.el (nnmail-split-fancy):
381
382 2002-09-24  Evgeny Roubinchtein  <zhenya@freeshell.org>
383
384         * mail-source.el(mail-source-run-script): use `functionp' to test
385         whether the argument `script' is in fact a function.
386         (mail-sources): adjust the defcustom to allow users to specify a
387         function or a string as the value of the `:prescript' and
388         `:postscript' arguments of the `file' and `pop3' mail sources.
389
390 2002-09-25  Paul Jarc  <prj@po.cwru.edu>
391
392         * nnmaildir.el (nnmaildir--grp-add-art): fix minimum article
393         number when article 1 does not exist.
394
395 2002-09-25  Kai Gro\e,b_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
396
397         * gnus-art.el (gnus-button-handle-apropos-variable): Fall back to
398         apropos if apropos-variable does not exist.
399         (gnus-button-guessed-mid-regexp)
400         (gnus-button-handle-describe-prefix, gnus-button-alist): Better
401         regexes.  From Reiner Steib.
402         (gnus-button-handle-describe-function)
403         (gnus-button-handle-describe-variable): Doc fix.  From Reiner Steib.
404         (gnus-button-handle-describe-key, gnus-button-handle-apropos)
405         (gnus-button-handle-apropos-command): Doc fix.  From Reiner Steib.
406
407 2002-09-25  Mark A. Hershberger  <mah@everybody.org>
408
409         * nnrss.el (nnrss-save-server-data): Save nnrss-group-alist in
410         the file.
411
412 2002-09-24  ShengHuo ZHU  <zsh@cs.rochester.edu>
413
414         * gnus-start.el (gnus-1): Create nndraft:queue, nndraft:drafts.
415
416 2002-09-24  Simon Josefsson  <jas@extundo.com>
417
418         * mml2015.el (top-level): Require mm-util for mm-make-temp-file.
419         (mml2015-use): Prefer PGG if installed.
420         (mml2015-function-alist): Add PGG wrappers.
421         (mml2015-gpg-extract-signature-details): Check mml2015-use too.
422         (mml2015-gpg-extract-signature-details): PGG strips "gpg: "
423         prefix, make regexp optionally skip it.
424         (mml2015-pgg-decrypt, mml2015-pgg-clear-decrypt)
425         (mml2015-pgg-verify, mml2015-pgg-clear-verify,&nbs