ChangeLog 542 KB
Newer Older
1 2 3 4 5 6 7 8
2010-09-24  Katsumi Yamaoka  <yamaoka@jpl.org>

	* nnir.el: Silence the byte compiler.

	* gnus-html.el (gnus-html-encode-url-chars): New function, that's an
	alias to browse-url-url-encode-chars if any.
	(gnus-html-encode-url): Use it.

9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus-start.el (gnus-use-backend-marks): New variable.
	(gnus-get-unread-articles-in-group): Use it.

	* gnus-sum.el (gnus-summary-local-variables): Prepare for list/range
	makeover.

2010-09-23  Andrew Cohen  <cohen@andy.bu.edu>

	* nnimap.el (nnimap-retrieve-headers): Return 'headers.

2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus-start.el (gnus-fixup-nnimap-unread-after-getting-new-news):
	Removed.
	(gnus-setup-news-hook): Removed
	gnus-fixup-nnimap-unread-after-getting-new-news.

	* gnus-int.el (gnus-request-update-info): Protect against backends not
	having the function.

	* nnimap.el (nnimap-stream): Mention starttls.
	(nnimap-open-connection): Add starttls support.

2010-09-23  Andrew Cohen  <cohen@andy.bu.edu>

	* nnir.el (nnir-run-imap): Fix up nnir to work with the new nnimap.

2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* nnimap.el (nnimap-transform-headers): Don't bug out on invalid
	BODYSTRUCTUREs.
	(nnimap-transform-headers): Unfold quoted {42} headers.

	* gnus-start.el (gnus-get-unread-articles): Allow backends to update
	the info.
	(gnus-get-unread-articles): Only call updatep on backends that support
	it.

	* nnweb.el (nnweb-request-update-info): NOOP.

	* nnmaildir.el (nnmaildir-request-marks): Renamed from -update-info.

	* nnfolder.el (nnfolder-request-marks): Renamed from -update-info,
	since it only deals with marks.

	* gnus-int.el (gnus-request-marks): Renamed gnus-request-update-info to
	gnus-request-marks, and make a new gnus-request-update-info.

	* nnimap.el (nnimap-update-info): When UIDNEXT is present, use that for
	the active instead of the high number, which is usually too low.

2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>

	* netrc.el (netrc-parse): Remove encrypt.el mentions.
	* encrypt.el: Removed.

67 68
2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>

69 70 71
	* nnimap.el (nnimap-update-info): Sync non-standard flags from the
	server in symbolic form.

72 73 74
	* gnus-html.el (gnus-max-image-proportion): Increase proportion to
	0.9.

75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* nnimap.el (nnimap-parse-flags): Parse the data in any order.
	(nnimap-update-info): Fix up code slightly.

	* gnus-int.el (gnus-open-server): Add tracing for performance
	debugging.

	* gnus-group.el (gnus-group-highlight-line): Typo fix: beg, not start.
	(gnus-group-insert-group-line): Pass the real group name so that it
	gets the right data.

	* gnus-start.el (gnus-get-unread-articles): Don't have
	`gnus-get-unread-articles-in-group' update info, since that can be
	really slow and doesn't seem to be needed?

2010-09-22  Julien Danjou  <julien@danjou.info>

	* gnus-group.el (gnus-group-insert-group-line): Call
	gnus-group-highlight-line.
	(gnus-group-update-hook): Remove gnus-group-highlight-line from the
	default hook list.
	(gnus-group-update-eval-form): Add new function.
	(gnus-group-highlight-line): Use gnus-group-update-eval-form.
	(gnus-group-get-icon): Use gnus-group-update-eval-form.

2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* nnimap.el (nnimap-request-expire-articles): If nnmail-expiry-wait is
	immediate, then expire all articles.
	(nnimap-update-info): Fix off-by-one errors.
	(nnimap-flags-to-marks): Would return no marks lists for group with no
	flags.  Instead return the other data.

2010-09-22  Julien Danjou  <julien@danjou.info>

	* gnus-group.el (gnus-group-get-icon): Renamed gnus-group-add-icon that
	Only return an icon.
	(gnus-group-insert-group-line): Compute icon to return.

	* gnus-html.el (gnus-html-image-automatic-caching): Add custom
	variable.
	(gnus-html-image-fetched): Only cache if
	gnus-html-image-automatic-caching is set.
	(gnus-html-image-fetched): Check for errors.

2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus-start.el (gnus-read-active-for-groups): Only run -request-scan
	once per method on `g'.  This ensures that backends like nnfolder don't
	open all their folders.

	* nnimap.el (nnimap-split-incoming-mail): Delete 'junk.
	(nnimap-request-list): Nix out group in the correct buffer.
	(nnimap-parse-flags): Implement by using `read' instead of
	hand-parsing.
	(nnimap-flags-to-marks): Pass on permanent-flags.
	(nnimap-make-process-buffer): Record the server name.
	(nnimap-parse-flags): Fix typo.
	(nnimap-request-scan): Run split on the server in general, not just a
	single group.

	* nnmail.el (nnmail-split-incoming): Take an optional junk-func
	parameter, and propagate this downwards.

	* nnimap.el (nnimap-request-list): Set the current nnimap group to nil,
	since EXAMINE changes it on the server.

	* gnus-int.el (gnus-request-expire-articles): Inhibit the daemon, since
	this command might take a while.

2010-09-22  Julien Danjou  <julien@danjou.info>

148 149 150
	* gnus-html.el (gnus-html-put-image): Stop using markers. They are
	harmful if you have 2 images side-by-side, they can't be properly
	update on text deletion.  Using text-property is safer here.
151 152 153 154 155 156 157 158 159 160 161 162 163
	(gnus-html-image-fetched): Search also for \r\n\r\n to get the start of
	data.

2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* nnimap.el (nnimap-expunge-inbox): Removed.
	(nnimap-mark-and-expunge-incoming): Use nnimap-expunge instead.
	(nnimap-expunge): Flip default to t.

	* gnus.el (gnus-method-to-server): Don't push things to the cache
	unless it's unique.
	(gnus-server-to-method): Ditto.

164 165 166 167
2010-09-22  Teodor Zlatanov  <tzz@lifelogs.com>

	* nnimap.el (nnimap-delete-article): Tell user if expunge won't happen.

168 169
2010-09-22  Julien Danjou  <julien@danjou.info>

170 171 172 173 174 175 176
	* gnus-html.el (gnus-html-get-image-data): Search also for \r\n\r\n to
	get the start of data.
	(gnus-html-encode-url): Add this function to encode special chars in
	URL.
	(gnus-html-wash-images): Use gnus-html-encode-url to encode URL.
	(gnus-html-prefetch-images): Use gnus-html-encode-url to encode URL.

Julien Danjou's avatar
Julien Danjou committed
177 178 179 180
	* gnus-group.el (gnus-group-update-hook): Call gnus-group-add-icon by
	default.
	(gnus-group-add-icon): Move to gnus-group.el, and rewrite so it works.

181 182 183 184
	* gnus-html.el (gnus-html-wash-images): Use xml-substitute-special on
	images alt-text.
	(gnus-html-put-image): Put alt-text as help-echo.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
185 186 187 188 189 190 191
2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>

	* mailcap.el (mailcap-parse-mailcap, mailcap-parse-mimetypes)
	* mm-util.el (mm-decompress-buffer)
	* nnir.el (nnir-run-find-grep)
	* pop3.el (pop3-list): Use 3rd arg of split-string.

192 193 194 195 196 197 198 199 200 201 202 203 204
2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus-sum.el (gnus-update-marks): Add sanity check to not delete marks
	outside the active range.  Suggested by Dan Christensen.

	* gnus-start.el (gnus-get-unread-articles): Get the extended method
	slightly later to avoid double-getting it.

	* nnml.el (nnml-generate-nov-file): Fix variable name clobbering from
	previous patch.

	* gnus-sum.el (gnus-adjust-marked-articles): Fix another typo.

205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258
2010-09-21  Adam Sjøgren  <asjo@koldfront.dk>

	* gnus-sum.el (gnus-adjust-marked-articles): Fix typo.

2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus-int.el (gnus-open-server): Give a better error message in the
	"go offline" case.

	* gnus-sum.el (gnus-adjust-marked-articles): Hack to avoid adjusting
	marks for nnimap, which is seldom the right thing to do.

	* gnus.el (gnus-sloppily-equal-method-parameters): Refactor out.
	(gnus-same-method-different-name): New function.

	* nnimap.el (parse-time): Require.

	* gnus-start.el (gnus-get-unread-articles): Fix the prefixed select
	method in the presence of many similar methods.

	* nnmail.el (nnmail-expired-article-p): Fix typo: time-subtract.

	* nnimap.el (nnimap-find-expired-articles): Don't refer to
	nnml-inhibit-expiry.

	* gnus-sum.el (gnus-summary-move-article): Use gnus-server-equal to
	find out whether methods are equal.

	* nnimap.el (nnimap-find-expired-articles): New function.
	(nnimap-process-expiry-targets): New function.
	(nnimap-request-move-article): Request the article before looking at
	what the Message-ID is.  Fix found by Andrew Cohen.
	(nnimap-mark-and-expunge-incoming): Wait for the last sequence.

	* nnmail.el (nnmail-expired-article-p): Allow returning the cutoff time
	for oldness in addition to being a predicate.

	* nnimap.el (nnimap-request-group): When we have zero articles, return
	the right data to Gnus.
	(nnimap-request-expire-articles): Only delete articles immediately if
	the target is 'delete.

	* gnus-sum.el (gnus-summary-move-article): When respooling to the same
	method, this would bug out.

	* gnus-group.el (gnus-group-expunge-group): Renamed from
	gnus-group-nnimap-expunge, and implemented as a normal interface
	function.

	* gnus-int.el (gnus-request-expunge-group): New function.

	* nnimap.el (nnimap-request-create-group): Implement.
	(nnimap-request-expunge-group): New function.

259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282
2010-09-21  Julien Danjou  <julien@danjou.info>

	* gnus-html.el (gnus-html-image-cache-ttl): Add new variable.
	(gnus-html-cache-expired): Add new function.
	(gnus-html-wash-images): Use `gnus-html-cache-expired' to check
	wethever we should display image for fetch it.
	Compute alt-text earlier to pass it to the fetching function too.
	(gnus-html-schedule-image-fetching): Change function argument to only
	get one image at a time, not a list.
	(gnus-html-image-fetched): Use `url-store-in-cache' to store image in
	cache.
	(gnus-html-get-image-data): New function to retrieve image data from
	cache.
	(gnus-html-put-image): Change buffer argument to use image data rather
	than file, and place image above region rather than inserting a new
	one. Do not take alt-text as argument, since it's useless now: we place
	the image above alt-text.
	(gnus-html-prune-cache): Remove.
	(gnus-html-show-images): Start to fetch image when we find one, do not
	push into a temporary list.
	(gnus-html-prefetch-images): Only fetch image if they have expired.
	(gnus-html-browse-image): Fix, use 'gnus-image-url.
	(gnus-html-image-map): Add "v" to browse-url on undisplayed image.

283 284 285 286
2010-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>

	* rfc2047.el (rfc2047-encode-parameter): Doc fix.

287 288
2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

289 290 291
	* gnus-group.el (gnus-group-line-format-alist): Have the ?U (unseen)
	spec inser "*" if the group isn't active instead of 0.

292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314
	* nnimap.el (nnimap-request-group): Don't select the imap buffer before
	opening the server.
	(nnimap-request-delete-group): Implement group deletion.
	(nnimap-transform-headers): Return the size of the entire message in
	the Bytes header, not just the size of the first part.
	(nnimap-request-move-article): When moving an article from nnimap,
	request the article first so the accepting form has an article to
	accept.  Reported by Dan Christensen.
	(nnimap-command): Make sure that the error message doesn't error out.

2010-09-20  David Edmondson  <dme@dme.org>  (tiny change)

	* nnimap.el (nnimap-request-set-mark): Don't wait for a response when
	we haven't requested anything.

2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* nnimap.el (nnimap-fetch-inbox): Use "[]" as the parameter instead of
	"".  Fix found by Andrew Cohen.

	* mail-parse.el (mail-header-encode-parameter): Use -encode-parameter
	instead of -encode-string.

315 316 317 318 319 320 321
2010-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-html.el (gnus-html-image-fetched): Pass arg to kill-buffer.

	* gnus-sum.el (gnus-summary-update-mark): Replace subst-char-in-string
	by mm-subst-char-in-string.

322 323
2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>

324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393
	* nnimap.el (nnimap-wait-for-connection): Avoid a race condition while
	waiting for the connection string.

	* gnus-html.el (gnus-html-image-fetched): Protect against the data not
	arriving.

	* gnus-start.el (gnus-ignored-newsgroups): Remove [] from the list of
	bogus characters.  This allows selecting certain Gmail groups.

	* nnimap.el (nnimap-find-wanted-parts-1): New function.
	(nnimap-fetch-partial-articles): New variable.
	(nnimap-open-connection): When looking for credentials, also use the
	nnimap-server-port.
	(nnimap-request-article): Return the group/article number, so that Gnus
	`^' works as expected.
	(nnimap-find-wanted-parts-1): Return the MIME parts as IMAP wants
	them.

	* gnus.el (gnus-similar-server-opened): Refactor a bit and add
	comments.
	(gnus-methods-sloppily-equal): New function.
	(gnus): When using the development version of Gnus, load the gnus-load
	file.

	* gnus-start.el (gnus-get-unread-articles): Make sure that we call
	`gnus-open-server' on each method before trying to scan them etc.  This
	ensures that all the backend parameters are set correctly.

	* nnimap.el (nnimap-authenticator): New variable.
	(nnimap-open-connection): Allow anonymous login.
	(nnimap-transform-headers): The chars header is called Chars not
	Bytes.
	(nnimap-wait-for-response): Don't infloop if the IMAP connection
	drops.

	* gnus-art.el (gnus-article-describe-briefly): Fix up typo in last
	patch, found by Knut Anders Hatlen.

2010-09-19  Andreas Schwab  <schwab@linux-m68k.org>

	* gnus-agent.el (gnus-agent-batch-confirmation)
	(gnus-agent-expire-group, gnus-agent-expire): Pass proper format string
	to gnus-message.
	* gnus-art.el (gnus-article-describe-briefly): Likewise.
	* gnus-group.el (gnus-group-list-groups, gnus-group-describe-group)
	(gnus-group-edit-global-kill, gnus-group-describe-briefly): Likewise.
	* gnus-int.el (gnus-open-server): Likewise.
	* gnus-score.el (gnus-score-edit-current-scores, gnus-score-edit-file)
	(gnus-score-check-syntax): Likewise.
	* gnus-srvr.el (gnus-browse-describe-briefly): Likewise.
	* gnus-start.el (gnus-read-active-file-1, gnus-read-active-file-1):
	Likewise.
	* gnus-sum.el (gnus-summary-describe-briefly): Likewise.

2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus-html.el (gnus-html-prefetch-images): Fix up the url-retrieve
	calling conventions so that prefetch doesn't bug out.

2010-09-19  Julien Danjou  <julien@danjou.info>

	* gnus-sum.el (gnus-summary-update-mark): Use `subst-char-in-string'
	rather than `subst-char-in-region' in order to be able to replace ASCII
	char by UTF-8 ones.

	* gnus-html.el (gnus-html-prefetch-images): Use `url-retrieve' rather
	than curl.
	(gnus-html-image-fetched): Fix `gnus-html-put-image' call not setting
	the right URL and ALT text on images.
	(gnus-html-wash-tags): Fix tag case.
Juanma Barranquero's avatar
Juanma Barranquero committed
394
	Add support for `s' and `ins' tags.  Use gnus-emphasis-* faces.
395 396 397 398 399 400 401 402 403 404 405 406 407 408
	(gnus-article-html): Add -o display_ins_del=2 option.
	(gnus-html-wash-tags): Add better support for <ul> tags symbols.

2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* nnheader.el (nnheader-insert-nov): Protect against junk appearing in
	the extra mail headers, which sometimes seem to happen for unknown
	reasons.

	* mail-parse.el (mail-header-encode-parameter): Define as
	rfc2045-encode-string instead of as rfc2231-encode-string, since some
	(or most, perhaps?) mail readers don't understand the latter, but do
	understand the former.

409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429
	* gnus-agent.el (gnus-agent-auto-agentize-methods): Switch the default
	to nil, so that no methods are automatically agentized.  I think this
	is probably what most users want.

	* gnus-html.el (gnus-html-schedule-image-fetching): Ignore all errors
	from url-retrieve, for instance about invalid URLs.

	* nnimap.el (nnimap-finish-retrieve-group-infos): Protect against
	groups that have no articles.
	(nnimap-request-article): Check that we really got an article when we
	requested one.

	* gnus-agent.el (gnus-agent-load-alist): Nix out the alist if the file
	doesn't exist.

	* nnimap.el (nnimap-finish-retrieve-group-infos): Return data in the
	nntp buffer so the agent can save it.
	(nnimap-open-shell-stream): Bind `process-connection-type' to nil, so
	that CRLF doesn't get translated to \n.
	(nnimap-open-connection): Don't make 'shell commands only send \n.

430 431 432 433 434 435 436 437 438
2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* nnml.el (nnml-files): Add prefix to dynamic var `files'.
	(nnml-generate-nov-databases-directory, nnml-generate-active-info):
	Update var name.
	(nnml-generate-nov-file): Use dolist.
	(nnml-directory-articles, nnml-current-group-article-to-file-alist):
	Use with-current-buffer.

439 440 441 442 443
2010-09-18  Julien Danjou  <julien@danjou.info>

	* gnus-html.el (gnus-html-schedule-image-fetching): Fetch all images in
	parallel.

444 445
2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>

446 447 448 449
	* nnimap.el (nnimap-update-info): When doing partial marks update, get
	the range update right.
	(nnimap-request-group): Don't make `M-g' bug out on group with no
	marks.
450
	(nnoo): Required, so that other packages can require nnimap.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502
	(nnimap-wait-for-response): Be a bit more lax in finding the end of the
	command we're looking for.  This helps when the server sends more
	responses after we've gotten everything we expected.
	(nnimap): Add a `newlinep' field to keep track of end-of-line
	conventions.
	Don't send CRLF to things that don't want it.
	(nnimap-request-accept-article): Ditto.

2010-09-18  Julien Danjou  <julien@danjou.info>

	* gnus-html.el (gnus-html-schedule-image-fetching): Use `url' rather
	than curl to retrieve images.

2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* nnimap.el (nnimap-update-info): Extend the info so that we can set
	the marks.
	(nnimap-open-connection): Fix typo -- should be 'shell, not 'stream.
	(nnimap-wait-for-connection): New function.
	(nnimap-open-connection): If we have PREAUTH, don't query for login
	credentials.
	(nnimap-update-info): Fix off-by-one error when concatenating ranges
	when doing a partial update.

2010-09-18  Julien Danjou  <julien@danjou.info>

	* gnus-html.el (gnus-html-wash-tags): Add support for i, b and u HTML
	tags.

2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* nnimap.el (nnimap-credentials): New function.
	(nnimap-open-connection): Use the new function to look for credentials
	also on the numeric equivalents of "imap" and "imaps".

	* gnus-start.el (gnus-activate-group): Send the info to
	gnus-request-group.

	* nnimap.el (nnimap-request-group): Have the "check" version of the
	function parse flags and update the info, so that a `M-g' get a total
	resync of all flags from the group.

	* gnus-int.el (gnus-request-group): Take an optional `info' parameter
	to allow backends to alter the info on group selection.  Also alter all
	the backend -request-group functions to take the parameter.

	* nnimap.el (nnimap-store-info): New function.
	(nnimap-update-info): Store the info for later usage.
	(nnimap-request-group): Use the stored info for the dont-check case, so
	that we don't retrieve all marks when we enter a group.

	* nnimap.el: Use deffoo instead of defun for interface functions.
503

504 505 506 507
	* gnus-start.el (gnus-get-unread-articles): Allow the backends to
	update the group info.  This makes the nndraft groups, for instance, go
	back to their old behaviour.

508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557
	* gnus-sum.el (gnus-select-newsgroup): Indent.

	* nnimap.el (nnimap-possibly-change-group): Return nil if we can't log
	in.
	(nnimap-finish-retrieve-group-infos): Make sure we're not waiting for
	nothing.

	* gnus-start.el (gnus-get-unread-articles): Don't try to scan groups
	from methods that are denied.

	* gnus-int.el (gnus-method-denied-p): New function.

	* nnimap.el (nnimap-open-connection): Use auth-sources to query and
	store the password instead of netrc.
	(nnimap-open-connection): Don't error out when we can't make a
	connections.

	* auth-source.el (auth-source-create): In the password prompt, say what
	we're querying for.  Also prompt for user name if that hasn't been
	given.

	* nnimap.el (nnimap-with-process-buffer): Removed.

2010-09-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus-start.el (gnus-read-active-for-groups): Don't use the "finish"
	method when we're reading from the agent.

	* nnagent.el (nnagent-retrieve-group-data-early): New dummy method.

	* auth-source.el (auth-sources): Add ~/.authinfo to the default, since
	that's probably most useful for users.

	* gnus-int.el (gnus-check-server): Save result so that it doesn't say
	"failed" all the time.

	* gnus.el: Throughout all files, replace (save-excursion (set-buffer
	...)) with (with-current-buffer ... ).

	* nntp.el (nntp-open-server): Return whether the open was successful or
	not.

	* gnus-sum.el (gnus-summary-first-subject): Have `unseen-or-unread'
	select an unread unseen article first.

	* nnimap.el (nnimap-open-connection): If the user doesn't have a
	/etc/services, supply some sensible port defaults.

	* dgnushack.el: Define netrc-credentials.

558
2010-09-17  Julien Danjou  <julien@danjou.info>
559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605

	* mm-decode.el (mm-text-html-renderer): Document gnus-article-html.

2010-09-17  Knut Anders Hatlen  <kahatlen@gmail.com>  (tiny change)

	* nnimap.el (nnimap-get-groups): Don't bug out if the LIST command
	doesn't have any parameters.

2010-09-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* nnimap.el (nnimap-open-connection): Upcase all capabilities, and use
	only upcased checks.

	* nnmail.el (nnmail-article-group): Fix typo in "bogus" section.

	* nnimap.el (nnimap-open-shell-stream): New function.
	(nnimap-open-connection): Use it.
	(nnimap-transform-headers): Get the number of lines in each message.
	(nnimap-retrieve-headers): Query for BODYSTRUCTURE so that we get the
	number of lines.
	(nnimap-request-list): Not all servers return UIDNEXT.  Work past this
	problem.

	* utf7.el (utf7-encode): Autoload.

	* nnmail.el (nnmail-inhibit-default-split-group): New internal variable
	to allow the mail splitting to not return a default group.  This is
	useful for nnimap, which will leave unmatched mail in the inbox.

	* nnimap.el: Rewritten.

	* gnus.el (gnus-article-special-mark-lists): Add uid/active tuples, for
	nnimap usage.

	* gnus-sum.el (gnus-summary-move-article): Pass the move-to group name
	if the move is internal, so that nnimap can do fast internal moves.

	* gnus-start.el (gnus-get-unread-articles): Support early retrieval of
	data.
	(gnus-read-active-for-groups): Support finishing the early retrieval of
	data.

	* gnus-range.el (gnus-range-nconcat): New function.

	* gnus-int.el (gnus-finish-retrieve-group-infos)
	(gnus-retrieve-group-data-early): New functions.

Stefan Monnier's avatar
Stefan Monnier committed
606 607 608 609 610 611 612
2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* nnrss.el (nnrss-retrieve-headers, nnrss-request-list-newsgroups)
	(nnrss-retrieve-groups):
	* pop3.el (pop3-open-server, pop3-read-response, pop3-list, pop3-retr)
	(pop3-quit): Use with-current-buffer.

613 614
2010-09-17  Katsumi Yamaoka  <yamaoka@jpl.org>

615 616 617
	* pop3.el (pop3-wait-for-messages): Use pop3-accept-process-output
	instead of nnheader-accept-process-output.

618 619 620 621
	* gnus-html.el (gnus-html-schedule-image-fetching)
	(gnus-html-prefetch-images): Replace process-kill-without-query by
	gnus-set-process-query-on-exit-flag.

622 623 624 625
2010-09-16  Romain Francoise  <romain@orebokech.com>

	* gnus-html.el: Require gnus-art for `gnus-with-article-buffer'.

626 627
2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>

628 629 630
	* gnus-registry.el (gnus-registry-install-shortcuts): The second
	parameter to unintern is mandatory-ish in Emacs 24.

631 632 633 634 635 636 637 638 639 640
	* gnus-html.el (gnus-html-schedule-image-fetching)
	(gnus-html-prefetch-images): Check for curl before using it.

	* mm-decode.el (mm-text-html-renderer): Don't have gnus-article-html
	depend on curl, which isn't essential.

	* imap.el: Revert back to version
	cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
	seem problematic.

641 642 643 644 645
2010-09-14  Juanma Barranquero  <lekktu@gmail.com>

	* gnus-registry.el (gnus-registry-install-shortcuts):
	Explicitly pass `obarray' to `unintern' to avoid a warning.

646 647 648 649 650 651 652 653 654 655 656 657
2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus-start.el (gnus-read-active-for-groups): Reverted the previous
	change.

	* nnrss.el (nnrss-request-list): Removed this function and related
	functions, including the moreover stuff.

2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* nnrss.el (nnrss-retrieve-groups): New function.

658 659 660 661
2010-09-14  Juanma Barranquero  <lekktu@gmail.com>

	* .dir-locals.el: Add no-byte-compile cookie.

662 663 664 665 666
2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-start.el (gnus-read-active-for-groups): Run gnus-activate-group
	for back end that doesn't support request-scan.

667 668 669 670 671 672 673 674 675 676 677
2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus-start.el (gnus-read-active-file-1): If gnus-agent isn't set,
	then do request scans from the backends.

	* gnus-sum.el (gnus-summary-update-hook): Change default to nil, to
	avoid running a hook per line, since this takes a lot of time,
	profiling shows.
	(gnus-summary-prepare-threads): Call `gnus-summary-highlight-line'
	directly if gnus-visual-p is true.

678 679 680 681 682 683 684 685
2010-09-10  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-start.el (gnus-read-active-for-groups): Check only subscribed
	groups; replace mapcar with dolist which is a bit faster; pass groups
	info to gnus-read-active-file-1.
	(gnus-read-active-file-1): Scan only specified groups if the new
	optional arg `infos' is given.

686 687
2010-09-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>

688 689 690 691 692
	* mail-source.el (mail-source-fetch-pop): Use pop3-movemail again.

	* pop3.el (pop3-movemail): Removed.
	(pop3-streaming-movemail): Renamed to pop3-movemail.

693 694 695
	* gnus-html.el (gnus-html-wash-tags): Refactor out the image bit, and
	don't restrict end-tag searches to the end of the line.

696 697 698 699 700 701
2010-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-start.el (gnus-get-unread-articles): Set the number of unread
	articles of every unchecked group to t, which means unknown since the
	server has never been opened.

702 703
2010-09-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>

704 705 706 707
	* gnus-html.el (gnus-html-show-alt-text): New command.
	(gnus-html-browse-image): Ditto.
	(gnus-html-wash-tags): Add the data to allow showing the ALT text and
	to browse the image directly.
708 709
	(gnus-html-wash-tags): Search for images first, so that <a><img> works
	better.
710

711 712 713 714 715 716
	* gnus-async.el (gnus-async-article-callback): Call
	`gnus-html-prefetch-images' unconditionally.

	* gnus-html.el (gnus-html-schedule-image-fetching): Decode entities
	before feeding URLs to curl.

717 718
2010-09-07  Katsumi Yamaoka  <yamaoka@jpl.org>

719 720 721
	* gnus-html.el (gnus-html-wash-tags, gnus-html-put-image): Mark cid and
	internal images as deletable by `W D D'.

722 723 724
	* gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling.
	(gnus-async-article-callback): Fix typo.

725 726
2010-09-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>

727 728 729
	* gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the
	current line to work around bugs in the output from w3m.

730 731 732
	* gnus-async.el (gnus-async-article-callback): Always prefetch images
	for groups that want that.

733 734 735
	* nntp.el (nntp-wait-for-string): Supply a timeout for
	accept-process-output to ensure progress.

736 737 738 739
	* gnus-start.el (gnus-get-unread-articles): If being given an explicit
	level to get unread articles from, then use that for foreign groups,
	too.

740 741 742
	* gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which
	confuses the rest of the function.

743 744 745
	* gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan'
	for the methods that support -retrieve-groups, too.

746 747
	* nnml.el (nnml-save-nov): Remove some debugging-related messages.

748 749 750 751 752
2010-09-06  Katsumi Yamaoka  <yamaoka@jpl.org>

	* pop3.el: Require cl when compiling.
	(pop3-number-of-responses): Search for "+OK", not "+OK ".

753 754
2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>

755 756
	* gnus-start.el (gnus-get-unread-articles): Don't bother with groups
	that aren't going to be activated.
757
	(gnus-get-unread-articles): Fix up the last commit.
758

759 760 761
	* gnus-html.el (gnus-article-html): Allow calling without specifying
	the handle.  In that case, dissect the buffer first.

762 763
	* gnus-sum.el (gnus-set-mode-line): Don't pad the mode line string.

764 765 766
	* nnimap.el (nnimap-open-connection): Revert the change that would look
	into authinfo for imaps instead of imap.

767 768 769
	* gnus-start.el (gnus-activate-group): Take an optional parameter to
	say that you don't want to call gnus-request-group with don-check, but
	do check the reponse.  This is for virtual groups only.
770 771
	(gnus-get-unread-articles): Count the archive groups as secondary, so
	that they're activated the same way as before.
772

773 774
	* nnimap.el (nnimap-request-list): Servers may return \NoSelect
	case-insensitively.
775
	(nnimap-debug): Removed.
776

777 778 779
	* mail-source.el (mail-source-fetch): Don't message if we're fetching
	mail from a file, and the file doesn't exist.

780 781
	* pop3.el (pop3-streaming-movemail): Return t for success.

782 783 784
	* nnimap.el (nnimap-open-connection): Look for the "imaps" entry in the
	.authinfo if we're using ssl connection.

785 786 787
	* nnvirtual.el (nnvirtual-create-mapping): Use the active info we
	already have if we're in a main Gnus `g' run.

788 789
	* gnus-start.el (gnus-method-rank): Get info for virtual groups last.

790 791
2010-09-05  Katsumi Yamaoka  <yamaoka@jpl.org>

792 793
	* gnus-start.el (gnus-method-rank): Replace equalp with equal.

794 795
	* nnmh.el (nnmh-request-list-1): Bind `file'.

796 797 798 799
	* pop3.el (pop3-set-process-query-on-exit-flag): New function that's an
	alias to set-process-query-on-exit-flag or process-kill-without-query.
	(pop3-open-server): Use it.

800 801
2010-09-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>

802 803 804 805 806 807
	* mail-source.el (mail-source-delete-crash-box): Always move the crash
	box to the Incoming file.  Fixes mistake in previous checkin.

	* pop3.el (pop3-send-streaming-command): Off-by-one error on the
	request loop (for debugging purposes) removed.

808 809
	* nnml.el (nnml-save-nov): Message around nnml-save-nov so that the
	culprit is more visible.
810 811 812 813
	(nnml-save-incremental-nov, nnml-open-incremental-nov)
	(nnml-add-incremental-nov): New functions to do "incremental" nov
	updates, where we just append to the end of the existing nov files
	without reading/writing them in full.
814 815 816 817

	* mail-source.el (mail-source-delete-crash-box): Really only check the
	incoming files once in a while.

818 819
	* pop3.el (pop3-streaming-movemail): Always close the pop3 connection.

820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839
	* mail-source.el (mail-source-delete-crash-box): Only check the
	incoming files for deletion once per day to save a lot of file
	accesses.

	* pop3.el (pop3-logon): Fix up unbound variable typo.

	* mail-source.el (pop3-streaming-movemail): Autoload.

	* pop3.el (pop3-streaming-movemail): Respect
	pop3-leave-mail-on-server.

	* mail-source.el (mail-source-fetch-pop): Use streaming pop3
	retrieval.

	* pop3.el (pop3-process-filter): Removed unused function.
	(pop3-streaming-movemail, pop3-send-streaming-command)
	(pop3-wait-for-messages, pop3-write-to-file)
	(pop3-number-of-responses): New functions for streaming pop3
	retrieval.

840 841
	* gnus-start.el (gnus-get-unread-articles): Protect against groups that
	come from no known methods.
842 843
	(gnus-make-hashtable-from-newsrc-alist): Remove duplicates from .newsrc
	list.
844

845 846
	* pop3.el (pop3-display-message-size-flag): Removed -- everybody wants
	message sizes.
847 848
	(pop3-movemail): Use erase-buffer instead of looping and deleting
	regions, which seems rather odd.
849

850 851 852
	* gnus-agent.el (gnus-agent-load-local): Only read the agent.lib/local
	file once per `g' run.

853 854 855
	* nnmh.el (nnmh-request-list-1): Output active lines also for empty
	directories.  This makes the draft queue directory work.

856 857 858 859 860 861 862 863 864 865 866
	* gnus-start.el (gnus-get-unread-articles): Rewrite the way we request
	data from the backends, so that we only request the list of groups from
	each method once.  This should speed things up considerably.

	* nnvirtual.el (nnvirtual-request-list): Remove function so that we can
	detect that it's not implemented.

	* nnmh.el (nnmh-request-list-1): Fix up the recursion behavior so that
	we actually do recurse down into the tree, but don't stat all leaf
	nodes.

867 868 869
	* gnus-html.el (gnus-html-show-images): If there are no images to show,
	then say so instead of bugging out.

870 871 872 873 874 875 876 877
	* gnus-agent.el (gnus-agent-load-alist): Check whether the agentview
	files exist before trying to read them.

	* gnus-html.el (gnus-html-wash-tags): Remove even more white space
	around <pre_int>.

	* gnus-art.el (gnus-article-copy-string): Say what data we copied.

878 879
	* nnmh.el (nnmh-request-list-1): Optimize for speed.

880 881
2010-09-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

882 883 884 885 886 887
	* mm-util.el (mm-image-load-path): Just return the image directories,
	not all directories in the path in addition to the image directories.
	(mm-image-load-path): Maintain a cache of the image directories so that
	the `g' command in Gnus doesn't have to stat dozens of directories each
	time.

888 889 890
	* gnus-html.el (gnus-html-put-image): Allow images to be removed.
	(gnus-html-wash-tags): Add a new `i' command to insert images.
	(gnus-html-insert-image): New command and keystroke.
891 892
	(gnus-html-redisplay-with-images): New command and keystroke.
	(gnus-html-show-images): Renamed command.
893 894 895 896
	(gnus-html-wash-tags): Remove more white space before <pre_int> image
	spacers.
	(gnus-html-wash-tags): Decode entities at the end, so that entities
	inside the tags don't mess up the rest of the "parsing".
897 898 899 900 901

	* gnus-agent.el (gnus-agent-auto-agentize-methods): Change the default
	so that nnimap methods aren't agentized by default.  There's apparently
	many problems related to agent/imap behaviour.

902 903 904 905
	* gnus-art.el (gnus-article-copy-string): New command and key binding.

	* gnus-html.el: Doc fix.

906 907
2010-09-03  Katsumi Yamaoka  <yamaoka@jpl.org>

908 909
	* gnus-html.el (gnus-html-put-image): Use gnus-graphic-display-p,
	glyph-width and glyph-height instead of display-graphic-p and
910
	image-size; make avoidance of displaying small images work for XEmacs.
911 912 913 914

	* gnus-util.el (gnus-graphic-display-p): Use device-on-window-system-p
	for XEmacs.

915 916 917 918
	* gnus-ems.el (gnus-set-process-plist, gnus-process-plist): Change name
	of symbol that holds plist data.
	(gnus-process-plist): Remove plist of process after getting it.

919 920
2010-09-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>

921 922 923
	* message.el (message-generate-hashcash): Change default to
	'opportunistic if hashcash is installed.

924
	* gnus-html.el (gnus-html-rescale-image): Fix up typo in rescaling.
925 926
	(gnus-html-put-image): Only call image-size once, since it's somewhat
	time-consuming on remote X servers.
927

928 929 930 931
2010-09-02  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-html.el (gnus-article-html): Make work buffer multibyte for
	decoded contents.
932
	(gnus-html-put-image, gnus-html-rescale-image): Pass `file' argument.
933

934 935
2010-09-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>

936 937 938
	* gnus-group.el (gnus-group-line-format): Remove %O (moderated) from
	group line format, since it isn't very interesting.

939 940 941 942 943
	* gnus-agent.el (gnus-agent-short-article),
	(gnus-agent-long-article): Increase values for these two variables,
	since most people are likely to have more network connection and
	storage than before.

944 945 946 947 948 949 950 951 952 953 954 955 956 957
	* gnus.el (gnus-refer-article-method): Change default to 'current.
	When referring an article, the common behaviour is to refer it from the
	current select method, not the native select method.  The chances of
	the native select method having the message in question is rather slim
	these days.

	* gnus-sum.el (gnus-auto-select-subject): Change default to
	`unseen-or-unread'.  I think it's likely that most people want to
	select an unseen article over a previously seen, but unread one.

	* gnus.el (gnus-mode-non-string-length): Change default to 30.  nil
	means that in the article buffer none of the minor mode elements will
	be shown, usually, and this is not desirable in most cases.

958 959 960 961 962 963 964 965 966 967 968 969 970
	* gnus-sum.el (gnus-summary-goto-unread): Change default to nil, so
	that commands like `d' (and the like) go to the next line in the
	buffer, instead of the next unread article.  I think this is the
	behaviour that is most natural for most users.
	(gnus-single-article-buffer): Change default to nil, so that people can
	have as many article buffers open as they have summary buffer.  I think
	this is the most natural way for the groups to behave.

	* message.el (message-generate-new-buffers): Change default to
	`unsent', so that all new message buffers start their names with the
	string "*unsent", and it's easier to find the buffers if you move from
	them.

971 972 973
2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus-html.el (gnus-html-wash-tags): Don't show images that are really
Juanma Barranquero's avatar
Juanma Barranquero committed
974
	small.  They're probably tracking images.
975
	(gnus-html-wash-tags): Remove all <pre_int> place holders.
976 977
	(gnus-html-rescale-image): Yet another try at getting the image sizing
	right.
978 979 980 981

	* nntp.el (nntp-request-set-mark): Refuse to do marks if
	nntp-marks-file-name is nil.

982 983 984 985 986 987
2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>

	* gnus-html.el (gnus-html-wash-tags)
	(gnus-html-schedule-image-fetching, gnus-html-image-url-blocked-p):
	Better logging.

988 989
2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>

990 991
	* nndoc.el (nndoc-type-alist): Added a new type for Google digests.

992 993 994
	* gnus-html.el (gnus-html-wash-tags): Check the value of
	gnus-blocked-images in the summary buffer.

995 996 997 998
2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>

	* gnus-html.el (gnus-html-image-url-blocked-p): Doc fix.

999 1000
2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1001 1002 1003 1004 1005
	* gnus-html.el (gnus-html-wash-tags): "A" is also used for links, just
	like "a", it seems like.
	(gnus-html-image-url-blocked-p): Take a parameter for blocked-images
	since it needs to be picked from the correct buffer.

1006 1007 1008 1009
	* nnwfm.el: Removed.

	* nnlistserv.el: Removed.

1010 1011 1012 1013 1014
2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>

	* gnus-html.el (gnus-html-image-url-blocked-p): New function.
	(gnus-html-prefetch-images, gnus-html-wash-tags): Use it.

1015 1016
2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1017 1018 1019 1020
	* nnkiboze.el: Removed.

	* nndb.el: Removed.

1021 1022
	* gnus-html.el (gnus-html-put-image): Use the deleted text as the image
	alt text.
1023 1024
	(gnus-html-rescale-image): Try to get the rescaling logic right for
	images that are just wide and not tall.
1025 1026 1027 1028

	* gnus.el (gnus-string-or): Fix the syntax to not use eval or
	overshadow variable bindings.

1029 1030 1031 1032 1033 1034
2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>

	* gnus-html.el (gnus-html-wash-tags)
	(gnus-html-schedule-image-fetching, gnus-html-prefetch-images): Add
	extra logging.

1035 1036 1037
2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus-html.el (gnus-html-wash-tags): Delete the IMG_ALT region.
1038 1039 1040
	(gnus-max-image-proportion): New variable.
	(gnus-html-rescale-image): New function.
	(gnus-html-put-image): Rescale images.
1041

1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052
2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	Fix up some byte-compiler warnings.
	* gnus.el (gnus-group-find-parameter, gnus-kill-save-kill-buffer):
	* gnus-cite.el (gnus-article-highlight-citation, gnus-dissect-cited-text)
	(gnus-article-fill-cited-article, gnus-article-hide-citation)
	(gnus-article-hide-citation-in-followups, gnus-cite-toggle):
	* gnus-group.el (gnus-group-set-mode-line, gnus-group-quit)
	(gnus-group-set-info, gnus-add-mark): Use with-current-buffer.
	(gnus-group-update-group): Use save-excursion and with-current-buffer.

1053 1054 1055 1056
2010-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-html.el (gnus-article-html): Decode contents by charset.

1057 1058
2010-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>

1059 1060 1061 1062 1063
	* gnus-html.el (gnus-html-cache-directory, gnus-html-cache-size)
	(gnus-html-frame-width, gnus-blocked-images)
	* message.el (message-prune-recipient-rules): Add custom version.
	* gnus-sum.el (gnus-auto-expirable-marks): Bump custom version.

1064 1065 1066
	* gnus-ems.el (gnus-process-get, gnus-process-put): New compatibility
	functions.

1067 1068 1069
	* gnus-html.el (gnus-html-curl-sentinel): Replace process-get with
	gnus-process-get.

1070 1071 1072 1073 1074
2010-08-31  Julien Danjou  <julien@danjou.info>  (tiny change)

	* nnimap.el (nnimap-request-newgroups): Use nnimap-request-list-method
	instead of lsub directly.

1075 1076
2010-08-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1077 1078
	* nnwarchive.el: Removed.

1079 1080 1081 1082 1083 1084
	* gnus-soup.el: Removed.

	* nnsoup.el: Removed.

	* nnultimate.el: Removed.

1085 1086
	* gnus-html.el (gnus-blocked-images): New variable.

1087 1088 1089 1090 1091 1092 1093 1094 1095
	* message.el (message-prune-recipients): New function.
	(message-prune-recipient-rules): New variable.

	* gnus-cite.el (gnus-article-natural-long-line-p): New function to
	guess whether a long line is natural text or not.

	* gnus-html.el (gnus-html-schedule-image-fetching): Use
	gnus-process-plist and friends for compatibility.

1096 1097 1098 1099 1100 1101 1102 1103 1104
2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* gnus-html.el: Require packages that define macros used in this file.
	(gnus-article-mouse-face): Declare to silence byte-compiler.
	(gnus-html-curl-sentinel): Use with-current-buffer, inhibit-read-only, and
	process-get.
	(gnus-html-put-image): Use plist-get to avoid getf.
	(gnus-html-prefetch-images): Use with-current-buffer.

1105 1106
2010-08-31  Katsumi Yamaoka  <yamaoka@jpl.org>

1107 1108 1109
	* gnus-ems.el: Provide compatibility functions for
	gnus-set-process-plist.

1110 1111 1112 1113 1114 1115 1116 1117 1118 1119
	* gnus-sum.el (gnus-summary-stop-at-end-of-message)
	* gnus.el (gnus-valid-select-methods)
	* message.el (message-send-mail-partially-limit)
	* mm-decode.el (mm-text-html-renderer)
	* mml.el (mml-insert-mime-headers-always)
	* smiley.el (smiley-regexp-alist): Bump custom version.

2010-08-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus-html.el: require mm-url.
1120 1121 1122
	(gnus-html-wash-tags): Clarify the code a bit by renaming the variable
	with the url to `url'.
	(gnus-html-wash-tags): Support cid: URLs/images.
1123

1124 1125
2010-08-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1126 1127
	* gnus-sum.el: As per discussion 3 years, 8 weeks, 3 days, 9 hours, 57
	minutes, 56 seconds ago on the ding list, remove the `w' and `i'
Juanma Barranquero's avatar
Juanma Barranquero committed
1128
	bindings, as they aren't useful at all.  `w' is moved to `W w'.
1129

1130 1131
	* gnus-move.el: Removed file, since it doesn't really work.

1132
	* gnus-html.el (gnus-article-html): Tell w3m that the input is
Juanma Barranquero's avatar
Juanma Barranquero committed
1133
	UTF-8.  This seems to fix problems with some German web feeds.
1134

1135 1136 1137
	* gnus.el (gnus-group-startup-message): Put the xpm version of the logo
	at the top so that the proper colours are applied.

1138 1139
	* gnus-art.el (gnus-article-view-part): Doc fix.

1140 1141 1142 1143
	* gnus-html.el (gnus-html-put-image): Use gnus-create-image to be
	XEmacs-compatible.
	(gnus-html-put-image): Don't do images on non-graphic displays.

1144 1145
	* nnslashdot.el: Removed this unused backend.

1146 1147
	* gnus-undo.el (gnus-undo-register-1): Limit the undo actions to 100
	actions.
1148
	(gnus-undo-register-1): Revert last change.
1149

1150 1151 1152 1153 1154 1155
	* gnus-group.el (gnus-group-completing-read): Protect against not
	having completion-styles bound.

	* mml.el (mml-insert-mime-headers-always): Change the default to t, to
	make broken recipients happier.

1156 1157 1158 1159 1160
	* gnus-html.el (gnus-html-put-image): Use gnus-put-image.

	* gnus-ems.el (gnus-put-image): Have gnus-put-image take an optional
	point parameter.

1161 1162 1163
	* gnus-group.el (gnus-group-completing-read): Add 'substring to
	completion-styles for group selection.

1164 1165 1166 1167 1168
2009-02-04  Andreas Schwab  <schwab@suse.de>

	* gnus-score.el (gnus-score-string): Fix regex for matching extra
	headers and regexp-quote the match if necessary.

1169 1170 1171 1172 1173 1174 1175 1176 1177 1178
2009-03-24  Miles Bader  <miles@gnu.org>

	* smiley.el (smiley-regexp-alist): Don't delete the semicolon before
	the blinking smiley.

2009-03-24  Simon Josefsson  <simon@josefsson.org>

	* smiley.el (smiley-regexp-alist): Disallow ;;) from being treated as a
	blink smiley.

1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189
2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus-start.el (gnus-dribble-read-file): Ensure that the directory
	where the dribbel file lives exists.

	* message.el (message-send-mail-partially-limit): Change the default to
	nil, since most people don't want this.

	* mm-url.el (mm-url-decode-entities): Also decode entities like
	&#x3212.

1190 1191 1192 1193 1194 1195
2009-07-16  Kevin Ryde  <user42@zip.com.au>  (tiny change)

	* gnus-sum.el (gnus-summary-idna-message):
	* nnrss.el (nnrss-normalize-date, nnrss-discover-feed):
	Hyperlink urls in docstrings with URL `...'.

1196 1197 1198 1199 1200
2010-08-29  Adam Sjøgren  <asjo@koldfront.dk>

	* gnus-html.el (gnus-html-put-image): Use XEmacs-compatible image
	functions.

1201 1202
2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221
	* gnus-art.el (gnus-article-add-button): Take an optional parameter to
	say what the mouseover text should be.

	* gnus-html.el (gnus-html-prefetch-images): Use the summary-local
	version of the mm-w3m-safe-url-regexp variable to only download images
	in the groups where we want that to happen.

	* gnus-sum.el (gnus-summary-stop-at-end-of-message): New variable.

	* gnus-art.el (gnus-article-beginning-of-window): Make into defun for
	easier debugging.
	(gnus-article-beginning-of-window): Add kludge to allow spacing past
	big pictures in the article buffer.

	* mm-decode.el (mm-text-html-renderer): Default the html renderer to
	gnus-article-html.
	(mm-text-html-renderer): gnus-article-html needs curl in addition to
	w3m.

1222 1223
	* gnus-html.el: Start a new super-simple HTML renderer based on w3m.

1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235
2010-08-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus.el (gnus-valid-select-methods): Remove reference to nngoogle,
	which doesn't exist.

	* message.el (message-inhibit-ecomplete): New variable to allow some
	function to inhibit ecomplete address storage.
	(message-resend): Disable ecomplete message storage when resending
	messages.

	* nntp.el (nntp-async-kluge): Remove the Emacs 20.3-related kluge.

1236 1237 1238 1239 1240 1241
2010-08-27  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-sum.el (gnus-summary-move-article, gnus-summary-delete-article):
	Save excursion while copying, moving, and deleting articles in order to
	prevent the cursor from jumping to unforeseen place.

1242 1243
2010-08-17  Glenn Morris  <rgm@gnu.org>

1244 1245
	* gnus-sync.el: Require gnus components whose functions are used.

1246 1247 1248 1249 1250 1251
	* gnus-art.el (bookmark-make-record-function):
	* gnus-sum.el (bookmark-yank-point, bookmark-current-bookmark):
	Declare for compiler.

	* mm-url.el (mml-compute-boundary): Autoload.

1252 1253 1254 1255
2010-08-15  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-start.el (gnus-start-draft-setup): Move doc string forward.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1256 1257 1258 1259 1260 1261
2010-08-14  Teodor Zlatanov  <tzz@lifelogs.com>

	Typo fix "hoo4a" -> "hook".

	* gnus-sync.el (gnus-sync-install-hooks): Typo fix.

1262 1263 1264 1265
2010-08-14  Glenn Morris  <rgm@gnu.org>

	* gnus-sync.el (gnus-sync): Fix defgroup version.

1266 1267
2010-08-13  Teodor Zlatanov  <tzz@lifelogs.com>

1268
	Doc fixes and keep unknown groups (ammended for nunion bug fix).
1269 1270 1271 1272 1273

	* gnus-sync.el: Fix docs.
	(gnus-sync-save): Keep unknown groups in `gnus-sync-newsrc-loader'.
	(gnus-sync-read): Don't wipe `gnus-sync-newsrc-loader' after reading.

1274 1275 1276 1277 1278 1279 1280 1281 1282
2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>

	Optimizations for gnus-sync.el.

	* gnus-sync.el: Add docs about gnus-sync-backend
	possibilities.
	(gnus-sync-save): Remove unnecessary message.
	(gnus-sync-read): Optimize and show what groups were skipped.

1283 1284 1285 1286
2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>

	Minor bug fixes for gnus-sync.el.

1287 1288 1289
	* gnus-sync.el (gnus-sync-unload-hook, gnus-sync-install-hooks): Don't
	read the sync on get-new-news.

1290 1291 1292 1293 1294
	* gnus-sync.el (gnus-sync-save): Define `variable' so the compiler is
	quiet.

	* gnus-sync.el (gnus-sync-read): Use `gnus-sync-newsrc-offsets' (fix typo).

1295 1296 1297 1298 1299 1300 1301 1302 1303
2010-07-30  Lawrence Mitchell  <wence@gmx.li>

	Make saving and restoring of hidden threads work with overlays.
	Patch applied by Ted Zlatanov.

	* gnus-sum.el (gnus-hidden-threads-configuration)
	(gnus-restore-hidden-threads-configuration): Update to deal with text
	properties, rather than searching for a magic character.

1304 1305
2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>

1306 1307
	New gnus-sync.el library for synchronization of marks.

1308 1309 1310 1311 1312 1313 1314
	* gnus-sync.el: New library for synchronization of marks.

	* gnus-util.el (gnus-grep-in-list): Moved from gnus-registry.el and
	renamed from `gnus-registry-grep-in-list'.

	* gnus-registry.el (gnus-registry-follow-group-p): Use `gnus-grep-in-list'.

1315 1316
	* gnus-start.el (gnus-start-draft-setup): Make it interactive.

1317 1318 1319 1320 1321
2010-08-06  Katsumi Yamaoka  <yamaoka@jpl.org>

	* rfc2047.el (rfc2047-encode): Use utf-8 as a last resort if
	determining charset of text fails.

1322 1323 1324 1325 1326 1327 1328
2010-08-01  Katsumi Yamaoka  <yamaoka@jpl.org>

	* nnmail.el (nnmail-get-new-mail-1): Revert.

	* nnml.el (nnml-active-number): Make sure names of newly created groups
	in nnml-group-alist are encoded.

1329 1330 1331 1332 1333
2010-07-30  Katsumi Yamaoka  <yamaoka@jpl.org>

	* nnmail.el (nnmail-get-new-mail-1): Encode group names possibly
	containing non-ASCII characters in active file for nnml back end.

1334 1335 1336 1337 1338
2010-07-24  David Engster  <dengste@eml.cc>

	* mml-smime.el (mml-smime-epg-verify): Also accept the older
	x-pkcs7-signature MIME type as signature (RFC 2311, C.1).

1339 1340 1341 1342 1343
2010-07-21  Daiki Ueno  <ueno@unixuser.org>

	* mml.el (mml-parse-1): Collect "certfile" attributes in "<#secure>"
	tag (Bug#6654).

1344 1345 1346 1347 1348
2010-07-20  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-sum.el (gnus-summary-bookmark-make-record): Bookmark position in
	the article buffer, not the summary buffer.

1349 1350 1351 1352 1353 1354
2010-07-15  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-sum.el (gnus-summary-bookmark-make-record): Make it work for
	Emacs 23 as well.

2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1355 1356 1357 1358 1359 1360 1361

	Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
	Patch applied by Karl Fogel.

	* gnus-sum.el (gnus-summary-bookmark-make-record): Set
	`bookmark-yank-point' and `bookmark-current-buffer' to allow C-w.

1362 1363 1364 1365 1366 1367 1368 1369 1370
2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	Allow bookmarks to be set from Gnus Article buffers (Bug #5975).
	Patch applied (with minor tweaks) by Karl Fogel.  Note this leaves
	C-w still not working correctly from Article buffers; Thierry's
	patch to fix that will be applied after this.

	* gnus-art.el (bookmark-make-record-function): New local variable.

1371 1372
	* gnus-sum.el (gnus-summary-bookmark-make-record): Allow setting from
	article buffer.
1373 1374
	(gnus-summary-bookmark-jump): Maybe jump to article buffer.

1375 1376
2010-07-13  Karl Fogel  <kfogel@red-bean.com>

1377 1378
	* gnus-sum.el (bookmark-make-record-default): Adjust declaration, based
	on changes in bookmark.el.
1379

1380 1381 1382 1383 1384
2010-06-22  Mark A. Hershberger  <mah@everybody.org>

	* mm-url.el (mm-url-encode-multipart-form-data): New function to handle
	the *other* type of HTML form submission.

1385 1386 1387 1388 1389
2010-06-15  Michael Albinus  <michael.albinus@gmx.de>

	* auth-source.el (auth-source-pick): If choice does not contain a
	questioned keyword, set the check to t.

Romain Francoise's avatar
Romain Francoise committed
1390 1391 1392 1393
2010-06-12  Romain Francoise  <romain@orebokech.com>

	* gnus-util.el (gnus-date-get-time): Move up before first use.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1394 1395 1396 1397 1398 1399 1400 1401
2010-06-10  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-art.el (gnus-mime-buttonized-part-id): New internal variable.
	(gnus-article-edit-part): Bind it to make last part that is substituted
	or deleted visible.
	(gnus-mime-display-single): Buttonize part of which id equals to
	gnus-mime-buttonized-part-id.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1402 1403 1404 1405 1406 1407 1408 1409 1410
2010-06-10  Dan Christensen  <jdc@uwo.ca>

	* gnus-util.el (gnus-user-date): Use gnus-date-get-time.
	(gnus-dd-mmm): Use gnus-date-get-time.
	* gnus-sum.el (gnus-thread-latest-date): Use gnus-date-get-time and
	simplify logic.
	(gnus-summary-limit-to-age): Use gnus-date-get-time.
	(gnus-sort-threads): emit message if gnus-sort-threads-loop used.

1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422
2010-06-08  Michael Albinus  <michael.albinus@gmx.de>

	* auth-source.el (top): Autoload `secrets-list-collections',
	`secrets-create-item', `secrets-delete-item'.
	(auth-sources): Fix tag string.
	(auth-get-source, auth-source-retrieve, auth-source-create)
	(auth-source-delete): New defuns.
	(auth-source-pick): Rewrite in order to avoid 2 passes.
	(auth-source-forget-user-or-password): New parameter USERNAME.
	(auth-source-user-or-password): New parameters CREATE-MISSING and
	DELETE-EXISTING.  Retrieve password interactively, if needed.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1423 1424 1425 1426 1427
2010-06-07  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)

	* gnus-agent.el (gnus-agent-expire-unagentized-dirs): Don't ask about
	deleting unused directories when gnus-expert-user is t.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1428 1429 1430 1431 1432
2010-06-02  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-art.el (gnus-article-browse-delete-temp-files): Don't make query
	for each temp file when gnus-article-browse-delete-temp is ask.

1433 1434 1435 1436
2010-05-20  Kevin Ryde  <user42@zip.com.au>

	* gnus-start.el (gnus-level-unsubscribed): Doc fix.  (Bug#6206)

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1437 1438 1439 1440 1441
2010-05-14  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-sum.el (gnus-summary-save-article): Don't bother to re-fetch
	article unless decoding article to be saved.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452
2010-05-13  Katsumi Yamaoka  <yamaoka@jpl.org>

	* mml1991.el (mml1991-mailcrypt-encrypt, mml1991-gpg-encrypt)
	* mml2015.el (mml2015-gpg-encrypt): Disable multibyte in buffers
	generated within the mm-with-unibyte-current-buffer macro.

2010-05-13  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-art.el (gnus-bind-safe-url-regexp): Bind mm-w3m-safe-url-regexp
	to nil when we're in a mml-preview buffer and no group is selected.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1453 1454 1455
2010-05-12  Andreas Seltenreich  <seltenreich@gmx.de>

	* gnus-sum.el (gnus-summary-read-group-1): Don't jump to next group
Juanma Barranquero's avatar
Juanma Barranquero committed
1456
	when catching the `C-g'.  Reported by "Leo".
Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1457

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1458 1459 1460 1461 1462 1463
2010-05-12  Katsumi Yamaoka  <yamaoka@jpl.org>

	* message.el (message-forward-make-body-plain)
	(message-forward-make-body-mml): Use mm-multibyte-string-p instead of
	multibyte-string-p.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1464 1465 1466 1467 1468 1469 1470
2010-05-12  Katsumi Yamaoka  <yamaoka@jpl.org>

	* message.el (message-forward-make-body-mml): Assume original message
	is multibyte string; error on unibyte.
	(message-forward-make-body-plain): Ditto; don't add excessive newline
	in body end.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1471 1472 1473 1474 1475
2010-05-11  Andreas Seltenreich  <seltenreich@gmx.de>

	* gnus-sum.el (gnus-summary-kill-thread): Use gnus-summary-mark-article
	instead of g-s-m-a-as-unread to set the expirable mark.  (Bug#5284)

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1476 1477 1478 1479 1480 1481 1482
2010-05-11  Katsumi Yamaoka  <yamaoka@jpl.org>

	* mm-extern.el (mm-extern-url): Don't use
	mm-with-unibyte-current-buffer.
	(mm-extern-cache-contents): Use with-current-buffer instead of
	save-excursion + set-buffer.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1483 1484 1485 1486 1487 1488 1489 1490 1491 1492
2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>

	* mm-util.el (mm-emacs-mule): Remove.

2010-05-10  Andreas Seltenreich  <seltenreich@gmx.de>

	* gnus-sum.el (gnus-summary-mode): Don't make minor-mode-alist
	buffer-local as it's incompatible with Stefan Monnier's 2010-05-03
	change.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1493 1494 1495 1496 1497
2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>

	* mm-util.el (mm-with-unibyte-current-buffer): Redefine it so as not to
	bind the default value of enable-multibyte-characters to nil.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1498 1499 1500 1501 1502 1503 1504
2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>

	* message.el (message-forward-make-body-plain)
	(message-forward-make-body-mml):
	Don't use mm-with-unibyte-current-buffer.

2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
1505 1506 1507 1508

	* mml2015.el (mml2015-epg-find-usable-key): Skip disabled key
	(Bug#5592).

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1509 1510 1511 1512 1513 1514 1515 1516
2010-05-07  Julien Danjou  <julien@danjou.info>

	* gnus-art.el (gnus-mime-pipe-part): Add optional argument `cmd'; pass
	it to mm-pipe-part.

	* mm-decode.el (mm-pipe-part): Add optional argument `cmd'; use it if
	it is given.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543
2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>

	* nnweb.el (nnweb-gmane-search)
	* yenc.el (yenc-decode-region): Don't run set-buffer-multibyte for
	XEmacs.

	* gnus-art.el (gnus-article-browse-html-parts)
	* gnus-group.el (gnus-read-ephemeral-gmane-group)
	(gnus-read-ephemeral-bug-grou): Use mm-make-temp-file instead of
	make-temp-file.

	* gnus-dired.el (gnus-dired-mode): Bind gnus-dired-mode-hook,
	gnus-dired-mode-on-hook and gnus-dired-mode-off-hook for XEmacs when
	compiling.

	* gnus-ml.el (gnus-mailing-list-mode): Bind gnus-mailing-list-mode-hook,
	gnus-mailing-list-mode-on-hook and gnus-mailing-list-mode-off-hook for
	XEmacs when compiling.

	* gnus-salt.el (gnus-pick-mode): Bind gnus-pick-mode-on-hook and
	gnus-pick-mode-off-hook for XEmacs when compiling.
	(gnus-binary-mode): Bind gnus-binary-mode-on-hook and
	gnus-binary-mode-off-hook for XEmacs when compiling.

	* gnus-sum.el (gnus-summary-limit-strange-charsets-predicate): Return
	nil if char-charset is not available.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1544
	* sieve-manage.el (sieve-manage-disable-multibyte): Redefine it as a
Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1545 1546 1547 1548 1549 1550 1551 1552 1553
	macro.

	* mm-url.el (mm-url-form-encode-xwfu): Use mm-encode-coding-string
	instead of encode-coding-string.

	* mm-util.el (mm-enable-multibyte, mm-disable-multibyte): Use (featurep
	'xemacs) instead of mm-emacs-mule to switch function definitions.
	(mm-with-unibyte-current-buffer): Make it a progn macro for XEmacs.

Katsumi Yamaoka's avatar
Katsumi Yamaoka committed
1554 1555 1556 1557
2010-05-06  Tommi Vainikainen  <thv@iki.fi>  (tiny change)

	* mml-sec.el (mml-secure-message-sign): Fix cut and paste error.

Katsumi Yamaoka's avatar
Update.  
Katsumi Yamaoka committed
1558 1559 1560 1561