1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-21 21:20:44 -08:00
Commit graph

145 commits

Author SHA1 Message Date
Andreas Schwab
9598ddae26 * shr.el (shr-expand-url): Handle URL starting with `//'. 2012-07-10 11:42:48 +02:00
Gnus developers
b4543a2894 Merge changes made in No Gnus
2012-06-10  Toke Hoiland-Jorgensen <toke@toke.dk> (tiny change)
* nnmaildir.el (nnmaildir-request-expire-articles):
  Ensure that `time' is an integer to avoid later problems.
2012-06-10  Lars Magne Ingebrigtsen <larsi@gnus.org>
* shr.el: Add a iso-8859-1 cookie to make stuff work under other
 locales.
2012-06-10 22:16:03 +00:00
Lars Magne Ingebrigtsen
e76917e6cd shr.el (shr-insert): Minor shr white space rendering tweak 2012-03-19 14:44:14 +00:00
Lars Magne Ingebrigtsen
160ae063e0 Merge changes made in No Gnus 2012-03-14 22:15:04 +00:00
Lars Magne Ingebrigtsen
5d8522565e shr.el (shr-column-specs): Protect against TDs with "width: 0%". 2012-02-25 13:20:57 +00:00
Lars Ingebrigtsen
0e2cebe57e shr.el (shr-image-fetched): Be more defensive about killing the correct buffer 2012-02-18 22:28:00 +00:00
Lars Ingebrigtsen
888ab66104 shr.el (shr-remove-trailing-whitespace): Really delete the padding on too-wide lines. 2012-02-15 09:36:28 +00:00
Paul Eggert
1127311509 Increase default image size limit; don't unlimit Gnus.
* lisp/gnus/shr.el (shr-rescale-image): Undo previous change; see
<http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00540.html>.
* src/image.c (MAX_IMAGE_SIZE): Increase from 6.0 to 10.0; see
<http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00540.html>.
2012-02-14 22:40:08 -08:00
Lars Ingebrigtsen
32f6c52b3e shr.el (shr-rescale-image): Fix typo in last checkin 2012-02-13 11:25:56 +00:00
Lars Ingebrigtsen
9554f4ac2f shr.el (shr-rescale-image): Allow viewing large images. 2012-02-13 03:33:11 +00:00
Glenn Morris
2bed3f0483 Add missing :version tags to new defgroups and defcustoms
* window.el (window-sides-slots):
* tool-bar.el (tool-bar-position):
* term/xterm.el (xterm-extra-capabilities):
* ses.el (ses-self-reference-early-detection):
* progmodes/verilog-mode.el (verilog-auto-declare-nettype)
(verilog-auto-wire-type)
(verilog-auto-delete-trailing-whitespace)
(verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
(verilog-auto-tieoff-declaration):
* progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
(sql-oracle-statement-starters, sql-oracle-scan-on):
* progmodes/prolog.el (prolog-align-comments-flag)
(prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
(prolog-left-indent-regexp, prolog-paren-indent-p)
(prolog-paren-indent, prolog-parse-mode, prolog-keywords)
(prolog-types, prolog-mode-specificators)
(prolog-determinism-specificators, prolog-directives)
(prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
(prolog-electric-dot-flag)
(prolog-electric-dot-full-predicate-template)
(prolog-electric-underscore-flag, prolog-electric-tab-flag)
(prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
(prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
(prolog-program-switches, prolog-prompt-regexp)
(prolog-debug-on-string, prolog-debug-off-string)
(prolog-trace-on-string, prolog-trace-off-string)
(prolog-zip-on-string, prolog-zip-off-string)
(prolog-use-standard-consult-compile-method-flag)
(prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
(prolog-imenu-max-lines, prolog-info-predicate-index)
(prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
(prolog-char-quote-workaround):
* progmodes/cc-vars.el (c-defun-tactic):
* net/tramp.el (tramp-encoding-command-interactive)
(tramp-local-end-of-line):
* net/soap-client.el (soap-client):
* net/netrc.el (netrc-file):
* net/gnutls.el (gnutls):
* minibuffer.el (completion-category-overrides)
(completion-cycle-threshold)
(completion-pcm-complete-word-inserts-delimiters):
* man.el (Man-name-local-regexp):
* mail/feedmail.el (feedmail-display-full-frame):
* international/characters.el (glyphless-char-display-control):
* eshell/em-ls.el (eshell-ls-date-format):
* emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
(lisp-lambda-list-keyword-parameter-indentation)
(lisp-lambda-list-keyword-parameter-alignment):
* doc-view.el (doc-view-image-width, doc-view-unoconv-program):
* dired-x.el (dired-omit-verbose):
* cus-theme.el (custom-theme-allow-multiple-selections):
* calc/calc.el (calc-highlight-selections-with-faces)
(calc-lu-field-reference, calc-lu-power-reference)
(calc-note-threshold):
* battery.el (battery-mode-line-limit):
* arc-mode.el (archive-7z-extract, archive-7z-expunge)
(archive-7z-update):
* allout.el (allout-prefixed-keybindings)
(allout-unprefixed-keybindings)
(allout-inhibit-auto-fill-on-headline)
(allout-flattened-numbering-abbreviation):
* allout-widgets.el (allout-widgets-auto-activation)
(allout-widgets-icons-dark-subdir)
(allout-widgets-icons-light-subdir, allout-widgets-icon-types)
(allout-widgets-theme-dark-background)
(allout-widgets-theme-light-background)
(allout-widgets-item-image-properties-emacs)
(allout-widgets-item-image-properties-xemacs)
(allout-widgets-run-unit-tests-on-load)
(allout-widgets-time-decoration-activity)
(allout-widgets-hook-error-post-time)
(allout-widgets-track-decoration):
* gnus/sieve-manage.el (sieve-manage-default-stream):
* gnus/shr.el (shr):
* gnus/nnir.el (nnir-ignored-newsgroups, nnir-summary-line-format)
(nnir-retrieve-headers-override-function)
(nnir-imap-default-search-key, nnir-notmuch-program)
(nnir-notmuch-additional-switches, nnir-notmuch-remove-prefix)
(nnir-method-default-engines):
* gnus/message.el (message-cite-reply-position):
* gnus/gssapi.el (gssapi-program):
* gnus/gravatar.el (gravatar):
* gnus/gnus-sum.el (gnus-refer-thread-use-nnir):
* gnus/gnus-registry.el (gnus-registry-unfollowed-addresses)
(gnus-registry-max-pruned-entries):
* gnus/gnus-picon.el (gnus-picon-inhibit-top-level-domains):
* gnus/gnus-int.el (gnus-after-set-mark-hook)
(gnus-before-update-mark-hook):
* gnus/gnus-async.el (gnus-async-post-fetch-function):
* gnus/auth-source.el (auth-source-cache-expiry):
Add missing :version tags to new defcustoms and defgroups.
2012-02-11 14:13:29 -08:00
Lars Ingebrigtsen
038b349557 Merge changes made in No Gnus
shr.el: Inhibit getting and sending cookies when fetching pictures.
gnus-html.el (gnus-html-schedule-image-fetching): Ditto.
2012-02-08 01:44:25 +00:00
Lars Ingebrigtsen
7c4bbb6992 Merge changes made in No Gnus
gnus.texi (Mail Source Specifiers): Add a pop3 via an SSH tunnel example (modified from an example by Michael Albinus).
shr.el (shr-remove-trailing-whitespace): Don't strip whitespace from lines that are narrower than the window width.  Otherwise background "blocks" will look less readable.
2012-02-07 22:17:11 +00:00
Lars Ingebrigtsen
9ed5a258e2 Merge changes made in No Gnus
shr-color.el (shr-color-set-minimum-interval): Renamed to add prefix (bug#10732).
shr.el (shr-insert-document): Add doc string.
 (shr-visit-file): Ditto.
 (shr-remove-trailing-whitespace): New function.
 (shr-insert-document): Use it to clean up trailing whitespace as the final step (bug#10714).
gnus-sum.el (gnus-summary-exit-no-update): Really deaden the summary buffer if `gnus-kill-summary-on-exit' is nil.
2012-02-07 00:42:21 +00:00
Gnus developers
39ddff397c Merge changes made in Gnus trunk
shr.el (shr-browse-url): Fix the name of the `browse-url-mail' function call.
gnus-demon.el (gnus-demon-run-callback, gnus-demon-init): Convert to seconds, and make the repeat clause with HH:MM specs work as documented.
2012-01-28 02:25:57 +00:00
Lars Magne Ingebrigtsen
edd9679c37 shr.el (shr-visit-file): Move point to the beginning of the buffer after rendering. 2012-01-07 11:46:47 +00:00
Gnus developers
7e67562fca Merge changes made in Gnus trunk.
2012-01-04  Julien Danjou  <julien@danjou.info>
 * nnimap.el (nnimap-update-info): Fix an error when all articles UIDs
 change.
2012-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 * shr.el (shr-rescale-image): Add :ascent 100 to the rescaled picture,
 too.
 * nntp.el (nntp-retrieve-group-data-early): Use it.
2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 * nntp.el (nntp-retrieval-in-progress): New variable.
 (nntp-make-process-buffer): Make it buffer-local.
 * gnus-demon.el (gnus-demon-time-to-step): Resurrect function lost in
 2010.
 (gnus-demon-init): Use it to compute the time if time is on the form
 "04:23".
 * gnus-topic.el (gnus-topic-history): Define `gnus-topic-history'.
 * nnimap.el (nnimap-finish-retrieve-group-infos): Check the connection
 status in the correct buffer.
2012-01-03  Leo  <sdl.web@gmail.com>
 * gnus-topic.el (gnus-topic-goto-next-group): Don't move point around
 when opening topics (bug#10407).
2012-01-04 10:49:38 +00:00
Lars Magne Ingebrigtsen
e37df6749a shr.el (shr-table-horizontal-line): Use "?\s" instead of "? " to avoid later breakage. 2011-11-23 00:20:17 +00:00
Lars Magne Ingebrigtsen
84b54fdfa6 shr.el (shr-table-horizontal-line): Revert infinite loops introduced by Paul Eggert's spellfixes two days ago. 2011-11-22 00:59:33 +00:00
Paul Eggert
5396468298 Spelling fixes. 2011-11-19 01:18:31 -08:00
Katsumi Yamaoka
a959fc400d shr.el (shr-tag-img): Don't get images displayed in tables. 2011-10-06 09:25:26 +00:00
Lars Magne Ingebrigtsen
6452208631 shr.el (shr-tag-img): Add a space at the end of an ALT image text to make asynchronous adjacent image insertion work better. 2011-10-02 22:03:55 +00:00
Lars Magne Ingebrigtsen
2146e25680 Merge changes made in Gnus trunk.
nnimap.el (nnimap-wait-for-response): Message less (bug#9540).
nnheader.el (nnheader-message-maybe): New function.
shr.el (shr-tag-table): Render totally broken tables better.
mml.el (mml-generate-mime-1): Don't alter the contents if we're computing the boundary.
pop3.el (pop3-number-of-responses): Removed.
 (pop3-wait-for-messages): Rewrite to take linear time instead of exponential time.
2011-09-26 21:59:47 +00:00
Lars Magne Ingebrigtsen
728518c3e4 Support a new variable shr-ignore-cache' to re-fetch images when hitting g' in Gnus.
gnus-sum.el (gnus-summary-show-article): Bind `shr-ignore-cache' to re-fetch images.
shr.el (shr-tag-img): Support a new variable `shr-ignore-cache' to re-fetch images when hitting `g' in Gnus.
2011-09-24 23:09:56 +00:00
Lars Magne Ingebrigtsen
fb1b0ef6f0 shr.el (shr-tag-comment): Ignore HTML comments. 2011-07-20 22:48:00 +00:00
Lars Magne Ingebrigtsen
c146ad8505 Merge changes made in Gnus trunk.
gnus-art.el (gnus-article-stop-animations): New function to stop any animations going on at article exit time.
gnus-registry.el (gnus-registry-user-format-function-M): Reinstate, since removing it breaks people upgrading.
shr.el (shr-put-image): Use the new interface for animating images.
 (shr-put-image): Animate for 60 seconds.
2011-06-26 22:21:48 +00:00
Gnus developers
2da9c605f8 Merge changes made in Gnus trunk.
gnus.texi (Store custom flags and keywords): Refer to `gnus-registry-article-marks-to-{chars,names}' instead of `gnus-registry-user-format-function-{M,M2}'.
shr.el (shr-rescale-image): Add an :ascent of 100 to images so that the underline comes at the bottom.
gnus-registry.el (gnus-registry-article-marks-to-chars): Rename from `gnus-registry-user-format-function-M' and declare the latter obsolete.
 (gnus-registry-article-marks-to-names): Rename from `gnus-registry-user-format-function-M2'.
shr.el (shr-browse-image): Copy the URL if called interactively.
2011-05-31 22:08:51 +00:00
Gnus developers
ca3cf0a561 shr.el (shr-urlify): Use shr-add-font to make underlines be less ugly at the end of lines.
smiley.el (gnus-smiley-file-types): Add gif as supported file type.
2011-05-29 23:28:45 +00:00
Julien Danjou
55385ebc9a shr.el (shr-tag-del): Add support for del tag. 2011-05-16 09:33:14 +00:00
Katsumi Yamaoka
195b25935c gnus-html.el (gnus-html-put-image): Register a displayer.
shr.el (shr-image-displayer): Don't remove text props from alt text.
2011-05-13 05:35:56 +00:00
U. Ser
9b053e766d fix many doubled-word typos 2011-05-10 15:57:12 +02:00
Julien Danjou
296d197b34 shr.el (shr-put-color-1): Do not bug out when old-props is a face symbol and not a list. 2011-05-10 13:20:21 +00:00
Katsumi Yamaoka
b9bdaf749f shr.el (shr-put-image-function): New variable.
(shr-image-fetched, shr-image-displayer, shr-tag-img): Funcall it.
 (shr-put-image): Return scaled image.
gnus-art.el (gnus-shr-put-image): New function.
 (gnus-article-prepare-display): Bind shr-put-image-function to it.
gnus-html.el (gnus-html-wash-images): Register scaled images, not original ones, as deletable.
2011-05-10 03:14:44 +00:00
Julien Danjou
7ef1d63406 shr.el (shr-link): Make shr-link inherit from link by default. 2011-05-07 10:41:20 +00:00
Teodor Zlatanov
f8774e35f6 shr.el (shr-urlify, shr-link): Fix shr-link face. 2011-05-06 23:33:12 +00:00
Teodor Zlatanov
df26ce09c4 shr.el (shr-urlify, shr-link): Still broken but at least doesn't error out because the face is not a list. 2011-05-05 22:12:41 +00:00
Gnus developers
c2f51e23ab Merge changes made in Gnus trunk.
gnus.texi (Summary Buffer Lines): gnus-summary-user-date-format-alist does not exist.
 (Sorting the Summary Buffer): More about sorting threads.
shr.el: Add shr-link face for links.
 (shr-urlify): Use it.
registry.el (registry-insert): Make error message more helpful.
2011-05-03 22:41:28 +00:00
Lars Magne Ingebrigtsen
f3b146e943 Merge changes made in Gnus trunk.
gnus-html.el (gnus-html-schedule-image-fetching): Use url-queue-retrieve, if it exists.
shr.el (shr-tag-img): Ditto.
gnus.el: Autoload more gnus-agent functions.
gnus-art.el (gnus-request-article-this-buffer): Store articles in the agent if we haven't already (bug#8502).
gnus-async.el (gnus-async-article-callback): Put prefetched articles into the Agent, too.
gnus-agent.el (gnus-agent-store-article): New function.
2011-05-02 22:41:38 +00:00
Lars Magne Ingebrigtsen
6eee267817 shr.el (shr-strike-through): New face.
(shr-tag-s): Use it to provide <s> support.
 (shr-tag-s): Remove duplicate definition.
2011-04-30 00:03:19 +00:00
Lars Magne Ingebrigtsen
a3af29290e shr.el (shr-tag-sup, shr-tag-sub): New functions. 2011-04-24 22:12:21 +00:00
Katsumi Yamaoka
891e751b65 shr.el (shr-expand-url): Fix typo. 2011-04-21 02:48:04 +00:00
Lars Magne Ingebrigtsen
2b45516032 shr.el (shr-expand-url): Protect against null urls. 2011-04-21 02:22:56 +00:00
Lars Magne Ingebrigtsen
dbd5ffad4d shr.el (shr-base): New binding.
(shr-tag-base): Keep track of <base>.
 (shr-expand-url): New function used throughout.
2011-04-21 00:24:27 +00:00
Gnus developers
1518e4f02d Merge changes made in Gnus trunk.
message.texi (Various Commands): Document format specs in the ellipsis.
time-date.el (format-seconds): Use assoc instead of assoc-string to avoid warning on XEmacs.
gnus-art.el: Require mouse, which the build bot seems to say is needed.
gravatar.el (gravatar-retrieve-synchronously): Use `url-retrieve' on XEmacs, since it doesn't have url-retrieve-synchronously.
time-date.el (format-seconds): Use assoc instead of assoc-string, since assoc-string doesn't exist in XEmacs.
gnus-group.el (gnus-group-list-ticked): New function.
 (gnus-group-make-menu-bar): Provide a menu entry for it.
 (gnus-group-list-map): Provide a binding for it.
shr.el (shr-visit-file): New command.
nnimap.el (nnimap-fetch-inbox): Rewrite slightly last patch.
nnimap.el (nnimap-fetch-inbox): Don't download bodies on ver4-capable servers.
2011-03-18 13:45:04 +00:00
Gnus developers
a505754642 Merge changes made in Gnus trunk.
message.texi (Message Buffers): Update default value of message-generate-new-buffers.
shr.el (shr-table-horizontal-line): Change the defaults for the table lines to be spaces instead.
sieve-manage.el (sieve-sasl-auth): Create auth-info if not found.
 (sieve-sasl-auth): Check that auth-source-search did return something, or just return an empty string.
gnus-start.el (gnus-group-change-level): Allow putting foreign groups onto the list of killed groups, too.  This makes killed nnimap groups, for instance, more reliably not reappear.
nnimap.el (nnimap-request-thread): Don't bug out when we can't find the parent.
2011-03-08 14:26:05 +00:00
Gnus developers
af4e5f4c5f Merge changes made in Gnus trunk.
nntp.el (nntp-retrieve-group-data-early-disabled): Disable the async code for now, since it doesn't work for all users.
message.el (message-options): Make message-options really buffer local.
shr.el (shr-tag-body): Add support for text attribute in body markups.
2011-02-09 22:16:29 +00:00
Gnus developers
ec72bf63ae Merge changes made in Gnus trunk.
shr.el (shr-render-td): Store the actual background colour used.
gnus-sum.el (gnus-user-date): Renamed back from gnus-summary-user-date since user code refers to it.
auth-source.el: Rewrite.
gnus.texi: Add DEVEL header (suggested by Andreas Schwab).
WEBHACKDEVEL work:
 Makefile.in (webhack, nowebhack): Hacks to produce for-the-web manuals.
 auth.texi: Use WEBHACKDEVEL.
 emacs-mime.texi: Use WEBHACKDEVEL.
 gnus.texi: Use WEBHACKDEVEL.
 message.texi: Use WEBHACKDEVEL.
 pgg.texi: Use WEBHACKDEVEL.
 sasl.texi: Use WEBHACKDEVEL.
 sieve.texi: Use WEBHACKDEVEL.
 overrides.texi: New file to set or clear WEBHACKDEVEL.
message.el (message-setup-1): Remove the read-only stuff, since it doesn't work under XEmacs, for some reason.
2011-02-05 00:11:16 +00:00
Lars Ingebrigtsen
abb97fbbed shr.el (shr-render-td): Only do colours at the final rendering. Should be slightly faster.
(shr-insert-table): Fix up TD background colours when doing the vertical padding.
gnus-art.el (article-update-date-lapsed): Don't use current-column to find the horizontal position.  It's fragile in the presence of \003 characters.
2011-02-01 03:54:46 +00:00
Katsumi Yamaoka
14596870e2 shr.el (shr-expand-newlines, shr-previous-newline-padding-width): Use plist-get instead of the cl function getf. 2011-01-27 13:20:55 +00:00
Lars Ingebrigtsen
3f39b52692 shr.el (shr-put-color): Special-case background colours: Do put them at the blank parts at the front of the lines. 2011-01-27 10:27:51 +00:00