Minimize the long-lines fillling case by only filling the long lines.
[gnus] / lisp / ChangeLog
1 2010-11-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2
3         * gnus-cite.el (gnus-article-fill-cited-article): Minimize the
4         long-lines case by only filling the long lines.
5
6         * nnimap.el (nnimap-parse-line): Don't bug out oddly formed replies
7         (bug #7311).
8
9 2010-11-01  Katsumi Yamaoka  <yamaoka@jpl.org>
10
11         * shr.el: No need to declare `declare-function' since shr.el is for
12         only Emacsen that provide `libxml-parse-html-region'.
13
14         * dgnushack.el: Remove `(defvar iswitchb-temp-buflist)', that is
15         effective only in a file it is referred to.
16
17 2010-11-01  Glenn Morris  <rgm@gnu.org>
18
19         * mm-util.el (gnus-completing-read): Autoload.
20         (mm-read-coding-system): Simplify Emacs definition.
21
22         * nnmail.el (gnus-activate-group):
23         * nnimap.el (gnutls-negotiate):
24         * nntp.el (netrc-parse): Fix declarations.
25
26 2010-11-01  Katsumi Yamaoka  <yamaoka@jpl.org>
27
28         * gnus-util.el (gnus-string-match-p): New function, that is an alias to
29         string-match-p in Emacs >=23.
30
31         * gnus-msg.el (gnus-configure-posting-styles)
32         * nnir.el (nnir-run-gmane): Use gnus-string-match-p.
33
34 2010-11-01  Glenn Morris  <rgm@gnu.org>
35
36         * nnir.el (declare-function): Add compat stub.
37         (mm-url-insert, mm-url-encode-www-form-urlencoded): Declare.
38         (nnir-run-gmane): Require 'mm-url.
39
40         * mm-util.el (mm-string-to-multibyte): Simplify.
41
42         * shr.el (declare-function): Add compat stub.
43         (url-cache-create-filename): Declare.
44         (mm-disable-multibyte, widget-convert-button): Autoload.
45
46         * smime.el (ldap-search): Declare.
47         (smime-cert-by-ldap-1): Require ldap on Emacs.
48
49         * nnimap.el: Require nnmail, and gnus-sum when compiling.
50         (nnimap-keepalive): Use gnus-float-time.
51
52         * mail-source.el (nnheader-message, gnus-float-time): Autoload.
53         (mail-source-delete-crash-box): Use gnus-float-time.
54
55         * gnus-dired.el (gnus-completing-read): Autoload.
56
57         * mm-view.el (gnus-rescale-image): Autoload.
58
59         * mm-decode.el (gnus-completing-read, gnus-blocked-images): Autoload.
60
61         * gnus.el (gnus-sloppily-equal-method-parameters): Move defn before use.
62
63         * sieve-manage.el: Require 'cl when compiling.
64
65         * gnus-util.el (iswitchb-read-buffer): Declare rather than autoload.
66         (gnus-iswitchb-completing-read): Require iswitchb.
67         (gnus-select-frame-set-input-focus): Silence compiler.
68
69 2010-10-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
70
71         * message.el (message-subject-trailing-was-query): Change default to t,
72         since I think that's what most people want.
73
74         * nnimap.el (nnimap-request-accept-article): Erase buffer before
75         appending for easier debugging.
76         (nnimap-wait-for-connection): Take a regexp.
77         (nnimap-request-accept-article): Wait for the continuation line before
78         sending anything unless we're streaming.
79
80         * gnus-art.el (gnus-treat-article): Only inhibit body washing, and
81         leave the header washing to take place.
82
83 2010-10-31  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>
84
85         * gnus-msg.el (gnus-configure-posting-styles): Permit the use of
86         regular expression match and replace in posting styles.
87
88 2010-10-31  Andrew Cohen  <cohen@andy.bu.edu>
89
90         * nnir.el (gnus-group-make-nnir-group,nnir-run-query): Allow searching
91         an entire server.
92         (nnir-get-active): New function.
93         (nnir-run-imap): Use it.
94         (nnir-run-gmane): Who knew, gmane search returns an article score!
95
96         * gnus-srvr.el (gnus-server-mode-map): add binding "G" to search the
97         server on the current line with nnir.
98
99 2010-10-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
100
101         * gnus-cite.el (gnus-article-foldable-buffer): Refactor out.
102         (gnus-article-foldable-buffer): Don't fold regions that have a ragged
103         left edge.
104         (gnus-article-foldable-buffer): Skip past the prefix when determining
105         raggedness.
106
107         * gnus-sum.el (gnus-summary-show-article): Add `C-u C-u g' for showing
108         the raw article, and change `C-u g' to show the article without doing
109         treatments.
110
111         * gnus-art.el (gnus-mime-display-alternative): Actually pass the type
112         on to `gnus-treat-article'.
113         (gnus-inhibit-article-treatments): New variable.
114
115         * gnus.el: Autoload gnus-article-fill-cited-long-lines.
116
117         * gnus-art.el (gnus-treatment-function-alist): Have
118         gnus-treat-fill-long-lines point to gnus-article-fill-cited-long-lines.
119         (gnus-treat-fill-long-lines): Change default to fill all text/plain
120         sections.
121
122         * gnus-cite.el (gnus-article-fill-cited-article): Remove unused `force'
123         parameter.
124         (gnus-article-fill-cited-long-lines): New function.
125         (gnus-article-fill-cited-article): Allow filling only long sections.
126
127         * shr.el (shr-find-fill-point): Don't break lines between punctuation
128         and non-punctuation (like after the apostrophe in "'We").
129
130         * gnus-sum.el (gnus-summary-select-article): Make sure
131         gnus-original-article-buffer is alive.
132
133         * nndoc.el (nndoc-dissect-buffer): Reverse the order of the articles to
134         reflect the order they're in in the digest.
135
136         * gnus.el (gnus-group-startup-message): Move point to the start of the
137         buffer.
138
139         * nnimap.el (nnimap-capability): New function.
140         (nnimap-open-connection): Only send AUTHENTICATE PLAIN if LOGINDISABLED
141         is set.
142
143 2010-10-31  David Engster  <dengste@eml.cc>
144
145         * nnmairix.el (nnmairix-get-valid-servers): Return list of strings to
146         conform with changes to gnus-completing-read.
147
148 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
149
150         * shr.el (shr-tag-img): Output "*" instead of "[img]".
151
152 2010-10-30  Andrew Cohen  <cohen@andy.bu.edu>
153
154         * nnir.el move defvar, defcustom around to keep file organized and keep
155         byte-compiler quiet.
156         (nnir-read-parms): accept search-engine as arg.
157         (nnir-run-query): pass search-engine as arg.
158         (nnir-search-engine): remove.
159
160 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
161
162         * shr.el (shr-generic): The text nodes should be text, not :text.
163
164         * nnir.el (nnir-search-engine): Ressurect variable, since it's used
165         later in the file.
166
167 2010-10-30  Andrew Cohen  <cohen@andy.bu.edu>
168
169         * nnir.el: general clean up. allow searching with multiple
170         engines. allow separate extra-parameters for each engine. batch queries
171         when possible.
172         (nnir-imap-default-search-key,nnir-method-default-engines): add
173         customize interface.
174         (nnir-run-gmane): new engine.
175         (nnir-engines): use it. qualify all prompts with engine name.
176         (nnir-search-engine): remove global variable.
177         (nnir-run-hyrex): restore for now.
178         (nnir-extra-parms,nnir-search-history): new variables.
179         (gnus-group-make-nnir-group): use them.
180         (nnir-group-server): remove in favor of gnus-group-server.
181         (nnir-request-group): avoid searching twice.
182         (nnir-sort-groups-by-server): new function.
183
184 2010-10-30  Julien Danjou  <julien@danjou.info>
185
186         * gnus-group.el: Remove gnus-group-fetch-control.
187
188         * gnus-start.el (gnus-find-new-newsgroups): Remove
189         gnus-check-first-time-used.
190
191         * gnus.el: Remove gnus-backup-default-subscribed-newsgroups.
192
193 2010-10-30  Knut Anders Hatlen  <kahatlen@gmail.com>  (tiny change)
194
195         * nnimap.el (nnimap-update-info): Allow 'ticked and other flags to be
196         set on groups that don't have \* permanentflags.
197
198 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
199
200         * shr.el (shr-tag-span): Drop colorisation of regions since we don't
201         control the background color.
202         (shr-tag-img): Ignore very small web bug type images.
203         (shr-put-image): Add help-echo alt texts to the images.
204         (shr-tag-video): Show the video poster image.
205
206 2010-10-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
207
208         * shr.el (shr-table-depth): New variable.
209         (shr-tag-table-1): Only insert the images after the top-level table.
210
211         * nnimap.el (nnimap-split-incoming-mail): Fix typo.
212
213         * gnus-util.el (gnus-list-memq-of-list): New function.
214
215         * nnimap.el (nnimap-split-incoming-mail): Note that the INBOX has been
216         selected.
217         (nnimap-unsplittable-articles): New slot.
218         (nnimap-new-articles): Use it.
219
220 2010-10-29  Stephen Berman  <stephen.berman@gmx.net>  (tiny change)
221
222         * gnus-group.el (gnus-group-get-new-news-this-group): Don't have point
223         move to the previous line on `M-g'.
224
225 2010-10-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
226
227         * gnus-msg.el (gnus-inews-do-gcc): Don't have the backends do the slow
228         *-request-group, which seems unnecessary.
229
230         * nnimap.el (nnimap-quote-specials): Function copied over from
231         imap.el.
232         (nnimap-open-connection): Use AUTHENTICATE PLAIN on servers that say
233         they support that.  Suggested by Tom Regner.
234
235 2010-10-29  Julien Danjou  <julien@danjou.info>
236
237         * gnus-sum.el (gnus-summary-delete-marked-as-read): Remove obsolete
238         defalias.
239         (gnus-summary-delete-marked-with): Remove obsolete defalias.
240
241         * gnus.el: Remove `gnus-nntp-service' variable.
242         (gnus-secondary-servers): Make obsolete.
243         (gnus-nntp-server): Make obsolete.
244
245         * gnus-start.el (gnus-1): Remove x-splash calls.
246
247         * gnus-ems.el (gnus-x-splash): Remove.
248
249         * gnus.el (gnus-group-startup-message): Simplify/update code.
250
251         * gnus-xmas.el (gnus-xmas-define): Remove unused gnus-characterp
252         definition.
253
254         * gnus-group.el (gnus-group-make-tool-bar): Check for display graphic
255         capability before doing anything.
256         (gnus-group-insert-group-line): Remove useless
257         gnus-group-remove-excess-properties.
258
259 2010-10-29  Katsumi Yamaoka  <yamaoka@jpl.org>
260
261         * gnus-art.el (gnus-article-goto-part): Work for article narrowed by ^L.
262
263 2010-10-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
264
265         * gnus-sum.el (gnus-summary-rescan-group): Try to restore the window
266         config after reselecting.
267
268 2010-10-28  Julien Danjou  <julien@danjou.info>
269
270         * shr.el (shr-put-image): Use point even if only inserting text.
271         (shr-put-image): Save excursion when inserting alt text on non-graphic
272         display, so the behaviour is the same when we are on a graphic display.
273
274         * nnir.el (nnir-run-swish-e): Remove hyrex support.
275
276 2010-10-28  Katsumi Yamaoka  <yamaoka@jpl.org>
277
278         * gnus-art.el (gnus-article-jump-to-part): Error on no part; fix prompt.
279         (gnus-mime-copy-part): Check coding system, not charset.
280         (gnus-mime-view-part-externally): Never remove part.
281         (gnus-mime-view-part-internally): Don't remove part here.
282         (gnus-article-part-wrapper): Make sure MIME tag is visible.
283         (gnus-article-goto-part): Go to displayed or preferred subpart if it is
284         multipart/alternative.
285
286         * mm-decode.el (mm-display-part): Take optional arg `force'.
287
288 2010-10-26  Julien Danjou  <julien@danjou.info>
289
290         * gnus-group.el (gnus-group-default-list-level): Add this function to
291         compute the default list level.
292         (gnus-group-default-list-level): Add possibility to use a function.
293
294 2010-10-27  Katsumi Yamaoka  <yamaoka@jpl.org>
295
296         * mm-decode.el (mm-shr): Add undisplayer to MIME handle.
297
298         * gnus-group.el (gnus-group-completing-read)
299         (gnus-read-ephemeral-bug-group): Replace replace-regexp-in-string with
300         gnus-replace-in-string.
301
302 2010-10-26  Katsumi Yamaoka  <yamaoka@jpl.org>
303
304         * shr.el (shr-tag-div): Added.
305
306         * lpath.el: Fbind current-idle-time for XEmacs 21.4 and SXEmacs 22.1.
307
308 2010-10-25  Julien Danjou  <julien@danjou.info>
309
310         * gnus-util.el: Remove `gnus-with-local-quit'.
311
312         * gnus-demon.el (gnus-demon-init): Use run-with-idle-timer function.
313
314 2010-10-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
315
316         * gnus-sum.el (gnus-summary-select-article): Fix type error in checking
317         the original article buffer.
318
319 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
320
321         * nnimap.el (nnimap-request-head): New function.
322         (nnimap-request-move-article): Try to be slighly faster by not
323         requesting the entire message when moving.
324         (nnimap-transform-headers): Don't bug out on bodiless articles.
325         (nnimap-send-command): Have no outstanding messages if the IMAP server
326         doesn't support streaming.
327         (nnimap-transform-headers): Fold {quoted} strings more sloppily.
328
329 2010-10-24  Julien Danjou  <julien@danjou.info>
330
331         * message.el (message-default-headers): Fix type.
332
333 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
334
335         * gnus-html.el (gnus-html-prefetch-images): Decode entities before
336         prefetching images.
337
338         * gnus-sum.el (gnus-group-make-articles-read): Propagate marks to the
339         backend for unknown groups.  This is mainly useful for nnimap groups.
340
341         * gnus-agent.el (gnus-agent-fetch-group): Don't download stuff if the
342         group isn't covered by the agent.
343
344 2010-10-22  Andrew Cohen  <cohen@andy.bu.edu>
345
346         * nnir.el (nnir-method-default-engines): new variable.
347         (nnir-run-query): use it.
348         (nnir-group-mode-hook): remove key binding and move to gnus-group.el.
349         (gnus-summary-nnir-goto-thread): change group if needed.
350
351         * gnus-group.el (gnus-group-group-map): add key binding for
352         gnus-group-make-nnir-group.
353
354 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
355
356         * shr.el (shr-tag-object): Added.
357
358         * gnus-sum.el (gnus-summary-select-article): Make sure we have the
359         original article buffer live.
360         (gnus-summary-select-article-buffer): Mention
361         gnus-widen-article-buffer.
362
363 2010-10-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
364
365         * shr.el (shr-tag-strong): Added.
366
367 2010-10-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
368
369         * gnus-group.el (gnus-group-completing-read): Remove all newlines from
370         group names.  They mess up the group buffer badly.
371
372         * shr.el (shr-tag-img): Don't bug out on images that don't have a SRC.
373
374         * gnus-group.el (gnus-group-mark-group): Use gnus-group-position-point
375         instead of the summary one.
376
377 2010-10-22  Katsumi Yamaoka  <yamaoka@jpl.org>
378
379         * mml.el (mml-preview): Work properly when editing article.
380
381         * gnus-start.el (gnus-read-active-file-1): Don't add method to
382         gnus-have-read-active-file if it's already been in.
383
384 2010-10-22  Tom Tromey  <tromey@redhat.com>
385
386         * gnus-group.el (gnus-group-unsubscribe-group): Fix args passed to
387         gnus-group-completing-read.
388
389 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
390
391         * message.el (message-mode-map): Don't bind M-; to comment region, to
392         allow the global comment-dwim to work.
393
394 2010-10-21  Julien Danjou  <julien@danjou.info>
395
396         * message.el (message-setup-1): Allow message-default-headers to be a
397         function.
398
399 2010-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
400
401         * shr.el (shr-tag-table): Simplify.
402
403 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
404
405         * gnus-html.el (gnus-html-prefetch-images): Only prefetch http images
406         to avoid trying to snarf invalid stuff.
407
408         * gnus-sum.el (gnus-summary-edit-article-done): Bind free variable.
409
410         * gnus.el (gnus-message-archive-group): Quote value.
411         (gnus-message-archive-group): Mark as changed.
412
413         * shr.el (shr-add-font): Don't put the font properties on the newline
414         or the indentation.
415
416         * message.el (message-fix-before-sending): Change options when sending
417         non-printable characters.
418
419         * gnus.el (gnus-message-archive-method): Change the default to
420         monthly outgoing groups.
421
422         * gnus-sum.el (gnus-summary-edit-article-done): Try to replace articles
423         that have gotten new numbers.
424
425         * nnimap.el (nnimap-request-replace-article): New function.
426
427 2010-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
428
429         * nnrss.el (nnrss-wash-html-in-text-plain-parts): Remove.
430         (nnrss-request-article): Don't use special html washing code.
431
432 2010-10-20  Katsumi Yamaoka  <yamaoka@jpl.org>
433
434         * shr.el (shr-tag-table): Remove useless nconc.
435
436 2010-10-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
437
438         * gnus-art.el (article-wash-html): Simplify and remove the charset
439         stuff.  Use the normal html rendering code instead of the special html
440         washing code.
441
442         * mm-view.el (mm-text-html-renderer-alist): Add the `shr' and
443         `gnus-w3m' symbols.
444         (mm-text-html-washer-alist): Removed.
445
446         * mm-decode.el (mm-inline-text-html-renderer): Removed.
447         (mm-inline-media-tests): Removed use.
448         (mm-text-html-renderer): Change default to the `shr' symbol.
449
450         * mm-view.el (mm-inline-text-html): Removed use.
451
452         * gnus-art.el (gnus-blocked-images): New function.  Allow the
453         `gnus-blocked-images' to be a function.
454         (gnus-article-wash-function): Removed.
455
456 2010-10-20  Julien Danjou  <julien@danjou.info>
457
458         * spam.el (spam-list-of-processors): Mark as obsolete.
459
460         * nnimap.el (nnimap-request-article): Fix BODYSTRUCTURE retrieval.
461         (nnimap-insert-partial-structure): Fix boundary detection.
462
463 2010-10-20  Andreas Seltenreich  <seltenreich@gmx.de>
464
465         * gnus-draft.el (gnus-draft-check-draft-articles): Don't unnecessarily
466         run file-truename on remote files.  This can be expensive and even
467         prevent one from editing drafts if some unrelated buffer has a stale
468         connection.
469
470 2010-10-20  Katsumi Yamaoka  <yamaoka@jpl.org>
471
472         * shr.el (shr-find-fill-point): Shorten line if the preceding char is
473         kinsoku-eol regardless of shr-kinsoku-shorten.
474         (shr-tag-table-1): Rename from shr-tag-table; make it a subroutine.
475         (shr-tag-table): Support caption, thead, and tfoot.
476
477 2010-10-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
478
479         * shr.el (shr-find-fill-point): Don't leave blanks at the start of some
480         lines.
481         (shr-save-contents): New command and keystroke.
482
483         * nndoc.el (nndoc-type-alist): Add git support.
484         (nndoc-git-type-p): New function.
485         (nndoc-transform-git-article): Ditto.
486         (nndoc-transform-git-headers): Ditto.
487         (nndoc-transform-git-headers): Generate Subject headers.
488
489         * shr.el (shr-parse-style): New function.
490         (shr-tag-span): Ditto.
491
492         * nnmairix.el (nnmairix-summary-mode-hook): Move nnmairix's `$' command
493         to `G G' to avoid collisions.
494
495 2010-10-19  Katsumi Yamaoka  <yamaoka@jpl.org>
496
497         * shr.el: Load kinsoku if necessary.
498         (shr-kinsoku-shorten): New internal variable.
499         (shr-find-fill-point): Make kinsoku shorten text line if
500         shr-kinsoku-shorten is bound to non-nil.
501         (shr-tag-table): Bild shr-kinsoku-shorten to t; refer to
502         shr-indentation too when testing if table is wider than frame width.
503         (shr-insert-table): Use `string-width' instead of `length' to measure
504         text width.
505         (shr-insert-table-ruler): Make sure indentation is done at bol.
506
507 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
508
509         * nnimap.el (nnimap-request-move-article, nnimap-parse-line)
510         (nnimap-process-expiry-targets): Use unibyte for buffers that hold
511         undecoded network data.
512