Commit graph

2315 commits

Author SHA1 Message Date
Lars Ingebrigtsen
2b7feab009 message.el (message-setup-1): Don't bind the constant -forbidden-properties.
(message-setup-1): Revert previous change, since it needs to bind the props to insert them.
 (message-resend): Allow removing the read-only separator line.
2011-02-04 09:51:56 +00:00
Gnus developers
0d1c2cc8c8 Merge changes made in Gnus trunk.
gnus-util.el: change default value of gnus-user-date-format-alist.
gnus-art.el (gnus-article-jump-to-part): Remove useless sit-for.
gnus-art.el: remove old FIXME.
gnus.el (gnus-summary-line-format): Add missing semi-colon for user-date in docstring.
message.el (message-setup-1): Always generate References first.
 (message-mail): Return the return value of message-setup, not always t.
gnus-start.el (gnus-read-active-for-groups): This function is never called with a nil `infos', so clean that up.
 (gnus-get-unread-articles): Request active files from primary/secondary methods that have no groups (yet).
 (message-setup-1): Insert mail-header-separator with read-only and intangible properties set.
gnus-draft.el: Remove progn around gnus-draft-setup.
gnus-start.el (gnus-get-unread-articles): Fix the call to methods that have no groups.
nnimap.el (nnimap-request-accept-article): Give an error message if the APPEND wasn't successful.
2011-02-03 23:43:22 +00:00
Glenn Morris
5a6a61f77f Silence some compiler warnings.
* lisp/gnus/nnheader.el (gnus-range-add, gnus-remove-from-range): Autoload.

* lisp/gnus/nnimap.el (gnus-fetch-headers): Declare.
2011-02-02 23:25:14 -08:00
Lars Ingebrigtsen
011f86c70f message.el (message-forward-make-body-digest-plain)
(message-followup, message-reply): Clean up things noted by Stefan.
2011-02-03 05:26:36 +00:00
Lars Ingebrigtsen
c61a8b4404 gnus-art.el (gnus-article-date-headers): Rip out the old -treat-date-* stuff, since it didn't really work with defcustom.
(article-update-date-lapsed): Make sure the window start doesn't move,	      either.
2011-02-03 05:21:20 +00:00
Lars Ingebrigtsen
7f13c2e2d9 gnus-art.el (gnus-article-setup-buffer): Stop the date timer if gnus-article-update-date-headers is nil.
gnus.texi (Article Date): Remove mention of gnus-stop-date-timer, since it's run automatically.
2011-02-03 05:01:44 +00:00
Julien Danjou
39cde66c5e mm-uu.el (mm-uu-type-alist): Add support for git format-patch diff format.
mm-decode.el (mm-inline-media-tests): Do not check for diff-mode it's standard in Emacs nowadays.
color.el (color-gradient): Add a color-gradient function.
2011-02-01 23:46:27 +00:00
Stefan Monnier
99c2a4e37a * lisp/gnus/message.el (message-expand-name): Don't trust the return value of
bbdb-complete-name.
(message-check-news-header-syntax): Remove unused var `start'.
(message-idna-to-ascii-rhs-1): Remove unused vars `rhs' and `address'.
(message-inhibit-body-encoding): Move to before first use.
(mail-abbrev-mode-regexp, Expires, User-Agent, Lines, Distribution)
(To, References, In-Reply-To, Newsgroups, Subject, Path, From)
(Organization, Message-ID, Date, mh-previous-window-config):
Defvar the vars using dynamic scoping.
2011-02-01 09:09:20 -05: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
Lars Ingebrigtsen
8c9da040de gnus-art.el (article-date-ut): Protect against articles with no Date header. 2011-02-01 02:23:24 +00:00
Lars Ingebrigtsen
c1d5851dc0 gnus-start.el (gnus-read-active-file-1): Remove dead parameter infos. 2011-02-01 02:19:04 +00:00
Lars Ingebrigtsen
0c74b83871 gnus-art.el (article-date-ut): Replace infinitely many Date headers with a single one when called interactively. 2011-01-31 12:29:31 +00:00
Lars Ingebrigtsen
5b9b62f152 gnus-art.el (article-transform-date): Fix infinite recursion. 2011-01-31 10:49:39 +00:00
Lars Ingebrigtsen
32a400d4e1 gnus-art.el (article-transform-date): Rewrite to still work when there are several rfc2822 parts. 2011-01-31 07:27:07 +00:00
Lars Ingebrigtsen
0832490d44 nnimap.el (nnimap-wait-for-response): Wait for results in a more secure manner.
gnus-art.el (article-update-date-lapsed): Try to avoid having point move around by not using save-window-excursion.  It seems to work...
2011-01-31 04:41:38 +00:00
Lars Ingebrigtsen
1d88c091cc nntp.el (nntp-retrieve-group-data-early, nntp-finish-retrieve-group-infos): Implement the asynchronous data fetching functions. 2011-01-31 03:35:09 +00:00
Katsumi Yamaoka
5fe1831191 gnus-art.el (article-make-date-line): Fix last change. 2011-01-31 02:55:13 +00:00
Katsumi Yamaoka
c475337385 gnus-art.el (article-make-date-line): Work for user-defined format. 2011-01-31 02:49:29 +00:00
Lars Ingebrigtsen
e389d61f82 gnus-start.el (gnus-read-active-for-groups): Read the active files thoroughly for all backends that have no known groups. This should allow new nnml methods to retrieve mail.
gnus-group.el (gnus-group-jump-to-group): Allow jumping to groups that Gnus doesn't know exists again.
2011-01-31 02:19:13 +00:00
Lars Ingebrigtsen
12e3ca0a34 gnus-art.el: Rewrite the Date header formatting functionality.
The user can now have infinitely many Date headers.
 This change should be pretty much backwards-compatible, even though
 many customisation variables have been removed.

gnus.texi (Customizing Articles): Document the new way of customizing
 the date headers(s).
2011-01-31 02:01:24 +00:00
Lars Ingebrigtsen
7920f98294 nnmail.el (nnmail-article-group): A better test for fanciness. 2011-01-30 03:00:34 +00:00
Lars Ingebrigtsen
fe72c8fa4e nnmail.el (nnmail-article-group): Check for a direct fancy split method.
gnus.texi (Client-Side IMAP Splitting): Add a complete nnimap fancy splitting example.
2011-01-30 02:51:45 +00:00
Lars Ingebrigtsen
228724bc63 nnimap.el (nnimap-request-head): Protect against not finding the article by Message-ID. 2011-01-30 01:46:32 +00:00
Lars Ingebrigtsen
bc68bd3998 gnus-art.el (article-update-date-lapsed): Try a better way to really keep point at the "same place". 2011-01-29 02:29:38 +00:00
Gnus developers
54b6f6edb8 Merge changes made in Gnus trunk.
gnus-win.el: Remove dead function gnus-window-configuration-element.
 (gnus-all-windows-visible-p): Remove old compatibility code.
 (gnus-window-top-edge): Add docstring.
gnus-sum.el (gnus-select-newsgroup): Don't try to alter the active data if the group is unactivated.
2011-01-28 23:07:38 +00:00
Julien Danjou
584cbd9e0f gnus-group.el (gnus-group-jump-to-group): Set must match to t. 2011-01-28 11:27:24 +00:00
Lars Ingebrigtsen
9da02ea1b0 gnus-int.el (gnus-request-marks): Call *-request-marks instead of the older request-update-info. 2011-01-28 02:07:48 +00:00
Lars Ingebrigtsen
d6f13ac876 gnus-art.el (article-make-date-line): Limit the length a bit more.
gnus.texi (Article Date): Document gnus-article-update-lapsed-header.
2011-01-28 01:41:15 +00:00
Daiki Ueno
bb760c5da8 mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Give mml2015-signers higher precedence over mml2015-sign-with-sender. 2011-01-28 01:34:09 +00:00
Gnus developers
5d85ab5e40 gnus-group.el (gnus-group-refresh-group): Refresh even non-visible groups. This makes the nndraft:queue group pop up if it's not already there.
mml2015.el (mml2015-epg-sign): Add missing paren.
2011-01-28 00:14:08 +00:00
Lars Ingebrigtsen
8937ef6e5e gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no messages" logic, which was reversed. 2011-01-27 23:56:27 +00:00
Gnus developers
19cc66979d Merge changes made in Gnus trunk.
mml2015.el (mml2015-epg-sign): Add and use mml2015-sign-with-sender.
 (mml2015-epg-encrypt): Use mml2015-sign-with-sender.
gnus-art.el (article-update-date-lapsed): Ensure that point stays at the "same place" even if point is on the line being replaced.
 (article-update-date-lapsed): Allow updating both the combined lapsed and the lapsed headers.
 (article-update-date-lapsed): Skip past all the X-Sent/Date headers.
 (article-make-date-line): Limit the number of segments dynamically to avoid too-long lines.
2011-01-27 23:42:38 +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
Glenn Morris
fb9464eea3 * lisp/gnus/gnus-util.el (float-time): Get rid of compiler warning, again. 2011-01-27 00:38:43 -08:00
Lars Ingebrigtsen
647559c299 Merge changes made in Gnus trunk.
gnus-art.el (gnus-article-next-page): Change last-line-displayed behaviour.
 (article-lapsed-string): Refactor out and allow specifying how many segments you want.
 (gnus-article-setup-buffer): Start updating the lapsed header directly.
 (gnus-article-update-lapsed-header): New variable.
shr.el (shr-put-color): Don't do the box padding in tables, since they're already padded.
gnus-util.el (float-time): If float-time is bound, always use it on all Emacsen.  It's unclear why the subrp check was there.
 (time-date): Require to make some autoload issues on XEmacs go away.
gnus-draft.el (gnus-draft-clear-marks): New function to be run as an exit hook to nix out all data on readedness on group exit.
gnus-sum.el (gnus-auto-select-subject): Doc typo.
2011-01-27 04:04:58 +00:00
Lars Ingebrigtsen
e4dbdb0992 shr.el: Revert change that made headings use different-sized faces. The Emacs display engine isn't advanced enough that, for instance, tables can comfortably use differntly-sized faces. 2011-01-26 10:25:18 +00:00
Glenn Morris
95df8112a0 Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
Gnus developers
008cad902f Merge changes made in Gnus trunk.
mm-view.el (mm-display-shell-script-inline): Fix typo in docstring.
 (mm-display-javascript-inline): New function.
mm-decode.el (mm-inline-media-tests): Add application/javascript viewing function.
nnimap.el (nnimap-open-connection-1): Store the actual stream type used.
 (nnimap-login): Prefer plain LOGIN if it's enabled (since it requires fewer round trips than CRAM-MD5, and it's less likely to be buggy), and we're using an encrypted connection.
proto-stream.el: Alter the interface functions to also return the actual stream type used: network or tls.
2011-01-25 23:51:40 +00:00
Katsumi Yamaoka
19e0dbe07d shr.el (shr-expand-newlines): Fix variable name. 2011-01-25 10:36:00 +00:00
Lars Ingebrigtsen
d709b79ac8 shr.el (shr-expand-newlines): Make nested boxes work. 2011-01-25 08:42:32 +00:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
06d8ace515 Merge from emacs-23.
Note setting of CANNOT_DUMP on ia64 hpux is still to be merged manually.
2011-01-24 19:47:47 -08:00
Gnus developers
c5ecc7690d Merge changes made in Gnus trunk.
shr.el: Use defface to create shr-tag-h[1-6] faces to fontify h[1-6] tags.
mml-smime.el (mml-smime-use): Make it a defcustom and default to 'epg if EPG is loaded.
message.texi (IDNA): Explain what it is.
gnus.texi (The Empty Backend): Document nnnil (bug #7653).
gnus-agent.el (gnus-agent-prompt-send-queue): Whitespace fix.
shr.el (shr-expand-newlines): Proof of concept implemantation of boxy backgrounds.
 (shr-expand-newlines): Switch to using overlays to enable kill'n'yank in a more sensible manner.
2011-01-24 23:38:05 +00:00
Glenn Morris
01739ccca0 * lisp/gnus/nnbabyl: Fix typo in copyright years. 2011-01-23 23:45:22 -08:00
Lars Ingebrigtsen
cb51ba085d gnus-html.el (gnus-html-image-fetched): Don't kill the temporary buffer after being called. It's apparently being killed by url.el, and killing it made point move to end-of-buffer in a random buffer.
shr.el (shr-image-fetched): Ditto.
shr.el (shr-image-fetched): Avoid having point move in the article buffer.
gnus-html.el (gnus-html-image-fetched): Kill the buffer anyway, and fix the bug in url-http.el instead.
shr.el (shr-image-fetched): Ditto.
gravatar.el (gravatar-retrieve): Be silent when retrieving.
gnus-gravatar.el (gnus-gravatar-insert): Don't move point around in the article buffer.
 (gnus-gravatar-insert): Use blank space from the current buffer to avoid breaking text properties.  This makes X-Sent updating work again.
gnus-art.el (gnus-article-read-summary-keys): Don't call disabled commands.
2011-01-24 04:10:19 +00:00
Julien Danjou
3f68040700 mm-decode.el (mm-inline-media-tests): Change text/org to text/x-org.
mm-uu.el (mm-uu-org-src-code-block-extract): Change text/org to text/x-org.
2011-01-23 11:21:04 +00:00
Glenn Morris
ce504ff0c9 Mark tiny change. 2011-01-22 19:33:59 -08:00
Gnus developers
9e928ac989 Merge chages made in Gnus trunk.
mailcap.el (mailcap-mime-extensions): Rename text/org to text/x-org.
gnus-draft.el (gnus-group-send-queue): Update the queue group in the group buffer after sending the queue.
gnus-draft.el (gnus-group-send-queue): Really refresh the queue group after sending.
gnus-agent.el (gnus-agent-send-mail): Ditto.
gnus-group.el (gnus-group-refresh-group): New convenience function.
message.el (message-bogus-addresses): Remove commented-out value.
message.el (message-check-recipients): Display the encoded version of the bogus address if they differ.
flow-fill.el (fill-flowed): Make `delete-space' option correspond to "DelSp" parameter in RFC3676.
gnus-sum.el (gnus-summary-move-article): Protect against backends (i.e., nnimap) returning nil as the article number.
2011-01-23 00:34:08 +00:00
Lars Ingebrigtsen
acf151a815 mm-decode.el (mm-preferred-alternative-precedence): Don't bug out on nested related parts.
nnfolder.el (nnfolder-request-expire-articles): Return the list of unexpired articles.  This fixes the regression that led expiry marks to disappear from nnfolder groups.
2011-01-22 12:34:50 +00:00