Commit graph

126 commits

Author SHA1 Message Date
Teodor Zlatanov
9a047bac91 gnus-html.el: Doc fix for gnus-html-image-url-blocked-p. 2010-09-02 01:10:25 +00:00
Lars Magne Ingebrigtsen
5b77fa4d82 gnus-html.el (gnus-html-image-url-blocked-p): Say in the message what the regexp really is. 2010-09-02 01:06:36 +00:00
Lars Magne Ingebrigtsen
c6c815761c 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. 2010-09-02 01:02:03 +00:00
Teodor Zlatanov
d743e0d118 gnus-html.el: add and use gnus-html-image-url-blocked-p 2010-09-02 00:17:40 +00:00
Lars Magne Ingebrigtsen
e5e2587e9e gnus-html.el: We can't rescale if we don't have the article buffer in a window. 2010-09-02 00:13:51 +00:00
Lars Magne Ingebrigtsen
1ee093a370 gnus-html.el: Try to get the rescaling logic right for images that are just wide and not tall. 2010-09-02 00:08:22 +00:00
Lars Magne Ingebrigtsen
075843d346 gnus.el, gnus-html.el: Use the deleted text as the image alt text. 2010-09-02 00:03:57 +00:00
Lars Magne Ingebrigtsen
7d7520b969 gnus-html.el: Rescale images in article buffers for Emacs versions that support this. This is currently only Emacs 24 compiled with imagemagick support. 2010-09-01 23:53:57 +00:00
Teodor Zlatanov
6ca07e4960 gnus-html.el: Add extra logging. 2010-09-01 23:46:59 +00:00
Lars Magne Ingebrigtsen
fe01e1a3a0 gnus-html.el: Delete the IMG_ALT region. 2010-09-01 23:40:39 +00:00
Katsumi Yamaoka
da43765da1 gnus-article-html: Decode contents by charset. 2010-09-01 06:04:49 +00:00
Katsumi Yamaoka
b0e3031077 gnus-html.el, message.el: Add custom version to new variables; gnus-sum.el: Bump custom version of gnus-auto-expirable-marks. 2010-09-01 04:44:25 +00:00
Katsumi Yamaoka
cd110b2b0c gnus-html-curl-sentinel: Replace process-get with gnus-process-get. 2010-09-01 04:28:56 +00:00
Katsumi Yamaoka
0a46a12f7a Fix previous merge from Gnus trunk. 2010-09-01 00:18:24 +00:00
Katsumi Yamaoka
51dee5ef43 gnus-html.el: Introduce a new variable, gnus-blocked-images, and use that instead of the w3m variable; by Lars Magne Ingebrigtsen <larsi@gnus.org>. 2010-08-31 23:38:57 +00:00
Katsumi Yamaoka
2cdd366f84 gnus-ems.el: Provide compatibility functions for gnus-set-process-plist by Katsumi Yamaoka <yamaoka@jpl.org>; gnus-html.el: Use gnus-process-plist and friends for compatibility; gnus-cite.el: New function to guess whether a long line is natural text or not; message.el: Implement message-prune-recipient-rules; by Lars Magne Ingebrigtsen <larsi@gnus.org>. 2010-08-31 23:26:23 +00:00
Stefan Monnier
2d217ead4c * lisp/gnus/gnus-html.el: Require pkgs 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.
2010-08-31 21:47:35 +02:00
Katsumi Yamaoka
ad1421332b Clarify the code a bit by renaming the variable with the url to `url'; Support cid: URLs/images; by Lars Magne Ingebrigtsen <larsi@gnus.org>. 2010-08-31 13:28:02 +00:00
Katsumi Yamaoka
14721afcd6 gnus-html.el: require mm-url; by Lars Magne Ingebrigtsen <larsi@gnus.org>. 2010-08-31 01:15:32 +00:00
Katsumi Yamaoka
0c32d78212 Fix previous merge from Gnus trunk. 2010-08-31 00:51:08 +00:00
Katsumi Yamaoka
379dde032c Tell w3m that the input is UTF-8; This seems to fix problems with some German web feeds; by Lars Magne Ingebrigtsen <larsi@gnus.org>. 2010-08-31 00:23:25 +00:00
Katsumi Yamaoka
fb16bb4689 Use gnus-create-image to be XEmacs-compatible; Don't do images on non-graphic displays; by Lars Magne Ingebrigtsen <larsi@gnus.org>. 2010-08-31 00:07:40 +00:00
Katsumi Yamaoka
a3e01263b1 Use insert-image instead of put-image when putting images into a buffer; This makes all the Gnus image-inserting functions work, I think; by Lars Magne Ingebrigtsen <larsi@gnus.org>. 2010-08-30 23:35:19 +00:00
Katsumi Yamaoka
929989ffac Make html image insertion probably work for XEmacs, too by Lars Magne Ingebrigtsen <larsi@gnus.org>. 2010-08-30 23:29:56 +00:00
Katsumi Yamaoka
b1992461d7 Misc Gnus fixes by Lars Magne Ingebrigtsen <larsi@gnus.org>.
2010-08-29  Adam Sjøgren  <asjo@koldfront.dk>
 * gnus-html.el (gnus-html-put-image): Use XEmacs-compatible image
 functions.

2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 * 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.
2010-08-30 06:17:45 +00:00
Katsumi Yamaoka
655efd7175 Add a new super-simple HTML renderer based on w3m -halfdump by Lars Magne Ingebrigtsen <larsi@gnus.org>.
* gnus-html.el: Start a new super-simple HTML renderer based on w3m.
2010-08-30 06:13:50 +00:00