1 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3 * gnus-group.el (gnus-group-read-ephemeral-group): Make sure we don't
4 enter invalid buffer configurations into the quit form (bug#9107).
6 * gnus-sum.el (gnus-summary-refer-thread): When inserting new headers,
7 keep track of which ones are unread (bug#9061).
9 * gnus.el (gnus-refer-article-method): Allow entering any sexp
12 * gnus-art.el (gnus-article-show-images): Allow working if using w3m
15 * gnus-html.el (mm-util): Require (bug#9073).
17 * gnus-sum.el (gnus-delete-duplicate-headers): New function.
18 (gnus-summary-refer-thread): Use it to remove duplicates in the
19 un-threaded view (bug#9053).
20 (gnus-summary-insert-subject): Document USE-OLD-HEADER (bug#9070).
22 2011-07-07 Kan-Ru Chen <kanru@kanru.info>
24 * nnir.el (nnir-read-server-parm): Use default value from global
25 variable. Without this the default search engine parameters aren't
28 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
30 * message.el (message-unique-id): Don't use the undocumented return
31 value from (random t) (bug#9118).
33 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
35 * message.el (message-auto-save-directory): If the ~/Mail directory
36 doesn't exist, use ~ as the auto-save directory (bug#4432).
38 * gnus-group.el (gnus-group-read-ephemeral-group): Start Gnus if it
39 hasn't already been started.
41 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
43 * gnus.el (debbugs-gnu): Renamed from debbugs-emacs.
45 * message.el (message-reply): Work around mysterious bug where
46 `message-mode' seems to overwrite the locally bound `subject' variable.
48 2011-07-14 Andrew Cohen <cohen@andy.bu.edu>
50 * nnimap.el (nnimap-request-thread): Ensure search is performed in
53 * gnus-int.el (gnus-request-thread): Add group argument.
55 * gnus-sum.el (gnus-summary-refer-thread): Use it.
57 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
59 * dgnushack.el (debbugs-gnu-summary-mode): Update compat names, too.
61 * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): `debbugs-*'
62 renamed to `debbugs-gnu-*'.
64 2011-07-08 Daiki Ueno <ueno@unixuser.org>
66 * plstore.el: Revert the editing feature since it is not urgent.
67 (plstore-mode, plstore-mode-toggle-display, plstore-mode-original)
68 (plstore-mode-decoded): Remove.
70 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
72 * gnus-msg.el (gnus-bug): Don't insert user variables. It usually
73 isn't very interesting any more, and it leaks potentially secret data.
74 (gnus-debug): Removed.
76 * gnus-art.el (gnus-ignored-headers): Removed obsolete and non-working
79 2011-07-07 Daiki Ueno <ueno@unixuser.org>
81 * plstore.el: Add documentation.
82 (plstore-mode): New mode to edit plstore file.
83 (plstore-mode-toggle-display, plstore-mode-original)
84 (plstore-mode-decoded): New command.
85 (plstore--encode, plstore--decode, plstore--write-contents-functions)
86 (plstore--insert-buffer, plstore--make): New function.
87 (plstore-open, plstore-save): Simplify by using them.
89 2011-07-06 Glenn Morris <rgm@gnu.org>
91 * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Silence compiler.
93 2011-07-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
95 * gnus.el (gnus-refer-article-method): Remove mention of nnspool, which
96 no longer is much used.
97 (gnus-summary-line-format): Link to "Marking Articles" instead of "Read
100 2011-04-03 Kan-Ru Chen <kanru@kanru.info>
102 * nnir.el (nnir-notmuch-program, nnir-notmuch-additional-switches)
103 (nnir-notmuch-remove-prefix, nnir-engines, nnir-run-notmuch): New nnir
106 2011-07-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
108 * mm-decode.el (mm-text-html-renderer): Doc fix.
110 * gnus-msg.el (gnus-bug): Fix the MML tag.
112 * pop3.el (pop3-open-server): -ERR is a valid response to CAPA.
114 2011-07-05 Daiki Ueno <ueno@unixuser.org>
116 * gnus-start.el (gnus-get-unread-articles): Don't connect to the
117 secondary methods if started with `gnus-no-server'.
119 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
121 * message.el (message-return-action): Fix typo in docstring.
123 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
125 * gnus-group.el (gnus-read-ephemeral-bug-group): Allow fetching several
128 * nnimap.el (nnimap-request-scan): Say that splitting has finished.
130 2011-07-04 Katsumi Yamaoka <yamaoka@jpl.org>
132 * nndraft.el: Require gnus-group.
133 (nndraft-request-list): Declare.
135 * nndraft.el (nndraft-update-unread-articles): Don't show group having
136 no unread article unless it matches gnus-permanently-visible-groups.
138 * nndraft.el (nndraft-update-unread-articles): New function.
139 (nndraft-request-associate-buffer): Use it to update the number of
140 unread articles for the nndraft groups in the group buffer when saving
141 or killing a draft message.
143 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
145 * gnus-group.el (gnus-read-ephemeral-bug-group): Bind the coding
146 systems to binary before writing and reading the mbox files.
148 * gnus.el (gnus-summary-line-format): Link to the info node for %U
149 instead of trying to list them all (bug#8978).
151 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
153 * pop3.el (pop3-open-server): Use :end-of-capability.
155 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
157 * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Make sure that
158 the id is always a number.
160 * dgnushack.el (debbugs-summary-mode): Shut up compiler about debbugs.
162 * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Hook into
163 debbugs mode, if possible.
165 2011-07-02 Daiki Ueno <ueno@unixuser.org>
167 * auth-source.el (auth-source-token-passphrase-callback-function):
169 (epg-context-operation): Remove unnecessary autoload.
171 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
173 * gnus.el (gnus-list-debbugs): New command.
175 * gnus-group.el (gnus-bug-group-download-format-alist): Get the
176 mboxstat instead of the maintbox, since the stat seems to be fuller.
178 * gnus-msg.el (gnus-configure-posting-styles): Don't try to select dead
181 * message.el (message-get-reply-headers): Delete all duplicates,
182 instead of the first.
183 (message-get-reply-headers): Ensure that we have progress while
186 * gnus-msg.el (gnus-configure-posting-styles): Get the local
187 gnus-posting-style value from the summary buffer to make it easier to
188 make that a per-buffer conf.
190 2011-07-02 Andrew Cohen <cohen@andy.bu.edu>
192 * nnir.el (nnir-run-imap): Allow halting a search when an article is
193 found by setting `shortcut' in 'query.
194 (nnir-request-article): Use `shortcut' setting when requesting article
197 2011-07-02 Teodor Zlatanov <tzz@lifelogs.com>
199 * gnus-msg.el (gnus-bug): Give the Version and Package headers to
200 debbugs with the X-Debbugs-Package and X-Debbugs-Version headers.
201 Bring the pseudo-headers back too.
203 2011-07-01 Daiki Ueno <ueno@unixuser.org>
205 * auth-source.el (auth-source-token-passphrase-callback-function):
206 Simplify and remove EPA dependency.
208 2011-07-01 Andrew Cohen <cohen@andy.bu.edu>
210 * nnir.el (nnir-request-article): Fix error message text.
212 2011-07-01 Daiki Ueno <ueno@unixuser.org>
214 * auth-source.el (plstore-delete): Autoload.
215 (auth-source-plstore-search): Support delete operation.
216 * plstore.el (plstore-delete): New function.
218 2011-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
220 * gnus-draft.el (gnus-draft-clear-marks): Revert last change;
221 mark actually existing articles as unread rather than the ones that
224 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
226 * nntp.el (nntp-record-command):
227 * gnus-util.el (gnus-message-with-timestamp-1):
228 Use format-time-string rather than decoding time stamps by hand.
229 This is simpler and insulates the code from potential changes to
232 2011-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
234 * gnus-draft.el (gnus-draft-clear-marks): Mark deleted articles as read.
236 2011-07-01 Daiki Ueno <ueno@unixuser.org>
238 * plstore.el (plstore-select-keys, plstore-encrypt-to): New variable.
239 (plstore-save): Support public key encryption.
240 (plstore--init-from-buffer): New function.
241 (plstore-open): Use it; fix error when opening a non-existent file.
242 (plstore-revert): Use plstore--init-from-buffer.
244 2011-07-01 Daiki Ueno <ueno@unixuser.org>
246 * auth-source.el (auth-source-backend): Fix :initarg for data slot.
248 2011-06-30 Katsumi Yamaoka <yamaoka@jpl.org>
250 * mml2015.el (mml2015-use): Replace string-match-p with string-match
253 2011-06-30 Daiki Ueno <ueno@unixuser.org>
255 * mml2015.el (mml2015-use): Don't try to load PGG on Emacs 24, when EPG
256 is not fully working.
258 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
260 * dgnushack.el: Autoload sha1 on XEmacs.
262 * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Take an optional
263 quit window configuration.
265 * auth-source.el (epg-context-set-passphrase-callback): Remove
268 2011-06-30 Andrew Cohen <cohen@andy.bu.edu>
270 * nnir.el (nnir-request-article): Allow requesting articles by
271 Message-ID with nnimap.
273 * gnus-sum.el (gnus-refer-article-methods): Allow (nnir) entry to use
276 2011-06-30 Teodor Zlatanov <tzz@lifelogs.com>
278 * auth-source.el: Autoload EPA/EPG functions.
279 (auth-source-netrc-use-gpg-tokens): Clarify that it should not be
280 changed when EPA/EPG is not available.
281 (auth-source-backend): Rename "arg" member to "data".
282 (auth-source-backend-parse, auth-source-plstore-search)
283 (auth-source-plstore-create): Use it.
285 2011-06-30 Andrew Cohen <cohen@andy.bu.edu>
287 * gnus-art.el (gnus-request-article-this-buffer): Use existing function
288 `gnus-refer-article-methods'.
290 2011-06-30 Teodor Zlatanov <tzz@lifelogs.com>
292 * auth-source.el: Require EPA and EPG.
293 (auth-source-passphrase-alist): New variable.
294 (auth-source-passphrase-callback-function)
295 (auth-source-token-passphrase-callback-function): Callbacks for the
296 netrc field encryption (GPG tokens).
297 (auth-source-epa-extract-gpg-token, auth-source-epa-make-gpg-token):
298 Symmetric encryption and decryption of the netrc GPG tokens.
299 (auth-source-netrc-normalize): Use them, simplifying the closure.
301 2011-06-30 Katsumi Yamaoka <yamaoka@jpl.org>
303 * dgnushack.el (dgnushack-compile): Don't compile plstore.el unless epg
306 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
308 * nnimap.el (nnimap-split-incoming-mail): If `nnimap-split-fancy' is
309 non-nil, and `nnimap-split-methods' is nil, use the former.
311 2011-06-30 Daiki Ueno <ueno@unixuser.org>
313 * plstore.el (plstore-revert): New function.
314 (plstore-open): Use it; hide the buffer from user.
316 2011-06-30 Daiki Ueno <ueno@unixuser.org>
318 * auth-source.el (auth-source-backend): New member "arg".
319 (auth-source-backend-parse): Handle new backend 'plstore.
320 * plstore.el: New file.
322 2011-06-30 Glenn Morris <rgm@gnu.org>
324 * mm-util.el (mm-charset-synonym-alist): Move definition before use.
326 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
328 * nnimap.el (nnimap-process-expiry-targets): Say what target we're
329 expiring articles to.
331 * mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4
332 variations as ASCII (bug#5458).
334 2011-06-30 Katsumi Yamaoka <yamaoka@jpl.org>
336 * nnmh.el (nnmh-request-list-1): Work on MS Windows.
338 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
340 * message.el (message-point-in-header-p): Tweak the function to default
341 to saying that we're not in the headers if there is no separator at
342 all. This makes it possible to use the Message version of `M-q' in
343 buffers with no headers (bug#7987).
344 (message-point-in-header-p): Fix last checkin to work with an empty
345 mail-header-separator, too.
347 * auth-source.el (auth-source-netrc-saver): If the user says "don't ask
348 again, save the choice via customize.
350 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
352 * message.el (message-send-mail-function): Add `sendmail-query-once'.
354 * nnimap.el (nnimap-finish-retrieve-group-infos): If the server has
355 ended the connection, bail out before waiting infinitely on a new
358 2011-06-28 Teodor Zlatanov <tzz@lifelogs.com>
360 * gnus-msg.el (gnus-bug): Add Package and Version pseudo-headers to bug
363 * gnus.el (gnus-bug-package): Use "gnus."
364 (gnus-maintainer): Direct bug reports to submit@debbugs.gnu.org.
366 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
368 * dgnushack.el: Make the timer warning go away on XEmacs.
370 * gnus-art.el (gnus-article-stop-animations): New function to stop any
371 animations going on at article exit time.
373 * gnus-registry.el (gnus-registry-user-format-function-M): Reinstate,
374 since removing it breaks people upgrading.
376 * shr.el (shr-put-image): Use the new interface for animating images.
377 (shr-put-image): Animate for 60 seconds.
379 * dgnushack.el: Bind `gnutls-available-p' to `ignore' on XEmacs to
380 avoid compiler warnings.
382 * auth-source.el (with-auth-source-epa-overrides): Fix compilation
383 error with `find-file-hooks' on Emacs 22.
384 (with-auth-source-epa-overrides): Ugly hack to Wrap the
385 `find-file-hook' things in `symbol-value' to avoid compilation warnings
386 on all architectures.
388 * spam.el (spam-stat): Require in a normal fashion without binding
389 `spam-stat-install-hooks' to avoid compilation warnings.
391 * spam-stat.el (spam-stat-install-hooks): Removed.
392 (spam-stat-install-hooks): Don't run automatically.
394 2011-06-26 Timo Juhani Lindfors <timo.lindfors@iki.fi> (tiny change)
396 * gnus-msg.el (gnus-summary-reply-to-list-with-original): New command
399 2011-06-23 Katsumi Yamaoka <yamaoka@jpl.org>
401 * auth-source.el (auth-source-netrc-cache): Move forward.
403 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
405 * proto-stream.el (proto-stream-open-starttls): Use
406 `gnutls-available-p' to see whether we have built-in support.
408 * auth-source.el (auth-source-netrc-create): Don't query the bits that
410 (auth-source-forget-all-cached): Clear auth-source-netrc-cache, too.
411 (auth-source-netrc-create): Don't prompt for the stuff we already know.
413 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
415 * auth-source.el (auth-source-netrc-create): Don't print all tokens in
416 %S format, since that looks odd.
417 (auth-sources): Prefer the ~/.authinfo file over the ~/.authinfo.gpg
418 file, especially when saving.
420 2011-06-21 Andrew Cohen <cohen@andy.bu.edu>
422 * nnimap.el (nnimap-find-article-by-message-id): return nil when no
425 2011-06-18 Teodor Zlatanov <tzz@lifelogs.com>
427 * auth-source.el (auth-source-netrc-use-gpg-tokens): Replace
428 `auth-source-save-secrets' with a more sensitive alist that can be
429 configured per file. Experimental, so defaults to 'never.
430 (auth-source-netrc-create): Use it. Still experimental code.
431 (with-auth-source-epa-overrides): Use `find-file-hooks' if
432 `find-file-hook' is unbound (XEmacs fix). Fix backquoting bug.
434 2011-06-16 Teodor Zlatanov <tzz@lifelogs.com>
436 * auth-source.el (auth-source-save-secrets): New variable to control if
437 secret tokens should be saved encrypted.
438 (auth-source-netrc-parse, auth-source-netrc-search): Pass the file name
439 to `auth-source-netrc-normalize'.
440 (with-auth-source-epa-overrides): Add convenience macro. Don't depend
441 on the EPA variables being defined.
442 (auth-source-epa-make-gpg-token): Convert text to a "gpg:" token.
443 (auth-source-netrc-normalize): Convert "gpg:" tokens back to text in
444 the lexical-let closure.
445 (auth-source-netrc-create): Create "gpg:" tokens according to
446 `auth-source-save-secrets'.
448 2011-06-10 Katsumi Yamaoka <yamaoka@jpl.org>
450 * gnus-group.el (gnus-group-update-group): Add new argument
451 `info-unchanged' that stops updating dribble buffer.
453 * gnus-start.el (gnus-dribble-enter): Add new argument `regexp' that
454 deletes lines matching to it in dribble buffer.
456 * gnus-agent.el (gnus-agent-fetch-group-1):
457 * gnus-group.el (gnus-group-update-group-line, gnus-group-make-group):
458 * gnus-srvr.el (gnus-server-update-server, gnus-server-set-info):
459 * gnus-start.el (gnus-group-change-level):
460 * gnus-sum.el (gnus-summary-move-article): Delete old dribble entry.
462 * gnus-sum.el (gnus-summary-update-info): Don't update dribble buffer
463 if newsgroup info is not changed.
465 * gnus-group.el (gnus-group-get-new-news-this-group):
466 * gnus-sum.el (gnus-summary-read-group-1, gnus-summary-exit-no-update):
467 Don't update dribble buffer.
469 2011-06-01 Teodor Zlatanov <tzz@lifelogs.com>
471 * gnus-registry.el (gnus-registry-remove-ignored): New function to
472 remove entries with groups we ignore.
474 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
476 * shr.el (shr-rescale-image): Add an :ascent of 100 to images so that
477 the underline comes at the bottom.
479 2011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
481 * gnus-registry.el (gnus-registry-article-marks-to-chars): Rename from
482 `gnus-registry-user-format-function-M' and declare the latter obsolete.
483 (gnus-registry-article-marks-to-names): Rename from
484 `gnus-registry-user-format-function-M2'.
486 2011-05-31 Katsumi Yamaoka <yamaoka@jpl.org>
488 * gnus-sum.el (gnus-summary-exit): Make sure to kill article buffer in
491 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
493 * shr.el (shr-browse-image): Copy the URL if called interactively.
495 2011-05-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
497 * gnus-group.el (gnus-group-mark-article-read): It's possible that we
498 want to have `gnus-newsgroup-unselected' kept sorted. If this isn't
499 done, then unselected articles may be marked as read.
501 * pop3.el (pop3-open-server): Erase the buffer after the greeting,
502 since not doing this seems to lead to a race condition in pop3-logon.
504 * nnvirtual.el (nnvirtual-request-article): Bind `gnus-command-method'
505 so that the call chain it correct when we call "upwards".
507 * gnus-sum.el (gnus-select-newsgroup): Auto-expiry doesn't make sense
510 * gnus-group.el (gnus-group-mark-article-read): Ditto.
512 * message.el (message-cite-reply-position): Doc string fix.
514 * nnimap.el (nnimap-transform-headers): Simplify regexp to hopefully
515 avoid regexp overflow.
516 (nnimap-transform-split-mail): Ditto.
518 * pop3.el (pop3-retr): Error out if the server closes the connection.
520 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
522 * mml1991.el (mml1991-mailcrypt-encrypt): Remove use of ill-designed
523 mm-with-unibyte-current-buffer. The buffer should not contain any
524 multibyte chars anyway at this stage.
526 2011-05-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
528 * shr.el (shr-urlify): Use shr-add-font to make underlines be less ugly
531 2011-05-29 Julien Danjou <julien@danjou.info>
533 * smiley.el (gnus-smiley-file-types): Add gif as supported file type.
535 2011-05-27 Glenn Morris <rgm@gnu.org>
537 * gnus-group.el (gnus-bug-group-download-format-alist):
538 Use the "maintainer" version of debian reports as well.
540 2011-05-26 Glenn Morris <rgm@gnu.org>
542 * gnus-group.el (gnus-bug-group-download-format-alist):
543 Use the "maintainer" version of debbugs.gnu.org reports.
545 2011-05-24 Katsumi Yamaoka <yamaoka@jpl.org>
547 * gnus-art.el (gnus-mime-delete-part): Fix mm-handle-filename usage.
549 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
551 * gnus-cus.el (gnus-agent-customize-category):
552 * gnus-delay.el (gnus-delay-send-queue):
553 * gnus.el (gnus-other-frame):
554 Don't quote lambda expressions with `quote'.
556 2011-05-20 Teodor Zlatanov <tzz@lifelogs.com>
558 * gnus-sum.el (gnus-summary-hide-thread): Fix bug where moving to hide
559 the thread moves us backwards and so we loop forever.
561 2011-05-19 Katsumi Yamaoka <yamaoka@jpl.org>
563 * mm-bodies.el (mm-decode-content-transfer-encoding): Allow leading
564 whitespace in base64 data lines.
566 2011-05-18 Teodor Zlatanov <tzz@lifelogs.com>
568 * gnus-registry.el (gnus-registry-user-format-function-M):
570 (gnus-registry-user-format-function-M2): Use to see the full text of
571 the marks. Make "," the mark text separator.
573 * nntp.el (nntp-send-authinfo): Use the "force" token for NNTP
574 authentication with auth-source.
576 2011-05-17 Glenn Morris <rgm@gnu.org>
578 * gnus-group.el (gnus-import-other-newsrc-file):
579 Use insert-file-contents.
581 2011-05-16 Teodor Zlatanov <tzz@lifelogs.com>
583 * gnus-sum.el (gnus-summary-hide-all-threads): Add update message every
586 2011-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
588 * nntp.el (nntp-open-connection): Check if process-type is available.
590 2011-05-16 Julien Danjou <julien@danjou.info>
592 * shr.el (shr-tag-del): Add support for del tag.
594 2011-05-13 Katsumi Yamaoka <yamaoka@jpl.org>
596 * gnus-html.el (gnus-html-put-image): Register a displayer.
598 * shr.el (shr-image-displayer): Don't remove text props from alt text.
600 2011-05-13 Teodor Zlatanov <tzz@lifelogs.com>
602 * registry.el (prune-factor): New initialization parameter defaulting
604 (registry-prune-hard): Use it.
606 * gnus-registry.el (gnus-registry-fixup-registry): Set prune-factor to
609 2011-05-13 Glenn Morris <rgm@gnu.org>
611 * message.el (message-send-mail-with-sendmail): Assume sendmail-program
612 is bound, since this function requires sendmail.
614 2011-05-11 Teodor Zlatanov <tzz@lifelogs.com>
616 * registry.el (registry-usage-test): Disable pruning test.
618 2011-05-11 David Engster <dengste@eml.cc>
620 * lpath.el: Bind shr-put-image and process-type for Emacs22 and XEmacs.
621 Bind set-network-process-option for XEmacs.
623 2011-05-10 Teodor Zlatanov <tzz@lifelogs.com>
625 * registry.el (registry-prune-hard-candidates)
626 (registry-prune-soft-candidates): Helper methods for registry pruning.
627 (registry-prune): Use them. Make the sort function optional.
629 2011-05-10 Jim Meyering <meyering@redhat.com>
631 * shr.el (shr-colorize-region): Fix typo "on on -> on".
633 2011-05-10 Julien Danjou <julien@danjou.info>
635 * shr.el (shr-put-color-1): Do not bug out when old-props is a face
636 symbol and not a list.
638 2011-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
640 * gnus-art.el (gnus-article-mode): Move binding of
641 shr-put-image-function here from gnus-article-prepare-display.
643 * shr.el (shr-put-image-function): New variable.
644 (shr-image-fetched, shr-image-displayer, shr-tag-img): Funcall it.
645 (shr-put-image): Return scaled image.
647 * gnus-art.el (gnus-shr-put-image): New function.
648 (gnus-article-prepare-display): Bind shr-put-image-function to it.
650 * gnus-html.el (gnus-html-wash-images): Register scaled images, not
651 original ones, as deletable.
653 2011-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
655 * nntp.el (nntp-open-connection): Set TCP keepalive option.
657 2011-05-09 Teodor Zlatanov <tzz@lifelogs.com>
659 * registry.el (registry-full): Add convenience method. Fix logic.
660 (registry-insert): Use it. Fix logic here too.
662 * gnus-registry.el (gnus-registry-insert): Add wrapper that calls
663 `registry-prune' if `registry-full' returns t.
664 (gnus-registry-handle-action)
665 (gnus-registry-get-or-make-entry, gnus-registry-set-id-key)
666 (gnus-registry-usage-test): Use it.
668 2011-05-07 Julien Danjou <julien@danjou.info>
670 * shr.el (shr-link): Make shr-link inherit from link by default.
672 2011-05-06 Teodor Zlatanov <tzz@lifelogs.com>
674 * shr.el (shr-urlify, shr-link): Fix shr-link face.
676 2011-05-05 Teodor Zlatanov <tzz@lifelogs.com>
678 * shr.el (shr-urlify, shr-link): Still broken but at least doesn't
679 error out because the face is not a list.
681 2011-05-05 Glenn Morris <rgm@gnu.org>
683 * proto-stream.el (gnutls-negotiate): Fix declarations.
685 * gnus-start.el (gnus-propagate-marks): Declare.
687 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
689 * registry.el (registry-reindex): Fix percentage message.
691 * proto-stream.el (network-stream-open-starttls): Adjust to call
692 `gnutls-negotiate' with :process and :hostname arguments.
694 2011-05-03 Teodor Zlatanov <tzz@lifelogs.com>
696 * shr.el: Add shr-link face for links.
697 (shr-urlify): Use it.
699 * registry.el (registry-insert): Make error message more helpful.
701 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
703 * gnus-html.el (gnus-html-schedule-image-fetching):
704 Use url-queue-retrieve, if it exists.
706 * shr.el (shr-tag-img): Ditto.
708 * gnus.el: Autoload more gnus-agent functions.
710 * gnus-art.el (gnus-request-article-this-buffer): Store articles in the
711 agent if we haven't already (bug#8502).
713 * gnus-async.el (gnus-async-article-callback): Put prefetched articles
716 * gnus-agent.el (gnus-agent-store-article): New function.
718 * nnheader.el (nnheader-insert-buffer-substring): Rename from nntp-
719 and moved from that file for reuse.
721 * pop3.el (pop3-open-server): Error messages are "-ERR".
723 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
725 * pop3.el (pop3-open-server): Upgrade opportunistically to STARTTLS.
726 (open-tls-stream): Remove superfluous tls/starttls autoloads.
728 2011-05-01 Lars Magne Ingebrigtsen <lars@ingebrigtsen.no>
730 * gnus.el: No Gnus v0.17 is released.
732 2011-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
734 * gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary
735 buffer has moved to a different frame.
737 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
739 * nnimap.el (nnimap-request-article): Use nntp-insert-buffer-substring
740 to get the conversion from unibyte to multibyte buffers to work on
743 * nntp.el (nntp-request-article): Slight clean-up.
745 2011-04-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
747 * shr.el (shr-strike-through): New face.
748 (shr-tag-s): Use it to provide <s> support.
749 (shr-tag-s): Remove duplicate definition.
751 2011-04-25 Teodor Zlatanov <tzz@lifelogs.com>
753 * gnus-registry.el (gnus-registry-ignore-group-p): Don't call
754 `gnus-parameter-registry-ignore' if the *Group* buffer doesn't exist.
756 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
758 * proto-stream.el (proto-stream-open-starttls): Give host parameter to
760 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
762 2011-04-23 Glenn Morris <rgm@gnu.org>
764 * gnus-sum.el (gnus-extra-headers): Bump :version.
766 2011-04-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
768 * shr.el (shr-tag-sup): New function.
769 (shr-tag-sub): Ditto.
771 2011-04-22 Teodor Zlatanov <tzz@lifelogs.com>
773 * gnus-registry.el (gnus-registry-ignore-group-p): Test specifically
774 for the case where `gnus-registry-ignored-groups' is a list of lists,
775 and don't call `gnus-parameter-registry-ignore' otherwise.
777 2011-04-21 Teodor Zlatanov <tzz@lifelogs.com>
779 * nnimap.el (nnimap-user): New backend variable.
780 (nnimap-open-connection-1): Use it.
781 (nnimap-credentials): Accept user parameter so it's explicit what user
784 * gnus-sum.el (gnus-extra-headers): Add Keywords, Cc, and Gcc to
787 * gnus.el (gnus-registry-ignored-groups): Provide default in gnus.el,
788 not gnus-registry.el.
790 * gnus-registry.el: Mention in comments how to modify
791 `gnus-extra-headers' for proper recipient tracking and that it may
792 already have To and Cc recently, which it does as of this commit.
793 (gnus-registry-ignored-groups): Remove defcustom.
794 Explain why in comments.
795 (gnus-registry-action): Fix data-header reference to use the extra
796 headers. Explain in package commentary how to add To and Cc headers to
797 the gnus-extra-headers.
798 (gnus-registry-ignored-groups): Adjust defaults to match the parameter.
799 (gnus-registry-ignore-group-p): Adjust to take either a group/topic
800 parameter list or a string list in `gnus-registry-ignored-groups'.
803 2011-04-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
805 * shr.el (shr-expand-url): Protect against null urls.
807 2011-04-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
809 * shr.el (shr-base): New binding.
810 (shr-tag-base): Keep track of <base>.
811 (shr-expand-url): New function used throughout.
813 2011-04-20 Teodor Zlatanov <tzz@lifelogs.com>
816 (gnus-registry--split-fancy-with-parent-internal): Fix loop bugs.
817 (gnus-registry-ignored-groups): New variable.
818 (gnus-registry-ignore-group-p): Use it.
819 (gnus-registry-handle-action): Use `gnus-registry-ignore-group-p' and
820 set the destination group to nil (same as delete) if it's ignored.
822 2011-04-20 David Engster <dengste@eml.cc>
824 * tests/gnustest-nntp.el: New file for simple NNTP testing.
826 * Makefile.in (test-nntp): New rule.
828 (test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'.
830 2011-04-20 Katsumi Yamaoka <yamaoka@jpl.org>
832 * gnus-registry.el (gnus-registry-action)
833 (gnus-registry-fetch-header-fast):
834 Don't use mail-header that looks an internal function of mailheader.el.
836 2011-04-19 Glenn Morris <rgm@gnu.org>
838 * time-date.el (time-to-days): Remove unused local variables.
840 2011-04-18 Katsumi Yamaoka <yamaoka@jpl.org>
842 * gnus-registry.el: Eliminate cl functions.
843 (gnus-registry-sort-addresses): New function that replaces mapcan.
844 (gnus-registry-action, gnus-registry-spool-action)
845 (gnus-registry-split-fancy-with-parent)
846 (gnus-registry-fetch-recipients-fast): Use it.
847 (gnus-registry-import-eld): Replace delete* with dolist + delq.
849 * registry.el (initialize-instance, registry-lookup)
850 (registry-lookup-breaks-before-lexbind, registry-lookup-secondary)
851 (registry-lookup-secondary-value, registry-search, registry-delete)
852 (registry-insert, registry-reindex, registry-size, registry-prune):
853 Use eval-and-compile.
855 2011-04-16 Teodor Zlatanov <tzz@lifelogs.com>
857 * registry.el (registry-reindex): New method to recreate the secondary
860 * gnus-registry.el (gnus-registry-fixup-registry): Use it if the
861 tracked field changes.
862 (gnus-registry-unfollowed-addresses, gnus-registry-track-extra)
863 (gnus-registry-action, gnus-registry-spool-action)
864 (gnus-registry-handle-action)
865 (gnus-registry--split-fancy-with-parent-internal)
866 (gnus-registry-split-fancy-with-parent)
867 (gnus-registry-register-message-ids): Add recipient tracking on spool,
868 move, and delete actions, and for fancy splitting with parent.
869 (gnus-registry-extract-addresses)
870 (gnus-registry-fetch-recipients-fast)
871 (gnus-registry-fetch-header-fast): Convenience functions.
872 (gnus-registry-misc-test): ERT test of
873 `gnus-registry-extract-addresses'.
875 2011-04-15 Teodor Zlatanov <tzz@lifelogs.com>
877 * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
878 Track by subject first, then sender.
880 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
882 * message.el (message-bogus-system-names): Replace ^...$ => \`...\'.
884 * gnus.el (gnus-splash-svg-color-symbols): Don't use insert-file from
887 * gnus-draft.el (gnus-draft-setup): New arg `dont-pop'.
888 (gnus-draft-send): Use it to avoid popping
889 up frames from gnus-group-send-queue.
891 2011-04-14 Teodor Zlatanov <tzz@lifelogs.com>
893 * gnus-registry.el: Updated gnus-registry docs.
895 2011-04-12 Teodor Zlatanov <tzz@lifelogs.com>
897 * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
899 (gnus-registry-post-process-groups): Fix logging of no results and
900 quote sender and subject.
902 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
904 * proto-stream.el (proto-stream-open-starttls): Only do opportunistic
905 STARTTLS upgrades if we have built-in gnutls support. Upgrades via
906 gnutls-cli are too slow to be done opportunistically.
908 * gnus-start.el (gnus-get-unread-articles): Slight cleanup.
909 (gnus-read-active-for-groups): Don't try to finish getting stuff where
910 we had no early-data returned.
911 (gnus-get-unread-articles): Add a sanity check so that we don't issue
912 two async commands to the same server at the same time.
914 2011-04-12 Stig Sandbeck Mathisen <ssm@fnord.no> (tiny change)
916 * gnus-sum.el (gnus-summary-select-article-buffer): Doc fix.
918 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
920 * gnus-registry.el (gnus-registry-remake-db): Put the warning on a
923 * mm-url.el (mm-url-package-name): Remove to ease third-party reuse.
924 (mm-url-insert-file-contents): Don't set the package names.
926 2011-04-11 Teodor Zlatanov <tzz@lifelogs.com>
928 * gnus-registry.el (gnus-registry-action): Remove properties and
929 simplify subject in `gnus-registry-handle-action'.
930 (gnus-registry-spool-action): Get subject and sender from message if
931 they are not passed in.
932 (gnus-registry-handle-action): Remove properties and simplify subject
935 2011-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
937 * registry.el: Require CL before using defmacro*.
939 2011-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
941 * gnus-art.el (article-treat-date): Assume that
942 gnus-article-date-headers may be a group parameter.
944 2011-04-07 Teodor Zlatanov <tzz@lifelogs.com>
946 * gnus-registry.el (gnus-registry-handle-action): More debugging.
948 * gnus-start.el (gnus-gnus-to-newsrc-format): Add a way to run
949 interactively so the newsrc file can contain foreign groups too.
950 Useful for debugging but not much for users.
952 2011-04-07 David Engster <dengste@eml.cc>
954 * registry.el (registry-usage-test): Only do
955 `registry-lookup-breaks-before-lexbind' testing for Emacs24 with
958 2011-04-07 David Engster <dengste@eml.cc>
960 * Makefile.in (check, test-registry): New rules for test-suite.
962 2011-04-06 David Engster <dengste@eml.cc>
964 * registry.el, gnus-registry.el: Use `ignore-errors' instead of third
965 argument NOERROR for `require', since XEmacs 21.4 does not support it.
967 2011-04-06 David Engster <dengste@eml.cc>
969 * registry.el (initialize-instance): Change :after to :AFTER to be
970 compatible with old EIEIO version in XEmacs.
972 2011-04-06 Teodor Zlatanov <tzz@lifelogs.com>
974 * gnus-registry.el (gnus-registry-post-process-groups)
975 (gnus-registry--split-fancy-with-parent-internal): Fix splitting bugs
976 and provide better messaging.
978 2011-04-06 David Engster <dengste@eml.cc>
980 * Makefile.in (fail-on-warning): New rule to compile with warnings as
983 * dgnushack.el (dgnushack-compile-error-on-warn): New function to call
984 dgnushack-compile with error-on-warn enabled, and to signal an error if
985 clean compilation failed.
986 (dgnushack-compile): New argument 'error-on-warn'. If non-nil, compile
987 with `byte-compile-error-on-warn'. Return nil if errors occured.
989 2011-04-06 Teodor Zlatanov <tzz@lifelogs.com>
991 * gnus-registry.el: Don't use ERT if it's not available. Load it
992 unconditionally anyway, discarding errors.
993 (gnus-registry-delete-entries): New convenience function.
994 (gnus-registry-import-eld): Import from old .eld registry.
996 * registry.el: Don't use ERT if it's not available. Load it
997 unconditionally anyway, discarding errors.
999 * proto-stream.el (gnutls-negotiate): Revert inadvertent commit of the
1000 version from the Claudio Bley GnuTLS patch (extra optional parameters
1003 2011-04-05 Teodor Zlatanov <tzz@lifelogs.com>
1005 * gnus-registry.el (gnus-registry-fixup-registry): New function to
1006 fixup the parameters that can be customized by the user between
1008 (gnus-registry-read): Use it.
1009 (gnus-registry-make-db): Use it.
1010 (gnus-registry-spool-action, gnus-registry-handle-action):
1012 (gnus-registry--split-fancy-with-parent-internal): Fix loop.
1013 Map references to actual group names with sender and subject tracking.
1014 (gnus-registry-post-process-groups): Use `cond' for better messaging.
1015 (gnus-registry-usage-test): Add subject lookup test.
1017 * registry.el (registry-db, initialize-instance): Set up constructor
1018 instead of :initform arguments for the sake of older Emacsen.
1019 (registry-lookup-breaks-before-lexbind): New method to demonstrate
1020 pre-lexbind merge bug.
1021 (registry-usage-test): Use it.
1022 (initialize-instance, registry-db): Move the non-function initforms
1023 back to the class definition.
1025 2011-04-03 Teodor Zlatanov <tzz@lifelogs.com>
1027 * registry.el: New library to manage gnus-registry-style data.
1029 * gnus-registry.el: Use it (major rewrite).
1031 * nnregistry.el: Use it.
1035 2011-04-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1037 * gnus-sum.el (gnus-update-marks): Reinstate the code to not alter
1038 marks on non-selected articles.
1040 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1042 * nnimap.el (nnimap-open-connection-1): Pass explicit :end-of-command
1043 parameter to open-protocol-stream.
1045 2011-04-01 Julien Danjou <julien@danjou.info>
1047 * mm-view.el (mm-display-inline-fontify): Do not fontify with
1050 2011-04-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1052 * gnus-start.el (gnus-get-unread-articles): Don't try to contact denied
1055 2011-03-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1057 * gnus-sum.el (gnus-update-marks): Revert intersection change, which
1058 made marks not propagate, again.
1060 2011-03-30 Chong Yidong <cyd@stupidchicken.com>
1062 * proto-stream.el (open-protocol-stream): Bring back `network' type.
1063 Make this the default type.
1064 (proto-stream-open-plain): Rename from proto-stream-open-default.
1065 (open-protocol-stream, proto-stream-open-starttls)
1066 (proto-stream-open-tls, proto-stream-open-shell): Replace `default'
1069 * nnimap.el (nnimap-stream, nnimap-open-connection-1): Accept `network'
1072 * nntp.el (nntp-open-connection-function): Document the fact that some
1073 values are not functions but are instead handled specially.
1074 Recognize nntp-open-plain-stream value.
1075 (nntp-open-connection): Recognize that value.
1077 2011-03-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1079 * dgnushack.el: Only do the defcustom compilation thing on XEmacs,
1080 where it seems to be needed.
1082 2011-03-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1084 * gssapi.el (open-gssapi-stream): Remove the last mentions of the IMAP
1087 * gnus-score.el (gnus-score-string): Fix calling convention of
1088 `gnus-simplify-buffer-fuzzy' after last patches.
1090 * gnus-sum.el (gnus-update-marks): Don't send any marks updates to the
1091 server for articles we didn't get any headers for. This is a sanity
1094 2011-03-29 Michael Welsh Duggan <md5i@md5i.com>
1096 * nnimap.el (nnimap-open-connection-1): Is the login responds with a
1097 new CAPABILITY, use it.
1099 2011-03-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1101 * gnus-agent.el (gnus-agent-fetch-headers): Don't message if we're not
1102 downloading anything.
1104 * gnus.el (gnus-splash-svg-color-symbols): Remove superfluous `and'.
1106 2011-03-29 Adam Sjøgren <asjo@koldfront.dk>
1108 * gnus.el (gnus-group-startup-message): Prefer svg file and replace
1110 (gnus-splash-svg-color-symbols): New function.
1112 2011-03-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1114 * gnus-sum.el (gnus-simplify-buffer-fuzzy): Take the regexp explicitly
1115 instead of using the global gnus-simplify-subject-fuzzy-regexp.
1116 (gnus-simplify-subject-fuzzy): Use the local
1117 gnus-simplify-subject-fuzzy-regex instead of the global one.
1118 This makes using this variable in group parameters work.
1120 2011-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1122 * gnus-registry.el (gnus-registry-unfollowed-groups):
1123 Add "archive:sent" to the unfollowed group regex (for the recent Gnus
1124 archive:sent-YYYY-MM-DD groups).
1125 (gnus-registry-split-fancy-with-parent): Bail out early in sender
1126 tracking if there are more than `gnus-registry-max-track-groups'
1129 2011-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1131 * message.el (message--yank-original-internal): New function to do the
1132 insertion cleanly inside eval in `message-yank-original'.
1133 (message-yank-original): Use it.
1135 2011-03-29 Julien Danjou <julien@danjou.info>
1137 * mm-view.el (mm-display-inline-fontify): Use `set-normal-mode' with
1138 local variables disabled rather than `normal-mode'.
1140 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1142 * imap.el (imap-shell-open, imap-process-connection-type):
1143 Use imap-process-connection-type for 'shell' streams as well as
1144 Kerberos, SSL, other subprocesses.
1146 2011-03-26 Chong Yidong <cyd@stupidchicken.com>
1148 * proto-stream.el: Changes preparatory to merging open-protocol-stream
1149 with open-network-stream.
1150 (proto-stream-always-use-starttls): Option removed.
1151 (open-protocol-stream): Return a process object by default. Provide a
1152 new parameter :return-list specifying a list-type return value, which
1153 now has the form (PROP . PLIST) instead of a fixed-length list. Change
1154 :type `network' to `try-starttls', and `network-only' to `default'.
1155 Make `default' the default, for compatibility with open-network-stream.
1156 Handle the no-parameter case exactly as open-network-stream, with no
1157 additional stream processing. Search plists using plist-get.
1158 Explicitly add :end-of-commend parameter if it is missing.
1159 (proto-stream-open-default): Rename from
1160 proto-stream-open-network-only. Return 'default as the type.
1161 (proto-stream-open-starttls): Rename from proto-stream-open-network.
1162 Use plist-get. Don't return `tls' as the type if STARTTLS negotiation
1163 failed. Always return a list with a (possibly dead) process as the
1164 first element, for compatibility with open-network-stream.
1165 (proto-stream-open-tls): Use plist-get. Always return a list.
1166 (proto-stream-open-shell): Return `default' as connection type.
1167 (proto-stream-capability-open): Use plist-get.
1168 (proto-stream-eoc): Function deleted.
1170 * nnimap.el (nnimap-stream, nnimap-open-connection)
1171 (nnimap-open-connection-1): Handle renaming of :type parameter for
1172 open-protocol-stream.
1173 (nnimap-open-connection-1): Pass a :return-list parameter
1174 open-protocol-stream to obtain a list return value. Parse this list
1177 * nntp.el (nntp-open-connection): Handle renaming of :type parameter
1178 for open-protocol-stream. Accept open-protocol-stream return value
1179 that is a subprocess object instead of a list. Handle the case of a
1180 dead returned process.
1182 2011-03-25 Teodor Zlatanov <tzz@lifelogs.com>
1184 * mm-util.el (mm-handle-filename): Move to mm-decode.el (bug#8330).
1186 * mm-decode.el (mm-handle-filename): Move from mm-util.el (bug#8330).
1188 2011-03-21 Julien Danjou <julien@danjou.info>
1190 * mm-view.el (mm-display-inline-fontify): Make mode optional, and call
1191 normal-mode if not set. Set temp buffer unmodified to avoid kill-buffer
1193 (mm-inline-text): Render normal text with fontification whenever
1196 * gnus-sum.el (gnus-summary-save-parts-1):
1197 * gnus-art.el (gnus-article-browse-html-save-cid-content)
1198 (gnus-article-browse-html-parts, gnus-mime-delete-part)
1199 (gnus-mime-copy-part, gnus-mime-inline-part, gnus-insert-mime-button):
1200 Use `mm-handle-filename'.
1202 * mm-util.el (mm-handle-filename): New function, return the filename of
1205 2011-03-18 Julien Danjou <julien@danjou.info>
1207 * gnus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
1208 (gnus-buffer-live-p): Check that buffer is not nil.
1210 2011-03-17 Lars Magne Ingebrigtsen <lars@ingebrigtsen.no>
1212 * gnus.el: No Gnus v0.15 is released.
1214 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1216 * time-date.el (format-seconds): Use assoc instead of assoc-string to
1217 avoid warning on XEmacs.
1219 * dgnushack.el: Bind help-echo-owns-message to avoid a compiler warning
1222 * gnus-art.el: Require mouse, which the build bot seems to say is
1225 * dgnushack.el: Define url-retrieve-synchronously unless not defined.
1227 * gravatar.el (gravatar-retrieve-synchronously): Use `url-retrieve' on
1228 XEmacs, since it doesn't have url-retrieve-synchronously.
1230 * time-date.el (format-seconds): Use assoc instead of assoc-string,
1231 since assoc-string doesn't exist in XEmacs.
1233 2011-03-17 Antoine Levitt <antoine.levitt@gmail.com>
1235 * gnus-group.el (gnus-group-list-ticked): New function.
1236 (gnus-group-make-menu-bar): Provide a menu entry for it.
1237 (gnus-group-list-map): Provide a binding for it.
1239 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1241 * shr.el (shr-visit-file): New command.
1243 * nnimap.el (nnimap-fetch-inbox): Rewrite slightly last patch.
1245 2011-03-17 Bjørn Mork <bjorn@mork.no>
1247 * nnimap.el (nnimap-fetch-inbox): Don't download bodies on ver4-capable
1250 2011-03-16 Julien Danjou <julien@danjou.info>
1252 * mm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are
1255 * gnus-art.el (article-hide-list-identifiers):
1256 Use gnus-group-get-list-identifiers.
1258 * gnus-sum.el (gnus-group-get-list-identifiers): New function.
1259 (gnus-summary-remove-list-identifiers):
1260 Use gnus-group-get-list-identifiers to get regexp.
1261 (gnus-select-newsgroup, gnus-summary-insert-subject)
1262 (gnus-summary-insert-articles):
1263 Call gnus-summary-remove-list-identifiers unconditionally.
1265 2011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1267 * gnus-sum.el (gnus-articles-to-read): Revert back to old behaviour if
1268 we're selecting a group with unread articles.
1270 * nnimap.el (nnimap-open-connection-1): Allow `network-only', too.
1272 * gssapi.el: New file separated out from imap.el to provide a general
1273 Kerberos 5 connection facility for Emacs.
1275 * message.el (message-elide-ellipsis): Document the format spec
1278 2011-03-15 Reiner Steib <Reiner.Steib@gmx.de>
1280 * message.el (message-elide-region): Allow the ellipsis to say how many
1283 2011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1285 * gnus-win.el (gnus-configure-frame): Protect against trying to restore
1286 window configurations containing buffers that are now dead.
1288 * nnimap.el (nnimap-parse-flags): Remove all MODSEQ entries before
1289 parsing to avoid integer overflows.
1290 (nnimap-parse-flags): Simplify the last change.
1291 (nnimap-parse-flags): Store HIGHESTMODSEQ as a string, since it may be
1292 too large for 32-bit Emacsen.
1294 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1296 * auth-source.el (auth-source-netrc-create):
1297 * message.el (message-yank-original): Fix use of `case'.
1299 2011-03-15 Nelson Ferreira <nelson.ferreira@ieee.org> (tiny change)
1301 * gnus-art.el (gnus-article-treat-body-boundary): Fix boundary width on
1302 XEmacs, which was one character too wide.
1304 2011-03-09 Antoine Levitt <antoine.levitt@gmail.com>
1306 * gnus-sum.el (gnus-articles-to-read): Use gnus-large-newsgroup as
1307 default number of articles to display.
1308 (gnus-articles-to-read): Use pretty names for prompt.
1310 2011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1312 * gnus-int.el (gnus-open-server): Ditto.
1314 * gnus-start.el (gnus-activate-group): Give a backtrace if
1315 debug-on-quit is set and the user hits `C-g'.
1316 (gnus-read-active-file): Ditto.
1318 * gnus-group.el (gnus-group-read-ephemeral-group): Ditto.
1320 2011-03-15 Teodor Zlatanov <tzz@lifelogs.com>
1322 * message.el (message-yank-original): Use cond instead of CL case.
1324 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1326 * auth-source.el (auth-source-netrc-create): Use usual format for the
1329 2011-03-14 Katsumi Yamaoka <yamaoka@jpl.org>
1331 * lpath.el: Fbind read-char-choice for XEmacs.
1333 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
1335 * auth-source.el (auth-source-netrc-create): Show the default in the
1336 prompt when prompting for token creation.
1338 2011-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1340 * auth-source.el (auth-source-format-prompt): Always convert the value
1341 to a string to avoid evaluating non-string arguments.
1342 (auth-source-netrc-create): Offer default properly, not as initial
1343 content in `read-string'.
1344 (auth-source-netrc-saver): Use a cache keyed by file name and MD5 hash
1345 of line to determine if we've been run before. If so, don't run again,
1346 but print a trivial message to indicate the cache was hit instead.
1348 2011-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1350 * gnus-sync.el (gnus-sync-install-hooks, gnus-sync-unload-hook):
1351 Don't install `gnus-sync-read' to any hooks by default. It's buggy.
1352 The user will have to run `gnus-sync-read' manually and wait for Cloudy
1355 2011-03-11 Julien Danjou <julien@danjou.info>
1357 * mm-uu.el (mm-uu-type-alist): Add support for diff starting with "===
1360 2011-03-09 Teodor Zlatanov <tzz@lifelogs.com>
1362 * auth-source.el (auth-source-read-char-choice): New function to read a
1363 character choice using `dropdown-list', `read-char-choice', or
1364 `read-char'. It appends "[a/b/c] " to the prompt if the choices were
1365 '(?a ?b ?c). The `dropdown-list' support is disabled for now. Use
1366 `eval-when-compile' to load `dropdown-list'. Remove `dropdown-list'.
1367 (auth-source-netrc-saver): Use it.
1368 (auth-source-pick-first-password): New convenience function.
1370 2011-03-08 Teodor Zlatanov <tzz@lifelogs.com>
1372 * nnimap.el (nnimap-credentials): Keep the :save-function as the third
1373 parameter in the credentials.
1374 (nnimap-open-connection-1): Use it after a successful login.
1375 (nnimap-credentials): Add IMAP-specific user and password prompt.
1377 * auth-source.el (auth-source-search): Add :require parameter, taking a
1378 list. Document it and the :save-function return token. Pass :require
1379 down. Change the CREATED message from a warning to a debug statement.
1380 (auth-source-search-backends): Pass :require down.
1381 (auth-source-netrc-search): Pass :require down.
1382 (auth-source-netrc-parse): Use :require, if it's given, as a filter.
1383 Change save prompt to indicate all modifications saved here are
1385 (auth-source-netrc-create): Take user login name as default in user
1386 prompt. Move all the save functionality to a lexically bound function
1387 under the :save-function token in the returned list. Set up clearer
1388 default prompts for user, host, port, and secret.
1389 (auth-source-netrc-saver): New function, intended to be wrapped for
1392 2011-03-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1394 * shr.el (shr-table-horizontal-line): Change the defaults for the table
1395 lines to be spaces instead.
1397 2011-03-07 Julien Danjou <julien@danjou.info>
1399 * sieve-manage.el (sieve-sasl-auth): Create auth-info if not found.
1400 (sieve-sasl-auth): Check that auth-source-search did return something,
1401 or just return an empty string.
1403 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
1405 * gnus.el (gnus-interactive): Use read-directory-name.
1407 * gnus-uu.el (gnus-uu-decode-uu-and-save)
1408 (gnus-uu-decode-unshar-and-save, gnus-uu-decode-save)
1409 (gnus-uu-decode-binhex, gnus-uu-decode-yenc)
1410 (gnus-uu-decode-save-view, gnus-uu-decode-postscript-and-save):
1413 * gnus-group.el (gnus-group-make-directory-group): Likewise.
1415 2011-03-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1417 * gnus-start.el (gnus-group-change-level): Allow putting foreign groups
1418 onto the list of killed groups, too. This makes killed nnimap groups,
1419 for instance, more reliably not reappear.
1421 * nnimap.el (nnimap-request-thread): Don't bug out when we can't find
1424 * gnus-sum.el (gnus-update-read-articles): Fix typo.
1426 * gnus.el (gnus-valid-select-methods): Mark nnimap as a backend that
1427 really have server-side marks.
1429 * gnus-sum.el (gnus-propagate-marks): Change default back to nil again,
1430 since most backends do not usefully have server-side marks.
1431 (gnus-update-read-articles): Propagate marks to all backends that
1432 really have server-side marks.
1434 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
1436 * message.el (message-cite-reply-position, message-cite-style):
1438 (message-yank-original): Use the new citation styles.
1440 2011-03-04 Daiki Ueno <ueno@unixuser.org>
1442 * message.el (message-options): Revert 22da67af (workaround for XEmacs
1443 buffer-local issue); don't mark it buffer-local when running under
1446 2011-03-03 Tassilo Horn <tassilo@member.fsf.org>
1448 * nnimap.el (nnimap-parse-flags): Add a workaround for FETCH lines with
1449 numbers too big to be `read'.
1451 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
1453 * password-cache.el (password-in-cache-p): Add autoload.
1455 * message.el (message-options): Make buffer-local two ways to attempt
1456 to fix a XEmacs bug.
1458 2011-03-02 Julien Danjou <julien@danjou.info>
1460 * gnus-art.el (gnus-with-article-buffer): Fix buffer live check.
1462 2011-03-01 Julien Danjou <julien@danjou.info>
1464 * gnus-art.el (list-identifier): Add list-identifier as a parameter
1466 (article-hide-list-identifiers): Use list-identifier group parameter.
1468 2011-02-28 Julien Danjou <julien@danjou.info>
1470 * sieve.el (sieve-buffer-script-name): New local variable to store
1472 (sieve-edit-script): Store sieve script name.
1473 (sieve-upload): Use sieve script name when uploading.
1474 (sieve-upload): Use substitute-command-keys.
1475 (sieve-edit-script): Use substitute-command-keys.
1476 (sieve-refresh-scriptlist): Use substitute-command-keys.
1477 (sieve-manage-mode-map): Define keymap properly.
1478 (sieve-manage-mode): Do not set mode name manually, change mode-name to
1479 (sieve-refresh-scriptlist): Use substitute-command-keys."Sieve-manage".
1480 Remove commented code about cvs.
1481 (sieve-manage-quit): New function.
1482 (sieve-manage-mode-map): Bind 'q' to sieve-manage-quit.
1484 2011-02-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1486 * gnus-group.el (gnus-import-other-newsrc-file): New function.
1488 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
1490 * auth-source.el (auth-source-search): Cache empty result sets.
1492 * password-cache.el (password-in-cache-p): Convenience function to
1493 check if a key is in the cache, even if the value is nil.
1495 * auth-source.el (auth-source-save-behavior): New variable to replace
1496 `auth-source-never-create'.
1497 (auth-source-netrc-create): Use it.
1498 (auth-source-never-save): Remove.
1500 2011-02-25 Lars Ingebrigtsen <larsi@gnus.org>
1502 * nnimap.el (nnimap-stream): Doc fix.
1503 (nnimap-open-connection-1): Reverse the order of the ports to that the
1504 prompted-for port is first.
1506 * gnus-start.el (gnus-get-unread-articles): Don't clobber the async
1507 retrieval by the no-group selection.
1509 * gnus-demon.el (gnus-demon-init): run-with-timer should be called with
1510 numerical parameters.
1512 2011-02-25 Julien Danjou <julien@danjou.info>
1514 * gnus-gravatar.el: Use gnus-with-article-buffer.
1516 * gnus-art.el (gnus-with-article-buffer): Check that the
1517 gnus-article-buffer is alive.
1519 2011-02-24 Teodor Zlatanov <tzz@lifelogs.com>
1521 * auth-source.el (auth-source-creation-prompts): New variable to manage
1522 creation-time prompts.
1523 (auth-source-search): Document it.
1524 (auth-source-format-prompt): Add utility function.
1525 (auth-source-netrc-create): Don't default the user name to
1526 user-login-name. Use `auth-source-creation-prompts' and some default
1527 prompts for user, host, port, and password (the default generic prompt
1529 (auth-source-never-save): Add customizable option to never save info.
1530 (auth-source-netrc-create): Use it and improve save prompts. Fix help
1533 2011-02-24 Katsumi Yamaoka <yamaoka@jpl.org>
1535 * auth-source.el (auth-source-netrc-create): Use `read-char' with no
1536 argument that XEmacs doesn't support.
1538 * dgnushack.el (dgnushack-compile): Exclude color.el from being
1539 compiled for Emacsen having no `libxml-parse-html-region' support.
1541 * gnus-xmas.el (gnus-xmas-define): Remove gnus-x-color-values.
1543 * lpath.el: Bind buffer-save-without-query for XEmacs.
1545 2011-02-23 Julien Danjou <julien@danjou.info>
1547 * gnus-art.el (article-make-date-line): Ignore errors if time is
1548 invalid and not convertible.
1549 (article-make-date-line): Only add lapsed time if time is not nil.
1551 2011-02-23 Teodor Zlatanov <tzz@lifelogs.com>
1553 * auth-source.el (auth-source-netrc-create): Use `read-char' instead of
1554 `read-char-choice' for backwards compatibility.
1555 (auth-source-netrc-element-or-first): New function to DTRT for
1556 parameter extraction.
1557 (auth-source-netrc-create): Use it and fix multiple parameter print
1558 bug. Use the default passed from above (given-default) or the
1559 built-in (user-login-name for :user).
1561 2011-02-23 Lars Ingebrigtsen <larsi@gnus.org>
1563 * gnus-start.el (gnus-dribble-read-file):
1564 Set buffer-save-without-query, since we always want to save the dribble
1567 * nnmail.el (nnmail-article-group): Allow a final "" split to work on
1570 * gnus-sum.el (gnus-user-date-format-alist): Rename back again from
1571 -summary- since it's a user-visible variable.
1573 * nnimap.el (nnimap-retrieve-group-data-early): Don't do QRESYNC the
1574 first time you use the new Gnus.
1576 2011-02-22 Teodor Zlatanov <tzz@lifelogs.com>
1578 * auth-source.el: Don't load netrc.el.
1579 (auth-sources): Search ~/.netrc as well by default.
1580 (auth-source-debug): Add 'trivia option for extra output.
1581 (auth-source-do-trivia): Use it.
1582 (auth-source-search): Simplify logic to use
1583 `auth-source-search-backends'. Use `auth-source-do-trivia' where
1584 appropriate. Don't keep a running count at this level. Layer :create
1585 and :delete options appropriately on the first and second passes.
1586 Don't track the backend with the search results.
1587 (auth-source-search-backends): New function to search a list of
1588 backends for a processed spec.
1589 (auth-source-netrc-parse): Cache all netrc files, making
1590 auth-source-netrc-cache an alist keyed by the file name and using the
1591 file mtime as the caching criterion. Keep the obfuscated data secret
1592 with a lexical bind.
1593 (auth-source-netrc-search): Don't calculate the length of the results
1595 (auth-source-search-backends): Fix bug.
1596 (auth-source-netrc-create): Rework prompts.
1598 2011-02-22 Andrew Cohen <cohen@andy.bu.edu>
1600 * nnir.el (nnir-imap-search-arguments,nnir-imap-default-search-key):
1601 Lower case names of search constraints.
1602 (nnir-run-query): Cache and reuse search constraints for all imap
1605 2011-02-22 Lars Ingebrigtsen <larsi@gnus.org>
1607 * gnus-msg.el (gnus-inews-add-send-actions): Restore the winconf name
1609 (gnus-setup-message): Define missing variable from last checkin.
1611 * gnus-sum.el (gnus-summary-show-article): When called with t as the
1612 value, show the raw article.
1614 2011-02-22 Lars Magne Ingebrigtsen <lars@ingebrigtsen.no>
1616 * gnus.el: No Gnus v0.13 is released.
1618 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1620 * nnimap.el (nnimap-open-connection-1): Revert last change, since
1621 auth-source now accepts numbers.
1623 * auth-source.el (auth-source-netrc-parse): Accept a number as the port
1625 (auth-source-ensure-strings): New function.
1627 * gnus-art.el (gnus-article-update-date-headers): Doc fix.
1628 (gnus-article-setup-buffer): Always restart the date timer so that user
1629 changes to the frequency is respected.
1631 * nnimap.el (nnimap-open-connection-1): auth-source expects strings as
1632 port numbers, so make sure it gets that if nnimap-server-port is
1635 2011-02-21 Simon Josefsson <simon@josefsson.org>
1637 * nnimap.el (nnimap-inbox): Doc fix.
1639 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1641 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1642 Autoload. Add optional arg FRAME, and pass it to color-values.
1643 (color-complement): Caller changed. Doc fix.
1644 (color-gradient): Rewrite for better clarity and efficiency.
1646 2011-02-20 Chong Yidong <cyd@stupidchicken.com>
1648 * shr-color.el (shr-color->hexadecimal): Use renamed function names
1649 color-rgb-to-hex, color-name-to-rgb, color-srgb-to-lab, and
1652 2011-02-20 Drew Adams <drew.adams@oracle.com>
1654 * color.el: First part of merge from hexrgb.el.
1655 (color-rgb-to-hex): Rename from color-rgb->hex.
1656 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1657 saturation to zero if the value is too small.
1658 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1659 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1660 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1661 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1662 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1663 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1664 (color-cie-de2000): Doc fix.
1666 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1668 * nntp.el (nntp-finish-retrieve-group-infos): Add a kludge to use the
1669 given method as in the group name if we're using an extended method.
1670 (nntp-finish-retrieve-group-infos): Wait for the end of the LIST ACTIVE
1671 command, if we're using that, instead of waiting for the beginning.
1673 * gnus-start.el (gnus-get-unread-articles): Extend the methods so that
1674 we're sure to get unique server names, and we don't output two async
1675 commands in the same buffer. This fixes an NNTP hang for some users.
1677 2011-02-21 Lars Magne Ingebrigtsen <lars@ingebrigtsen.no>
1679 * gnus.el: No Gnus v0.11 is released.
1681 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1683 * gnus-sum.el (gnus-summary-next-article): Add a kludge to reselect the
1684 summary buffer before reading going to the next buffer. This avoids
1685 putting the point in the group buffer if you `C-g' the command.
1687 * auth-source.el (auth-source-netrc-parse): Add an in-memory netrc
1688 cache (for now) to make ~/.authinfo.gpg files usable.
1690 * nnfolder.el (copyright-update): Define for the compiler.
1692 * auth-source.el (auth-source-search): Fix unbound variable.
1694 2011-02-19 Glenn Morris <rgm@gnu.org>
1696 * gnus.el (gnus-meta): Doc fix.
1698 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1700 * nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update,
1701 in case it's not yet loaded.
1703 2011-02-20 Lars Ingebrigtsen <larsi@gnus.org>
1705 * nnimap.el (nnimap-wait-for-response): Ensure that we get the entire
1706 line we're waiting for.
1708 2011-02-19 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1710 * gnus-art.el (gnus-article-next-page-1): Because customized mode-line
1711 face with line-width greater than zero will cause RET in gnus summary
1712 buffer to scroll down article page-wise because auto vscroll happens,
1713 it should be temporalily disabled when doing a scroll-up.
1715 2011-02-19 Lars Ingebrigtsen <larsi@gnus.org>
1717 * nnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK"
1718 outputs from the server.
1720 2011-02-18 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
1722 * gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook
1723 later so that bbdb can hook in easier.
1725 2011-02-18 Lars Ingebrigtsen <larsi@gnus.org>
1727 * auth-source.el (auth-source-search): Don't try to create credentials
1728 if the caller doesn't want that.
1729 (auth-source-search): If we don't find a match, don't bug out on
1730 non-bound variables.
1731 (auth-source-search): Only ask a single backend to create the
1734 * nnimap.el (nnimap-log-command): Add a newline to the inhibited
1736 (nnimap-credentials): Protect against auth-source-search returning nil.
1737 (nnimap-request-list): Protect against not being able to open the
1740 2011-02-17 Lars Ingebrigtsen <larsi@gnus.org>
1742 * auth-source.el (auth-source-search): Do a two-phase search, one with
1743 no :create to get the responses from all backends.
1745 * nnimap.el (nnimap-open-connection-1): Delete duplicate server names
1746 when getting credentials.
1748 * gnus-util.el (gnus-delete-duplicates): New function.
1750 2011-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1752 * nnimap.el (nnimap-credentials): Instead of picking the first port as
1753 a creation default, pass the whole port list down. It will be
1756 * auth-source.el (auth-source-search): Updated docs to talk about
1757 multiple creation choices.
1758 (auth-source-netrc-create): Accept a list as a value (from the search
1759 parameters) and do completion on that list. Keep a separate netrc line
1760 with the password obscured for showing the user.
1762 * nnimap.el (nnimap-open-connection-1): Make the `nnimap-address' the
1763 first choice to `auth-source-search' so it will be used for entry
1764 creation instead of the server's Gnus-specific name.
1765 (nnimap-credentials): Rely on the auth-source library to select which
1766 port is actually wanted in the new netrc entry, so don't override
1767 `auth-source-creation-defaults'.
1769 * auth-source.el (auth-source-netrc-parse): Use :port instead of
1770 :protocol and accept a missing user, host, or port as a wildcard match.
1771 (auth-source-debug): Default to off.
1773 (auth-source-netrc-search, auth-source-netrc-create)
1774 (auth-source-secrets-search, auth-source-secrets-create)
1775 (auth-source-user-or-password, auth-source-backend, auth-sources)
1776 (auth-source-backend-parse-parameters, auth-source-search): Use :port
1777 instead of :protocol.
1779 * nnimap.el (nnimap-credentials): Pass a port default to
1780 `auth-source-search' in case an entry needs to be created.
1781 (nnimap-open-connection-1): Use :port instead of :protocol.
1783 2011-02-17 Katsumi Yamaoka <yamaoka@jpl.org>
1785 * auth-source.el: Bind load-path when loading EIEIO from
1786 "gnus-fallback-lib/eieio"; don't pass more than two args, that XEmacs
1787 21.4 doesn't support, to `require'.
1788 (auth-source-secrets-search): Use mm-delete-duplicates instead of
1789 delete-dups that is not available in XEmacs 21.4.
1791 2011-02-16 Raphael Kubo da Costa <kubito@gmail.com> (tiny change)
1793 * auth-source.el: Correctly load EIEIO from "gnus-fallback-lib/eieio"
1794 as EIEIO must also be loaded when auth-source.el is being
1797 2011-02-16 Teodor Zlatanov <tzz@lifelogs.com>
1799 * gnus-fallback-lib/eieio/eieio.el: Copy from Emacs.
1801 * gnus-fallback-lib/eieio/eieio-speedbar.el: Copy from Emacs.
1803 * gnus-fallback-lib/eieio/eieio-opt.el: Copy from Emacs.
1805 * gnus-fallback-lib/eieio/eieio-datadebug.el: Copy from Emacs.
1807 * gnus-fallback-lib/eieio/eieio-custom.el: Copy from Emacs.
1809 * gnus-fallback-lib/eieio/eieio-comp.el: Copy from Emacs.
1811 * gnus-fallback-lib/eieio/eieio-base.el: Copy from Emacs.
1813 * auth-source.el: Load EIEIO from "gnus-fallback-lib/eieio" if
1816 2011-02-16 Lars Ingebrigtsen <larsi@gnus.org>
1818 * gnus-sum.el (gnus-propagate-marks): Change default to t again, since
1819 nil means that nnimap doesn't get updated.
1821 2011-02-16 Teodor Zlatanov <tzz@lifelogs.com>
1823 * auth-source.el (auth-source-netrc-create): Return a synthetic search
1824 result when the user doesn't want to write to the file.
1825 (auth-source-netrc-search): Expect a synthetic result and proceed
1827 (auth-source-cache-expiry): New variable to override
1828 `password-cache-expiry'.
1829 (auth-source-remember): Use it.
1831 * nnimap.el (nnimap-credentials): Remove the `inhibit-create'
1832 parameter. Create entry if necessary by using :create t.
1833 (nnimap-open-connection-1): Don't pass `inhibit-create'.
1835 2011-02-15 Teodor Zlatanov <tzz@lifelogs.com>
1837 * auth-source.el (auth-source-debug): Enable by default and don't
1838 mention the obsolete `auth-source-hide-passwords'.
1839 (auth-source-do-warn): New function to debug unconditionally.
1840 (auth-source-do-debug): Use it.
1841 (auth-source-backend-parse): Use it for invalid `auth-sources' entries
1842 and for Secrets API entries when the secrets.el library is not
1845 2011-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1847 * gnus-sum.el (gnus-propagate-marks): Default to nil.
1848 (gnus-summary-exit): Kill the correct article buffer on exit from a
1851 * gnus-start.el (gnus-use-backend-marks): Removed, since it duplicates
1852 gnus-propagate-marks.
1854 * gnus-sum.el (gnus-summary-exit-no-update): Restore the group conf
1855 before killing the buffers so that a non-full window conf gets handled
1857 (gnus-summary-exit): Ditto.
1858 (gnus-summary-read-group-1): Ditto.
1860 * nntp.el (nntp-retrieve-group-data-early): Reinstate the two-part
1861 async code again so that we can debug it properly.
1863 * message.el (message-reply): Take an optional switch-buffer parameter
1864 so that Gnus window confs are respected better.
1866 2011-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1868 * auth-source.el (auth-source-backend-parse-parameters): Don't rely on
1869 `plist-get' to accept non-list parameters (XEmacs issue).
1871 (auth-source-secrets-search): Use `delete-dups', `append mapcar', and
1872 `butlast' instead of `remove-duplicates', `mapcan', and `subseq'.
1873 (auth-sources, auth-source-backend-parse, auth-source-secrets-search):
1874 Login collection is "Login" and not "login".
1876 2011-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1878 * gnus-art.el (article-update-date-lapsed): Don't bug out when updating
1881 * nnimap.el (nnimap-inhibit-logging): New variable.
1882 (nnimap-log-command): Don't log login commands.
1884 * auth-source.el (auth-source-netrc-search): The asserts seem to want
1885 to have more parameters.
1887 * nnimap.el (nnimap-send-command): Mark the command time for each
1888 command, so that we don't get NOOPs stepping on our toes.
1890 * gnus-art.el (article-date-ut): Get the date from the Date header on
1893 2011-02-14 Katsumi Yamaoka <yamaoka@jpl.org>
1895 * auth-source.el (auth-source-search): Use copy-sequence instead of
1896 the cl.el copy-list.
1898 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1900 * imap.el: Bring it back (revert
1901 84d800cd31de3064f0ed39617d725709a2f8f42f).
1903 2011-02-13 Adam Sjøgren <asjo@koldfront.dk>
1905 * gnus-delay.el (gnus-delay-article) Fix number of seconds per day.
1908 2011-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1910 * gnus-art.el (gnus-article-mode-line-format): Remove the article
1911 washing status from the default format. It isn't very informative.
1913 2011-02-13 Tassilo Horn <tassilo@member.fsf.org> (tiny change)
1915 * nnimap.el (nnimap-request-accept-article, nnimap-process-quirk):
1916 Fix Gcc processing on imap.
1918 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1920 * imap.el: Remove file. All the functionality is in nnimap.el.
1922 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1924 * message.el (message-bury): Don't pop up a new window when selected
1925 window is dedicated.
1927 2011-02-10 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
1929 * gnus-sum.el (gnus-summary-save-parts): Use read-directory-name.
1931 2011-02-10 Teodor Zlatanov <tzz@lifelogs.com>
1933 * sieve-manage.el: Autoload `auth-source-search'.
1934 (sieve-sasl-auth): Use it.
1936 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1938 * nnimap.el: Autoload `auth-source-forget+'.
1939 (nnimap-open-connection-1): Use it if the connection fails.
1941 * auth-source.el: Require `password-cache'.
1942 (auth-source-hide-passwords, auth-source-cache): Remove and mark
1944 (auth-source-magic): Marker for `password-cache' keys.
1945 (auth-source-do-cache): Update docstring.
1946 (auth-source-search): Use and check cache.
1947 (auth-source-forget-all-cached, auth-source-remember)
1948 (auth-source-recall, auth-source-forget, auth-source-forget+)
1949 (auth-source-specmatchp): Caching support functions.
1950 (auth-source-forget-user-or-password, auth-source-forget-all-cached):
1951 Remove and obsolete.
1952 (auth-source-user-or-password): Remove caching to further discourage
1953 using it. Always hide passwords.
1955 * password-cache.el (password-cache-remove): Accept secrets that are
1958 2011-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1960 * nntp.el (nntp-retrieve-group-data-early-disabled): Disable the async
1961 code for now, since it doesn't work for all users.
1963 2011-02-09 Julien Danjou <julien@danjou.info>
1965 * message.el (message-options): Make message-options really buffer
1968 2011-02-08 Teodor Zlatanov <tzz@lifelogs.com>
1970 * mail-source.el: Autoload `auth-source-search'.
1971 (mail-source-keyword-map): Note order matters.
1972 (mail-source-set-1): Get all the mail-source source values and
1973 defaults and search auth-source on those if needed. This can all
1974 probably be simplified.
1976 * nnimap.el: Autoload `auth-source-search'.
1977 (nnimap-credentials): Use it.
1978 (nnimap-open-connection-1): Ask for the virtual server and physical
1979 address in one shot.
1981 * nntp.el: Autoload `auth-source-search'.
1982 (nntp-send-authinfo): Use it. Note TODO.
1984 2011-02-08 Julien Danjou <julien@danjou.info>
1986 * shr.el (shr-tag-body): Add support for text attribute in body
1989 * message.el (message-options): Make message-options a local variable.
1991 2011-02-07 Teodor Zlatanov <tzz@lifelogs.com>
1993 * auth-source.el (auth-source-secrets-search)
1994 (auth-source-user-or-password): Use `append' instead of `nconc'.
1995 (auth-source-user-or-password): Build return list better and protect
1996 against nil :secret.
1998 2011-02-07 Lars Ingebrigtsen <larsi@gnus.org>
2000 * nnimap.el (nnimap-update-info): Refactor slightly.
2001 (nnimap-update-info): Tell Gnus whether there are any \Recent messages.
2002 (nnimap-update-info): Clean up slightly.
2003 (nnimap-quirk): Add quirk for Gmail IMAP which bugs out on NUL
2005 (nnimap-process-quirk): Rename function to avoid collision.
2006 (nnimap-update-info): Fix macrology bug-out.
2007 (nnimap-update-info): Simplify split history test.
2009 2011-02-06 Michael Albinus <michael.albinus@gmx.de>
2011 * auth-source.el (top): Require 'eieio unconditionally.
2012 Autoload `secrets-get-attributes' instead of `secrets-get-attribute'.
2013 (auth-source-secrets-search): Limit search when `max' is greater than
2016 2011-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2018 * nntp.el (nntp-finish-retrieve-group-infos): Protect against the first
2019 part not returning any data.
2021 * proto-stream.el (open-protocol-stream): Document the return value.
2023 2011-02-06 Teodor Zlatanov <tzz@lifelogs.com>
2025 * auth-source.el (auth-source-secrets-search): Add examples.
2027 2011-02-06 Julien Danjou <julien@danjou.info>
2029 * message.el (message-setup-1): Handle message-generate-headers-first
2032 2011-02-06 Teodor Zlatanov <tzz@lifelogs.com>
2034 * auth-source.el (auth-sources): Allow for simpler defaults for Secrets
2035 API with a string "secrets:collection-name" and with 'default.
2036 (auth-source-backend-parse): Parse "secrets:collection-name" and
2037 'default. Recurse on parses instead of repeating code. Use the
2038 Secrets API is the source is not nil and 'ignore otherwise. Emit a
2039 message when ignoring a source.
2040 (auth-source-search): List ignored search keys at the top level.
2041 (auth-source-netrc-create): Use `case' instead of `cond'.
2042 (auth-source-secrets-search): Created with TODOs.
2043 (auth-source-secrets-create): Created with TODOs.
2044 (auth-source-retrieve, auth-source-create, auth-source-delete)
2045 (auth-source-protocol-defaults, auth-source-user-or-password-imap)
2046 (auth-source-user-or-password-pop3, auth-source-user-or-password-ssh)
2047 (auth-source-user-or-password-sftp)
2048 (auth-source-user-or-password-smtp): Remove.
2049 (auth-source-user-or-password): Deprecated and modified to be a wrapper
2050 around `auth-source-search'. Not tested thoroughly.
2052 2011-02-04 Teodor Zlatanov <tzz@lifelogs.com>
2054 * auth-source.el: Bring in assoc and eioeio libraries.
2055 (secrets-enabled): New variable to track the status of the Secrets API.
2056 (auth-source-backend): New EIOEIO class to represent a backend.
2057 (auth-source-creation-defaults): New variable to set prompt defaults
2058 during token creation (see the `auth-source-search' docstring for
2060 (auth-sources): Simplify to allow a simple string as a netrc backend
2062 (auth-source-backend-parse): Parse a backend from an `auth-sources' spec.
2063 (auth-source-backend-parse-parameters): Fill in the backend parameters.
2064 (auth-source-search): Main auth-source API entry point.
2065 (auth-source-delete): Wrapper around `auth-source-search' for deletion.
2066 (auth-source-search-collection): Helper function for searching.