1 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3 * pop3.el (pop3-open-server): Upgrade opportunistically to STARTTLS.
4 (open-tls-stream): Remove superfluous tls/starttls autoloads.
6 2011-05-01 Lars Magne Ingebrigtsen <lars@ingebrigtsen.no>
8 * gnus.el: No Gnus v0.17 is released.
10 2011-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12 * gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary
13 buffer has moved to a different frame.
15 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17 * nnimap.el (nnimap-request-article): Use nntp-insert-buffer-substring
18 to get the conversion from unibyte to multibyte buffers to work on
21 * nntp.el (nntp-request-article): Slight clean-up.
23 2011-04-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
25 * shr.el (shr-strike-through): New face.
26 (shr-tag-s): Use it to provide <s> support.
27 (shr-tag-s): Remove duplicate definition.
29 2011-04-25 Teodor Zlatanov <tzz@lifelogs.com>
31 * gnus-registry.el (gnus-registry-ignore-group-p): Don't call
32 `gnus-parameter-registry-ignore' if the *Group* buffer doesn't exist.
34 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
36 * proto-stream.el (proto-stream-open-starttls): Give host parameter to
38 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
40 2011-04-23 Glenn Morris <rgm@gnu.org>
42 * gnus-sum.el (gnus-extra-headers): Bump :version.
44 2011-04-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
46 * shr.el (shr-tag-sup): New function.
49 2011-04-22 Teodor Zlatanov <tzz@lifelogs.com>
51 * gnus-registry.el (gnus-registry-ignore-group-p): Test specifically
52 for the case where `gnus-registry-ignored-groups' is a list of lists,
53 and don't call `gnus-parameter-registry-ignore' otherwise.
55 2011-04-21 Teodor Zlatanov <tzz@lifelogs.com>
57 * nnimap.el (nnimap-user): New backend variable.
58 (nnimap-open-connection-1): Use it.
59 (nnimap-credentials): Accept user parameter so it's explicit what user
62 * gnus-sum.el (gnus-extra-headers): Add Keywords, Cc, and Gcc to
65 * gnus.el (gnus-registry-ignored-groups): Provide default in gnus.el,
68 * gnus-registry.el: Mention in comments how to modify
69 `gnus-extra-headers' for proper recipient tracking and that it may
70 already have To and Cc recently, which it does as of this commit.
71 (gnus-registry-ignored-groups): Remove defcustom.
72 Explain why in comments.
73 (gnus-registry-action): Fix data-header reference to use the extra
74 headers. Explain in package commentary how to add To and Cc headers to
75 the gnus-extra-headers.
76 (gnus-registry-ignored-groups): Adjust defaults to match the parameter.
77 (gnus-registry-ignore-group-p): Adjust to take either a group/topic
78 parameter list or a string list in `gnus-registry-ignored-groups'. Fix
81 2011-04-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
83 * shr.el (shr-expand-url): Protect against null urls.
85 2011-04-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
87 * shr.el (shr-base): New binding.
88 (shr-tag-base): Keep track of <base>.
89 (shr-expand-url): New function used throughout.
91 2011-04-20 Teodor Zlatanov <tzz@lifelogs.com>
94 (gnus-registry--split-fancy-with-parent-internal): Fix loop bugs.
95 (gnus-registry-ignored-groups): New variable.
96 (gnus-registry-ignore-group-p): Use it.
97 (gnus-registry-handle-action): Use `gnus-registry-ignore-group-p' and
98 set the destination group to nil (same as delete) if it's ignored.
100 2011-04-20 David Engster <dengste@eml.cc>
102 * tests/gnustest-nntp.el: New file for simple NNTP testing.
104 * Makefile.in (test-nntp): New rule.
106 (test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'.
108 2011-04-20 Katsumi Yamaoka <yamaoka@jpl.org>
110 * gnus-registry.el (gnus-registry-action)
111 (gnus-registry-fetch-header-fast):
112 Don't use mail-header that looks an internal function of mailheader.el.
114 2011-04-19 Glenn Morris <rgm@gnu.org>
116 * time-date.el (time-to-days): Remove unused local variables.
118 2011-04-18 Katsumi Yamaoka <yamaoka@jpl.org>
120 * gnus-registry.el: Eliminate cl functions.
121 (gnus-registry-sort-addresses): New function that replaces mapcan.
122 (gnus-registry-action, gnus-registry-spool-action)
123 (gnus-registry-split-fancy-with-parent)
124 (gnus-registry-fetch-recipients-fast): Use it.
125 (gnus-registry-import-eld): Replace delete* with dolist + delq.
127 * registry.el (initialize-instance, registry-lookup)
128 (registry-lookup-breaks-before-lexbind, registry-lookup-secondary)
129 (registry-lookup-secondary-value, registry-search, registry-delete)
130 (registry-insert, registry-reindex, registry-size, registry-prune):
131 Use eval-and-compile.
133 2011-04-16 Teodor Zlatanov <tzz@lifelogs.com>
135 * registry.el (registry-reindex): New method to recreate the secondary
138 * gnus-registry.el (gnus-registry-fixup-registry): Use it if the
139 tracked field changes.
140 (gnus-registry-unfollowed-addresses, gnus-registry-track-extra)
141 (gnus-registry-action, gnus-registry-spool-action)
142 (gnus-registry-handle-action)
143 (gnus-registry--split-fancy-with-parent-internal)
144 (gnus-registry-split-fancy-with-parent)
145 (gnus-registry-register-message-ids): Add recipient tracking on spool,
146 move, and delete actions, and for fancy splitting with parent.
147 (gnus-registry-extract-addresses)
148 (gnus-registry-fetch-recipients-fast)
149 (gnus-registry-fetch-header-fast): Convenience functions.
150 (gnus-registry-misc-test): ERT test of
151 `gnus-registry-extract-addresses'.
153 2011-04-15 Teodor Zlatanov <tzz@lifelogs.com>
155 * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
156 Track by subject first, then sender.
158 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
160 * message.el (message-bogus-system-names): Replace ^...$ => \`...\'.
162 * gnus.el (gnus-splash-svg-color-symbols): Don't use insert-file from
165 * gnus-draft.el (gnus-draft-setup): New arg `dont-pop'.
166 (gnus-draft-send): Use it to avoid popping
167 up frames from gnus-group-send-queue.
169 2011-04-14 Teodor Zlatanov <tzz@lifelogs.com>
171 * gnus-registry.el: Updated gnus-registry docs.
173 2011-04-12 Teodor Zlatanov <tzz@lifelogs.com>
175 * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
177 (gnus-registry-post-process-groups): Fix logging of no results and
178 quote sender and subject.
180 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
182 * proto-stream.el (proto-stream-open-starttls): Only do opportunistic
183 STARTTLS upgrades if we have built-in gnutls support. Upgrades via
184 gnutls-cli are too slow to be done opportunistically.
186 * gnus-start.el (gnus-get-unread-articles): Slight cleanup.
187 (gnus-read-active-for-groups): Don't try to finish getting stuff where
188 we had no early-data returned.
189 (gnus-get-unread-articles): Add a sanity check so that we don't issue
190 two async commands to the same server at the same time.
192 2011-04-12 Stig Sandbeck Mathisen <ssm@fnord.no> (tiny change)
194 * gnus-sum.el (gnus-summary-select-article-buffer): Doc fix.
196 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
198 * gnus-registry.el (gnus-registry-remake-db): Put the warning on a
201 * mm-url.el (mm-url-package-name): Removed to ease third-party reuse.
202 (mm-url-insert-file-contents): Don't set the package names.
204 2011-04-11 Teodor Zlatanov <tzz@lifelogs.com>
206 * gnus-registry.el (gnus-registry-action): Remove properties and
207 simplify subject in `gnus-registry-handle-action'.
208 (gnus-registry-spool-action): Get subject and sender from message if
209 they are not passed in.
210 (gnus-registry-handle-action): Remove properties and simplify subject
213 2011-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
215 * registry.el: Require CL before using defmacro*.
217 2011-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
219 * gnus-art.el (article-treat-date): Assume that
220 gnus-article-date-headers may be a group parameter.
222 2011-04-07 Teodor Zlatanov <tzz@lifelogs.com>
224 * gnus-registry.el (gnus-registry-handle-action): More debugging.
226 * gnus-start.el (gnus-gnus-to-newsrc-format): Add a way to run
227 interactively so the newsrc file can contain foreign groups too.
228 Useful for debugging but not much for users.
230 2011-04-07 David Engster <dengste@eml.cc>
232 * registry.el (registry-usage-test): Only do
233 `registry-lookup-breaks-before-lexbind' testing for Emacs24 with
236 2011-04-07 David Engster <dengste@eml.cc>
238 * Makefile.in (check, test-registry): New rules for test-suite.
240 2011-04-06 David Engster <dengste@eml.cc>
242 * registry.el, gnus-registry.el: Use `ignore-errors' instead of third
243 argument NOERROR for `require', since XEmacs 21.4 does not support it.
245 2011-04-06 David Engster <dengste@eml.cc>
247 * registry.el (initialize-instance): Change :after to :AFTER to be
248 compatible with old EIEIO version in XEmacs.
250 2011-04-06 Teodor Zlatanov <tzz@lifelogs.com>
252 * gnus-registry.el (gnus-registry-post-process-groups)
253 (gnus-registry--split-fancy-with-parent-internal): Fix splitting bugs
254 and provide better messaging.
256 2011-04-06 David Engster <dengste@eml.cc>
258 * Makefile.in (fail-on-warning): New rule to compile with warnings as
261 * dgnushack.el (dgnushack-compile-error-on-warn): New function to call
262 dgnushack-compile with error-on-warn enabled, and to signal an error if
263 clean compilation failed.
264 (dgnushack-compile): New argument 'error-on-warn'. If non-nil, compile
265 with `byte-compile-error-on-warn'. Return nil if errors occured.
267 2011-04-06 Teodor Zlatanov <tzz@lifelogs.com>
269 * gnus-registry.el: Don't use ERT if it's not available. Load it
270 unconditionally anyway, discarding errors.
271 (gnus-registry-delete-entries): New convenience function.
272 (gnus-registry-import-eld): Import from old .eld registry.
274 * registry.el: Don't use ERT if it's not available. Load it
275 unconditionally anyway, discarding errors.
277 * proto-stream.el (gnutls-negotiate): Revert inadvertent commit of the
278 version from the Claudio Bley GnuTLS patch (extra optional parameters
281 2011-04-05 Teodor Zlatanov <tzz@lifelogs.com>
283 * gnus-registry.el (gnus-registry-fixup-registry): New function to
284 fixup the parameters that can be customized by the user between
286 (gnus-registry-read): Use it.
287 (gnus-registry-make-db): Use it.
288 (gnus-registry-spool-action, gnus-registry-handle-action): Fix
290 (gnus-registry--split-fancy-with-parent-internal): Fix loop. Map
291 references to actual group names with sender and subject tracking.
292 (gnus-registry-post-process-groups): Use `cond' for better messaging.
293 (gnus-registry-usage-test): Add subject lookup test.
295 * registry.el (registry-db, initialize-instance): Set up constructor
296 instead of :initform arguments for the sake of older Emacsen.
297 (registry-lookup-breaks-before-lexbind): New method to demonstrate
298 pre-lexbind merge bug.
299 (registry-usage-test): Use it.
300 (initialize-instance, registry-db): Move the non-function initforms
301 back to the class definition.
303 2011-04-03 Teodor Zlatanov <tzz@lifelogs.com>
305 * registry.el: New library to manage gnus-registry-style data.
307 * gnus-registry.el: Use it (major rewrite).
309 * nnregistry.el: Use it.
313 2011-04-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
315 * gnus-sum.el (gnus-update-marks): Reinstate the code to not alter
316 marks on non-selected articles.
318 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
320 * nnimap.el (nnimap-open-connection-1): Pass explicit :end-of-command
321 parameter to open-protocol-stream.
323 2011-04-01 Julien Danjou <julien@danjou.info>
325 * mm-view.el (mm-display-inline-fontify): Do not fontify with
328 2011-04-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
330 * gnus-start.el (gnus-get-unread-articles): Don't try to contact denied
333 2011-03-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
335 * gnus-sum.el (gnus-update-marks): Revert intersection change, which
336 made marks not propagate, again.
338 2011-03-30 Chong Yidong <cyd@stupidchicken.com>
340 * proto-stream.el (open-protocol-stream): Bring back `network' type.
341 Make this the default type.
342 (proto-stream-open-plain): Rename from proto-stream-open-default.
343 (open-protocol-stream, proto-stream-open-starttls)
344 (proto-stream-open-tls, proto-stream-open-shell): Replace `default'
347 * nnimap.el (nnimap-stream, nnimap-open-connection-1): Accept `network'
350 * nntp.el (nntp-open-connection-function): Document the fact that some
351 values are not functions but are instead handled specially. Recognize
352 nntp-open-plain-stream value.
353 (nntp-open-connection): Recognize that value.
355 2011-03-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
357 * dgnushack.el: Only do the defcustom compilation thing on XEmacs,
358 where it seems to be needed.
360 2011-03-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
362 * gssapi.el (open-gssapi-stream): Remove the last mentions of the IMAP
365 * gnus-score.el (gnus-score-string): Fix calling convention of
366 `gnus-simplify-buffer-fuzzy' after last patches.
368 * gnus-sum.el (gnus-update-marks): Don't send any marks updates to the
369 server for articles we didn't get any headers for. This is a sanity
372 2011-03-29 Michael Welsh Duggan <md5i@md5i.com>
374 * nnimap.el (nnimap-open-connection-1): Is the login responds with a
375 new CAPABILITY, use it.
377 2011-03-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
379 * gnus-agent.el (gnus-agent-fetch-headers): Don't message if we're not
380 downloading anything.
382 * gnus.el (gnus-splash-svg-color-symbols): Removed superfluous `and'.
384 2011-03-29 Adam Sjøgren <asjo@koldfront.dk>
386 * gnus.el (gnus-group-startup-message): Prefer svg file and replace
388 (gnus-splash-svg-color-symbols): New function.
390 2011-03-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
392 * gnus-sum.el (gnus-simplify-buffer-fuzzy): Take the regexp explicitly
393 instead of using the global gnus-simplify-subject-fuzzy-regexp.
394 (gnus-simplify-subject-fuzzy): Use the local
395 gnus-simplify-subject-fuzzy-regex instead of the global one. This
396 makes using this variable in group parameters work.
398 2011-03-29 Teodor Zlatanov <tzz@lifelogs.com>
400 * gnus-registry.el (gnus-registry-unfollowed-groups): Add
401 "archive:sent" to the unfollowed group regex (for the recent Gnus
402 archive:sent-YYYY-MM-DD groups).
403 (gnus-registry-split-fancy-with-parent): Bail out early in sender
404 tracking if there are more than `gnus-registry-max-track-groups'
407 2011-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
409 * message.el (message--yank-original-internal): New function to do the
410 insertion cleanly inside eval in `message-yank-original'.
411 (message-yank-original): Use it.
413 2011-03-29 Julien Danjou <julien@danjou.info>
415 * mm-view.el (mm-display-inline-fontify): Use `set-normal-mode' with
416 local variables disabled rather than `normal-mode'.
418 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
420 * imap.el (imap-shell-open, imap-process-connection-type): Use
421 imap-process-connection-type for 'shell' streams as well as
422 Kerberos, SSL, other subprocesses.
424 2011-03-26 Chong Yidong <cyd@stupidchicken.com>
426 * proto-stream.el: Changes preparatory to merging open-protocol-stream
427 with open-network-stream.
428 (proto-stream-always-use-starttls): Option removed.
429 (open-protocol-stream): Return a process object by default. Provide a
430 new parameter :return-list specifying a list-type return value, which
431 now has the form (PROP . PLIST) instead of a fixed-length list. Change
432 :type `network' to `try-starttls', and `network-only' to `default'.
433 Make `default' the default, for compatibility with open-network-stream.
434 Handle the no-parameter case exactly as open-network-stream, with no
435 additional stream processing. Search plists using plist-get.
436 Explicitly add :end-of-commend parameter if it is missing.
437 (proto-stream-open-default): Renamed from
438 proto-stream-open-network-only. Return 'default as the type.
439 (proto-stream-open-starttls): Rename from proto-stream-open-network.
440 Use plist-get. Don't return `tls' as the type if STARTTLS negotiation
441 failed. Always return a list with a (possibly dead) process as the
442 first element, for compatibility with open-network-stream.
443 (proto-stream-open-tls): Use plist-get. Always return a list.
444 (proto-stream-open-shell): Return `default' as connection type.
445 (proto-stream-capability-open): Use plist-get.
446 (proto-stream-eoc): Function deleted.
448 * nnimap.el (nnimap-stream, nnimap-open-connection)
449 (nnimap-open-connection-1): Handle renaming of :type parameter for
450 open-protocol-stream.
451 (nnimap-open-connection-1): Pass a :return-list parameter
452 open-protocol-stream to obtain a list return value. Parse this list
455 * nntp.el (nntp-open-connection): Handle renaming of :type parameter
456 for open-protocol-stream. Accept open-protocol-stream return value
457 that is a subprocess object instead of a list. Handle the case of a
458 dead returned process.
460 2011-03-25 Teodor Zlatanov <tzz@lifelogs.com>
462 * mm-util.el (mm-handle-filename): Move to mm-decode.el (bug#8330).
464 * mm-decode.el (mm-handle-filename): Move from mm-util.el (bug#8330).
466 2011-03-21 Julien Danjou <julien@danjou.info>
468 * mm-view.el (mm-display-inline-fontify): Make mode optional, and call
469 normal-mode if not set. Set temp buffer unmodified to avoid kill-buffer
471 (mm-inline-text): Render normal text with fontification whenever
474 * gnus-sum.el (gnus-summary-save-parts-1):
475 * gnus-art.el (gnus-article-browse-html-save-cid-content)
476 (gnus-article-browse-html-parts, gnus-mime-delete-part)
477 (gnus-mime-copy-part, gnus-mime-inline-part, gnus-insert-mime-button):
478 Use `mm-handle-filename'.
480 * mm-util.el (mm-handle-filename): New function, return the filename of
483 2011-03-18 Julien Danjou <julien@danjou.info>
485 * gnus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
486 (gnus-buffer-live-p): Check that buffer is not nil.
488 2011-03-17 Lars Magne Ingebrigtsen <lars@ingebrigtsen.no>
490 * gnus.el: No Gnus v0.15 is released.
492 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
494 * time-date.el (format-seconds): Use assoc instead of assoc-string to
495 avoid warning on XEmacs.
497 * dgnushack.el: Bind help-echo-owns-message to avoid a compiler warning
500 * gnus-art.el: Require mouse, which the build bot seems to say is
503 * dgnushack.el: Define url-retrieve-synchronously unless not defined.
505 * gravatar.el (gravatar-retrieve-synchronously): Use `url-retrieve' on
506 XEmacs, since it doesn't have url-retrieve-synchronously.
508 * time-date.el (format-seconds): Use assoc instead of assoc-string,
509 since assoc-string doesn't exist in XEmacs.
511 2011-03-17 Antoine Levitt <antoine.levitt@gmail.com>
513 * gnus-group.el (gnus-group-list-ticked): New function.
514 (gnus-group-make-menu-bar): Provide a menu entry for it.
515 (gnus-group-list-map): Provide a binding for it.
517 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
519 * shr.el (shr-visit-file): New command.
521 * nnimap.el (nnimap-fetch-inbox): Rewrite slightly last patch.
523 2011-03-17 Bjørn Mork <bjorn@mork.no>
525 * nnimap.el (nnimap-fetch-inbox): Don't download bodies on ver4-capable
528 2011-03-16 Julien Danjou <julien@danjou.info>
530 * mm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are
533 * gnus-art.el (article-hide-list-identifiers): Use
534 gnus-group-get-list-identifiers.
536 * gnus-sum.el (gnus-group-get-list-identifiers): New function.
537 (gnus-summary-remove-list-identifiers): Use
538 gnus-group-get-list-identifiers to get regexp.
539 (gnus-select-newsgroup, gnus-summary-insert-subject)
540 (gnus-summary-insert-articles): Call
541 gnus-summary-remove-list-identifiers unconditionally.
543 2011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
545 * gnus-sum.el (gnus-articles-to-read): Revert back to old behaviour if
546 we're selecting a group with unread articles.
548 * nnimap.el (nnimap-open-connection-1): Allow `network-only', too.
550 * gssapi.el: New file separated out from imap.el to provide a general
551 Kerberos 5 connection facility for Emacs.
553 * message.el (message-elide-ellipsis): Document the format spec
556 2011-03-15 Reiner Steib <Reiner.Steib@gmx.de>
558 * message.el (message-elide-region): Allow the ellipsis to say how many
561 2011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
563 * gnus-win.el (gnus-configure-frame): Protect against trying to restore
564 window configurations containing buffers that are now dead.
566 * nnimap.el (nnimap-parse-flags): Remove all MODSEQ entries before
567 parsing to avoid integer overflows.
568 (nnimap-parse-flags): Simplify the last change.
569 (nnimap-parse-flags): Store HIGHESTMODSEQ as a string, since it may be
570 too large for 32-bit Emacsen.
572 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
574 * auth-source.el (auth-source-netrc-create):
575 * message.el (message-yank-original): Fix use of `case'.
577 2011-03-15 Nelson Ferreira <nelson.ferreira@ieee.org> (tiny change)
579 * gnus-art.el (gnus-article-treat-body-boundary): Fix boundary width on
580 XEmacs, which was one character too wide.
582 2011-03-09 Antoine Levitt <antoine.levitt@gmail.com>
584 * gnus-sum.el (gnus-articles-to-read): Use gnus-large-newsgroup as
585 default number of articles to display.
586 (gnus-articles-to-read): Use pretty names for prompt.
588 2011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
590 * gnus-int.el (gnus-open-server): Ditto.
592 * gnus-start.el (gnus-activate-group): Give a backtrace if
593 debug-on-quit is set and the user hits `C-g'.
594 (gnus-read-active-file): Ditto.
596 * gnus-group.el (gnus-group-read-ephemeral-group): Ditto.
598 2011-03-15 Teodor Zlatanov <tzz@lifelogs.com>
600 * message.el (message-yank-original): Use cond instead of CL case.
602 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
604 * auth-source.el (auth-source-netrc-create): Use usual format for the
607 2011-03-14 Katsumi Yamaoka <yamaoka@jpl.org>
609 * lpath.el: Fbind read-char-choice for XEmacs.
611 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
613 * auth-source.el (auth-source-netrc-create): Show the default in the
614 prompt when prompting for token creation.
616 2011-03-12 Teodor Zlatanov <tzz@lifelogs.com>
618 * auth-source.el (auth-source-format-prompt): Always convert the value
619 to a string to avoid evaluating non-string arguments.
620 (auth-source-netrc-create): Offer default properly, not as initial
621 content in `read-string'.
622 (auth-source-netrc-saver): Use a cache keyed by file name and MD5 hash
623 of line to determine if we've been run before. If so, don't run again,
624 but print a trivial message to indicate the cache was hit instead.
626 2011-03-11 Teodor Zlatanov <tzz@lifelogs.com>
628 * gnus-sync.el (gnus-sync-install-hooks, gnus-sync-unload-hook):
629 Don't install `gnus-sync-read' to any hooks by default. It's buggy.
630 The user will have to run `gnus-sync-read' manually and wait for Cloudy
633 2011-03-11 Julien Danjou <julien@danjou.info>
635 * mm-uu.el (mm-uu-type-alist): Add support for diff starting with "===
638 2011-03-09 Teodor Zlatanov <tzz@lifelogs.com>
640 * auth-source.el (auth-source-read-char-choice): New function to read a
641 character choice using `dropdown-list', `read-char-choice', or
642 `read-char'. It appends "[a/b/c] " to the prompt if the choices were
643 '(?a ?b ?c). The `dropdown-list' support is disabled for now. Use
644 `eval-when-compile' to load `dropdown-list'. Remove `dropdown-list'.
645 (auth-source-netrc-saver): Use it.
646 (auth-source-pick-first-password): New convenience function.
648 2011-03-08 Teodor Zlatanov <tzz@lifelogs.com>
650 * nnimap.el (nnimap-credentials): Keep the :save-function as the third
651 parameter in the credentials.
652 (nnimap-open-connection-1): Use it after a successful login.
653 (nnimap-credentials): Add IMAP-specific user and password prompt.
655 * auth-source.el (auth-source-search): Add :require parameter, taking a
656 list. Document it and the :save-function return token. Pass :require
657 down. Change the CREATED message from a warning to a debug statement.
658 (auth-source-search-backends): Pass :require down.
659 (auth-source-netrc-search): Pass :require down.
660 (auth-source-netrc-parse): Use :require, if it's given, as a filter.
661 Change save prompt to indicate all modifications saved here are
663 (auth-source-netrc-create): Take user login name as default in user
664 prompt. Move all the save functionality to a lexically bound function
665 under the :save-function token in the returned list. Set up clearer
666 default prompts for user, host, port, and secret.
667 (auth-source-netrc-saver): New function, intended to be wrapped for
670 2011-03-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
672 * shr.el (shr-table-horizontal-line): Change the defaults for the table
673 lines to be spaces instead.
675 2011-03-07 Julien Danjou <julien@danjou.info>
677 * sieve-manage.el (sieve-sasl-auth): Create auth-info if not found.
678 (sieve-sasl-auth): Check that auth-source-search did return something,
679 or just return an empty string.
681 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
683 * gnus.el (gnus-interactive): Use read-directory-name.
685 * gnus-uu.el (gnus-uu-decode-uu-and-save)
686 (gnus-uu-decode-unshar-and-save, gnus-uu-decode-save)
687 (gnus-uu-decode-binhex, gnus-uu-decode-yenc)
688 (gnus-uu-decode-save-view, gnus-uu-decode-postscript-and-save):
691 * gnus-group.el (gnus-group-make-directory-group): Likewise.
693 2011-03-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
695 * gnus-start.el (gnus-group-change-level): Allow putting foreign groups
696 onto the list of killed groups, too. This makes killed nnimap groups,
697 for instance, more reliably not reappear.
699 * nnimap.el (nnimap-request-thread): Don't bug out when we can't find
702 * gnus-sum.el (gnus-update-read-articles): Fix typo.
704 * gnus.el (gnus-valid-select-methods): Mark nnimap as a backend that
705 really have server-side marks.
707 * gnus-sum.el (gnus-propagate-marks): Change default back to nil again,
708 since most backends do not usefully have server-side marks.
709 (gnus-update-read-articles): Propagate marks to all backends that
710 really have server-side marks.
712 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
714 * message.el (message-cite-reply-position, message-cite-style):
716 (message-yank-original): Use the new citation styles.
718 2011-03-04 Daiki Ueno <ueno@unixuser.org>
720 * message.el (message-options): Revert 22da67af (workaround for XEmacs
721 buffer-local issue); don't mark it buffer-local when running under
724 2011-03-03 Tassilo Horn <tassilo@member.fsf.org>
726 * nnimap.el (nnimap-parse-flags): Add a workaround for FETCH lines with
727 numbers too big to be `read'.
729 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
731 * password-cache.el (password-in-cache-p): Add autoload.
733 * message.el (message-options): Make buffer-local two ways to attempt
736 2011-03-02 Julien Danjou <julien@danjou.info>
738 * gnus-art.el (gnus-with-article-buffer): Fix buffer live check.
740 2011-03-01 Julien Danjou <julien@danjou.info>
742 * gnus-art.el (list-identifier): Add list-identifier as a parameter
744 (article-hide-list-identifiers): Use list-identifier group parameter.
746 2011-02-28 Julien Danjou <julien@danjou.info>
748 * sieve.el (sieve-buffer-script-name): New local variable to store
750 (sieve-edit-script): Store sieve script name.
751 (sieve-upload): Use sieve script name when uploading.
752 (sieve-upload): Use substitute-command-keys.
753 (sieve-edit-script): Use substitute-command-keys.
754 (sieve-refresh-scriptlist): Use substitute-command-keys.
755 (sieve-manage-mode-map): Define keymap properly.
756 (sieve-manage-mode): Do not set mode name manually, change mode-name to
757 (sieve-refresh-scriptlist): Use substitute-command-keys."Sieve-manage".
758 Remove commented code about cvs.
759 (sieve-manage-quit): New function.
760 (sieve-manage-mode-map): Bind 'q' to sieve-manage-quit.
762 2011-02-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
764 * gnus-group.el (gnus-import-other-newsrc-file): New function.
766 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
768 * auth-source.el (auth-source-search): Cache empty result sets.
770 * password-cache.el (password-in-cache-p): Convenience function to
771 check if a key is in the cache, even if the value is nil.
773 * auth-source.el (auth-source-save-behavior): New variable to replace
774 `auth-source-never-create'.
775 (auth-source-netrc-create): Use it.
776 (auth-source-never-save): Remove.
778 2011-02-25 Lars Ingebrigtsen <larsi@gnus.org>
780 * nnimap.el (nnimap-stream): Doc fix.
781 (nnimap-open-connection-1): Reverse the order of the ports to that the
782 prompted-for port is first.
784 * gnus-start.el (gnus-get-unread-articles): Don't clobber the async
785 retrieval by the no-group selection.
787 * gnus-demon.el (gnus-demon-init): run-with-timer should be called with
788 numerical parameters.
790 2011-02-25 Julien Danjou <julien@danjou.info>
792 * gnus-gravatar.el: Use gnus-with-article-buffer.
794 * gnus-art.el (gnus-with-article-buffer): Check that the
795 gnus-article-buffer is alive.
797 2011-02-24 Teodor Zlatanov <tzz@lifelogs.com>
799 * auth-source.el (auth-source-creation-prompts): New variable to manage
800 creation-time prompts.
801 (auth-source-search): Document it.
802 (auth-source-format-prompt): Add utility function.
803 (auth-source-netrc-create): Don't default the user name to
804 user-login-name. Use `auth-source-creation-prompts' and some default
805 prompts for user, host, port, and password (the default generic prompt
807 (auth-source-never-save): Add customizable option to never save info.
808 (auth-source-netrc-create): Use it and improve save prompts. Fix help
811 2011-02-24 Katsumi Yamaoka <yamaoka@jpl.org>
813 * auth-source.el (auth-source-netrc-create): Use `read-char' with no
814 argument that XEmacs doesn't support.
816 * dgnushack.el (dgnushack-compile): Exclude color.el from being
817 compiled for Emacsen having no `libxml-parse-html-region' support.
819 * gnus-xmas.el (gnus-xmas-define): Remove gnus-x-color-values.
821 * lpath.el: Bind buffer-save-without-query for XEmacs.
823 2011-02-23 Julien Danjou <julien@danjou.info>
825 * gnus-art.el (article-make-date-line): Ignore errors if time is
826 invalid and not convertible.
827 (article-make-date-line): Only add lapsed time if time is not nil.
829 2011-02-23 Teodor Zlatanov <tzz@lifelogs.com>
831 * auth-source.el (auth-source-netrc-create): Use `read-char' instead of
832 `read-char-choice' for backwards compatibility.
833 (auth-source-netrc-element-or-first): New function to DTRT for
834 parameter extraction.
835 (auth-source-netrc-create): Use it and fix multiple parameter print
836 bug. Use the default passed from above (given-default) or the
837 built-in (user-login-name for :user).
839 2011-02-23 Lars Ingebrigtsen <larsi@gnus.org>
841 * gnus-start.el (gnus-dribble-read-file):
842 Set buffer-save-without-query, since we always want to save the dribble
845 * nnmail.el (nnmail-article-group): Allow a final "" split to work on
848 * gnus-sum.el (gnus-user-date-format-alist): Rename back again from
849 -summary- since it's a user-visible variable.
851 * nnimap.el (nnimap-retrieve-group-data-early): Don't do QRESYNC the
852 first time you use the new Gnus.
854 2011-02-22 Teodor Zlatanov <tzz@lifelogs.com>
856 * auth-source.el: Don't load netrc.el.
857 (auth-sources): Search ~/.netrc as well by default.
858 (auth-source-debug): Add 'trivia option for extra output.
859 (auth-source-do-trivia): Use it.
860 (auth-source-search): Simplify logic to use
861 `auth-source-search-backends'. Use `auth-source-do-trivia' where
862 appropriate. Don't keep a running count at this level. Layer :create
863 and :delete options appropriately on the first and second passes.
864 Don't track the backend with the search results.
865 (auth-source-search-backends): New function to search a list of
866 backends for a processed spec.
867 (auth-source-netrc-parse): Cache all netrc files, making
868 auth-source-netrc-cache an alist keyed by the file name and using the
869 file mtime as the caching criterion. Keep the obfuscated data secret
871 (auth-source-netrc-search): Don't calculate the length of the results
873 (auth-source-search-backends): Fix bug.
874 (auth-source-netrc-create): Rework prompts.
876 2011-02-22 Andrew Cohen <cohen@andy.bu.edu>
878 * nnir.el (nnir-imap-search-arguments,nnir-imap-default-search-key):
879 Lower case names of search constraints.
880 (nnir-run-query): Cache and reuse search constraints for all imap
883 2011-02-22 Lars Ingebrigtsen <larsi@gnus.org>
885 * gnus-msg.el (gnus-inews-add-send-actions): Restore the winconf name
887 (gnus-setup-message): Define missing variable from last checkin.
889 * gnus-sum.el (gnus-summary-show-article): When called with t as the
890 value, show the raw article.
892 2011-02-22 Lars Magne Ingebrigtsen <lars@ingebrigtsen.no>
894 * gnus.el: No Gnus v0.13 is released.
896 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
898 * nnimap.el (nnimap-open-connection-1): Revert last change, since
899 auth-source now accepts numbers.
901 * auth-source.el (auth-source-netrc-parse): Accept a number as the port
903 (auth-source-ensure-strings): New function.
905 * gnus-art.el (gnus-article-update-date-headers): Doc fix.
906 (gnus-article-setup-buffer): Always restart the date timer so that user
907 changes to the frequency is respected.
909 * nnimap.el (nnimap-open-connection-1): auth-source expects strings as
910 port numbers, so make sure it gets that if nnimap-server-port is
913 2011-02-21 Simon Josefsson <simon@josefsson.org>
915 * nnimap.el (nnimap-inbox): Doc fix.
917 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
919 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
920 Autoload. Add optional arg FRAME, and pass it to color-values.
921 (color-complement): Caller changed. Doc fix.
922 (color-gradient): Rewrite for better clarity and efficiency.
924 2011-02-20 Chong Yidong <cyd@stupidchicken.com>
926 * shr-color.el (shr-color->hexadecimal): Use renamed function names
927 color-rgb-to-hex, color-name-to-rgb, color-srgb-to-lab, and
930 2011-02-20 Drew Adams <drew.adams@oracle.com>
932 * color.el: First part of merge from hexrgb.el.
933 (color-rgb-to-hex): Rename from color-rgb->hex.
934 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
935 saturation to zero if the value is too small.
936 (color-rgb-to-hsl): Rename from color-rgb->hsl.
937 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
938 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
939 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
940 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
941 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
942 (color-cie-de2000): Doc fix.
944 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
946 * nntp.el (nntp-finish-retrieve-group-infos): Add a kludge to use the
947 given method as in the group name if we're using an extended method.
948 (nntp-finish-retrieve-group-infos): Wait for the end of the LIST ACTIVE
949 command, if we're using that, instead of waiting for the beginning.
951 * gnus-start.el (gnus-get-unread-articles): Extend the methods so that
952 we're sure to get unique server names, and we don't output two async
953 commands in the same buffer. This fixes an NNTP hang for some users.
955 2011-02-21 Lars Magne Ingebrigtsen <lars@ingebrigtsen.no>
957 * gnus.el: No Gnus v0.11 is released.
959 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
961 * gnus-sum.el (gnus-summary-next-article): Add a kludge to reselect the
962 summary buffer before reading going to the next buffer. This avoids
963 putting the point in the group buffer if you `C-g' the command.
965 * auth-source.el (auth-source-netrc-parse): Add an in-memory netrc
966 cache (for now) to make ~/.authinfo.gpg files usable.
968 * nnfolder.el (copyright-update): Define for the compiler.
970 * auth-source.el (auth-source-search): Fix unbound variable.
972 2011-02-19 Glenn Morris <rgm@gnu.org>
974 * gnus.el (gnus-meta): Doc fix.
976 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
978 * nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update,
979 in case it's not yet loaded.
981 2011-02-20 Lars Ingebrigtsen <larsi@gnus.org>
983 * nnimap.el (nnimap-wait-for-response): Ensure that we get the entire
984 line we're waiting for.
986 2011-02-19 Darren Hoo <darren.hoo@gmail.com> (tiny change)
988 * gnus-art.el (gnus-article-next-page-1): Because customized mode-line
989 face with line-width greater than zero will cause RET in gnus summary
990 buffer to scroll down article page-wise because auto vscroll happens,
991 it should be temporalily disabled when doing a scroll-up.
993 2011-02-19 Lars Ingebrigtsen <larsi@gnus.org>
995 * nnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK"
996 outputs from the server.
998 2011-02-18 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
1000 * gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook
1001 later so that bbdb can hook in easier.
1003 2011-02-18 Lars Ingebrigtsen <larsi@gnus.org>
1005 * auth-source.el (auth-source-search): Don't try to create credentials
1006 if the caller doesn't want that.
1007 (auth-source-search): If we don't find a match, don't bug out on
1008 non-bound variables.
1009 (auth-source-search): Only ask a single backend to create the
1012 * nnimap.el (nnimap-log-command): Add a newline to the inhibited
1014 (nnimap-credentials): Protect against auth-source-search returning nil.
1015 (nnimap-request-list): Protect against not being able to open the
1018 2011-02-17 Lars Ingebrigtsen <larsi@gnus.org>
1020 * auth-source.el (auth-source-search): Do a two-phase search, one with
1021 no :create to get the responses from all backends.
1023 * nnimap.el (nnimap-open-connection-1): Delete duplicate server names
1024 when getting credentials.
1026 * gnus-util.el (gnus-delete-duplicates): New function.
1028 2011-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1030 * nnimap.el (nnimap-credentials): Instead of picking the first port as
1031 a creation default, pass the whole port list down. It will be
1034 * auth-source.el (auth-source-search): Updated docs to talk about
1035 multiple creation choices.
1036 (auth-source-netrc-create): Accept a list as a value (from the search
1037 parameters) and do completion on that list. Keep a separate netrc line
1038 with the password obscured for showing the user.
1040 * nnimap.el (nnimap-open-connection-1): Make the `nnimap-address' the
1041 first choice to `auth-source-search' so it will be used for entry
1042 creation instead of the server's Gnus-specific name.
1043 (nnimap-credentials): Rely on the auth-source library to select which
1044 port is actually wanted in the new netrc entry, so don't override
1045 `auth-source-creation-defaults'.
1047 * auth-source.el (auth-source-netrc-parse): Use :port instead of
1048 :protocol and accept a missing user, host, or port as a wildcard match.
1049 (auth-source-debug): Default to off.
1051 (auth-source-netrc-search, auth-source-netrc-create)
1052 (auth-source-secrets-search, auth-source-secrets-create)
1053 (auth-source-user-or-password, auth-source-backend, auth-sources)