Lars Magne Ingebrigtsen [Thu, 1 Aug 2013 16:04:06 +0000 (18:04 +0200)]
Fix thread marking on dummy roots
* gnus-uu.el (gnus-uu-mark-thread, gnus-uu-unmark-thread): Work with
dummy roots, too.
David Edmondson [Thu, 1 Aug 2013 14:27:17 +0000 (16:27 +0200)]
(mml2015-epg-key-image-to-string): Protect against bugging out on ttys.
Lars Magne Ingebrigtsen [Thu, 1 Aug 2013 14:22:35 +0000 (16:22 +0200)]
Dribble save cleanup
* gnus-start.el (gnus-dribble-save): Only save the dribble file if it's
not empty.
Lars Magne Ingebrigtsen [Thu, 1 Aug 2013 11:08:58 +0000 (13:08 +0200)]
* nnrss.el (nnrss-discover-feed): Indent.
Katsumi Yamaoka [Thu, 1 Aug 2013 03:51:45 +0000 (03:51 +0000)]
gnus-util.el (gnus-emacs-completing-read): Isolate XEmacs stuff
Lars Magne Ingebrigtsen [Tue, 30 Jul 2013 14:53:53 +0000 (16:53 +0200)]
* gnus-start.el (gnus-read-active-for-groups): Always mark the data as
dirty to ensure nnimap data being saved.
Tassilo Horn [Tue, 30 Jul 2013 13:27:18 +0000 (15:27 +0200)]
Add possibility to show the current thread's total score.
* gnus-sum.el (gnus-summary-make-menu-bar): Add "Current thread score"
menu entry.
* gnus-score.el (gnus-summary-current-score): Use prefix arg to show
the current thread's total score instead of the current article's
score.
Tassilo Horn [Tue, 30 Jul 2013 07:52:15 +0000 (09:52 +0200)]
Make subthread sorting customizable and add docs for it.
* gnus-sum.el (gnus-subthread-sort-functions): New defcustom.
(gnus-sort-threads-recursively): Delete defcustom.
(gnus-sort-threads-recursive): Adapt accordingly.
* gnus.texi (Sorting the Summary Buffer): Document new defcustom
`gnus-subthread-sort-functions' and remove the obsolete documentation
of `gnus-sort-threads-recursively'.
Tassilo Horn [Tue, 30 Jul 2013 06:54:34 +0000 (08:54 +0200)]
Improve subthread sorting.
* gnus-sum.el (gnus-sort-subthreads-recursive): New function.
(gnus-sort-threads-recursive): Use it.
(gnus-sort-threads): Unconditionally call `gnus-sort-threads-recursive'
again. Now that determines how to sort subthreads.
Juanma Barranquero [Sun, 28 Jul 2013 22:33:29 +0000 (22:33 +0000)]
Fix typos in ChangeLogs
Tassilo Horn [Fri, 26 Jul 2013 13:38:08 +0000 (15:38 +0200)]
Add option to sort threads non-recursively.
* gnus-sum.el (gnus-sort-threads-recursively): New defcustom.
(gnus-sort-threads): Use it.
* gnus.texi (Sorting the Summary Buffer): Document new defcustom
`gnus-sort-threads-recursively'.
Andreas Schwab [Thu, 25 Jul 2013 23:40:38 +0000 (23:40 +0000)]
gnus-art.el (gnus-button-url-regexp): Make it match url in which punctuation characters follow parentheses (bug#14950)
Katsumi Yamaoka [Tue, 23 Jul 2013 07:03:58 +0000 (07:03 +0000)]
Fix previous commit
* gnus.el (gnus-continuum-version):
* gnus-msg.el (gnus-extended-version): Simplify.
* gnus.el (gnus-continuum-version-1): Remove.
* gnus-msg.el (gnus-bug): Revert.
Katsumi Yamaoka [Tue, 23 Jul 2013 05:21:35 +0000 (05:21 +0000)]
Calculate gnus-version correctly on Cygwin
* gnus.el (gnus-continuum-version): Do main calculations in integers.
(gnus-continuum-version-1): New function, return a string.
* gnus-msg.el (gnus-extended-version, gnus-bug):
Use gnus-continuum-version-1 instead of gnus-continuum-version.
Lars Magne Ingebrigtsen [Fri, 19 Jul 2013 14:01:28 +0000 (16:01 +0200)]
Allow using functions as treatment predicates.
Lars Magne Ingebrigtsen [Thu, 18 Jul 2013 13:30:25 +0000 (15:30 +0200)]
Clean up newsrc cleanup
* gnus-start.el (gnus-clean-old-newsrc): Remove the newsrc cleanups
that were only relevant in a development version a long time ago.
Katsumi Yamaoka [Thu, 18 Jul 2013 11:21:18 +0000 (11:21 +0000)]
gnus-art.el (gnus-shr-put-image): Make it work as well for shr.el's that the old Emacs 24s bundle
Paul Eggert [Tue, 16 Jul 2013 06:31:34 +0000 (06:31 +0000)]
registry.el: Spelling fix for "does not exists"
Paul Eggert [Sun, 14 Jul 2013 09:37:06 +0000 (09:37 +0000)]
gnus-sum.el (gnus-newsgroup-unexist): Spelling fix
David Engster [Wed, 10 Jul 2013 19:02:59 +0000 (21:02 +0200)]
* gnus-start.el (gnus-clean-old-newsrc): Always remove 'unexist' marks
if `gnus-newsrc-file-version' does not match `gnus-version'. This
fixes a bug in Emacs trunk where the 'unexist' marks were always
removed at startup because "Gnus v5.13" was considered smaller than
"Ma Gnus v0.03".
Tassilo Horn [Wed, 10 Jul 2013 12:38:32 +0000 (14:38 +0200)]
Docfix.
* gnus.el (gnus-summary-line-format): Reference
`gnus-user-date-format-alist' for the &user-date; format, not
`gnus-summary-user-date-format-alist'.
Lars Magne Ingebrigtsen [Mon, 8 Jul 2013 14:56:46 +0000 (16:56 +0200)]
* nnml.el (nnml-request-compact-group): Don't bug out if we can't delete files
(bug#13481).
Tassilo Horn [Mon, 8 Jul 2013 13:37:26 +0000 (15:37 +0200)]
Add function to remove extra data from the registry.
* gnus-registry.el (gnus-registry-remove-extra-data): New function.
* gnus.texi (lines): Correct description of
`gnus-registry-track-extra's default value. Mention
`gnus-registry-remove-extra-data'.
Lars Ingebrigtsen [Sat, 6 Jul 2013 18:42:51 +0000 (20:42 +0200)]
Allow nnrss to display images
* gnus-art.el (gnus-block-private-groups): Allow `global' methods to
display images.
* gnus.el (gnus-valid-select-methods): Mark nnrss as global.
Lars Ingebrigtsen [Sat, 6 Jul 2013 18:21:25 +0000 (20:21 +0200)]
Don't use "cmsg cancel", because some NNTP servers may not handle it
* message.el (message-cancel-news): According to
<mailman.216.
1372942181.12400.help-gnu-emacs@gnu.org>, "cancel" is
preferred over "cmsg cancel" in the Subject.
Lars Ingebrigtsen [Sat, 6 Jul 2013 17:59:40 +0000 (19:59 +0200)]
Typo fix.
Lars Ingebrigtsen [Sat, 6 Jul 2013 17:59:26 +0000 (19:59 +0200)]
* gnus.texi (Group Parameters): Mention regexp substitutions(bug#11688).
Lars Ingebrigtsen [Sat, 6 Jul 2013 17:33:35 +0000 (19:33 +0200)]
* nnir.el (nnir-engines): Note that the group specs are regexps
(bug#13238).
Nathan Trapuzzano [Sat, 6 Jul 2013 17:25:38 +0000 (19:25 +0200)]
* gnus.texi (Generic Marking Commands): Fix grammar (bug#13368).
Lars Ingebrigtsen [Sat, 6 Jul 2013 17:20:10 +0000 (19:20 +0200)]
Make copying of read-only HTML text renderings work
* gnus-msg.el (gnus-copy-article-buffer): If the article buffer has
gotten read-only text properties, ensure that those aren't heeded when
copying stuff over (bug#13434).
Lars Ingebrigtsen [Sat, 6 Jul 2013 16:26:06 +0000 (18:26 +0200)]
* mm-view.el (mm-inline-text-html): Don't bug out on multipart messages
Lars Ingebrigtsen [Sat, 6 Jul 2013 15:48:11 +0000 (17:48 +0200)]
* gnus.texi (Emacsen): Fix version.
Lars Ingebrigtsen [Sat, 6 Jul 2013 15:46:04 +0000 (17:46 +0200)]
* gnus-faq.texi (FAQ 1-6): Mention the correct Emacs version.
Glenn Morris [Sat, 6 Jul 2013 13:07:36 +0000 (13:07 +0000)]
* gnus.texi (Top): Restrict "Other related manuals" to info output.
(Foreign Groups): Use @indicateurl for examples.
(Direct Functions): Remove defunct URL.
(RSS): Update URL.
* gnus-faq.texi (FAQ 5-8, FAQ 6-3): Remove defunct URLs.
(FAQ 7-1): Update URL.
David Kastrup [Fri, 5 Jul 2013 17:42:08 +0000 (13:42 -0400)]
auth-source.el (auth-source-netrc-parse-one): Allow empty strings again.
Katsumi Yamaoka [Wed, 3 Jul 2013 04:15:22 +0000 (04:15 +0000)]
gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): Revert 2013-01-14 change
Daiki Ueno [Tue, 2 Jul 2013 02:15:15 +0000 (11:15 +0900)]
mml2015: make key image extraction robuster
* mml2015.el (mml2015-epg-key-image): Use 'gnus-create-image' instead
of 'create-image' for XEmacs compatibility; check errors when decoding
image. Reported by Uwe Brauer.
Paul Eggert [Sun, 30 Jun 2013 23:37:25 +0000 (23:37 +0000)]
lisp/ChangeLog (2013-06-17) : Spelling fix
Katsumi Yamaoka [Fri, 28 Jun 2013 08:01:06 +0000 (08:01 +0000)]
gnus-art.el (gnus-article-extend-url-button): Make it work again with gnus-button-push revised at 2011-01-19
Lars Magne Ingebrigtsen [Sun, 23 Jun 2013 18:15:22 +0000 (20:15 +0200)]
* eww.el, shr.el, shr-color.el: Removed from the Gnus repository.
They now live in the lisp/net Emacs 24 repository.
Lars Magne Ingebrigtsen [Fri, 21 Jun 2013 06:55:48 +0000 (08:55 +0200)]
* eww.el (eww-update-header-line-format): Quote % characters.
Katsumi Yamaoka [Thu, 20 Jun 2013 00:22:12 +0000 (00:22 +0000)]
configure.in: Work for term-mode running in Emacs
Juanma Barranquero [Wed, 19 Jun 2013 22:48:25 +0000 (22:48 +0000)]
texi/ChangeLog: Fix typo
Katsumi Yamaoka [Wed, 19 Jun 2013 22:31:24 +0000 (22:31 +0000)]
lisp/ChangeLog: Fix typo
Katsumi Yamaoka [Wed, 19 Jun 2013 22:29:11 +0000 (22:29 +0000)]
lisp/ChangeLog: Fix typo
Juanma Barranquero [Wed, 19 Jun 2013 22:20:01 +0000 (22:20 +0000)]
lisp/ChangeLog: Fix typos
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 21:37:35 +0000 (23:37 +0200)]
* eww.el (eww-process-text-input): Display passwords as asterisks.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 21:01:09 +0000 (23:01 +0200)]
Protect against invalid column-spans.
Tom Tromey [Wed, 19 Jun 2013 19:30:04 +0000 (21:30 +0200)]
Improve prev/next link handling
* net/eww.el (eww-top-url): Remove.
(eww-home-url, eww-start-url, eww-contents-url): New defvars.
(eww-render): Set new variables. Don't set eww-top-url.
(eww-handle-link): Handle "prev", "home", and "contents".
Downcase the rel text.
(eww-top-url): Choose best top URL.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 19:11:51 +0000 (21:11 +0200)]
(eww-tag-textarea): Implement <textarea>.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 18:49:43 +0000 (20:49 +0200)]
(eww-toggle-checkbox): Implement radio/checkboxes.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 18:27:25 +0000 (20:27 +0200)]
(eww-change-select): Implement changing the select value.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 17:34:59 +0000 (19:34 +0200)]
(eww-select-display): Display the correct selected item.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 17:09:13 +0000 (19:09 +0200)]
(eww-submit): Rewrite to use the new-style form methods.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 16:31:54 +0000 (18:31 +0200)]
Allow editing text input fields again
(eww-process-text-input): New function to make text input field editing
work.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 15:38:24 +0000 (17:38 +0200)]
(eww-self-insert): Implement entering commands in text fields.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 15:12:16 +0000 (17:12 +0200)]
Don't use widgets in eww
* eww.el: Rewrite to implement form elements "by hand" instead of
relying in widget.el. Using widget.el leads to too many
user interface inconsistencies.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 14:03:52 +0000 (16:03 +0200)]
Make links not shadow local commands
* shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
* shr.el (shr-urlify): Use `keymap' instead of `local-map' so that we
don't shadow mode-specific bindings.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 13:55:35 +0000 (15:55 +0200)]
Merge branch 'master' of https://git.gnus.org/gnus
Glenn Morris [Wed, 19 Jun 2013 09:57:26 +0000 (09:57 +0000)]
gnus-group.el (gnus-mark-article-as-read): Fix declaration
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 07:31:57 +0000 (09:31 +0200)]
(eww-browse-url): Don't push stuff onto history if there's nothing to push.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 07:04:17 +0000 (09:04 +0200)]
* shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
Ted Zlatanov [Tue, 18 Jun 2013 18:54:56 +0000 (14:54 -0400)]
* auth-source.el (auth-source-netrc-parse-entries): Remove debugging.
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 16:17:57 +0000 (18:17 +0200)]
Allow not inserting horizontal space into a table
(shr-insert-table-ruler): Respect the nil value.
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 15:32:59 +0000 (17:32 +0200)]
* shr.el (shr-make-table-1): Implement <td rowspan>.
Tom Tromey [Tue, 18 Jun 2013 15:13:58 +0000 (17:13 +0200)]
Implement <link> and <a rel> prev/next (etc.) motions
* eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
New defvars.
(eww-open-file): New defun.
(eww-render): Initialize new variables.
(eww-display-html): Handle "link" and "a".
(eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
(eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
(eww-back-url): Rename from eww-previous-url.
(eww-next-url, eww-previous-url, eww-up-url, eww-top-url): New
defuns.
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 15:00:54 +0000 (17:00 +0200)]
Use one less than `window-width' as the width
(shr-insert-document): Use one less than window width if `shr-width' is
nil, since otherwise things may get one character too wide.
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 14:56:16 +0000 (16:56 +0200)]
(shr-make-table-1): Implement <td colspan=> support.
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 11:15:32 +0000 (13:15 +0200)]
Add support for <dl>, <dt> and <dd>.
(shr-tag-dl, shr-tag-dt, shr-tag-dd): Add support for <dl>, <dt> and
<dd>.
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 10:08:14 +0000 (12:08 +0200)]
Don't colourise images from tables
* shr.el (shr-tag-table): Insert the images after the table, so that
they're not covered by the table coulorisation, which often looked
awkward.
Katsumi Yamaoka [Tue, 18 Jun 2013 09:27:19 +0000 (09:27 +0000)]
eww.el (eww-detect-charset): Improve regexp; move backward
Glenn Morris [Tue, 18 Jun 2013 08:51:57 +0000 (08:51 +0000)]
Merge changes made in Emacs trunk
mm-decode.el (widget-convert-button): Autoload.
sieve-manage.el (mm-enable-multibyte): Autoload.
shr.el (libxml-parse-html-region): Declare.
(shr-render-buffer): Explicit error if no libxml2 support.
Ted Zlatanov [Mon, 17 Jun 2013 23:24:59 +0000 (19:24 -0400)]
When a data token is "machine", abort parsing the current line.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 22:46:18 +0000 (00:46 +0200)]
(eww-tag-input): Support <input type=image>.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 21:59:46 +0000 (23:59 +0200)]
(eww-convert-widgets): Fix last patch.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 21:49:24 +0000 (23:49 +0200)]
* eww.el (eww-tag-select): Don't render totally empty <select> forms.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 21:48:00 +0000 (23:48 +0200)]
Make input fields on their own lines work
(shr-ensure-paragraph): Don't delete empty lines that have text
properties, because these may be input fields.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 21:02:26 +0000 (23:02 +0200)]
(shr-tag-base): Protect against base specs that are degenerate.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 20:29:01 +0000 (22:29 +0200)]
* shr.el (shr-insert-table): Respect border-collapse: collapse.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 20:02:15 +0000 (22:02 +0200)]
Fix syntax error
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 19:59:50 +0000 (21:59 +0200)]
Make it possible to TAB to the form elements again
* eww.el (eww-convert-widgets): Put `help-echo' on input fields so that
we can navigate to them.
(shr-tag-span): Don't respect the <title>, because that overwrites the
help-echo from links inside the spans.
(shr-next-link): Use `help-echo' for navigation, so that we can
navigate to form elements, too.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 19:42:29 +0000 (21:42 +0200)]
Make shr table rendering somewhat faster
(shr-inhibit-decoration): New variable.
(shr-add-font): Use it to inhibit text property decorations while doing
preliminary table renderings. This speeds up typical Wikipedia page
renderings by 15%.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 15:08:11 +0000 (17:08 +0200)]
* shr.el (shr-colorize-region): Put the colours over the entire region.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 11:07:46 +0000 (13:07 +0200)]
Make buttons prettier
* eww.el (eww-button): New face.
(eww-convert-widgets): Use it to make submit buttons more button-like.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 10:41:44 +0000 (12:41 +0200)]
(mm-convert-shr-links): Override the shr local map, so that Gnus commands work.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 10:20:30 +0000 (12:20 +0200)]
* shr.el (shr-render-td): Support horizontal alignment.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 10:07:08 +0000 (12:07 +0200)]
Make eww use `add-face-text-property', too.
(shr-make-overlay): Obsolete function.
* eww.el (eww-put-color): Removed.
(eww-colorize-region): Use `add-face-text-property'.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 09:55:17 +0000 (11:55 +0200)]
Get correct presedence for font data
* shr.el (shr-add-font): Append face data, so that we get the correct
presedence: The innermost value (which is applied first) wins.
Katsumi Yamaoka [Mon, 17 Jun 2013 09:36:16 +0000 (09:36 +0000)]
mm-decode.el (shr-map): Silence the byte compiler
Stefan Monnier [Mon, 17 Jun 2013 09:16:36 +0000 (09:16 +0000)]
sieve.el (sieve-edit-script): Avoid beginning-of-buffer
shr.el (browse-url): Require `url'
eww.el (url): Require format-spec
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 09:04:25 +0000 (11:04 +0200)]
Convert shr.el from using overlays into using text properties
* eww.el (eww-mode-map): Use `shr-next-link' (etc) instead of the
widget commands, since we're no longer using widgets for links.
* mm-decode.el (mm-convert-shr-links): New function to convert
new-style shr URL links into widgets.
(mm-shr): Use it.
* shr.el (shr-next-link): New command.
(shr-previous-link): New command.
(shr-urlify): Don't use `widget-convert', because that's slow.
(shr-put-color-1): Use `add-face-text-property' instead of overlays,
because collecting the overlays and reapplying them when generating
tables is slow.
(shr-insert-table): Ditto.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 22:20:51 +0000 (00:20 +0200)]
Don't add User-Agent.
(eww-browse-url): Don't add a User-Agent header (twice), because that
makes Bing refuse connection.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 20:14:22 +0000 (22:14 +0200)]
* eww.el (eww-display-html): Default to using the entire window width.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 19:42:07 +0000 (21:42 +0200)]
Speed up table rendering at bit
* shr.el (shr-make-table): Cache the table rendering at the table
level, and not the <td> level. This is a bit faster.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 18:14:40 +0000 (20:14 +0200)]
Support #anchors
* eww.el (eww-render): Go to the correct ID when given URLs ending with
#id.
(shr-descend): Allow marking elements that have certain IDs.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 18:00:17 +0000 (20:00 +0200)]
(shr-descend): Respect display: none.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 17:41:20 +0000 (19:41 +0200)]
(shr-parse-base): Chop off the anchor before using.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 17:33:47 +0000 (19:33 +0200)]
(shr-expand-url): Respect #anchor links.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 17:29:29 +0000 (19:29 +0200)]
Make <li> rendering more compact
* shr.el (shr-tag-li): Don't require a new paragraph, since other
browsers don't.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 15:49:06 +0000 (17:49 +0200)]
Don't bug out on zero-length links
* eww.el (eww-tag-textarea): Use `text' instead of `editable-field'.
* shr.el (shr-expand-url): Don't bug out on zero-length links.