1 2013-11-12 Jan Tatarik <jan.tatarik@gmail.com>
3 * gnus-icalendar.el (gnus-icalendar-event-from-ical):
4 Fix timezone handling in gnus-icalendar export to org.
6 2013-11-06 Katsumi Yamaoka <yamaoka@jpl.org>
8 * gnus-salt.el (gnus--let-eval): Silence the Buildbot.
10 2013-11-05 Katsumi Yamaoka <yamaoka@jpl.org>
12 * gnus-cite.el (gnus-cite-add-face): Make non-sticky overlays.
14 2013-10-30 Glenn Morris <rgm@gnu.org>
16 * gnus-group.el (gnus-group-browse-foreign-server):
17 * gnus-int.el (gnus-start-news-server):
18 Silence compiler obsolescence warning.
20 2013-10-29 Teodor Zlatanov <tzz@lifelogs.com>
22 * nnimap.el (nnimap-open-connection-1): `auth-source-search' for the
23 `nnoo-current-server' first, then for the actual `nnimap-address' to
24 allow netrc entries for the nnoo server to coexist with netrc entries
25 for the `nnimap-address'.
27 2013-10-23 Katsumi Yamaoka <yamaoka@jpl.org>
29 * mm-decode.el (mm-dissect-buffer): Revert last change.
30 * nndoc.el (nndoc-dissect-mime-parts-sub): Ditto.
31 The problem that motivated those changes was attributed to a broken
32 mail sender, and has been fixed.
34 2013-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
36 * mm-decode.el (mm-dissect-buffer): Guess content-type if the first
37 token is missing in the Content-Type header.
39 * nndoc.el (nndoc-dissect-mime-parts-sub): Ditto.
41 2013-09-18 Glenn Morris <rgm@gnu.org>
43 * gnus-util.el (image-size): Declare.
45 2013-09-17 Katsumi Yamaoka <yamaoka@jpl.org>
47 * gnus-icalendar.el (gnus-icalendar-event--find-attendee)
48 (gnus-icalendar-event-from-ical)
49 (gnus-icalendar-event--build-reply-event-body)
50 (gnus-icalendar-event-reply-from-buffer)
51 (gnus-icalendar-find-org-event-file)
52 (gnus-icalendar-event->gnus-calendar, gnus-icalendar-reply)
53 (gnus-icalendar-mm-inline): Use gmm-labels instead of labels or flet.
55 * mm-util.el (mm-special-display-p): Isolate XEmacs stuff.
57 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
59 * gnus-salt.el (gnus-tree-mode): Use define-derived-mode.
60 Use save-current-buffer.
61 (gnus-tree-mode-map): Initialize in the declaration.
62 (gnus-pick-mouse-pick-region): Remove unused var `fun'.
63 (scroll-in-place): Defvar it.
64 (gnus-tmp-*): Defvar them.
65 (gnus-get-tree-buffer): Use derived-mode-p.
66 (gnus--let-eval): New macro.
67 (gnus-tree-highlight-node): Use it to avoid dynamic binding of
68 non-prefixed variables.
69 (gnus-tree-open, gnus-tree-close): Remove unused arg `group'.
71 * gnus-sum.el (gnus-summary-highlight): Remove `below' from the list of
72 vars since it doesn't seem to be available.
73 (gnus-set-global-variables, gnus-summary-read-group-1)
74 (gnus-select-newsgroup, gnus-handle-ephemeral-exit)
75 (gnus-summary-display-article, gnus-summary-select-article)
76 (gnus-summary-next-article, gnus-offer-save-summaries)
77 (gnus-summary-generic-mark): Use derived-mode-p.
78 (gnus-summary-read-group-1, gnus-summary-exit)
79 (gnus-summary-exit-no-update, gnus-kill-or-deaden-summary):
80 Adjust calls to gnus-tree-close and gnus-tree-open.
82 * gnus-eform.el (gnus-edit-form-mode): Use define-derived-mode.
84 * gnus-agent.el (gnus-category-mode): Use define-derived-mode.
85 (gnus-agent-mode): Use derived-mode-p.
86 (gnus-agent-rename-group, gnus-agent-delete-group): Don't bind
87 gnus-command-method and *-command-method to nil, but bind
88 gnus-command-method to *-command-method instead!
89 (gnus-agent-fetch-articles): Remove unused var `id'.
90 (gnus-agent-fetch-headers): Remove unused arg `force'.
91 (gnus-agent-braid-nov): Remove unused arg `group'. Adjust callers.
92 (gnus-agent-save-alist, gnus-agent-save-local): Remove unused `item'.
93 (gnus-agent-short-article, gnus-agent-long-article)
94 (gnus-agent-low-score, gnus-agent-high-score): Move declaration before
96 (gnus-agent-fetch-group-1): Remove unused vars `arts', `category',
98 (gnus-tmp-name, gnus-tmp-groups): Defvar them.
99 (gnus-get-predicate): Push in front of the cache, rather than end.
100 (gnus-agent-expire-current-dirs, gnus-agent-expire-stats): Defvar them.
101 (gnus-agent-expire-group-1): Use push. Don't abuse dyn-binding.
102 (gnus-agent-expire-unagentized-dirs): Don't rebind
103 gnus-agent-expire-current-dirs since the defvar silences the warning.
104 (gnus-agent-retrieve-headers): Remove unused var `cached-articles'.
105 (gnus-agent-regenerate-group): Remove unused vars `point' and `dl'.
106 (gnus-agent-regenerate): Simplify interactive spec and doc.
108 2013-09-17 Katsumi Yamaoka <yamaoka@jpl.org>
110 * gnus-int.el (gnus-open-server): Silence compiler.
112 * mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag.
114 * message.el (message-display-completion-list): Abolish.
115 (message-completion-in-region): Use display-completion-list.
117 2013-09-17 Glenn Morris <rgm@gnu.org>
119 * gnus-util.el (gnus-message-with-timestamp-1):
120 Use `messages-buffer' function if available. Ignore read-only.
122 2013-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
124 * message.el (message-expand-group, message-completion-in-region):
125 Correct the order of start and end of a region.
127 2013-09-13 Glenn Morris <rgm@gnu.org>
129 * mml2015.el (gnus-create-image): Autoload it.
131 * gnus-spec.el (gnus-xmas-format): Fix weird error call.
133 * gnus-html.el (declare-function): Add compat stub for ancient Emacs.
134 (image-size): Declare.
136 2013-09-12 Glenn Morris <rgm@gnu.org>
138 * gnus-icalendar.el (gnus-icalendar-event--build-reply-event-body):
139 Avoid using `find', which i) might not be defined at runtime;
140 ii) does not work, since its default test is eql, not equal.
141 (gnus-mime-action-alist): Declare.
143 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
145 * score-mode.el (gnus-score-mode-map): Move initialization
147 (gnus-score-mode): Use define-derived-mode.
148 * gnus-srvr.el (gnus-browse-mode): Use define-derived-mode.
149 * gnus-kill.el (gnus-kill-file-mode-map): Move initialization
151 (gnus-kill-file-mode): Use define-derived-mode.
152 (gnus-kill-file-edit-file, gnus-kill-file-enter-kill, gnus-kill):
154 * gnus-group.el (gnus-group-mode): Use define-derived-mode.
155 (gnus-group-setup-buffer, gnus-group-name-at-point)
156 (gnus-group-make-web-group, gnus-group-enter-directory)
157 (gnus-group-suspend): Use derived-mode-p.
158 * gnus-cus.el (gnus-custom-mode): Use define-derived-mode.
159 * gnus-bookmark.el (gnus-bookmark-bmenu-mode): Use define-derived-mode.
160 * gnus-art.el (gnus-article-mode): Use define-derived-mode.
161 (gnus-article-setup-buffer, gnus-article-prepare)
162 (gnus-article-prepare-display, gnus-sticky-article)
163 (gnus-kill-sticky-article-buffer, gnus-kill-sticky-article-buffers)
164 (gnus-bind-safe-url-regexp, gnus-article-check-buffer)
165 (gnus-article-read-summary-keys): Use derived-mode-p.
167 2013-08-28 Katsumi Yamaoka <yamaoka@jpl.org>
169 * mm-decode.el (mm-temp-files-delete): Fix file deletion logic.
171 2013-08-19 Katsumi Yamaoka <yamaoka@jpl.org>
173 * mm-util.el (mm-coding-system-priorities): Exclude iso-2022-jp-2 and
174 shift_jis from the default value set for Japanese users.
176 2013-08-13 Glenn Morris <rgm@gnu.org>
178 * gnus-icalendar.el (gnus-icalendar-org-capture-file): Fix type.
180 * gnus.el (gnus-valid-select-methods): Fix type.
182 * nnimap.el (nnimap-request-articles-find-limit): Fix type, version.
184 2013-08-12 Katsumi Yamaoka <yamaoka@jpl.org>
186 * mm-decode.el (mm-display-external): Run a timer for the temp files
187 deletion after a viewer exits; add a deletion timer for the needsterm
190 * mm-decode.el (mm-display-external): Try to delete temporary files by
191 using a 1-min. timer.
193 2013-08-09 Katsumi Yamaoka <yamaoka@jpl.org>
195 * mm-decode.el (mm-temp-files-to-be-deleted, mm-temp-files-cache-file):
196 New internal variables.
197 (mm-temp-files-delete): New function; add it to gnus-exit-gnus-hook.
198 (mm-display-external): Use it to delete temporary files instead of
201 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
203 * dgnushack.el (dgnushack-compile): Allow building on Emacs 23.
205 2013-08-06 Jan Tatarik <jan.tatarik@gmail.com>
207 * gnus-icalendar.el (gnus-icalendar-event-from-ical): Replace pcase
208 with cond for backwards compatability.
210 2013-08-06 Katsumi Yamaoka <yamaoka@jpl.org>
212 * mm-decode.el (mm-display-external): Bind process-connection-type to
213 nil; don't delete a temp file immediately even if a viewer finishes,
214 since it may be a shell script, like xdg-open, that launches a real
215 viewer program belatedly.
217 2013-08-05 Dave Abrahams <dave@boostpro.com>
219 * gnus-int.el (gnus-warp-to-article): Allow warping in all groups so
220 that we can create nndoc groups that excerpt other groups.
222 2013-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
224 * gnus-delay.el (gnus-delay-article): Fix typo.
226 * gnus-group.el (gnus-group-delete-articles): Allow deleting only "old"
229 * gnus-delay.el (gnus-delay-article): Run `message-send-hook' so that
230 we can get spell-checking etc.
232 2013-08-02 Katsumi Yamaoka <yamaoka@jpl.org>
234 * rfc2047.el (rfc2047-encode-message-header): Unify charsets into
235 a single one used for encoding the whole text in a header.
237 2013-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
239 * dgnushack.el (dgnushack-compile): `icalendar--decode-isodatetime'
240 doesn't work properly on XEmacs.
242 2013-08-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
244 * message.el (message-ignored-news-headers): Delete X-Gnus-Delayed
247 * dgnushack.el (dgnushack-compile): Add a temporary check for
250 * mm-decode.el (mm-command-output): New face.
251 (mm-display-external): Use it.
253 2013-08-01 Kan-Ru Chen (陳侃如) <kanru@kanru.info> (tiny change)
255 * nnmbox.el (nnmbox-request-article): Don't change point.
257 2013-08-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
259 * gnus-icalendar.el (gnus-icalendar-event:inline-reply-buttons):
260 Include `handle' parameter.
262 2013-08-01 Jan Tatarik <jan.tatarik@gmail.com>
264 * gnus-icalendar.el: New file.
266 2013-08-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
268 * gnus-int.el (gnus-warp-to-article): Mention that warp means jump.
270 * gnus-uu.el (gnus-uu-mark-thread, gnus-uu-unmark-thread): Work with
273 2013-08-01 David Edmondson <dme@dme.org>
275 * mml2015.el (mml2015-epg-key-image-to-string): Protect against bugging
278 2013-08-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
280 * gnus-start.el (gnus-dribble-save): Only save the dribble file if it's
283 * nnrss.el (nnrss-discover-feed): Indent.
285 2013-08-01 Katsumi Yamaoka <yamaoka@jpl.org>
287 * gnus-util.el (gnus-emacs-completing-read): Isolate XEmacs stuff.
289 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
291 * gnus-start.el (gnus-read-active-for-groups): Always mark the data as
292 dirty to ensure nnimap data being saved.
294 2013-07-30 Tassilo Horn <tsdh@gnu.org>
296 * gnus-sum.el (gnus-summary-make-menu-bar): Add "Current thread score"
299 * gnus-score.el (gnus-summary-current-score): Use prefix arg to show
300 the current thread's total score instead of the current article's
303 * gnus-sum.el (gnus-subthread-sort-functions): New defcustom.
304 (gnus-sort-threads-recursively): Delete defcustom.
305 (gnus-sort-threads-recursive): Adapt accordingly.
307 2013-07-30 Tassilo Horn <tsdh@gnu.org>
309 * gnus-sum.el (gnus-sort-subthreads-recursive): New function.
310 (gnus-sort-threads-recursive): Use it.
311 (gnus-sort-threads): Unconditionally call `gnus-sort-threads-recursive'
312 again. Now that determines how to sort subthreads.
314 2013-07-26 Tassilo Horn <tsdh@gnu.org>
316 * gnus-sum.el (gnus-sort-threads-recursively): New defcustom.
317 (gnus-sort-threads): Use it.
319 2013-07-25 Andreas Schwab <schwab@linux-m68k.org>
321 * gnus-art.el (gnus-button-url-regexp): Make it match url in which
322 punctuation characters follow parentheses (bug#14950).
324 2013-07-23 Katsumi Yamaoka <yamaoka@jpl.org>
326 * gnus.el (gnus-continuum-version):
327 * gnus-msg.el (gnus-extended-version): Simplify.
329 * gnus.el (gnus-continuum-version-1): Remove.
330 * gnus-msg.el (gnus-bug): Revert.
332 Calculate gnus-version correctly on Cygwin.
334 * gnus.el (gnus-continuum-version): Do main calculations in integers.
335 (gnus-continuum-version-1): New function, return a string.
337 * gnus-msg.el (gnus-extended-version, gnus-bug):
338 Use gnus-continuum-version-1 instead of gnus-continuum-version.
340 2013-07-19 Geoff Kuenning <geoff@cs.hmc.edu> (tiny change)
342 * gnus-art.el (gnus-treat-predicate): Allow functions as predicates
345 2013-07-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
347 * gnus-start.el (gnus-clean-old-newsrc): Remove the newsrc cleanups
348 that were only relevant in a development version a long time ago.
350 2013-07-18 Katsumi Yamaoka <yamaoka@jpl.org>
352 * gnus-art.el (gnus-shr-put-image): Make it work as well for shr.el's
353 that the old Emacs 24s bundle.
355 2013-07-10 David Engster <deng@randomsample.de>
357 * gnus-start.el (gnus-clean-old-newsrc): Always remove 'unexist' marks
358 if `gnus-newsrc-file-version' does not match `gnus-version'. This
359 fixes a bug in Emacs trunk where the 'unexist' marks were always
360 removed at startup because "Gnus v5.13" was considered smaller than "Ma
363 2013-07-10 Tassilo Horn <tsdh@gnu.org>
365 * gnus.el (gnus-summary-line-format): Reference
366 `gnus-user-date-format-alist' for the &user-date; format, not
367 `gnus-summary-user-date-format-alist'.
369 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
371 * nnml.el (nnml-request-compact-group): Don't bug out if we can't
372 delete files (bug#13481).
374 2013-07-08 Tassilo Horn <tsdh@gnu.org>
376 * gnus-registry.el (gnus-registry-remove-extra-data): New function.
378 2013-07-06 Lars Ingebrigtsen <larsi@gnus.org>
380 * gnus-art.el (gnus-block-private-groups): Allow `global' methods to
383 * gnus.el (gnus-valid-select-methods): Mark nnrss as global.
385 * message.el (message-cancel-news): According to
386 <mailman.216.1372942181.12400.help-gnu-emacs@gnu.org>, "cancel" is
387 preferred over "cmsg cancel" in the Subject.
389 * nnir.el (nnir-engines): Note that the group specs are regexps
392 * gnus-msg.el (gnus-copy-article-buffer): If the article buffer has
393 gotten read-only text properties, ensure that those aren't heeded when
394 copying stuff over (bug#13434).
396 * mm-view.el (mm-inline-text-html): Don't bug out on multipart messages
399 2013-07-05 David Kastrup <dak@gnu.org>
401 * auth-source.el (auth-source-netrc-parse-one): Allow empty strings in
402 authinfo file again (important for blank passwords). This had been
403 broken with 2013-06-15 change.
405 2013-07-03 Katsumi Yamaoka <yamaoka@jpl.org>
407 * gnus-sum.el (gnus-summary-from-or-to-or-newsgroups):
408 Revert 2013-01-14 change.
410 2013-07-02 Daiki Ueno <ueno@gnu.org>
412 * mml2015.el (mml2015-epg-key-image): Use 'gnus-create-image' instead
413 of 'create-image' for XEmacs compatibility; check errors when decoding
414 image. Reported by Uwe Brauer.
416 2013-06-28 Katsumi Yamaoka <yamaoka@jpl.org>
418 * gnus-art.el (gnus-article-extend-url-button): Make it work again with
419 gnus-button-push revised at 2011-01-19.
421 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
423 * eww.el, shr.el, shr-color.el: Removed from the Gnus repository. They
424 now live in the lisp/net Emacs 24 repository.
426 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
428 * eww.el (eww-update-header-line-format): Quote % characters.
430 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
432 * eww.el (eww-process-text-input): Display passwords as asterisks.
434 * shr.el (shr-make-table-1): Protect against invalid column-spans.
436 2013-06-19 Tom Tromey <tromey@redhat.com>
438 * eww.el (eww-top-url): Remove.
439 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
440 (eww-render): Set new variables. Don't set eww-top-url.
441 (eww-handle-link): Handle "prev", "home", and "contents".
442 Downcase the rel text.
443 (eww-top-url): Choose best top URL.
445 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
447 * eww.el: Rewrite to implement form elements "by hand" instead of
448 relying in widget.el. Using widget.el leads to too many
449 user interface inconsistencies.
450 (eww-self-insert): Implement entering commands in text fields.
451 (eww-process-text-input): New function to make text input field editing
453 (eww-submit): Rewrite to use the new-style form methods.
454 (eww-select-display): Display the correct selected item.
455 (eww-change-select): Implement changing the select value.
456 (eww-toggle-checkbox): Implement radio/checkboxes.
457 (eww-update-field): Fix compilation error.
458 (eww-tag-textarea): Implement <textarea>.
460 * shr.el (shr-urlify): Use `keymap' instead of `local-map' so that we
461 don't shadow mode-specific bindings.
463 * eww.el (eww-browse-url): Don't push stuff onto history if there's
466 * shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
468 2013-06-19 Glenn Morris <rgm@gnu.org>
470 * gnus-group.el (gnus-mark-article-as-read): Fix declaration.
472 2013-06-18 Teodor Zlatanov <tzz@lifelogs.com>
474 * auth-source.el (auth-source-netrc-parse-entries): Remove debugging.
476 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
478 * shr.el (shr-make-table-1): Implement <td rowspan>.
479 (shr-table-horizontal-line): Allow nil as a value, and change the
481 (shr-insert-table-ruler): Respect the nil value.
483 2013-06-18 Tom Tromey <tromey@barimba>
485 * eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
487 (eww-open-file): New defun.
488 (eww-render): Initialize new variables.
489 (eww-display-html): Handle "link" and "a".
490 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
491 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
492 (eww-back-url): Rename from eww-previous-url.
493 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url): New
496 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
498 * shr.el (shr-tag-table): Insert the images after the table, so that
499 they're not covered by the table colourisation, which often looked
501 (shr-tag-dl, shr-tag-dt, shr-tag-dd): Add support for <dl>, <dt> and
503 (shr-make-table-1): Implement <td colspan=> support.
504 (shr-insert-document): Use one less than window width if `shr-width' is
505 nil, since otherwise things may get one character too wide.
507 2013-06-18 Katsumi Yamaoka <yamaoka@jpl.org>
509 * eww.el (eww-detect-charset): Improve regexp; move backward.
511 2013-06-18 Glenn Morris <rgm@gnu.org>
513 * mm-decode.el (widget-convert-button): Autoload.
515 * sieve-manage.el (mm-enable-multibyte): Autoload.
517 * shr.el (libxml-parse-html-region): Declare.
518 (shr-render-buffer): Explicit error if no libxml2 support.
520 2013-06-17 Teodor Zlatanov <tzz@lifelogs.com>
522 * auth-source.el (auth-source-current-line): New function.
523 (auth-source-netrc-parse-entries): When a data token is "machine",
524 assume we're in the wrong place and abort parsing the current line.
526 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
528 * eww.el (eww-tag-select): Don't render totally empty <select> forms.
529 (eww-convert-widgets): Don't bug out if the first widget starts at the
530 beginning of the buffer.
531 (eww-convert-widgets): Fix last patch.
532 (eww-tag-input): Support <input type=image>.
534 * shr.el (shr-insert-table): Respect border-collapse: collapse.
535 (shr-tag-base): Protect against base specs that are degenerate.
536 (shr-ensure-paragraph): Don't delete empty lines that have text
537 properties, because these may be input fields.
539 * eww.el (eww-convert-widgets): Put `help-echo' on input fields so that
540 we can navigate to them.
542 * shr.el (shr-colorize-region): Put the colours over the entire region.
543 (shr-inhibit-decoration): New variable.
544 (shr-add-font): Use it to inhibit text property decorations while doing
545 preliminary table renderings. This speeds up typical Wikipedia page
547 (shr-tag-span): Don't respect the <title>, because that overwrites the
548 help-echo from links inside the spans.
549 (shr-next-link): Use `help-echo' for navigation, so that we can
550 navigate to form elements, too.
552 * eww.el (eww-button): New face.
553 (eww-convert-widgets): Use it to make submit buttons more button-like.
555 * mm-decode.el (mm-convert-shr-links): Override the shr local map, so
556 that Gnus commands work.
558 * shr.el (shr-render-td): Support horizontal alignment.
560 * eww.el (eww-put-color): Removed.
561 (eww-colorize-region): Use `add-face-text-property'.
563 * shr.el (shr-add-font): Append face data, so that we get the correct
564 precedence: The innermost value (which is applied first) wins.
565 (shr-make-overlay): Obsolete function.
567 * mm-decode.el (mm-convert-shr-links): New function to convert