1 2011-03-26 Chong Yidong <cyd@stupidchicken.com>
3 * proto-stream.el: Changes preparatory to merging open-protocol-stream
4 with open-network-stream.
5 (proto-stream-always-use-starttls): Option removed.
6 (open-protocol-stream): Return a process object by default. Provide a
7 new parameter :return-list specifying a list-type return value, which
8 now has the form (PROP . PLIST) instead of a fixed-length list. Change
9 :type `network' to `try-starttls', and `network-only' to `default'.
10 Make `default' the default, for compatibility with open-network-stream.
11 Handle the no-parameter case exactly as open-network-stream, with no
12 additional stream processing. Search plists using plist-get.
13 Explicitly add :end-of-commend parameter if it is missing.
14 (proto-stream-open-default): Renamed from
15 proto-stream-open-network-only. Return 'default as the type.
16 (proto-stream-open-starttls): Rename from proto-stream-open-network.
17 Use plist-get. Don't return `tls' as the type if STARTTLS negotiation
18 failed. Always return a list with a (possibly dead) process as the
19 first element, for compatibility with open-network-stream.
20 (proto-stream-open-tls): Use plist-get. Always return a list.
21 (proto-stream-open-shell): Return `default' as connection type.
22 (proto-stream-capability-open): Use plist-get.
23 (proto-stream-eoc): Function deleted.
25 * nnimap.el (nnimap-stream, nnimap-open-connection)
26 (nnimap-open-connection-1): Handle renaming of :type parameter for
28 (nnimap-open-connection-1): Pass a :return-list parameter
29 open-protocol-stream to obtain a list return value. Parse this list
32 * nntp.el (nntp-open-connection): Handle renaming of :type parameter
33 for open-protocol-stream. Accept open-protocol-stream return value
34 that is a subprocess object instead of a list. Handle the case of a
35 dead returned process.
37 2011-03-25 Teodor Zlatanov <tzz@lifelogs.com>
39 * mm-util.el (mm-handle-filename): Move to mm-decode.el (bug#8330).
41 * mm-decode.el (mm-handle-filename): Move from mm-util.el (bug#8330).
43 2011-03-21 Julien Danjou <julien@danjou.info>
45 * mm-view.el (mm-display-inline-fontify): Make mode optional, and call
46 normal-mode if not set. Set temp buffer unmodified to avoid kill-buffer
48 (mm-inline-text): Render normal text with fontification whenever
51 * gnus-sum.el (gnus-summary-save-parts-1):
52 * gnus-art.el (gnus-article-browse-html-save-cid-content)
53 (gnus-article-browse-html-parts, gnus-mime-delete-part)
54 (gnus-mime-copy-part, gnus-mime-inline-part, gnus-insert-mime-button):
55 Use `mm-handle-filename'.
57 * mm-util.el (mm-handle-filename): New function, return the filename of
60 2011-03-18 Julien Danjou <julien@danjou.info>
62 * gnus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
63 (gnus-buffer-live-p): Check that buffer is not nil.
65 2011-03-17 Lars Magne Ingebrigtsen <lars@ingebrigtsen.no>
67 * gnus.el: No Gnus v0.15 is released.
69 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
71 * time-date.el (format-seconds): Use assoc instead of assoc-string to
72 avoid warning on XEmacs.
74 * dgnushack.el: Bind help-echo-owns-message to avoid a compiler warning
77 * gnus-art.el: Require mouse, which the build bot seems to say is
80 * dgnushack.el: Define url-retrieve-synchronously unless not defined.
82 * gravatar.el (gravatar-retrieve-synchronously): Use `url-retrieve' on
83 XEmacs, since it doesn't have url-retrieve-synchronously.
85 * time-date.el (format-seconds): Use assoc instead of assoc-string,
86 since assoc-string doesn't exist in XEmacs.
88 2011-03-17 Antoine Levitt <antoine.levitt@gmail.com>
90 * gnus-group.el (gnus-group-list-ticked): New function.
91 (gnus-group-make-menu-bar): Provide a menu entry for it.
92 (gnus-group-list-map): Provide a binding for it.
94 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
96 * shr.el (shr-visit-file): New command.
98 * nnimap.el (nnimap-fetch-inbox): Rewrite slightly last patch.
100 2011-03-17 Bjørn Mork <bjorn@mork.no>
102 * nnimap.el (nnimap-fetch-inbox): Don't download bodies on ver4-capable
105 2011-03-16 Julien Danjou <julien@danjou.info>
107 * mm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are
110 * gnus-art.el (article-hide-list-identifiers): Use
111 gnus-group-get-list-identifiers.
113 * gnus-sum.el (gnus-group-get-list-identifiers): New function.
114 (gnus-summary-remove-list-identifiers): Use
115 gnus-group-get-list-identifiers to get regexp.
116 (gnus-select-newsgroup, gnus-summary-insert-subject)
117 (gnus-summary-insert-articles): Call
118 gnus-summary-remove-list-identifiers unconditionally.
120 2011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
122 * gnus-sum.el (gnus-articles-to-read): Revert back to old behaviour if
123 we're selecting a group with unread articles.
125 * nnimap.el (nnimap-open-connection-1): Allow `network-only', too.
127 * gssapi.el: New file separated out from imap.el to provide a general
128 Kerberos 5 connection facility for Emacs.
130 * message.el (message-elide-ellipsis): Document the format spec
133 2011-03-15 Reiner Steib <Reiner.Steib@gmx.de>
135 * message.el (message-elide-region): Allow the ellipsis to say how many
138 2011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
140 * gnus-win.el (gnus-configure-frame): Protect against trying to restore
141 window configurations containing buffers that are now dead.
143 * nnimap.el (nnimap-parse-flags): Remove all MODSEQ entries before
144 parsing to avoid integer overflows.
145 (nnimap-parse-flags): Simplify the last change.
146 (nnimap-parse-flags): Store HIGHESTMODSEQ as a string, since it may be
147 too large for 32-bit Emacsen.
149 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
151 * auth-source.el (auth-source-netrc-create):
152 * message.el (message-yank-original): Fix use of `case'.
154 2011-03-15 Nelson Ferreira <nelson.ferreira@ieee.org> (tiny change)
156 * gnus-art.el (gnus-article-treat-body-boundary): Fix boundary width on
157 XEmacs, which was one character too wide.
159 2011-03-09 Antoine Levitt <antoine.levitt@gmail.com>
161 * gnus-sum.el (gnus-articles-to-read): Use gnus-large-newsgroup as
162 default number of articles to display.
163 (gnus-articles-to-read): Use pretty names for prompt.
165 2011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
167 * gnus-int.el (gnus-open-server): Ditto.
169 * gnus-start.el (gnus-activate-group): Give a backtrace if
170 debug-on-quit is set and the user hits `C-g'.
171 (gnus-read-active-file): Ditto.
173 * gnus-group.el (gnus-group-read-ephemeral-group): Ditto.
175 2011-03-15 Teodor Zlatanov <tzz@lifelogs.com>
177 * message.el (message-yank-original): Use cond instead of CL case.
179 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
181 * auth-source.el (auth-source-netrc-create): Use usual format for the
184 2011-03-14 Katsumi Yamaoka <yamaoka@jpl.org>
186 * lpath.el: Fbind read-char-choice for XEmacs.
188 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
190 * auth-source.el (auth-source-netrc-create): Show the default in the
191 prompt when prompting for token creation.
193 2011-03-12 Teodor Zlatanov <tzz@lifelogs.com>
195 * auth-source.el (auth-source-format-prompt): Always convert the value
196 to a string to avoid evaluating non-string arguments.
197 (auth-source-netrc-create): Offer default properly, not as initial
198 content in `read-string'.
199 (auth-source-netrc-saver): Use a cache keyed by file name and MD5 hash
200 of line to determine if we've been run before. If so, don't run again,
201 but print a trivial message to indicate the cache was hit instead.
203 2011-03-11 Teodor Zlatanov <tzz@lifelogs.com>
205 * gnus-sync.el (gnus-sync-install-hooks, gnus-sync-unload-hook):
206 Don't install `gnus-sync-read' to any hooks by default. It's buggy.
207 The user will have to run `gnus-sync-read' manually and wait for Cloudy
210 2011-03-11 Julien Danjou <julien@danjou.info>
212 * mm-uu.el (mm-uu-type-alist): Add support for diff starting with "===
215 2011-03-09 Teodor Zlatanov <tzz@lifelogs.com>
217 * auth-source.el (auth-source-read-char-choice): New function to read a
218 character choice using `dropdown-list', `read-char-choice', or
219 `read-char'. It appends "[a/b/c] " to the prompt if the choices were
220 '(?a ?b ?c). The `dropdown-list' support is disabled for now. Use
221 `eval-when-compile' to load `dropdown-list'. Remove `dropdown-list'.
222 (auth-source-netrc-saver): Use it.
223 (auth-source-pick-first-password): New convenience function.
225 2011-03-08 Teodor Zlatanov <tzz@lifelogs.com>
227 * nnimap.el (nnimap-credentials): Keep the :save-function as the third
228 parameter in the credentials.
229 (nnimap-open-connection-1): Use it after a successful login.
230 (nnimap-credentials): Add IMAP-specific user and password prompt.
232 * auth-source.el (auth-source-search): Add :require parameter, taking a
233 list. Document it and the :save-function return token. Pass :require
234 down. Change the CREATED message from a warning to a debug statement.
235 (auth-source-search-backends): Pass :require down.
236 (auth-source-netrc-search): Pass :require down.
237 (auth-source-netrc-parse): Use :require, if it's given, as a filter.
238 Change save prompt to indicate all modifications saved here are
240 (auth-source-netrc-create): Take user login name as default in user
241 prompt. Move all the save functionality to a lexically bound function
242 under the :save-function token in the returned list. Set up clearer
243 default prompts for user, host, port, and secret.
244 (auth-source-netrc-saver): New function, intended to be wrapped for
247 2011-03-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
249 * shr.el (shr-table-horizontal-line): Change the defaults for the table
250 lines to be spaces instead.
252 2011-03-07 Julien Danjou <julien@danjou.info>
254 * sieve-manage.el (sieve-sasl-auth): Create auth-info if not found.
255 (sieve-sasl-auth): Check that auth-source-search did return something,
256 or just return an empty string.
258 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
260 * gnus.el (gnus-interactive): Use read-directory-name.
262 * gnus-uu.el (gnus-uu-decode-uu-and-save)
263 (gnus-uu-decode-unshar-and-save, gnus-uu-decode-save)
264 (gnus-uu-decode-binhex, gnus-uu-decode-yenc)
265 (gnus-uu-decode-save-view, gnus-uu-decode-postscript-and-save):
268 * gnus-group.el (gnus-group-make-directory-group): Likewise.
270 2011-03-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
272 * gnus-start.el (gnus-group-change-level): Allow putting foreign groups
273 onto the list of killed groups, too. This makes killed nnimap groups,
274 for instance, more reliably not reappear.
276 * nnimap.el (nnimap-request-thread): Don't bug out when we can't find
279 * gnus-sum.el (gnus-update-read-articles): Fix typo.
281 * gnus.el (gnus-valid-select-methods): Mark nnimap as a backend that
282 really have server-side marks.
284 * gnus-sum.el (gnus-propagate-marks): Change default back to nil again,
285 since most backends do not usefully have server-side marks.
286 (gnus-update-read-articles): Propagate marks to all backends that
287 really have server-side marks.
289 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
291 * message.el (message-cite-reply-position, message-cite-style):
293 (message-yank-original): Use the new citation styles.
295 2011-03-04 Daiki Ueno <ueno@unixuser.org>
297 * message.el (message-options): Revert 22da67af (workaround for XEmacs
298 buffer-local issue); don't mark it buffer-local when running under
301 2011-03-03 Tassilo Horn <tassilo@member.fsf.org>
303 * nnimap.el (nnimap-parse-flags): Add a workaround for FETCH lines with
304 numbers too big to be `read'.
306 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
308 * password-cache.el (password-in-cache-p): Add autoload.
310 * message.el (message-options): Make buffer-local two ways to attempt
313 2011-03-02 Julien Danjou <julien@danjou.info>
315 * gnus-art.el (gnus-with-article-buffer): Fix buffer live check.
317 2011-03-01 Julien Danjou <julien@danjou.info>
319 * gnus-art.el (list-identifier): Add list-identifier as a parameter
321 (article-hide-list-identifiers): Use list-identifier group parameter.
323 2011-02-28 Julien Danjou <julien@danjou.info>
325 * sieve.el (sieve-buffer-script-name): New local variable to store
327 (sieve-edit-script): Store sieve script name.
328 (sieve-upload): Use sieve script name when uploading.
329 (sieve-upload): Use substitute-command-keys.
330 (sieve-edit-script): Use substitute-command-keys.
331 (sieve-refresh-scriptlist): Use substitute-command-keys.
332 (sieve-manage-mode-map): Define keymap properly.
333 (sieve-manage-mode): Do not set mode name manually, change mode-name to
334 (sieve-refresh-scriptlist): Use substitute-command-keys."Sieve-manage".
335 Remove commented code about cvs.
336 (sieve-manage-quit): New function.
337 (sieve-manage-mode-map): Bind 'q' to sieve-manage-quit.
339 2011-02-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
341 * gnus-group.el (gnus-import-other-newsrc-file): New function.
343 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
345 * auth-source.el (auth-source-search): Cache empty result sets.
347 * password-cache.el (password-in-cache-p): Convenience function to
348 check if a key is in the cache, even if the value is nil.
350 * auth-source.el (auth-source-save-behavior): New variable to replace
351 `auth-source-never-create'.
352 (auth-source-netrc-create): Use it.
353 (auth-source-never-save): Remove.
355 2011-02-25 Lars Ingebrigtsen <larsi@gnus.org>
357 * nnimap.el (nnimap-stream): Doc fix.
358 (nnimap-open-connection-1): Reverse the order of the ports to that the
359 prompted-for port is first.
361 * gnus-start.el (gnus-get-unread-articles): Don't clobber the async
362 retrieval by the no-group selection.
364 * gnus-demon.el (gnus-demon-init): run-with-timer should be called with
365 numerical parameters.
367 2011-02-25 Julien Danjou <julien@danjou.info>
369 * gnus-gravatar.el: Use gnus-with-article-buffer.
371 * gnus-art.el (gnus-with-article-buffer): Check that the
372 gnus-article-buffer is alive.
374 2011-02-24 Teodor Zlatanov <tzz@lifelogs.com>
376 * auth-source.el (auth-source-creation-prompts): New variable to manage
377 creation-time prompts.
378 (auth-source-search): Document it.
379 (auth-source-format-prompt): Add utility function.
380 (auth-source-netrc-create): Don't default the user name to
381 user-login-name. Use `auth-source-creation-prompts' and some default
382 prompts for user, host, port, and password (the default generic prompt
384 (auth-source-never-save): Add customizable option to never save info.
385 (auth-source-netrc-create): Use it and improve save prompts. Fix help
388 2011-02-24 Katsumi Yamaoka <yamaoka@jpl.org>
390 * auth-source.el (auth-source-netrc-create): Use `read-char' with no
391 argument that XEmacs doesn't support.
393 * dgnushack.el (dgnushack-compile): Exclude color.el from being
394 compiled for Emacsen having no `libxml-parse-html-region' support.
396 * gnus-xmas.el (gnus-xmas-define): Remove gnus-x-color-values.
398 * lpath.el: Bind buffer-save-without-query for XEmacs.
400 2011-02-23 Julien Danjou <julien@danjou.info>
402 * gnus-art.el (article-make-date-line): Ignore errors if time is
403 invalid and not convertible.
404 (article-make-date-line): Only add lapsed time if time is not nil.
406 2011-02-23 Teodor Zlatanov <tzz@lifelogs.com>
408 * auth-source.el (auth-source-netrc-create): Use `read-char' instead of
409 `read-char-choice' for backwards compatibility.
410 (auth-source-netrc-element-or-first): New function to DTRT for
411 parameter extraction.
412 (auth-source-netrc-create): Use it and fix multiple parameter print
413 bug. Use the default passed from above (given-default) or the
414 built-in (user-login-name for :user).
416 2011-02-23 Lars Ingebrigtsen <larsi@gnus.org>
418 * gnus-start.el (gnus-dribble-read-file):
419 Set buffer-save-without-query, since we always want to save the dribble
422 * nnmail.el (nnmail-article-group): Allow a final "" split to work on
425 * gnus-sum.el (gnus-user-date-format-alist): Rename back again from
426 -summary- since it's a user-visible variable.
428 * nnimap.el (nnimap-retrieve-group-data-early): Don't do QRESYNC the
429 first time you use the new Gnus.
431 2011-02-22 Teodor Zlatanov <tzz@lifelogs.com>
433 * auth-source.el: Don't load netrc.el.
434 (auth-sources): Search ~/.netrc as well by default.
435 (auth-source-debug): Add 'trivia option for extra output.
436 (auth-source-do-trivia): Use it.
437 (auth-source-search): Simplify logic to use
438 `auth-source-search-backends'. Use `auth-source-do-trivia' where
439 appropriate. Don't keep a running count at this level. Layer :create
440 and :delete options appropriately on the first and second passes.
441 Don't track the backend with the search results.
442 (auth-source-search-backends): New function to search a list of
443 backends for a processed spec.
444 (auth-source-netrc-parse): Cache all netrc files, making
445 auth-source-netrc-cache an alist keyed by the file name and using the
446 file mtime as the caching criterion. Keep the obfuscated data secret
448 (auth-source-netrc-search): Don't calculate the length of the results
450 (auth-source-search-backends): Fix bug.
451 (auth-source-netrc-create): Rework prompts.
453 2011-02-22 Andrew Cohen <cohen@andy.bu.edu>
455 * nnir.el (nnir-imap-search-arguments,nnir-imap-default-search-key):
456 Lower case names of search constraints.
457 (nnir-run-query): Cache and reuse search constraints for all imap
460 2011-02-22 Lars Ingebrigtsen <larsi@gnus.org>
462 * gnus-msg.el (gnus-inews-add-send-actions): Restore the winconf name
464 (gnus-setup-message): Define missing variable from last checkin.
466 * gnus-sum.el (gnus-summary-show-article): When called with t as the
467 value, show the raw article.
469 2011-02-22 Lars Magne Ingebrigtsen <lars@ingebrigtsen.no>
471 * gnus.el: No Gnus v0.13 is released.
473 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
475 * nnimap.el (nnimap-open-connection-1): Revert last change, since
476 auth-source now accepts numbers.
478 * auth-source.el (auth-source-netrc-parse): Accept a number as the port
480 (auth-source-ensure-strings): New function.
482 * gnus-art.el (gnus-article-update-date-headers): Doc fix.
483 (gnus-article-setup-buffer): Always restart the date timer so that user
484 changes to the frequency is respected.
486 * nnimap.el (nnimap-open-connection-1): auth-source expects strings as
487 port numbers, so make sure it gets that if nnimap-server-port is
490 2011-02-21 Simon Josefsson <simon@josefsson.org>
492 * nnimap.el (nnimap-inbox): Doc fix.
494 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
496 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
497 Autoload. Add optional arg FRAME, and pass it to color-values.
498 (color-complement): Caller changed. Doc fix.
499 (color-gradient): Rewrite for better clarity and efficiency.
501 2011-02-20 Chong Yidong <cyd@stupidchicken.com>
503 * shr-color.el (shr-color->hexadecimal): Use renamed function names
504 color-rgb-to-hex, color-name-to-rgb, color-srgb-to-lab, and
507 2011-02-20 Drew Adams <drew.adams@oracle.com>
509 * color.el: First part of merge from hexrgb.el.
510 (color-rgb-to-hex): Rename from color-rgb->hex.
511 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
512 saturation to zero if the value is too small.
513 (color-rgb-to-hsl): Rename from color-rgb->hsl.
514 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
515 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
516 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
517 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
518 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
519 (color-cie-de2000): Doc fix.
521 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
523 * nntp.el (nntp-finish-retrieve-group-infos): Add a kludge to use the
524 given method as in the group name if we're using an extended method.
525 (nntp-finish-retrieve-group-infos): Wait for the end of the LIST ACTIVE
526 command, if we're using that, instead of waiting for the beginning.
528 * gnus-start.el (gnus-get-unread-articles): Extend the methods so that
529 we're sure to get unique server names, and we don't output two async
530 commands in the same buffer. This fixes an NNTP hang for some users.
532 2011-02-21 Lars Magne Ingebrigtsen <lars@ingebrigtsen.no>
534 * gnus.el: No Gnus v0.11 is released.
536 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
538 * gnus-sum.el (gnus-summary-next-article): Add a kludge to reselect the
539 summary buffer before reading going to the next buffer. This avoids
540 putting the point in the group buffer if you `C-g' the command.
542 * auth-source.el (auth-source-netrc-parse): Add an in-memory netrc
543 cache (for now) to make ~/.authinfo.gpg files usable.
545 * nnfolder.el (copyright-update): Define for the compiler.
547 * auth-source.el (auth-source-search): Fix unbound variable.
549 2011-02-19 Glenn Morris <rgm@gnu.org>
551 * gnus.el (gnus-meta): Doc fix.
553 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
555 * nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update,
556 in case it's not yet loaded.
558 2011-02-20 Lars Ingebrigtsen <larsi@gnus.org>
560 * nnimap.el (nnimap-wait-for-response): Ensure that we get the entire
561 line we're waiting for.
563 2011-02-19 Darren Hoo <darren.hoo@gmail.com> (tiny change)
565 * gnus-art.el (gnus-article-next-page-1): Because customized mode-line
566 face with line-width greater than zero will cause RET in gnus summary
567 buffer to scroll down article page-wise because auto vscroll happens,
568 it should be temporalily disabled when doing a scroll-up.
570 2011-02-19 Lars Ingebrigtsen <larsi@gnus.org>
572 * nnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK"
573 outputs from the server.
575 2011-02-18 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
577 * gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook
578 later so that bbdb can hook in easier.
580 2011-02-18 Lars Ingebrigtsen <larsi@gnus.org>
582 * auth-source.el (auth-source-search): Don't try to create credentials
583 if the caller doesn't want that.
584 (auth-source-search): If we don't find a match, don't bug out on
586 (auth-source-search): Only ask a single backend to create the
589 * nnimap.el (nnimap-log-command): Add a newline to the inhibited
591 (nnimap-credentials): Protect against auth-source-search returning nil.
592 (nnimap-request-list): Protect against not being able to open the
595 2011-02-17 Lars Ingebrigtsen <larsi@gnus.org>
597 * auth-source.el (auth-source-search): Do a two-phase search, one with
598 no :create to get the responses from all backends.
600 * nnimap.el (nnimap-open-connection-1): Delete duplicate server names
601 when getting credentials.
603 * gnus-util.el (gnus-delete-duplicates): New function.
605 2011-02-17 Teodor Zlatanov <tzz@lifelogs.com>
607 * nnimap.el (nnimap-credentials): Instead of picking the first port as
608 a creation default, pass the whole port list down. It will be
611 * auth-source.el (auth-source-search): Updated docs to talk about
612 multiple creation choices.
613 (auth-source-netrc-create): Accept a list as a value (from the search
614 parameters) and do completion on that list. Keep a separate netrc line
615 with the password obscured for showing the user.
617 * nnimap.el (nnimap-open-connection-1): Make the `nnimap-address' the
618 first choice to `auth-source-search' so it will be used for entry
619 creation instead of the server's Gnus-specific name.
620 (nnimap-credentials): Rely on the auth-source library to select which
621 port is actually wanted in the new netrc entry, so don't override
622 `auth-source-creation-defaults'.
624 * auth-source.el (auth-source-netrc-parse): Use :port instead of
625 :protocol and accept a missing user, host, or port as a wildcard match.
626 (auth-source-debug): Default to off.
628 (auth-source-netrc-search, auth-source-netrc-create)
629 (auth-source-secrets-search, auth-source-secrets-create)
630 (auth-source-user-or-password, auth-source-backend, auth-sources)
631 (auth-source-backend-parse-parameters, auth-source-search): Use :port
632 instead of :protocol.
634 * nnimap.el (nnimap-credentials): Pass a port default to
635 `auth-source-search' in case an entry needs to be created.
636 (nnimap-open-connection-1): Use :port instead of :protocol.
638 2011-02-17 Katsumi Yamaoka <yamaoka@jpl.org>
640 * auth-source.el: Bind load-path when loading EIEIO from
641 "gnus-fallback-lib/eieio"; don't pass more than two args, that XEmacs
642 21.4 doesn't support, to `require'.
643 (auth-source-secrets-search): Use mm-delete-duplicates instead of
644 delete-dups that is not available in XEmacs 21.4.
646 2011-02-16 Raphael Kubo da Costa <kubito@gmail.com> (tiny change)
648 * auth-source.el: Correctly load EIEIO from "gnus-fallback-lib/eieio"
649 as EIEIO must also be loaded when auth-source.el is being
652 2011-02-16 Teodor Zlatanov <tzz@lifelogs.com>
654 * gnus-fallback-lib/eieio/eieio.el: Copy from Emacs.
656 * gnus-fallback-lib/eieio/eieio-speedbar.el: Copy from Emacs.
658 * gnus-fallback-lib/eieio/eieio-opt.el: Copy from Emacs.
660 * gnus-fallback-lib/eieio/eieio-datadebug.el: Copy from Emacs.
662 * gnus-fallback-lib/eieio/eieio-custom.el: Copy from Emacs.
664 * gnus-fallback-lib/eieio/eieio-comp.el: Copy from Emacs.
666 * gnus-fallback-lib/eieio/eieio-base.el: Copy from Emacs.
668 * auth-source.el: Load EIEIO from "gnus-fallback-lib/eieio" if
671 2011-02-16 Lars Ingebrigtsen <larsi@gnus.org>
673 * gnus-sum.el (gnus-propagate-marks): Change default to t again, since
674 nil means that nnimap doesn't get updated.
676 2011-02-16 Teodor Zlatanov <tzz@lifelogs.com>
678 * auth-source.el (auth-source-netrc-create): Return a synthetic search
679 result when the user doesn't want to write to the file.
680 (auth-source-netrc-search): Expect a synthetic result and proceed
682 (auth-source-cache-expiry): New variable to override
683 `password-cache-expiry'.
684 (auth-source-remember): Use it.
686 * nnimap.el (nnimap-credentials): Remove the `inhibit-create'
687 parameter. Create entry if necessary by using :create t.
688 (nnimap-open-connection-1): Don't pass `inhibit-create'.
690 2011-02-15 Teodor Zlatanov <tzz@lifelogs.com>
692 * auth-source.el (auth-source-debug): Enable by default and don't
693 mention the obsolete `auth-source-hide-passwords'.
694 (auth-source-do-warn): New function to debug unconditionally.
695 (auth-source-do-debug): Use it.
696 (auth-source-backend-parse): Use it for invalid `auth-sources' entries
697 and for Secrets API entries when the secrets.el library is not
700 2011-02-14 Lars Ingebrigtsen <larsi@gnus.org>
702 * gnus-sum.el (gnus-propagate-marks): Default to nil.
703 (gnus-summary-exit): Kill the correct article buffer on exit from a
706 * gnus-start.el (gnus-use-backend-marks): Removed, since it duplicates
707 gnus-propagate-marks.
709 * gnus-sum.el (gnus-summary-exit-no-update): Restore the group conf
710 before killing the buffers so that a non-full window conf gets handled
712 (gnus-summary-exit): Ditto.
713 (gnus-summary-read-group-1): Ditto.
715 * nntp.el (nntp-retrieve-group-data-early): Reinstate the two-part
716 async code again so that we can debug it properly.
718 * message.el (message-reply): Take an optional switch-buffer parameter
719 so that Gnus window confs are respected better.
721 2011-02-14 Teodor Zlatanov <tzz@lifelogs.com>
723 * auth-source.el (auth-source-backend-parse-parameters): Don't rely on
724 `plist-get' to accept non-list parameters (XEmacs issue).
726 (auth-source-secrets-search): Use `delete-dups', `append mapcar', and
727 `butlast' instead of `remove-duplicates', `mapcan', and `subseq'.
728 (auth-sources, auth-source-backend-parse, auth-source-secrets-search):
729 Login collection is "Login" and not "login".
731 2011-02-14 Lars Ingebrigtsen <larsi@gnus.org>
733 * gnus-art.el (article-update-date-lapsed): Don't bug out when updating
736 * nnimap.el (nnimap-inhibit-logging): New variable.
737 (nnimap-log-command): Don't log login commands.
739 * auth-source.el (auth-source-netrc-search): The asserts seem to want
740 to have more parameters.
742 * nnimap.el (nnimap-send-command): Mark the command time for each
743 command, so that we don't get NOOPs stepping on our toes.
745 * gnus-art.el (article-date-ut): Get the date from the Date header on
748 2011-02-14 Katsumi Yamaoka <yamaoka@jpl.org>
750 * auth-source.el (auth-source-search): Use copy-sequence instead of
753 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
755 * imap.el: Bring it back (revert
756 84d800cd31de3064f0ed39617d725709a2f8f42f).
758 2011-02-13 Adam Sjøgren <asjo@koldfront.dk>
760 * gnus-delay.el (gnus-delay-article) Fix number of seconds per day.
763 2011-02-13 Lars Ingebrigtsen <larsi@gnus.org>
765 * gnus-art.el (gnus-article-mode-line-format): Remove the article
766 washing status from the default format. It isn't very informative.
768 2011-02-13 Tassilo Horn <tassilo@member.fsf.org> (tiny change)
770 * nnimap.el (nnimap-request-accept-article, nnimap-process-quirk):
771 Fix Gcc processing on imap.
773 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
775 * imap.el: Remove file. All the functionality is in nnimap.el.
777 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
779 * message.el (message-bury): Don't pop up a new window when selected
782 2011-02-10 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
784 * gnus-sum.el (gnus-summary-save-parts): Use read-directory-name.
786 2011-02-10 Teodor Zlatanov <tzz@lifelogs.com>
788 * sieve-manage.el: Autoload `auth-source-search'.
789 (sieve-sasl-auth): Use it.
791 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
793 * nnimap.el: Autoload `auth-source-forget+'.
794 (nnimap-open-connection-1): Use it if the connection fails.
796 * auth-source.el: Require `password-cache'.
797 (auth-source-hide-passwords, auth-source-cache): Remove and mark
799 (auth-source-magic): Marker for `password-cache' keys.
800 (auth-source-do-cache): Update docstring.
801 (auth-source-search): Use and check cache.
802 (auth-source-forget-all-cached, auth-source-remember)
803 (auth-source-recall, auth-source-forget, auth-source-forget+)
804 (auth-source-specmatchp): Caching support functions.
805 (auth-source-forget-user-or-password, auth-source-forget-all-cached):
807 (auth-source-user-or-password): Remove caching to further discourage
808 using it. Always hide passwords.
810 * password-cache.el (password-cache-remove): Accept secrets that are
813 2011-02-09 Lars Ingebrigtsen <larsi@gnus.org>
815 * nntp.el (nntp-retrieve-group-data-early-disabled): Disable the async
816 code for now, since it doesn't work for all users.
818 2011-02-09 Julien Danjou <julien@danjou.info>
820 * message.el (message-options): Make message-options really buffer
823 2011-02-08 Teodor Zlatanov <tzz@lifelogs.com>
825 * mail-source.el: Autoload `auth-source-search'.
826 (mail-source-keyword-map): Note order matters.
827 (mail-source-set-1): Get all the mail-source source values and
828 defaults and search auth-source on those if needed. This can all
829 probably be simplified.
831 * nnimap.el: Autoload `auth-source-search'.
832 (nnimap-credentials): Use it.
833 (nnimap-open-connection-1): Ask for the virtual server and physical
836 * nntp.el: Autoload `auth-source-search'.
837 (nntp-send-authinfo): Use it. Note TODO.
839 2011-02-08 Julien Danjou <julien@danjou.info>
841 * shr.el (shr-tag-body): Add support for text attribute in body
844 * message.el (message-options): Make message-options a local variable.
846 2011-02-07 Teodor Zlatanov <tzz@lifelogs.com>
848 * auth-source.el (auth-source-secrets-search)
849 (auth-source-user-or-password): Use `append' instead of `nconc'.
850 (auth-source-user-or-password): Build return list better and protect
853 2011-02-07 Lars Ingebrigtsen <larsi@gnus.org>
855 * nnimap.el (nnimap-update-info): Refactor slightly.
856 (nnimap-update-info): Tell Gnus whether there are any \Recent messages.
857 (nnimap-update-info): Clean up slightly.
858 (nnimap-quirk): Add quirk for Gmail IMAP which bugs out on NUL
860 (nnimap-process-quirk): Rename function to avoid collision.
861 (nnimap-update-info): Fix macrology bug-out.
862 (nnimap-update-info): Simplify split history test.
864 2011-02-06 Michael Albinus <michael.albinus@gmx.de>
866 * auth-source.el (top): Require 'eieio unconditionally.
867 Autoload `secrets-get-attributes' instead of `secrets-get-attribute'.
868 (auth-source-secrets-search): Limit search when `max' is greater than
871 2011-02-06 Lars Ingebrigtsen <larsi@gnus.org>
873 * nntp.el (nntp-finish-retrieve-group-infos): Protect against the first
874 part not returning any data.
876 * proto-stream.el (open-protocol-stream): Document the return value.
878 2011-02-06 Teodor Zlatanov <tzz@lifelogs.com>
880 * auth-source.el (auth-source-secrets-search): Add examples.
882 2011-02-06 Julien Danjou <julien@danjou.info>
884 * message.el (message-setup-1): Handle message-generate-headers-first
887 2011-02-06 Teodor Zlatanov <tzz@lifelogs.com>
889 * auth-source.el (auth-sources): Allow for simpler defaults for Secrets
890 API with a string "secrets:collection-name" and with 'default.
891 (auth-source-backend-parse): Parse "secrets:collection-name" and
892 'default. Recurse on parses instead of repeating code. Use the
893 Secrets API is the source is not nil and 'ignore otherwise. Emit a
894 message when ignoring a source.
895 (auth-source-search): List ignored search keys at the top level.
896 (auth-source-netrc-create): Use `case' instead of `cond'.
897 (auth-source-secrets-search): Created with TODOs.
898 (auth-source-secrets-create): Created with TODOs.
899 (auth-source-retrieve, auth-source-create, auth-source-delete)
900 (auth-source-protocol-defaults, auth-source-user-or-password-imap)
901 (auth-source-user-or-password-pop3, auth-source-user-or-password-ssh)
902 (auth-source-user-or-password-sftp)
903 (auth-source-user-or-password-smtp): Remove.
904 (auth-source-user-or-password): Deprecated and modified to be a wrapper
905 around `auth-source-search'. Not tested thoroughly.
907 2011-02-04 Teodor Zlatanov <tzz@lifelogs.com>
909 * auth-source.el: Bring in assoc and eioeio libraries.
910 (secrets-enabled): New variable to track the status of the Secrets API.
911 (auth-source-backend): New EIOEIO class to represent a backend.
912 (auth-source-creation-defaults): New variable to set prompt defaults
913 during token creation (see the `auth-source-search' docstring for
915 (auth-sources): Simplify to allow a simple string as a netrc backend
917 (auth-source-backend-parse): Parse a backend from an `auth-sources' spec.
918 (auth-source-backend-parse-parameters): Fill in the backend parameters.
919 (auth-source-search): Main auth-source API entry point.
920 (auth-source-delete): Wrapper around `auth-source-search' for deletion.
921 (auth-source-search-collection): Helper function for searching.
922 (auth-source-netrc-parse, auth-source-netrc-normalize)
923 (auth-source-netrc-search, auth-source-netrc-create): Netrc backend.
924 Supports search, create, and delete.
925 (auth-source-secrets-search, auth-source-secrets-create): Secrets API
927 (auth-source-user-or-password): Call `auth-source-search' but it's not
930 2011-02-04 Lars Ingebrigtsen <larsi@gnus.org>
932 * message.el (message-setup-1): Remove the read-only stuff, since it
933 doesn't work under XEmacs, for some reason.
935 * gnus-sum.el (gnus-user-date): Rename back from
936 gnus-summary-user-date since user code refers to it.
938 * shr.el (shr-render-td): Store the actual background colour used.
940 * message.el (message-setup-1): Don't bind the constant
941 -forbidden-properties.
942 (message-setup-1): Revert previous change, since it needs to bind the
943 props to insert them.
944 (message-resend): Allow removing the read-only separator line.
946 2011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
948 * nnimap.el (nnimap-request-accept-article): Give an error message if
949 the APPEND wasn't successful.
951 2011-02-03 Adam Sjøgren <asjo@koldfront.dk>
953 * gnus-start.el (gnus-get-unread-articles): Fix the call to methods
956 2011-02-03 Julien Danjou <julien@danjou.info>
958 * gnus-draft.el: Remove progn around gnus-draft-setup.
960 2011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
962 * gnus-start.el (gnus-read-active-for-groups): This function is never
963 called with a nil `infos', so clean that up.
964 (gnus-get-unread-articles): Request active files from primary/secondary
965 methods that have no groups (yet).
967 2011-02-03 Julien Danjou <julien@danjou.info>
969 * message.el (message-setup-1): Always generate References first.
970 (message-mail): Return the return value of message-setup, not always t.
971 (message-setup-1): Insert mail-header-separator with read-only and
972 intangible properties set.
974 * gnus.el (gnus-summary-line-format): Add missing semi-colon for
975 user-date in docstring.
977 * gnus-art.el (gnus-article-jump-to-part): Remove useless sit-for.
979 * gnus.el (gnus-summary-line-format): Mention &user-date format in
982 * gnus.el (gnus-user-date-format-alist): Change default value. Use
983 defcustom, with type and group. Move from gnus-util.el. Rename to
984 gnus-summary-user-date-format-alist.
986 2011-02-03 Glenn Morris <rgm@gnu.org>
988 * nnimap.el (gnus-fetch-headers): Declare.
990 * nnheader.el (gnus-range-add, gnus-remove-from-range): Autoload.
992 2011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
994 * message.el (message-forward-make-body-digest-plain)
995 (message-followup, message-reply): Clean up things noted by Stefan.
997 * gnus-art.el (gnus-article-setup-buffer): Stop the date timer if
998 gnus-article-update-date-headers is nil.
999 (gnus-article-date-headers): Rip out the old -treat-date-* stuff, since
1000 it didn't really work with defcustom.
1001 (article-update-date-lapsed): Make sure the window start doesn't move,
1004 2011-02-01 Julien Danjou <julien@danjou.info>
1006 * mm-uu.el (mm-uu-type-alist): Add support for git format-patch diff
1009 * mm-decode.el (mm-inline-media-tests): Do not check for diff-mode it's
1010 standard in Emacs nowadays.
1012 * color.el (color-gradient): Add a color-gradient function.
1014 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1016 * message.el (message-expand-name): Don't trust the return value of
1018 (message-check-news-header-syntax): Remove unused var `start'.
1019 (message-idna-to-ascii-rhs-1): Remove unused vars `rhs' and `address'.
1020 (message-inhibit-body-encoding): Move to before first use.
1021 (mail-abbrev-mode-regexp, Expires, User-Agent, Lines, Distribution)
1022 (To, References, In-Reply-To, Newsgroups, Subject, Path, From)
1023 (Organization, Message-ID, Date, mh-previous-window-config):
1024 Defvar the vars using dynamic scoping.
1026 2011-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1028 * shr.el (shr-render-td): Only do colours at the final rendering.
1029 Should be slightly faster.
1030 (shr-insert-table): Fix up TD background colours when doing the
1033 * gnus-art.el (article-date-ut): Protect against articles with no Date
1035 (article-update-date-lapsed): Don't use current-column to find the
1036 horizontal position. It's fragile in the presence of \003 characters.
1038 * gnus-start.el (gnus-read-active-file-1): Remove dead parameter infos.
1040 2011-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1042 * gnus-art.el (article-transform-date): Rewrite to still work when
1043 there are several rfc2822 parts.
1044 (article-transform-date): Fix infinite recursion.
1045 (article-date-ut): Replace infinitely many Date headers with a single
1046 one when called interactively.
1048 * nnimap.el (nnimap-wait-for-response): Wait for results in a more
1051 * gnus-art.el (article-update-date-lapsed): Try to avoid having point
1052 move around by not using save-window-excursion. It seems to work...
1054 2011-01-31 Katsumi Yamaoka <yamaoka@jpl.org>
1056 * gnus-art.el (article-make-date-line): Work for user-defined format.
1058 2011-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1060 * nntp.el (nntp-retrieve-group-data-early)
1061 (nntp-finish-retrieve-group-infos): Implement the asynchronous data
1064 * gnus-start.el (gnus-read-active-for-groups): Read the active files
1065 thoroughly for all backends that have no known groups. This should
1066 allow new nnml methods to retrieve mail.
1068 * gnus-group.el (gnus-group-jump-to-group): Allow jumping to groups
1069 that Gnus doesn't know exists again.
1071 * gnus-art.el (gnus-article-date-lapsed-new-header): Remove.
1072 (gnus-treat-date-ut): Ditto.
1073 (gnus-article-update-date-header): Rename.
1074 (gnus-treat-date-local): Remove.
1075 (gnus-treat-date-english): Remove.
1076 (gnus-treat-date-lapsed): Remove.
1077 (gnus-treat-date-combined-lapsed): Remove.
1078 (gnus-treat-date-original): Remove.
1079 (gnus-treat-date-iso8601): Remove.
1080 (gnus-treat-date-user-defined): Remove.
1081 (gnus-article-date-headers): New variable to control all the date
1083 (article-date-ut): Rewrite to allow using the new way to format date
1086 2011-01-30 Lars Ingebrigtsen <larsi@gnus.org>
1088 * nnmail.el (nnmail-article-group): Check for a direct fancy split
1090 (nnmail-article-group): A better test for fanciness.
1092 * nnimap.el (nnimap-request-head): Protect against not finding the
1093 article by Message-ID.
1095 2011-01-29 Lars Ingebrigtsen <larsi@gnus.org>
1097 * gnus-art.el (article-update-date-lapsed): Try a better way to really
1098 keep point at the "same place".
1100 2011-01-28 Lars Ingebrigtsen <larsi@gnus.org>
1102 * gnus-sum.el (gnus-select-newsgroup): Don't try to alter the active
1103 data if the group is unactivated.
1105 2011-01-28 Julien Danjou <julien@danjou.info>
1107 * gnus-win.el: Remove dead function gnus-window-configuration-element.
1108 (gnus-all-windows-visible-p): Remove old compatibility code.
1109 (gnus-window-top-edge): Add docstring.
1111 * gnus-group.el (gnus-group-jump-to-group): Set must match to t.
1113 2011-01-28 Lars Ingebrigtsen <larsi@gnus.org>
1115 * gnus-int.el (gnus-request-marks): Call *-request-marks instead of the
1116 older request-update-info.
1118 * gnus-art.el (article-make-date-line): Limit the length a bit more.
1120 2011-01-28 Daiki Ueno <ueno@unixuser.org>
1122 * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt):
1123 Give mml2015-signers higher precedence over mml2015-sign-with-sender.
1125 2011-01-27 Lars Ingebrigtsen <larsi@gnus.org>
1127 * gnus-group.el (gnus-group-refresh-group): Refresh even non-visible
1128 groups. This makes the nndraft:queue group pop up if it's not already
1131 * gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no
1132 messages" logic, which was reversed.
1134 * gnus-art.el (article-update-date-lapsed): Ensure that point stays at
1135 the "same place" even if point is on the line being replaced.
1136 (article-update-date-lapsed): Allow updating both the combined lapsed
1137 and the lapsed headers.
1138 (article-update-date-lapsed): Skip past all the X-Sent/Date headers.
1139 (article-make-date-line): Limit the number of segments dynamically to
1140 avoid too-long lines.
1142 2011-01-27 Julien Danjou <julien@danjou.info>
1144 * mml2015.el (mml2015-epg-sign): Add and use mml2015-sign-with-sender.
1145 (mml2015-epg-encrypt): Use mml2015-sign-with-sender.
1147 2011-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1149 * shr.el (shr-expand-newlines, shr-previous-newline-padding-width):
1150 Use plist-get instead of the cl function getf.
1152 2011-01-27 Glenn Morris <rgm@gnu.org>
1154 * gnus-util.el (float-time): Get rid of compiler warning, again.
1156 2011-01-27 Lars Ingebrigtsen <larsi@gnus.org>
1158 * shr.el (shr-put-color): Special-case background colours: Do put them
1159 at the blank parts at the front of the lines.
1161 * gnus-draft.el (gnus-draft-clear-marks): New function to be run as an
1162 exit hook to nix out all data on readedness on group exit.
1164 * gnus-util.el (float-time): If float-time is bound, always use it on
1165 all Emacsen. It's unclear why the subrp check was there.
1166 (time-date): Require to make some autoload issues on XEmacs go away.
1168 * shr.el (shr-put-color): Don't do the box padding in tables, since
1169 they're already padded.
1171 2011-01-26 Lars Ingebrigtsen <larsi@gnus.org>
1173 * gnus-art.el (gnus-article-next-page): When the last line of the
1174 article is displayed, scroll down once more instead of going to the
1175 next article at once.
1176 (article-lapsed-string): Refactor out and allow specifying how many
1178 (gnus-article-setup-buffer): Start updating the lapsed header directly.
1179 (gnus-article-update-lapsed-header): New variable.
1181 * shr.el: Revert change that made headings use different-sized faces.
1182 The Emacs display engine isn't advanced enough that, for instance,
1183 tables can comfortably use differently-sized faces.
1185 2011-01-25 Lars Ingebrigtsen <larsi@gnus.org>
1187 * nnimap.el (nnimap-open-connection-1): Store the actual stream type
1189 (nnimap-login): Prefer plain LOGIN if it's enabled (since it requires
1190 fewer round trips than CRAM-MD5, and it's less likely to be buggy), and
1191 we're using an encrypted connection.
1193 * proto-stream.el: Alter the interface functions to also return the
1194 actual stream type used: network or tls.
1196 2011-01-25 Julien Danjou <julien@danjou.info>
1198 * mm-view.el (mm-display-shell-script-inline): Fix typo in docstring.
1199 (mm-display-javascript-inline): New function.
1201 * mm-decode.el (mm-inline-media-tests): Add application/javascript
1204 2011-01-25 Katsumi Yamaoka <yamaoka@jpl.org>
1206 * shr.el (shr-expand-newlines): Fix variable name.
1208 2011-01-25 Lars Ingebrigtsen <larsi@gnus.org>
1210 * shr.el (shr-expand-newlines): Make nested boxes work.
1212 2011-01-24 Lars Ingebrigtsen <larsi@gnus.org>
1214 * shr.el (shr-expand-newlines): Proof of concept implemantation of boxy
1216 (shr-expand-newlines): Switch to using overlays to enable kill'n'yank
1217 in a more sensible manner.
1219 2011-01-24 Teodor Zlatanov <tzz@lifelogs.com>
1221 * mml-smime.el (mml-smime-use): Make it a defcustom and default to 'epg
1224 2011-01-24 Julien Danjou <julien@danjou.info>
1226 * shr.el: Use defface to create shr-tag-h[1-6] faces to fontify h[1-6]
1229 2011-01-24 Lars Ingebrigtsen <larsi@gnus.org>
1231 * gnus-art.el (gnus-article-read-summary-keys): Don't call disabled
1234 * gnus-gravatar.el (gnus-gravatar-insert): Don't move point around
1235 in the article buffer.
1236 (gnus-gravatar-insert): Use blank space from the current buffer to
1237 avoid breaking text properties. This makes X-Sent updating work again.
1239 * gravatar.el (gravatar-retrieve): Be silent when retrieving.
1241 2011-01-23 Lars Ingebrigtsen <larsi@gnus.org>
1243 * gnus-html.el (gnus-html-image-fetched): Kill the buffer anyway, and
1244 fix the bug in url-http.el instead.
1246 * shr.el (shr-image-fetched): Ditto.
1248 * shr.el (shr-image-fetched): Avoid having point move in the article
1251 * gnus-html.el (gnus-html-image-fetched): Don't kill the temporary
1252 buffer after being called. It's apparently being killed by url.el, and
1253 killing it made point move to end-of-buffer in a random buffer.
1255 * shr.el (shr-image-fetched): Ditto.
1257 2011-01-23 Julien Danjou <julien@danjou.info>
1259 * mm-decode.el (mm-inline-media-tests): Change text/org to text/x-org.
1261 * mm-uu.el (mm-uu-org-src-code-block-extract): Change text/org to
1264 2011-01-22 Lars Ingebrigtsen <larsi@gnus.org>
1266 * gnus-sum.el (gnus-summary-move-article): Protect against backends
1267 (i.e., nnimap) returning nil as the article number.
1269 2011-01-22 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1271 * flow-fill.el (fill-flowed): Make `delete-space' option correspond to
1272 "DelSp" parameter in RFC3676.
1274 2011-01-22 Lars Ingebrigtsen <larsi@gnus.org>
1276 * message.el (message-check-recipients): Display the encoded version of
1277 the bogus address if they differ.
1279 * gnus-draft.el (gnus-group-send-queue): Really refresh the queue group
1282 * gnus-agent.el (gnus-agent-send-mail): Ditto.
1284 * gnus-group.el (gnus-group-refresh-group): New convenience function.
1286 * gnus-draft.el (gnus-group-send-queue): Update the queue group in the
1287 group buffer after sending the queue.
1289 * gnus-agent.el (gnus-agent-send-mail): Ditto.
1291 2011-01-22 Julien Danjou <julien@danjou.info>
1293 * mailcap.el (mailcap-mime-extensions): Rename text/org to text/x-org.
1295 2011-01-22 Lars Ingebrigtsen <larsi@gnus.org>
1297 * mm-decode.el (mm-preferred-alternative-precedence): Don't bug out on
1298 nested related parts.
1300 * nnfolder.el (nnfolder-request-expire-articles): Return the list of
1301 unexpired articles. This fixes the regression that led expiry marks to
1302 disappear from nnfolder groups.
1304 2011-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1306 * gnus-art.el (gnus-button-alist, gnus-button-handle-info-keystrokes):
1307 Don't confuse the "ret" of "retrograde" with RET.
1309 2011-01-21 Julien Danjou <julien@danjou.info>
1311 * gnus-art.el (gnus-mime-display-single): Use mm-display-inline rather
1312 than mm-insert-inline.
1314 2011-01-21 Katsumi Yamaoka <yamaoka@jpl.org>
1316 * gnus-art.el (gnus-article-remove-images, gnus-article-show-images):
1317 Widen article buffer.
1319 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1321 * mm-util.el (mm-find-buffer-file-coding-system): Don't forget to kill
1323 * message.el (message-mailer-swallows-blank-line): Use with-temp-buffer.
1325 2011-01-20 Julien Danjou <julien@danjou.info>
1327 * mm-decode.el (mm-inline-media-tests): Add text/x-sh.
1329 * gnus-art.el (gnus-mime-inline-part): Use mm-display-inline rather
1330 than mm-insert-inline to insert inline part: this respect
1331 mm-inline-media-tests displayers.
1333 * mm-view.el (mm-display-shell-script-inline): New function.
1335 * mm-decode.el (mm-inline-media-tests): Add x-shellscript and x-sh.
1337 * mm-uu.el (mm-uu-type-alist): Add org block.
1338 (mm-uu-org-src-code-block-extract): New function.
1340 * mm-view.el (mm-display-org-inline): New function.
1342 * mm-decode.el (mm-automatic-display): Add text/org.
1344 * mailcap.el (mailcap-mime-extensions): Add .org.
1346 2011-01-19 Katsumi Yamaoka <yamaoka@jpl.org>
1348 * gnus-art.el (gnus-article-highlight): Remove argument passed to
1349 gnus-article-add-buttons.
1351 2011-01-19 Tom Rauchenwald <sehnsucht.nach.unendlichkeit@quantentunnel.de> (tiny change)
1353 * spam.el (spam-spamassassin-register-with-sa-learn): Insert a full
1354 From header with a date and "nobody" as the sender.
1356 2011-01-19 Julien Danjou <julien@danjou.info>
1358 * gnus-art.el (gnus-article-add-buttons): Simplify condition.
1359 (gnus-button-push): Remove gnus-button-entry function, it fails heavily
1360 if you have the same regexp several times.
1361 (gnus-button-push): Fix matching when regexp is symbol.
1363 2011-01-15 Glenn Morris <rgm@gnu.org>
1365 * message.el (message-mail): A compose-mail function should
1366 accept headers as strings.
1368 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1370 * message.el (message-tool-bar-gnome): Tweak tool-bar items.
1371 Add :vert-only tags.
1372 (message-mail): New arg RETURN-ACTION.
1373 (message-return-action): New var.
1374 (message-bury): Use it.
1375 (message-mode): Make it buffer-local.
1376 (message-send-and-exit): Always call message-bury.
1378 * gnus-msg.el (gnus-msg-mail): New arg RETURN-ACTION. Pass it to
1381 2011-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1383 * nnimap.el (nnimap-convert-partial-article): Protect against
1384 zero-length body parts.
1386 * mm-decode.el (mm-preferred-alternative-precedence):
1387 Discourage showing empty parts.
1389 * gnus-int.el (gnus-request-accept-article): Don't try to update marks
1390 and stuff if the backend didn't return the article number. This fixes
1391 an Exchange-related nnimap bug.
1393 * gnus-sum.el (gnus-summary-next-article): Remove hack to reselect
1394 group window, because it does the wrong thing when a separate frame
1395 displays the group buffer.
1397 * proto-stream.el (open-protocol-stream): Protect against the low-level
1398 transport functions returning nil.
1400 2011-01-07 Daiki Ueno <ueno@unixuser.org>
1402 * mml2015.el (epg-sub-key-fingerprint): Autoload.
1403 (mml2015-epg-find-usable-secret-key): New function.
1404 (mml2015-epg-sign): Use mml2015-epg-find-usable-secret-key instead of
1405 mml2015-epg-find-usable-key (Bug#7797).
1406 (mml2015-epg-encrypt): Ditto.
1408 2011-01-05 Katsumi Yamaoka <yamaoka@jpl.org>
1410 * dgnushack.el (rot13-string): Fix the way to get the argument.
1412 2011-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1414 * flow-fill.el (fill-flowed-encode): Do encoding citation-aware.
1416 2011-01-03 Glenn Morris <rgm@gnu.org>
1418 * sieve-manage.el (sieve-manage-open): Correctly set sieve-manage-port.
1420 * sieve.el (sieve-open-server): Give a more explicit error if
1421 sieve-manage-open returns nil. (Bug#7720)
1423 2011-01-02 Karl Fogel <kfogel@red-bean.com>
1425 * gnus-msg.el (gnus-message-replyencrypt): Default to `t'.
1427 2011-01-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1429 * nnimap.el (nnimap-login): Prefer AUTH=CRAM-MD5, if it's available.
1430 This avoids sending passwords in plain text over non-encrypted
1433 * shr.el (shr-rescale-image): Display all GIF images as animated images.
1435 * nnimap.el (nnimap-login): Refactored out into own function, and
1437 (nnimap-wait-for-line): Refactored out.
1439 * mm-view.el (mml-smime): Require.
1441 2010-12-20 David Engster <deng@eml.cc>
1443 * mm-view.el (mm-view-pkcs7-decrypt): If mml-smime-use is set to 'epg,
1444 use EPG to decrypt S/MIME messages instead of openssl.
1446 2011-01-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1448 * nnimap.el (nnimap-request-group): Avoid double SELECT on `M-g'.
1450 * gnus-group.el (gnus-group-kill-group): Don't try to update the group
1451 status is the group clearly is unreachable.
1453 * auth-source.el (auth-source-create): Add the optional second
1454 parameter to `local-variable-p' to be compatible with XEmacs.
1456 2011-01-02 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
1458 * nnml.el (nnml-request-article): Allow requesting by Message-ID to
1459 work when using a compressed nnml folder.
1461 2011-01-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1463 * gnus-sum.el (gnus-select-newsgroup): Don't propagate marks to
1464 backends after sanitising on entry, because this never makes sense:
1465 If the articles have gone missing, then the data no longer exists on
1466 the backend, and if they haven't, then Gnus is wrong, and shouldn't
1467 overwrite anything anyway.
1469 * shr.el (shr-insert-document): Bind shr-width dynamically to
1470 window-width if it's nil.
1472 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1474 * shr.el (shr-width, shr-insert-document): Allow nil as shr-width value
1475 with the meaning of using the full emacs window width for rendering.
1477 2010-12-27 Daiki Ueno <ueno@unixuser.org>
1479 * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Take care the
1480 case when sender is not given.
1482 2010-12-23 Julien Danjou <julien@danjou.info>
1484 * gnus-gravatar.el (gnus-gravatar-transform-address): Set
1485 `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting
1486 the addresses, otherwise we might misplaced the gravatar.
1488 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1490 * mml1991.el (pgg-sign-region, pgg-encrypt-region):
1491 * gnus-art.el (pgg-snarf-keys-region): Autoload since PGG is now
1494 2010-12-20 Julien Danjou <julien@danjou.info>
1496 * gnus-util.el (gnus-rescale-image): Revert last change.
1498 2010-12-17 Chong Yidong <cyd@stupidchicken.com>
1500 * binhex.el: Improve commentary (Bug#7482).
1502 2010-12-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1504 * gnus-group.el (gnus-group-delete-articles): New command.
1506 2010-12-17 Andrew Cohen <cohen@andy.bu.edu>
1508 * nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound.
1510 2010-12-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1512 * gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change
1513 here, since it's up to the backends to do CRLF removal if their
1516 * nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers.
1518 2010-12-17 Julien Danjou <julien@danjou.info>
1520 * gnus-util.el (gnus-rescale-image): Allow to resize images even if
1521 they are from file. Can also scale up.
1523 2010-12-17 Andrew Cohen <cohen@andy.bu.edu>
1525 * gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore
1527 (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol.
1529 * nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
1531 2010-12-17 Julien Danjou <julien@danjou.info>
1533 * gravatar.el (gravatar-retrieve-synchronously): New function.
1534 (gravatar-get-data): Make more robust.
1536 2010-12-16 Katsumi Yamaoka <yamaoka@jpl.org>
1538 * lpath.el: Bind epa-file-encrypt-to for Emacs 22 and XEmacs.
1540 2010-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1542 * nnimap.el (nnimap-wait-for-response): Fix the end-point calculation
1543 to really consider the last line.
1545 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1547 * auth-source.el (auth-source-gpg-encrypt-to): New variable to set the
1548 list of recipient keys, or use symmetric encryption if not a list.
1549 (auth-source-create): Use it to make `epa-file-encrypt-to' local for an
1550 EPA override, replacing the call to `netrc-store-data'.
1552 2010-12-16 Dan Davison <dandavison7@gmail.com> (tiny change)
1554 * gnus-srvr.el: Avoid passing nil regexp argument to
1555 delete-matching-lines.
1557 2010-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1559 * gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML
1560 fetching stops when Gnus exits.
1562 * nnfolder.el (nnfolder-save-all-buffers): Refactor out into its own
1564 (nnfolder-request-expire-articles): Save all the buffers after doing
1567 * nnmail.el (nnmail-expiry-target-group): Revert the "all articles are
1568 the last article", since that led to serious performance regressions
1569 when expiring nnml groups.
1571 2010-12-16 Andrew Cohen <cohen@andy.bu.edu>
1573 * nnir.el: Improve customizations.
1575 2010-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1577 * gnus-start.el (gnus-subscribe-newsgroup): Notify the backend.
1579 * gnus-group.el (gnus-group-kill-group): Notify the backend that the
1580 group has been killed.
1581 (gnus-group-yank-group): Ditto.
1583 * gnus-srvr.el (gnus-browse-unsubscribe-group): Ditto.
1585 * nnimap.el (nnimap-request-update-group-status): New function.
1587 * gnus-int.el (gnus-request-update-group-status): New interface
1590 * gnus-sum.el (gnus-summary-push-marks-to-backend): Fix the logic for
1591 copying read-ness to the backends.
1593 * nnimap.el (nnimap-quirk): New function.
1594 (nnimap-retrieve-group-data-early): Use it.
1595 (nnimap-quirks): New alist.
1597 2010-12-16 Katsumi Yamaoka <yamaoka@jpl.org>
1599 * shr.el (shr-insert): Set shr-start after deleting trailing space;
1600 don't delete it within indentation.
1602 2010-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1604 * nnimap.el (nnimap-wait-for-response): Always look (at least) at the
1607 2010-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1609 * nnimap.el (nnimap-retrieve-group-data-early): Fix the syntax of the
1610 QRESYNC command by deleting a superfluous space which broke Cyrus
1611 servers. This change will break other servers that are buggy the other
1614 2010-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1616 * spam.el: Reindent and fix long lines.
1617 (spam-copy-or-move-routine): Exclude invalid move destinations.
1619 2010-12-14 Andrew Cohen <cohen@andy.bu.edu>
1621 * nnir.el (nnir-mode): Don't install registry hooks if user hasn't
1622 installed the registry.
1624 2010-12-14 Katsumi Yamaoka <yamaoka@jpl.org>
1626 * dgnushack.el (rot13-string): New macro for XEmacs. netrc.el uses it.
1628 2010-12-13 Andrew Cohen <cohen@andy.bu.edu>
1630 * nnir.el (nnir-run-gmane): Better check for gmane groups: error out if
1631 groupname doesn't contain "gmane".
1633 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1635 * netrc.el (netrc-point-at-eol): Remove the unused netrc-point-at-old
1636 and netrc-bound-and-true-p bindings.
1637 (netrc-parse): Cache the netrc contents.
1639 * gnus-start.el (gnus-matches-options-n): Fix typo in last change.
1640 (gnus-1): Don't create the nndrafts group twice.
1641 (gnus-setup-news): There's no need to read the active file here, since
1642 that's done again later on a per-backend basis.
1643 (gnus-start-draft-setup): Make sure that the new group is started out
1646 * gnus-agent.el (gnus-agentize): Don't create the queue group
1647 automatically on startup. It'll be created later, if needed.
1649 * gnus-start.el (gnus-auto-subscribed-groups): Add nnimap to the list
1650 of automatically subscribed groups.
1651 (gnus-auto-subscribed-categories): New variable.
1652 (gnus-matches-options-n): Use it.
1653 (gnus-default-subscribed-newsgroups): Remove unused variable.
1654 (gnus-start-draft-setup): Message a bit less.
1656 2010-12-13 Andrew Cohen <cohen@andy.bu.edu>
1658 * nnir.el (nnir-run-imap): Return article list in order of increasing
1661 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1663 * gnus-sum.el (gnus-summary-enter-digest-group):
1664 Mention gnus-auto-select-on-ephemeral-exit.
1666 * proto-stream.el (proto-stream-open-network-only): Fix the calling
1667 convention of the network-only option.
1669 2010-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1671 * proto-stream.el (proto-stream-open-network-only): New function to
1672 have a way to specify non-STARTTLS upgrade connections.
1674 2010-12-10 Julien Danjou <julien@danjou.info>
1676 * gnus-gravatar.el (gnus-gravatar-transform-address): Fix error when
1677 email address is nil.
1679 * message.el (message-bogus-recipient-p): Set address to "" if nil.
1681 2010-12-10 Andrew Cohen <cohen@andy.bu.edu>
1683 * nnir.el (nnir-request-expire-articles): Ignore expiry except for
1685 (nnir-run-imap): Only need to parse list once.
1687 2010-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
1689 * shr.el (shr-tag-script): Ignore <script>.
1690 (shr-tag-label): Add <label> support.
1692 2010-12-09 Katsumi Yamaoka <yamaoka@jpl.org>
1694 * mm-util.el (mm-ucs-to-char): Use eval-and-compile.
1696 * shr.el (shr-image-displayer): Work for images lined side by side.
1698 2010-12-08 Robert Pluim <rpluim@gmail.com>
1700 * gnus-demon.el (gnus-demon-init): Call run-with-timer with an integer
1701 parameter, since XEmacs doesn't accept t as a parameter.
1703 2010-12-08 Andrew Cohen <cohen@andy.bu.edu>
1705 * nnir.el (nnir-retrieve-headers): Use rassq when comparing article
1707 (nnir-run-gmane): Simplify groupspec formatting.
1708 (nnir-request-expire-articles): New function.
1710 2010-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1712 * nnimap.el (nnimap-parse-flags): Tweak VANISHED regexp to avoid regexp
1715 * shr.el (shr-tag-table-1): Use bg/gfcolor specs on tables.
1716 (shr-render-td): Handle td style="" better.
1717 (shr-tag-table): Use the color from the style sheet.
1718 (shr-render-td): Make sure we copy over all the overlays, too.
1720 2010-12-07 Andrew Cohen <cohen@andy.bu.edu>
1722 * nnir.el (nnir-run-gmane): Restore sub-optimal test for gmane server.
1723 (nnir-request-article): Improve article retrieval.
1725 2010-12-07 Katsumi Yamaoka <yamaoka@jpl.org>
1727 * mm-util.el (mm-extra-numeric-entities): New variable.
1729 * mm-url.el (mm-url-decode-entities):
1730 * mm-decode.el (mm-shr): Use it to decode extra numeric entities.
1732 * lpath.el: Fbind completion-at-point for Emacs 22 and XEmacs.
1734 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1736 * message.el: Use completion-at-point.
1737 (message-completion-function): New fun, extracted from message-tab.
1738 (message-mode): Use it for completion-at-point-functions.
1739 (message-tab): Use it and completion-at-point.
1741 2010-12-07 Katsumi Yamaoka <yamaoka@jpl.org>
1743 * shr.el (shr-find-fill-point): Don't break a line after a kinsoku-bol
1744 character if a non-breakable character follows.
1746 2010-12-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1748 * proto-stream.el (proto-stream-open-tls): Return nil if we don't get
1751 * shr.el (shr-tag-font): Colorize the region.
1752 (shr-tag-body): Ditto.
1753 (shr-tag-font): Actually let the styles be inherited instead of
1755 (shr-tag-font): Get the background color right.
1756 (shr-tag-style): Ignore all <style> tags for the moment.
1758 * gnus-int.el (gnus-request-thread): Rework to take a header instead of
1759 a Message-ID to avoid having nnimap depend on gnus-sum.
1761 * shr.el (shr-descend): Only colorize something if we have a node that
1764 2010-12-06 Julien Danjou <julien@danjou.info>
1766 * shr.el (shr-render-td): Render td content with shr-descend, so style
1767 will be applied to <td> too.
1768 (shr-colorize-region): Colorize region even if we only have a background.
1769 (shr-tag-body): Fix color and background color inheritance.
1770 Do not recolorize after shr-generic.
1771 (shr-tag-font): Let shr-generic colorize via inheritance.
1773 2010-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1775 * shr.el (shr-find-fill-point): Don't regard apostrophe as kinsoku-bol.
1777 2010-12-06 Andrew Cohen <cohen@andy.bu.edu>
1779 * nnir.el (nnir-request-move-article): Remove obsolete code.
1781 2010-12-05 Katsumi Yamaoka <yamaoka@jpl.org>
1783 * gnus-util.el (gnus-macroexpand-all): Use eval-and-compile.
1785 2010-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1787 * gnus-sum.el (gnus-summary-respool-article): The completion function
1788 expects a list instead of an alist.
1790 * nntp.el (nntp-snarf-error-message): nnheader-report takes a format
1791 string as the parameter.
1793 * gnus.el (gnus-valid-select-methods): Allow nnimap to respool.
1795 * shr.el (shr-stylesheet): New dynamic variable for cascading the
1797 (shr-colorize-region): New function.
1798 (shr-insert-background-overlay): Remove.
1799 (shr-render-td): Background setting should be taken care of on a higher
1801 (shr-tag-body): Use post-hoc colorizations.
1802 (shr-tag-body): Set up a style sheet based on bgcolor/fgcolor.
1803 (shr-put-color-1): Don't overwrite old colors.
1804 (shr-colorize-region): When the background color isn't explicit, use
1807 * gnus-util.el (gnus-output-to-mail): Require nnmail before using
1810 2010-12-05 Bjørn Mork <bjorn@mork.no>
1812 * nnimap.el (nnimap-process-expiry-targets): Avoid downloading articles
1815 2010-12-05 Andrew Cohen <cohen@andy.bu.edu>
1817 * nnir.el (nnir-run-gmane): Use more careful test for gmane nntp
1820 2010-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1822 * gnus-html.el (gnus-html-put-image): Use widget instead of local maps
1825 * gnus-sum.el (gnus-summary-show-article): Reverse the meanings of `C-u
1826 C-u g' and `C-u g' so that `C-u g' does what it traditionally did.
1828 * shr.el (shr-urlify): Show the URL before the title to avoid
1831 2010-12-04 Adam Sjøgren <asjo@koldfront.dk>
1833 * shr.el (shr-urlify): Display the title in <a> tags.
1835 2010-12-04 Andrew Cohen <cohen@andy.bu.edu>
1837 * nnir.el (nnir-categorize): Replace mapcar with mapc.
1839 2010-12-03 Andrew Cohen <cohen@andy.bu.edu>
1841 * nnir.el: Rearrange code to allow macros to be autoloaded by
1843 (nnir-retrieve-headers-override-function): Make this variable
1845 (nnir-retrieve-headers): Remove obsolete subject-mangling code.
1847 * gnus-sum.el (nnir-article-group,nnir-article-rsv): Autoload macros
1850 2010-12-03 Julien Danjou <julien@danjou.info>
1852 * gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.
1854 2010-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1856 * gnus-util.el (gnus-macroexpand-all): Don't modify argument;
1857 allow optional argument `environment'.
1859 2010-12-03 Glenn Morris <rgm@gnu.org>
1861 * mm-extern.el (message-goto-body): Update declaration.
1863 2010-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1865 * gnus-util.el (gnus-macroexpand-all): New function.
1867 * gnus-sum.el (gnus-summary-line-format-alist): Use gnus-macroexpand-all
1868 instead of macroexpand-all that is unavailable in XEmacs.
1870 2010-12-02 Andrew Cohen <cohen@andy.bu.edu>
1872 * nnir.el (nnir-summary-line-format): New variable.
1873 (nnir-mode): Use it.
1874 (nnir-artlist-*,nnir-aritem-*): Reimplement as macros.
1875 (nnir-article-ids): Reimplement as defsubst.
1876 (nnir-retrieve-headers): Don't mangle the subject header.
1877 (nnir-run-imap): Use 100 as RSV score.
1878 (nnir-run-find-grep): Fix for full server searching.
1879 (nnir-run-gmane): Better restriction to gmane groups.
1881 * gnus-sum.el (gnus-summary-line-format-alist): Add specs for nnir
1884 2010-12-02 Julien Danjou <julien@danjou.info>
1886 * gnus-win.el (gnus-configure-frame): Remove old compatibility code.
1888 * gnus-msg.el: Mark gnus-outgoing-message-group as obsolete.
1890 * gnus-win.el (gnus-configure-windows): Remove Gnus 3.x setting
1893 2010-12-01 Andrew Cohen <cohen@andy.bu.edu>
1895 * nnir.el: Update to handle the registry better.
1896 (autoload): Silence byte-compiler.
1897 (nnir-open-server): Add a hook for nnir groups.
1898 (nnir-request-move-article): Don't mangle the header. Better to use
1899 formating variables (which will be added in the future).
1900 (nnir-registry-action): Update the registry using the original article
1902 (nnir-mode): Install nnir-specific hooks for updating the registry.
1905 (gnus-article-original-subject,gnus-newsgroup-original-name):
1906 Remove obsolete variables.
1907 (gnus-summary-move-article): Remove use of obsolete variables.
1908 (gnus-summary-local-variables): Make move and delete hooks local to
1911 2010-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1913 * rtree.el: New file.
1915 2010-12-01 Julien Danjou <julien@danjou.info>
1917 * message.el (message-user-organization): Do not use
1918 gnus-local-organization.
1920 * gnus.el: Remove gnus-local-organization.
1922 * gnus-msg.el: Remove nastygram thing.
1924 2010-12-01 Teodor Zlatanov <tzz@lifelogs.com>
1926 * nnmaildir.el (nnmaildir-request-set-mark): Add article to add-mark
1929 2010-12-01 Katsumi Yamaoka <yamaoka@jpl.org>
1931 * gnus-gravatar.el (gnus-gravatar-insert): Allow LWSP in the middle of
1934 * shr.el (shr-find-fill-point): Don't break line between kinsoku-bol
1937 * gnus-gravatar.el (gnus-gravatar-insert): Delete unnecessary binding
1938 to t of inhibit-read-only since it is inside gnus-with-article-headers.
1939 Suggested by Štěpán Němec <stepnem@gmail.com>.
1940 (gnus-gravatar-transform-address): Use mail-extract-address-components
1941 that supports non-ASCII names rather than mail-header-parse-addresses.
1943 2010-11-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1945 * proto-stream.el (open-protocol-stream): All starttls connections are
1946 handled by the network handler.
1948 2010-11-30 Julien Danjou <julien@danjou.info>
1950 * nnimap.el (nnimap-open-connection-1): Use gnus-string-match-p.
1951 (nnimap-open-connection-1): Fix PREAUTH.
1953 * gnus-gravatar.el (gnus-gravatar-size): Set gnus-gravatar-size to nil.
1955 2010-11-30 Katsumi Yamaoka <yamaoka@jpl.org>
1957 * shr.el (shr-char-breakable-p, shr-char-nospace-p)
1958 (shr-char-kinsoku-bol-p, shr-char-kinsoku-eol-p): New macros.
1959 (shr-insert): Use them.
1960 (shr-find-fill-point): Work better for kinsoku chars and apostrophes.
1962 2010-11-29 Andrew Cohen <cohen@andy.bu.edu>
1964 * nnir.el (nnir-request-move-article): Bail out if original group
1965 doesn't support article moves.
1966 (nnir-get-active): Improve active list retrieval.
1968 2010-11-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1970 * shr.el (shr-find-fill-point): Don't break before apostrophes.
1972 2010-11-29 Binjo <binjo.cn@gmail.com> (tiny change)
1974 * nnimap.el (nnimap-open-connection-1): w32 open-network-stream doesn't
1975 seem to accept strings-with-numbers as port numbers,
1977 2010-11-29 Andrew Cohen <cohen@andy.bu.edu>
1979 * gnus-sum.el (gnus-summary-delete-article): If delete fails don't
1980 change the registry.
1982 2010-11-29 Katsumi Yamaoka <yamaoka@jpl.org>
1984 * nnir.el (nnir-run-gmane): Use mm-delete-duplicates instead of
1985 delete-dups that is not available in XEmacs 21.4.
1987 * mm-util.el (mm-delete-duplicates): Add comment.
1989 2010-11-28 Andrew Cohen <cohen@andy.bu.edu>
1991 * nnir.el (nnir-ignored-newsgroups): New variable.
1992 (nnir-get-active): Use it.
1994 2010-11-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
1996 * proto-stream.el (proto-stream-open-network): Add some comments.
1998 * nntp.el (nntp-open-connection): Provide a :success condition.
2000 * nnimap.el (nnimap-open-connection-1): Ditto.
2002 * proto-stream.el (proto-stream-open-network): See what the response to
2003 the STARTTLS command is.
2005 * nnimap.el (nnimap-open-connection-1): Always upgrade to STARTTLS (for
2006 backwards compatibility).
2007 (nnimap-open-connection-1): Really respect nnimap-server-port.
2009 * proto-stream.el (proto-stream-open-network): When doing opportunistic
2010 TLS upgrades we don't really care about the identity of the peer.
2011 (proto-stream-open-network): Force starttls.el to use gnutls-cli, since
2012 that what we've checked for.
2013 (proto-stream-always-use-starttls): Only default to t if
2014 open-gnutls-stream exists.
2015 (proto-stream-open-network): If STARTTLS failed, then just open a
2017 (proto-stream-open-network): Wait until the greeting before doing
2020 * nntp.el (nntp-open-connection): Report what the connection error is.
2022 * proto-stream.el (open-protocol-stream): Rename from
2025 2010-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2027 * nnimap.el (nnimap-stream): Change default to `undecided'.
2028 (nnimap-open-connection): If `nnimap-stream' is `undecided', try ssl
2029 first, and then network.
2030 (nnimap-open-connection-1): Respect nnimap-server-port.
2031 (nnimap-open-connection): Be more backwards-compatible.
2033 * proto-stream.el (proto-stream-always-use-starttls): New variable.
2034 (proto-stream-open-starttls): De-duplicate the starttls code.
2035 (proto-stream-open-starttls): Folded back into the main function.
2036 (proto-stream-open-network): Fix typo in the gnutls path.
2037 (proto-stream-command): Refactor out.
2039 * nntp.el (nntp-open-connection): Fix the STARTTLS command syntax.
2041 * proto-stream.el (proto-stream-open-starttls): Actually implement the
2042 starttls.el STARTTLS.
2044 * color.el (color-lab->srgb): Fix function call name.
2046 * proto-stream.el (proto-stream-open-tls): Delete output from openssl
2047 if we're using tls.el.
2048 (proto-stream-open-network): If we don't have gnutls-cli or gnutls
2049 built in, then don't try to establish a STARTTLS connection.
2051 * nntp.el (nntp-open-connection): Switch on STARTTLS on supported
2054 * proto-stream.el (open-proto-stream): Use network, not stream.
2055 (open-proto-stream): Add a way to specify what the end of a command is.
2057 * nntp.el (nntp-open-connection): Use proto-streams for the relevant
2059 (nntp-open-network-stream): Remove.
2060 (nntp-open-ssl-stream): Remove.
2061 (nntp-open-tls-stream): Remove.
2062 (nntp-ssl-program): Remove.
2064 * nnimap.el (nnimap-open-connection): Check for "OK" from the greeting.
2066 2010-11-27 Andrew Cohen <cohen@andy.bu.edu>
2068 * nnir.el: Fix typos.
2069 (nnir-retrieve-headers-override-function): Rename variable to reflect
2071 (nnir-article-group, nnir-article-number, nnir-article-rsv): New helper
2073 (nnir-request-article, nnir-request-move-article): Use them.
2074 (nnir-categorize): New function.
2075 (nnir-run-query): Use it.
2076 (nnir-retrieve-headers): Rewrite to batch header retrieval.
2077 (nnir-run-gmane): nnir-retrieve-headers now returns the headers already
2079 (nnir-group-full-name): Use gnus-group-full-name instead.
2080 (nnir-artlist-artitem-group, nnir-artlist-artitem-number)
2081 (nnir-artlist-artitem-rsv, nnir-sort-groups-by-server): Obsolete.
2083 2010-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2085 * nnimap.el (nnimap-open-connection): Fix typo in STARTTLS command.
2087 * proto-stream.el: New library to provide protocol-specific
2088 TLS/STARTTLS connections for IMAP, NNTP, SMTP, POP3 and similar
2090 (open-proto-stream): Complete the documentation.
2091 (proto-stream-open-network): Fix some typos.
2093 * nnimap.el (nnimap-open-connection): Use it.
2095 2010-11-27 Yuri Karaban <tech@askold.net> (tiny change)
2097 * pop3.el (pop3-open-server): Read server greeting before starting TLS
2100 2010-11-26 Julien Danjou <julien@danjou.info>
2102 * color.el: Rename various rgb functions to srgb.
2104 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2106 * nnimap.el (nnimap-get-groups): Allow non-quoted strings as mailbox
2109 2010-11-26 Katsumi Yamaoka <yamaoka@jpl.org>
2111 * shr.el (shr-insert): Revert last change.
2112 (shr-find-fill-point): Never leave point being at bol;
2113 relax the kinsoku limitation when rendering tables.
2115 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2117 * nnmail.el (nnmail-expiry-target-group): Protect against degenerate
2118 results from -accept-article.
2120 * shr-color.el: Require cl when compiling.
2122 * nnheader.el (nnheader-update-marks-actions): Fix typo in last
2125 * gnus-art.el (gnus-url-mailto): Unfold URLs before using them.
2127 * nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
2129 * gnus-sum.el (gnus-summary-push-marks-to-backend): Use 'set instead of
2130 'add and 'delete to set backend marks.
2132 * nnmaildir.el (nnmaildir-request-set-mark): Be explicit about 'set.
2134 * nnheader.el (nnheader-update-marks-actions): Refactor out.
2136 * nntp.el (nntp-request-set-mark): Use it.
2138 * nnfolder.el (nnfolder-request-set-mark): Ditto.
2140 * nnml.el (nnml-request-set-mark): Ditto.
2142 * nnimap.el (nnimap-last-response-string): Remove the unfolding -- it
2143 introduces regressions in article selection.
2144 (nnimap-find-uid-response): New function.
2145 (nnimap-request-accept-article): Use the UID returned, if any.
2146 (nnimap-request-move-article): Use the UID returned, if any.
2147 (nnimap-get-groups): Reimplement to work with folded lines.
2148 (nnimap-find-uid-response): The UID is the last element in the list.
2149 (nnimap-request-set-mark): Extend syntax with 'set.
2151 * nnml.el (nnml-request-set-mark): Ditto.
2153 * nnfolder.el (nnfolder-request-set-mark): Ditto.
2155 * nntp.el (nntp-request-set-mark): Ditto.
2157 2010-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
2159 * message.el (message-called-interactively-p): A temporary macro.
2160 (message-goto-body): Use it temporarily.
2162 2010-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2164 * nnimap.el (nnimap-unfold-quoted-lines): Refactor out.
2165 (nnimap-last-response-string): Unfold quoted lines, if they exist.
2166 (nnimap-last-response-string): Fix last unfolding fix.
2168 2010-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
2170 * shr.el (shr-insert): Fix the way to fold lines.
2172 2010-11-25 Julien Danjou <julien@danjou.info>
2174 * shr-color.el (shr-color->hexadecimal): Use color-rgb->hex
2176 * color.el: Rename from color-lab.el
2177 (color-rgb->hex): Add.
2178 (color-complement): Add.
2179 (color-complement-hex): Add.
2181 * gnus-sum.el (gnus-summary-widget-forward): Add, and bind to [tab].
2183 2010-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2185 * shr-color.el (shr-color-visible): Don't bug out if the colour names
2188 2010-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
2190 * mml.el (mml-preview): Make sure to bind gnus-displaying-mime to nil,
2191 assuming that article displaying or another mml-preview may be
2192 interrupted for an error or for the like.
2194 * shr.el (shr-get-background): Fix argument name.
2196 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2198 * gnus-cache.el (gnus-summary-insert-cached-articles): Use it.
2200 * gnus-sum.el (gnus-summary-include-articles): New function.
2202 * message.el (message-goto-body): called-interactively-p needs a
2203 parameter, so use `any'.
2205 * nnimap.el (nnimap-request-move-article): It's no longer necessary to
2206 clear marks before moving, since they're synced from the Gnus side
2209 * gnus-sum.el (gnus-summary-push-marks-to-backend): New function.
2210 (gnus-summary-move-article): Copy over all marks before moving, so that
2211 IMAP doesn't think a new article has arrived.
2213 2010-11-24 Julien Danjou <julien@danjou.info>
2215 * shr.el (shr-insert-background-overlay): Fix typo.
2216 (shr-render-td): Copy the background before rendering.
2218 * shr-color.el (shr-color-visible): Fix docstring.
2220 * shr.el (shr-tag-table): Add bgcolor support.
2221 (shr-render-td): Add bgcolor support.
2222 (shr-get-background): Add.
2223 (shr-insert-foreground-overlay): Use shr-get-background.
2225 * message.el (message-goto-body): Use called-interactively-p.
2226 (message-in-body-p): message-goto-body returns point.
2228 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2230 * mm-util.el (mm-enable-multibyte): Use `to' instead of t. This fixes
2231 Fixes something or other in Emacs 23, and is backwards compatible.
2233 * message.el (message-goto-body): Remove the <#secure special-casing,
2234 which is too special.
2236 * shr.el (shr-parse-style): Drop !important from styles.
2238 2010-11-24 Daniel Schoepe <daniel.schoepe@googlemail.com> (tiny change)
2240 * gnus-sum.el (gnus-summary-articles-in-thread): Fix a bug that causes
2241 this function to return incorrect results when calling it with an
2242 explicit article argument different from
2243 (gnus-summary-article-number).
2245 2010-11-24 Julien Danjou <julien@danjou.info>
2247 * shr.el (shr-insert-color-overlay): Replace deprecated syntax.
2248 (shr-tag-body): Add background support.
2249 (shr-descend): Add background support.
2250 (shr-tag-title): Add.
2252 * shr-color.el (shr-color-visible): Really return original background
2255 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2257 * shr.el (shr-color-check): Protect against non-existent colour names.
2259 2010-11-24 Julien Danjou <julien@danjou.info>
2261 * color-lab.el: Require 'cl when compiling.
2263 * shr.el (shr-insert-color-overlay): Remove specific rgb() check.
2265 * shr-color.el (shr-color->hexadecimal): Only return the hexadecimal
2268 * color-lab.el: Fix all expt calls to use float type.
2270 2010-11-24 Katsumi Yamaoka <yamaoka@jpl.org>
2272 * shr.el (shr-insert-color-overlay): Pass rgb(rrr, ggg, bbb) type color
2273 expression to shr-color-check as is.
2275 * shr-color.el (shr-color->hexadecimal): Ignore case of color names.
2277 * color-lab.el: Add coding cookie.
2278 (float-pi): Use eval-and-compile.
2280 * dgnushack.el (dgnushack-compile): Exclude shr-color.el from being
2281 compiled for Emacsen having no `libxml-parse-html-region' support.
2283 2010-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2285 * shr.el (shr-insert-color-overlay): Split stuff like
2286 "#444444 !important" to find the real colour.
2287 (shr-tag-font): Resurrect shr-tag-font again, since it's needed to
2288 parse <font color="red"> entries.
2290 2010-11-23 Andrew Cohen <cohen@andy.bu.edu>
2292 * nnheader.el (nnheader-parse-head): Bug fix. Properly position
2293 point when parsing headers.
2295 * nnspool.el (nnspool-insert-nov-head): Bug fix. Make sure point
2296 is positioned properly when parsing headers.
2298 2010-11-23 Julien Danjou <julien@danjou.info>
2300 * color-lab.el (boundp): Bind float-pi for Emacs < 23.3.
2302 * shr-color.el (shr-color->hexadecimal): Add support for color names.
2304 * shr.el (shr-parse-style): Replace \n with space in style parsing.
2306 * shr-color.el (shr-color-hsl-to-rgb-fractions):
2307 Use shr-color-hue-to-rgb.
2308 (shr-color->hexadecimal): Call shr-color-hsl-to-rgb-fractions.
2310 2010-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2312 * shr.el (shr-color->hexadecimal): Autoload.
2313 (shr-descend): Add color to all tags.
2315 2010-11-22 Julien Danjou <julien@danjou.info>
2317 * shr.el (shr-tag-color-check): Convert colors to hexadecimal with
2318 shr-color->hexadecimal.
2320 * shr-color.el (shr-color->hexadecimal): Add converting functions for
2321 RGB() or HSL() color representation.
2323 * shr.el (shr-tag-font): Add.
2324 (shr-tag-color-check): New function to get better colors.
2325 (shr-tag-insert-color-overlay): Factorize code between tag-font and
2328 * shr-color.el: New file.
2330 * color-lab.el: New file.
2332 * gnus-art.el (gnus-url-mailto): Do not downcase args.
2334 2010-11-21 Andrew Cohen <cohen@andy.bu.edu>
2336 * nnir.el: Fix typo in comments.
2337 (nnir-run-imap): Simplify code. No need to reverse artlist.
2338 (nnir-run-gmane): Use nnir-tmp-buffer for web results.
2340 2010-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2342 * gnus-srvr.el (gnus-server-show-server): New command and keystroke.
2344 * nnimap.el (nnimap-get-capabilities): Refactor out.
2345 (nnimap-open-connection): Re-request capabilities after STARTTLS.
2347 2010-11-21 Ralf Angeli <angeli@caeruleus.net>
2349 * mm-uu.el (mm-uu-type-alist): Prevent spurious empty line from
2350 appearing when `mm-uu-hide-markers' is nil.
2352 2010-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2354 * nnimap.el (nnimap-unselect-group): Make into its own function.
2355 (nnimap-request-rename-group): Unselect group before renaming.
2356 This had gotten lost somewhere.
2357 (nnimap-request-accept-article): Keep track of examined groups, and
2358 unselect the group before APPENDing to read-only groups.
2359 (nnimap-request-move-article): Clear flags before moving so that they
2360 can be re-set later.
2362 2010-11-20 Katsumi Yamaoka <yamaoka@jpl.org>
2364 * gnus-gravatar.el (gnus-gravatar-transform-address): Decode name again.
2365 (gnus-gravatar-insert): Put avatar always in the beginning of the field.
2367 2010-11-19 Katsumi Yamaoka <yamaoka@jpl.org>
2369 * gnus-art.el (gnus-mime-display-single)
2370 * gnus-html.el (gnus-html-wash-images, gnus-html-prefetch-images)
2371 * mm-decode.el (mm-shr): Assume that gnus-inhibit-images may be a group
2374 2010-11-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2376 * shr.el (shr-table-horizontal-line): Rename from shr-table-line.
2377 (shr-table-vertical-line): New variable.
2378 (shr-insert-table): Use it.
2380 2010-11-18 Katsumi Yamaoka <yamaoka@jpl.org>
2382 * gnus-html.el (gnus-html-wash-images): Don't display images if
2383 gnus-inhibit-images is non-nil; register displayer for cid images.
2384 (gnus-html-display-image): Work for cid image.
2385 (gnus-html-insert-image): Allow arguments.
2386 (gnus-html-put-image): Inhibit read-only.
2387 (gnus-html-prefetch-images): Don't prefetch images if
2388 gnus-inhibit-images is non-nil.
2390 2010-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2392 * shr.el (shr-put-image): Break lines when inserting big pictures.
2394 2010-11-17 Daniel Dehennin <daniel.dehennin@baby-gnu.org>
2396 * mml2015.el (mml2015-epg-encrypt): Fix two cons with missing
2397 sender, thanks Katsumi Yamaoka.
2399 2010-11-17 Andrew Cohen <cohen@andy.bu.edu>
2401 * nnir.el (nnir-run-imap): Reverse the article list for each group
2402 rather than the whole list.
2404 2010-11-17 Katsumi Yamaoka <yamaoka@jpl.org>
2406 * shr.el (shr-image-displayer): Protect function against non-existent
2409 * gnus-art.el (gnus-inhibit-images): New user option.
2410 (gnus-mime-display-single): Don't display image if it is non-nil.
2412 * mm-decode.el (mm-shr): Bind shr-inhibit-images to the value of
2413 gnus-inhibit-images.
2415 * shr.el (shr-image-displayer): New function.
2416 (shr-tag-img): Use it.
2418 2010-11-16 Daniel Dehennin <daniel.dehennin@baby-gnu.org>
2420 * mml2015.el (mml2015-epg-sign): Use From header.
2422 2010-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2424 * gnus-html.el (gnus-html-wash-images): Register a displayer.
2426 * gnus-util.el (gnus-find-text-property-region): Return markers.
2428 * shr.el (shr-tag-img): Put a displayer in the text property.
2430 * gnus-util.el (gnus-find-text-property-region): New utility function.
2432 * gnus-html.el (gnus-html-display-image): Make the alt optional.
2433 (gnus-html-show-images): Remove.
2435 * gnus-art.el (gnus-article-show-images): New, more general function.
2437 * gnus-html.el: Use image-url instead of gnus-image-url to unify the
2438 image url text properties.
2442 * gnus-agent.el (gnus-agentize): Only do the auto-agentizing if
2443 gnus-agent-auto-agentize-methods is set. Which it isn't.
2445 2010-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2447 * gnus-sum.el (gnus-summary-move-article): Fix `while' loop to make it
2448 work for two or more articles.
2450 2010-11-12 Katsumi Yamaoka <yamaoka@jpl.org>
2452 * gnus-art.el (article-treat-non-ascii): Keep text properties not to
2453 divide an image that's in an html article to two or more when washing
2454 non-ASCII characters in alt text of it.
2456 2010-11-11 Katsumi Yamaoka <yamaoka@jpl.org>
2458 * mm-decode.el (mm-dissect-buffer): Pass sender's mail address to
2459 smime-decrypt-region using function argument.
2460 (mm-possibly-verify-or-decrypt, mm-dissect-multipart): Relay it.
2462 * mm-view.el (mm-view-pkcs7, mm-view-pkcs7-decrypt): Relay it.
2464 * smime.el (smime-decrypt-region): Catch it.
2466 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2468 * smime.el (smime-mode-map): Move initialization into declaration.
2469 (gnus-run-mode-hooks): Don't autoload.
2470 (smime-mode): Use define-derived-mode.
2472 2010-11-11 Glenn Morris <rgm@gnu.org>
2474 * smime.el (from): Restrict declaration to XEmacs.
2476 * nnir.el (gnus-group-topic-name): Autoload.
2478 2010-11-11 Katsumi Yamaoka <yamaoka@jpl.org>
2480 * shr.el (shr-insert): Don't break long line if it is because of
2481 kinsoku-bol characters in the line end.
2483 2010-11-11 Andrew Cohen <cohen@andy.bu.edu>
2485 * nnir.el (nnir-request-move-article): Fix to provide original group
2487 (nnir-warp-to-article): Don't fail on articles whose headers haven't
2490 * gnus-sum.el (gnus-summary-move-article): Use original group and
2491 subject for virtual articles such as those in an nnir summary buffer.
2493 2010-11-11 Katsumi Yamaoka <yamaoka@jpl.org>
2495 * gnus-art.el (article-treat-non-ascii): Make it work for XEmacs (at
2498 * smime.el (from): Declare it again for XEmacs.
2500 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2502 * message.el (message-resend): Don't disable encoding unless it's
2505 * nnimap.el (nnimap-update-info): Fix problem with `g' chopping of
2506 low-numbered articles.
2508 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2510 * rfc2047.el (rfc2047-syntax-table): Simplify.
2512 * lpath.el: Fbind set-char-table-range for XEmacs 21.4 and SXEmacs 22.1.
2514 * gnus-art.el (article-treat-non-ascii): Use put-char-table instead of
2515 set-char-table-range for XEmacs.
2517 2010-11-10 Glenn Morris <rgm@gnu.org>
2519 * time-date.el (time-to-seconds): Always an alias on Emacs,
2520 never a real function.
2521 (with-no-warnings): Remove compat stub, now unused.
2522 (time-less-p): Doc fix.
2523 (time-to-number-of-days): Simplify.
2525 * smime.el (from): Remove unused declaration.
2527 * gnus-util.el (with-no-warnings): Remove compat stub, now unused.
2528 (gnus-float-time): On Emacs, always an alias.
2530 * ecomplete.el (with-no-warnings): Remove compat stub, now unused.
2531 (ecomplete-add-item): Use float-time on Emacs, else gnus-float-time.
2533 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2535 * dgnushack.el: Don't use ignore-errors in the top level form since it
2536 is unavailable in XEmacs even if cl is loaded.
2538 * gnus-art.el (org-entities): Declare it to silence the byte compiler.
2540 2010-11-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2542 * shr.el (browse-url-mailto): Autoload.
2544 * gnus-art.el (article-treat-non-ascii): New command and keystroke.
2546 * message.el (message-subject-trailing-was-ask-regexp): A ] in a []
2547 regexp doesn't need quoting.
2549 2010-11-09 Sven Joachim <svenjoac@gmx.de>
2551 * message.el (message-subject-trailing-was-ask-regexp)
2552 (message-subject-trailing-was-regexp): Match was: in addition to was.
2554 2010-11-09 Glenn Morris <rgm@gnu.org>
2556 * nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
2557 (nnbabyl-check-mbox): Use point-at-bol.
2559 2010-11-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2561 * shr.el (shr-browse-url): Call browse-url-mailto for mailto: links.
2563 * message.el (message-mailto): New function.
2564 (message-mailto): Should accept other parameters.
2565 (message-mailto): Remove since it duplicates browse-url-mailto
2568 2010-11-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2570 * gnus-start.el (gnus-get-unread-articles): Ignore totally non-existent
2572 (gnus-read-active-file): Ditto.
2574 * gnus-group.el (gnus-group-read-ephemeral-group): Remove superfluous
2575 ": " from the prompt.
2576 (gnus-group-make-group): Ditto.
2578 2010-11-07 Glenn Morris <rgm@gnu.org>
2580 * gnus-bookmark.el (gnus-bookmark-bmenu-show-infos)
2581 (gnus-bookmark-kill-line): Use point-at-eol.
2583 2010-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
2585 * gnus-gravatar.el (gnus-gravatar-transform-address): No need to skip
2586 asterisks in From header.
2588 2010-11-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2590 * gnus-ems.el (gnus-put-image): Use a blank text as the insertion
2591 string to avoid making the From headers syntactically invalid.
2593 * message.el (message-send-mail): Don't insert courtesy messages if the
2594 message already has List-Post and List-ID messages.
2596 2010-11-06 Glenn Morris <rgm@gnu.org>
2598 * gnus-art.el (gnus-treat-article): Give dynamic local variables
2599 `condition', `type', `length' a prefix.
2600 (gnus-treat-predicate): Update for above name changes.
2602 2010-11-06 Andrew Cohen <cohen@andy.bu.edu>
2604 * nnir.el (gnus-summary-nnir-goto-thread): Remove function and
2605 binding. Handled by `gnus-summary-refer-thread' instead.
2606 (nnir-warp-to-article): New backend function.
2608 * nnimap.el (nnimap-request-thread): Force dependency updating.
2610 * gnus-sum.el (gnus-fetch-headers): Allow more arguments.
2611 (gnus-summary-refer-thread): Rework to improve thread-referral.
2613 * gnus-int.el (gnus-warp-to-article): New function.
2615 * gnus-sum.el (gnus-summary-article-map): Bind it.
2617 2010-11-04 Andrew Cohen <cohen@andy.bu.edu>
2619 * nnir.el (gnus-summary-nnir-goto-thread): Limit work done by
2620 gnus-summary-refer-thread.
2622 * gnus-sum.el (gnus-build-all-threads): Force updating of dependency
2624 (gnus-summary-limit-include-thread): Prevent articles in thread from
2625 being cut in gnus-cut-threads.
2626 (gnus-summary-refer-thread): Limit retrieved headers to those in
2629 2010-11-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2631 * message.el (message-send-mail): Use the value of
2632 message-courtesy-message from the message buffer.
2634 * gnus-html.el (gnus-html-browse-url): Implement mailto: URLs.
2636 * shr.el (shr-browse-url): Implement mailto: URLs.
2638 * gnus-sum.el (gnus-summary-show-article): Take `t' as the arg to mean
2641 * nnimap.el (nnimap-find-article-by-message-id): Don't EXAMINE a group
2642 if it's already selected.
2644 * mm-decode.el (mm-save-part): Put the entire path in the `M-n' slot.
2646 2010-11-04 Katsumi Yamaoka <yamaoka@jpl.org>
2648 * shr.el (shr-tag-img): Use string-width and truncate-string-to-width
2649 to measure the length and truncate alt text.
2651 2010-11-03 Glenn Morris <rgm@gnu.org>
2653 * nndiary.el (nndiary-generate-nov-databases-1)
2654 (nndiary-generate-active-info): Rename dynamic variable `files' to
2655 something less generic.
2657 2010-11-03 Andrew Cohen <cohen@andy.bu.edu>
2659 * nnir.el (nnir-request-move-article): Call the underlying backend to
2660 move articles from nnir.
2662 2010-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2664 * gnus-cite.el (gnus-article-natural-long-line-p): Remove.
2666 2010-11-02 Julien Danjou <julien@danjou.info>
2668 * nnir.el: Remove wais support.
2670 2010-11-02 Glenn Morris <rgm@gnu.org>
2672 * gnus-html.el: Reorder requirements to quieten compiler.
2674 2010-11-02 Katsumi Yamaoka <yamaoka@jpl.org>
2676 * gnus-cite.el (gnus-article-fill-cited-article): Make fill work
2677 properly for XEmacs as well.
2678 (gnus-article-fill-cited-article, gnus-article-foldable-buffer)
2679 (gnus-article-natural-long-line-p): Use window-width rather than
2682 2010-11-01 Andrew Cohen <cohen@andy.bu.edu>
2684 * nnir.el (nnir-run-gmane): Inhibit demon. Return nil if no messages.
2685 (nnir-read-parms): Don't modify query.
2686 (nnir-run-query): Add ability to search topic on current line.
2687 (nnir-get-active): Clean up.
2689 2010-11-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2691 * gnus-cite.el (gnus-article-foldable-buffer): Protect against
2692 degenerate articles.
2694 * gnus-sum.el (gnus-print-buffer): Rewrite to use with-temp-buffer.
2695 (gnus-print-buffer): Just print the buffer as is, without any copying
2696 to a buffer and then re-highlighting.
2698 * nnimap.el (nnimap-request-group): Store the new updated info.
2699 (nnimap-request-group): Select the group when we don't know whether it
2702 * gnus-start.el (gnus-ask-server-for-new-groups): Return the new
2705 * gnus-group.el (gnus-group-find-new-groups): Display all the new
2708 * gnus-start.el (gnus-find-new-newsgroups): Return the list of new
2711 * gnus-cite.el (gnus-article-fill-cited-article): Minimize the
2712 long-lines case by only filling the long lines.
2714 * nnimap.el (nnimap-parse-line): Don't bug out oddly formed replies
2717 2010-11-01 Katsumi Yamaoka <yamaoka@jpl.org>
2719 * shr.el: No need to declare `declare-function' since shr.el is for
2720 only Emacsen that provide `libxml-parse-html-region'.
2722 * dgnushack.el: Remove `(defvar iswitchb-temp-buflist)', that is
2723 effective only in a file it is referred to.
2725 2010-11-01 Glenn Morris <rgm@gnu.org>
2727 * mm-util.el (gnus-completing-read): Autoload.
2728 (mm-read-coding-system): Simplify Emacs definition.
2730 * nnmail.el (gnus-activate-group):
2731 * nnimap.el (gnutls-negotiate):
2732 * nntp.el (netrc-parse): Fix declarations.