Commit graph

2258 commits

Author SHA1 Message Date
Glenn Morris
e9bffc61f2 Refill some copyright headers. 2011-01-15 18:21:30 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Glenn Morris
d52969e8af Merge from emacs-23 branch, up to 2010-05-20T21:33:58Z!juri@jurta.org.
Note:
emacs-23 2010-05-20T01:32:08Z!lekktu@gmail.com is rendered unnecessary by pre-existing 2010-05-20
trunk change.
2011-01-15 12:38:27 -08:00
Katsumi Yamaoka
e60c6ca9ca [Gnus] Update copyright years. 2011-01-15 00:35:35 +00:00
Stefan Monnier
77ab81d054 Merge from emacs-23 2011-01-14 12:18:41 -05:00
Chong Yidong
5399653b53 * message.el (message-bury): Add special-case handling for Rmail.
This should not be merged into the trunk.
2011-01-12 23:24:31 -05:00
Chong Yidong
25ca2e6140 New arg RETURN-ACTION for compose-mail, and related functions.
* lisp/mail/sendmail.el (mail-return-action): New var.
(mail-mode): Make it buffer-local.
(mail-bury): Obey it.  Move special Rmail window handling to
rmail-mail-return.
(mail, mail-setup): New arg RETURN-ACTION.
(sendmail-user-agent-compose): Move from simple.el.

* lisp/simple.el (sendmail-user-agent-compose): Move to sendmail.el.
(compose-mail): New arg RETURN-ACTION.
(compose-mail-other-window, compose-mail-other-frame): Likewise.

* lisp/gnus/gnus-msg.el (gnus-msg-mail): New arg RETURN-ACTION.  Pass it to
message-mail.

* lisp/gnus/message.el (message-mail): New arg RETURN-ACTION.
(message-return-action): New var.
(message-bury): Use it.
(message-mode): Make it buffer-local.
(message-send-and-exit): Always call message-bury.
(message-tool-bar-gnome): Tweak tool-bar items.  Add :vert-only tags.

* lisp/mail/rmail.el (rmail-mail-return): New function.
(rmail-start-mail): Pass it to compose-mail.

* lisp/mh-e/mh-comp.el (mh-user-agent-compose): New arg RETURN-ACTION.
2011-01-12 23:23:41 -05:00
Glenn Morris
ae01d7ca64 * message.el (message-mail): A compose-mail function should accept headers as strings. 2011-01-11 19:53:28 -08:00
Lars Magne Ingebrigtsen
c516cd6dc7 proto-stream.el (open-protocol-stream): Protect against the low-level transport functions returning nil.
gnus-sum.el (gnus-summary-next-article): Remove hack to reselect group window, because it does the wrong thing when a separate frame displays the group buffer.
gnus-int.el (gnus-request-accept-article): Don't try to update marks and stuff if the backend didn't return the article number.  This fixes an Exchange-related nnimap bug.
mm-decode.el (mm-preferred-alternative-precedence): Discourage showing empty parts.
nnimap.el (nnimap-convert-partial-article): Protect against zero-length body parts.
2011-01-11 23:32:50 +00:00
Daiki Ueno
ad09474a95 gnus/mml2015.el: Fix secret key validity check (Bug#7797).
* mml2015.el (epg-sub-key-fingerprint): Autoload.
(mml2015-epg-find-usable-secret-key): New function.
(mml2015-epg-sign): Use mml2015-epg-find-usable-secret-key instead of
mml2015-epg-find-usable-key (Bug#7797).
(mml2015-epg-encrypt): Ditto.
2011-01-07 18:28:29 +09:00
Lars Magne Ingebrigtsen
37657cbd24 flow-fill.el (fill-flowed-encode): Do encoding citation-aware.
gnus-art.el (gnus-treat-fill-long-lines): Add missing version tag.
gnus-msg.el (gnus-message-replyencrypt): Fix typo in version string.
2011-01-04 02:24:15 +00:00
Karl Fogel
b173bdd92f gnus-msg.el (gnus-message-replyencrypt): Default to `t'. 2011-01-03 08:13:45 +00:00
Glenn Morris
c4c15f02b7 * lisp/gnus/sieve-manage.el (sieve-manage-open): Correctly set sieve-manage-port. 2011-01-02 17:44:30 -08:00
Glenn Morris
980f570a78 Small sieve.el fix for bug #7720.
* lisp/gnus/sieve.el (sieve-open-server): Give a more explicit error if
sieve-manage-open returns nil.
2011-01-02 17:41:54 -08:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Lars Magne Ingebrigtsen
84d89edee6 nnimap.el (nnimap-login): Refactored out into own function, and implement CRAM-MD5.
(nnimap-wait-for-line): Refactored out.
shr.el (shr-rescale-image): Display all GIF images as animated images.
nnimap.el (nnimap-login): Prefer AUTH=CRAM-MD5, if it's available.  This avoids sending passwords in plain text over non-encrypted channels.
2011-01-02 23:17:32 +00:00
Gnus developers
bb7f5cbcda Merge changes made in Gnus trunk.
mm-view.el (mml-smime): Require.
mm-view.el (mm-view-pkcs7-decrypt): If mml-smime-use is set to 'epg, use EPG to decrypt S/MIME messages instead of openssl.
nnimap.el (nnimap-request-group): Avoid double SELECT on `M-g'.
gnus-group.el (gnus-group-kill-group): Don't try to update the group status is the group clearly is unreachable.
auth-source.el (auth-source-create): Add the optional second parameter to `local-variable-p' to be compatible with XEmacs.
nnml.el (nnml-request-article): Allow requesting by Message-ID to work when using a compressed nnml folder.
gnus-sum.el (gnus-select-newsgroup): Don't propagate marks to backends after sanitising on entry, because this never makes sense: If the articles have gone missing, then the data no longer exists on the backend, and if they haven't, then Gnus is wrong, and shouldn't overwrite anything anyway.
shr.el (shr-insert-document): Bind shr-width dynamically to window-width if it's nil.
shr.el (shr-width, shr-insert-document): Allow nil as shr-width value with the meaning of using the full emacs window width for rendering.
2011-01-02 11:23:02 +00:00
Daiki Ueno
fdee7cc1ac Make GPG-sign-by-sender code robuster.
* mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Take care the
case when sender is not given.
2010-12-27 18:46:02 +09:00
Julien Danjou
ade9369c17 gnus-gravatar.el (gnus-gravatar-transform-address): Set `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting the addresses, otherwise we might misplaced the gravatar. 2010-12-23 22:24:24 +00:00
Katsumi Yamaoka
38e2584d52 Fix the log entry for reverting of gnus-util.el. 2010-12-22 07:04:25 +00:00
Daiki Ueno
9d9cfd53c8 Mark PGG obsolete.
* obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
* obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el: Move
from lisp/.

* gnus/mml1991.el (pgg-sign-region, pgg-encrypt-region): 
* gnus/gnus-art.el (pgg-snarf-keys-region): Autoload since PGG is now
obsolete in Emacs.
2010-12-21 11:30:36 +09:00
Julien Danjou
c486dd9609 Revert "gnus-util: rewrite gnus-rescale-image". 2010-12-20 22:12:30 +00:00
Chong Yidong
778ca437de Move color.el out of the gnus/ tree. 2010-12-20 11:18:56 +08:00
Gnus developers
70041e9ae7 Merge changes made in Gnus trunk.
nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore gnus-use-agent.
 (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol.
gravatar.el (gravatar-retrieve-synchronously): New function.
 (gravatar-get-data): Make more robust.
gnus-util.el (gnus-rescale-image): Allow to resize images even if they are from file. Can also scale up.
nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers.
nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound.
gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change here, since it's up to the backends to do CRLF removal if their protocol has it.
gnus-group.el (gnus-group-delete-articles): New command.
2010-12-17 22:45:16 +00:00
Lars Magne Ingebrigtsen
59a7e27dd4 nnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really consider the last line. 2010-12-16 23:18:57 +00:00
Gnus developers
549c9aed8d Merge changes made in Gnus trunk.
nnimap.el (nnimap-wait-for-response): Always look (at least) at the previous line.
nnimap.el (nnimap-quirk): New function.
 (nnimap-retrieve-group-data-early): Use it.
 (nnimap-quirks): New alist.
gnus.texi (Foreign Groups): Added clarification of foreign groups.
gnus-sum.el (gnus-summary-push-marks-to-backend): Fix the logic for copying read-ness to the backends.
gnus-group.el (gnus-group-kill-group): Notify the backend that the group has been killed.
 (gnus-group-yank-group): Ditto.
gnus-start.el (gnus-subscribe-newsgroup): Notify the backend.
nnir.el: Improve customizations.
gnus.texi (Archived Messages): Removed outdated comment and text.
nnfolder.el (nnfolder-save-all-buffers): Refactor out into its own function.
 (nnfolder-request-expire-articles): Save all the buffers after doing expiry.
nnmail.el (nnmail-expiry-target-group): Revert the "all articles are the last article", since that led to serious performance regressions when expiring nnml groups.
gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML fetching stops when Gnus exits.
gnus-srvr.el: Avoid passing nil regexp argument to delete-matching-lines.
auth-source.el (auth-source-gpg-encrypt-to): New variable to set the list of recipient keys, or use symmetric encryption if not a list.
 (auth-source-create): Use it to make `epa-file-encrypt-to' local for an EPA override, replacing the call to `netrc-store-data'.
2010-12-16 22:22:28 +00:00
Katsumi Yamaoka
48ba819564 shr.el (shr-insert): Set shr-start after deleting trailing space; don't delete it within indentation. 2010-12-16 00:55:04 +00:00
Gnus developers
156e3f9ca9 gnus-agent.el: Indent.
gnus.texi: Fix a couple nnir -> @code{nnir} things.
nnimap.el (nnimap-retrieve-group-data-early): Fix the syntax of the QRESYNC command by deleting a superfluous space which broke Cyrus servers.  This change will break other servers that are buggy the other way around.
gnus.texi (The hyrex Engine): Say that this engine as obsolete.
2010-12-15 22:24:36 +00:00
Teodor Zlatanov
e7b07d2f05 spam.el: Reindent and fix long lines.
(spam-copy-or-move-routine): Exclude invalid move destinations.
2010-12-14 23:08:31 +00:00
Andrew Cohen
27625a584c nnir.el (nnir-mode): Don't install registry hooks if user hasn't installed the registry. 2010-12-14 12:52:30 +00:00
Andrew Cohen
99e58ed581 nnir.el (nnir-run-gmane): Better check for gmane groups: error out if groupname doesn't contain "gmane". 2010-12-13 23:31:59 +00:00
Gnus developers
7410c2700a Merge changes made in Gnus trunk.
nnir.el (nnir-run-imap): Return article list in UID order.
gnus-start.el (gnus-auto-subscribed-groups): Add nnimap to the list of automatically subscribed groups.
 (gnus-auto-subscribed-categories): New variable.
 (gnus-matches-options-n): Use it.
 (gnus-default-subscribed-newsgroups): Remove unused variable.
 (gnus-start-draft-setup): Message a bit less.
gnus-agent.el (gnus-agentize): Don't create the queue group automatically on startup.  It'll be created later, if needed.
gnus-start.el (gnus-1): Clarify comment.
 (gnus-matches-options-n): Fix typo in last change.
 (gnus-1): Don't create the nndrafts group twice.
 (gnus-setup-news): There's no need to read the active file here, since that's done again later on a per-backend basis.
 (gnus-start-draft-setup): Make sure that the new group is started out empty.
netrc.el (netrc-point-at-eol): Remove the unused netrc-point-at-old and netrc-bound-and-true-p bindings.
 (netrc-parse): Cache the netrc contents.
2010-12-13 22:29:12 +00:00
Lars Magne Ingebrigtsen
07176b2a9e proto-stream.el (proto-stream-open-network-only): Fix the calling convention of the network-only option.
gnus-sum.el (gnus-summary-enter-digest-group): Mention gnus-auto-select-on-ephemeral-exit.
2010-12-13 04:22:39 +00:00
Gnus developers
3b84b00502 Merge changes made in Gnus trunk.
nnir.el (nnir-request-expire-articles): Only allow article deletion.
message.el (message-bogus-recipient-p): Set address to "" if nil.
gnus-gravatar.el (gnus-gravatar-transform-address): Fix error when email address is nil.
proto-stream.el (proto-stream-open-network-only): New function to have a way to specify non-STARTTLS upgrade connections.
2010-12-11 01:27:14 +00:00
Lars Magne Ingebrigtsen
7bafe9bc77 shr.el (shr-tag-label): Add <label> support. 2010-12-09 23:20:33 +00:00
Katsumi Yamaoka
99139556b8 mm-util.el (mm-ucs-to-char): Use eval-and-compile. 2010-12-09 11:11:11 +00:00
Lars Magne Ingebrigtsen
f73341e2f9 shr.el (shr-tag-script): Ignore <script>. 2010-12-09 10:43:50 +00:00
Katsumi Yamaoka
e2d0ba98bf shr.el (shr-image-displayer): Work for images lined side by side. 2010-12-09 06:40:56 +00:00
Robert Pluim
4ef0642974 gnus-demon.el (gnus-demon-init): Call run-with-timer with time as argument, not t. XEmacs does not support that. 2010-12-08 22:16:36 +00:00
Andrew Cohen
71044abebe nnir.el (nnir-request-expire-articles): New function. 2010-12-08 14:41:37 +00:00
Andrew Cohen
47ac61706b nnir.el (nnir-retrieve-headers): Use rassq when comparing article ids.
(nnir-run-gmane): Simplify groupspec formatting.
2010-12-08 13:49:49 +00:00
Lars Magne Ingebrigtsen
60568d7458 shr.el (shr-tag-table-1): Use bg/gfcolor specs on tables.
(shr-render-td): Handle td style="" better.
 (shr-tag-table): Use the color from the style sheet.
 (shr-render-td): Make sure we copy over all the overlays, too.
nnimap.el (nnimap-parse-flags): Tweak VANISHED regexp to avoid regexp overflow, possibly.
2010-12-07 22:12:50 +00:00
Andrew Cohen
f2f6365c74 nnir.el (nnir-run-gmane): Restore sub-optimal test for gmane server.
(nnir-request-article): Improve article retrieval.
2010-12-07 14:10:11 +00:00
Katsumi Yamaoka
c912b478a7 Decode extra numeric entities.
mm-util.el (mm-extra-numeric-entities): New variable.
mm-url.el (mm-url-decode-entities):
mm-decode.el (mm-shr): Use it to decode extra numeric entities.
2010-12-07 05:06:56 +00:00
Stefan Monnier
674c5ccf39 * lisp/gnus/message.el: Use completion-at-point.
(message-completion-function): New fun, extracted from message-tab.
(message-mode): Use it for completion-at-point-functions.
(message-tab): Use it and completion-at-point.
2010-12-06 21:01:00 -05:00
Katsumi Yamaoka
6568edea53 shr.el (shr-find-fill-point): Don't break a line after a kinsoku-bol character if a non-breakable character follows. 2010-12-07 01:21:09 +00:00
Gnus developers
516aa569e1 proto-stream.el (proto-stream-open-tls): Return nil if we don't get any stream.
gnus.texi (Server Commands): Point to the rest of the server commands.
2010-12-06 23:27:17 +00:00
Gnus developers
b31b26b489 Merge changes made in Gnus trunk.
shr.el (shr-render-td): Render td content with shr-descend, so style will be applied to <td> too.
 (shr-colorize-region): Colorize region even if we only have a background.
 (shr-tag-body): Fix color and background color inheritance.
 (shr-tag-body): Do not recolorize after shr-generic.
 (shr-tag-font): Let shr-generic colorize via inheritance.
shr.el (shr-descend): Only colorise something if we have a node that sets colors.
gnus-int.el (gnus-request-thread): Rework to take a header instead of a Message-ID to avoid having nnimap depend on gnus-sum.
shr.el (shr-tag-font): Colorize the region.
 (shr-tag-body): Ditto.
 (shr-tag-font): Actually let the styles be inherited instead of overwriting them.
 (shr-tag-font): Get the background color right.
 (shr-tag-style): Ignore all <style> tags for the moment.
2010-12-06 22:16:10 +00:00
Gnus developers
7454326ab9 nnir.el (nnir-request-move-article): Remove obsolete code.
shr.el (shr-find-fill-point): Don't regard apostrophe as kinsoku-bol.
2010-12-06 03:59:56 +00:00
Katsumi Yamaoka
c67e426e95 gnus-util.el (gnus-macroexpand-all): Use eval-and-compile. 2010-12-05 23:29:50 +00:00