Commit graph

2505 commits

Author SHA1 Message Date
Paul Eggert
d0672f86c9 Merge from trunk. 2011-06-30 22:20:09 -07:00
Katsumi Yamaoka
fb81de5fb5 gnus-draft.el (gnus-draft-clear-marks): Mark deleted articles as read. 2011-07-01 04:08:50 +00:00
Daiki Ueno
3e0b797f61 Fix commit 2011-07-01T01:34:38Z!ueno@unixuser.org. 2011-07-01 11:07:32 +09:00
Paul Eggert
240a298f78 * nntp.el (nntp-record-command): Use format-time-string. 2011-06-30 18:49:43 -07:00
Paul Eggert
b06823b67d * gnus-util.el (gnus-message-with-timestamp-1): Use format-time-string
rather than decoding time stamps by hand.  This is simpler, and
insulates the code from changes to time stamp formats.
2011-06-30 18:46:17 -07:00
Daiki Ueno
cdf4d4551d Add public key encryption support to plstore.
* plstore.el (plstore-select-keys, plstore-encrypt-to): New variable.
(plstore-save): Support public key encryption.
(plstore--init-from-buffer): New function.
(plstore-open): Use it; fix error when opening a non-existent file.
(plstore-revert): Use plstore--init-from-buffer.
2011-07-01 10:34:38 +09:00
Daiki Ueno
65afde5c65 * auth-source.el (auth-source-backend): Fix :initarg for data slot. 2011-07-01 10:25:21 +09:00
Katsumi Yamaoka
34d0a92369 mml2015.el (mml2015-use): Replace string-match-p with string-match for old Emacsen. 2011-06-30 23:27:10 +00:00
Gnus developers
b09c3fe025 gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Take an optional quit window configuration.
auth-source.el (epg-context-set-passphrase-callback): Remove duplicate autoload.
nnir.el (nnir-request-article): Allow requesting articles by Message-ID with nnimap.
gnus-sum.el (gnus-refer-article-methods): Allow (nnir) entry to use current server.
auth-source.el: Autoload EPA/EPG functions.
 (auth-source-netrc-use-gpg-tokens): Clarify that it should not be changed when EPA/EPG is not available.
 (auth-source-backend): Rename "arg" member to "data".
 (auth-source-backend-parse, auth-source-plstore-search)
 (auth-source-plstore-create): Use it.
2011-06-30 22:20:32 +00:00
Daiki Ueno
9ccd6e90d6 Prevent Gnus from loading PGG.
* mml2015.el (mml2015-use): Don't try to load PGG on Emacs 24, when EPG
is not fully working.
2011-07-01 05:54:35 +09:00
Gnus developers
936d08bba7 Merge changes made in Gnus trunk.
gnus-art.el (gnus-request-article-this-buffer): Use existing function `gnus-refer-article-methods'.
auth-source.el: Require EPA and EPG.
 (auth-source-passphrase-alist): New variable.
 (auth-source-passphrase-callback-function, auth-source-token-passphrase-callback-function): Callbacks for the netrc field encryption (GPG tokens).
 (auth-source-epa-extract-gpg-token, auth-source-epa-make-gpg-token): Symmetric encryption and decryption of the netrc GPG tokens.
 (auth-source-netrc-normalize): Use them, simplifying the closure.
2011-06-30 14:25:27 +00:00
Lars Magne Ingebrigtsen
656e1aab13 nnimap.el (nnimap-split-incoming-mail): If nnimap-split-fancy' is non-nil, and nnimap-split-methods' is nil, use the former. 2011-06-30 10:04:56 +00:00
Daiki Ueno
f11f303b27 Fix the last commit, do revert-buffer when plstore-revert. 2011-06-30 18:53:21 +09:00
Daiki Ueno
8a8cdb1992 Add plstore-revert, hide buffer from user.
* plstore.el (plstore-revert): New function.
(plstore-open): Use it; hide the buffer from user.
2011-06-30 18:45:44 +09:00
Daiki Ueno
c302199d28 Silence auth-source.el compilation. 2011-06-30 17:20:33 +09:00
Daiki Ueno
8977de2724 Add new auth-source backend 'plstore.
* auth-source.el (auth-source-backend): New member "arg".
(auth-source-backend-parse): Handle new backend 'plstore.
* plstore.el: New file.
2011-06-30 16:27:25 +09:00
Lars Magne Ingebrigtsen
d0b36cbeb1 nnimap.el (nnimap-process-expiry-targets): Say what target we're expiring articles to. 2011-06-30 04:07:50 +00:00
Glenn Morris
5cdea619b2 * lisp/gnus/gnus-fun.el (gnus-convert-image-to-x-face-command): Doc fix. 2011-06-29 20:01:09 -07:00
Glenn Morris
ddf6fd30db * lisp/gnus/mm-util.el (mm-charset-synonym-alist): Move definition before use. 2011-06-29 19:53:07 -07:00
Lars Magne Ingebrigtsen
faf3b348f4 mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4 variations as ASCII (bug#5458). 2011-06-30 01:44:14 +00:00
Katsumi Yamaoka
732b9594ce nnmh.el (nnmh-request-list-1): Work on MS Windows. 2011-06-30 01:27:16 +00:00
Lars Magne Ingebrigtsen
3451795ca1 Merge changes made in Gnus trunk.
message.el (message-point-in-header-p): Tweak the function to default to saying that we're not in the headers if there is no separator at all.  This makes it possible to use the Message version of `M-q' in buffers with no headers (bug#7987).
 (message-point-in-header-p): Fix last checkin to work with an empty mail-header-separator, too.
auth-source.el (auth-source-netrc-saver): If the user says "don't ask again, save the choice via customize.
message.el (message-send-mail-function): Add `sendmail-query-once'.
nnimap.el (nnimap-finish-retrieve-group-infos): If the server has ended the connection, bail out before waiting infinitely on a new connection.
2011-06-30 01:02:47 +00:00
Teodor Zlatanov
8b7fba43dd Merge changes made in Gnus trunk.
gnus-msg.el (gnus-bug): Add Package and Version pseudo-headers to bug reports.
gnus.el (gnus-bug-package): Use "gnus."
 (gnus-maintainer): Direct bug reports to submit@debbugs.gnu.org.
2011-06-28 22:18:09 +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
60a0884e78 Merge changes made in Gnus trunk.
gnus.texi (Summary Mail Commands): Document `gnus-summary-reply-to-list-with-original'.
auth-source.el (with-auth-source-epa-overrides): Fix compilation error with `find-file-hooks' on Emacs 22.
 (with-auth-source-epa-overrides): Ugly hack to Wrap the `find-file-hook' things in `symbol-value' to avoid compilation warnings on all architectures.
spam.el (spam-stat): Require in a normal fashion without binding `spam-stat-install-hooks' to avoid compilation warnings.
spam-stat.el (spam-stat-install-hooks): Removed.
 (spam-stat-install-hooks): Don't run automatically.
gnus-msg.el (gnus-summary-reply-to-list-with-original): New command and keystroke.
2011-06-26 12:41:14 +00:00
Katsumi Yamaoka
74e8193b79 auth-source.el (auth-source-netrc-cache): Move forward. 2011-06-23 23:17:26 +00:00
Lars Magne Ingebrigtsen
b534ed407e nnimap.el (nnimap-open-connection-1): Fix indentation. 2011-06-23 00:00:38 +00:00
Lars Magne Ingebrigtsen
ddb7ffeeb8 When the .authinfo file has a user name but not a password, prompt
for the password.
2011-06-22 16:48:31 +02:00
Andrew Cohen
183a6951a6 nnimap.el (nnimap-find-article-by-message-id): return nil when no article found. 2011-06-21 22:13:24 +00:00
Lars Magne Ingebrigtsen
6a6e4d9309 Prefer the ~/.authinfo file over the ~/.authinfo.gpg file, especially when saving. 2011-06-21 22:51:45 +02:00
Teodor Zlatanov
61e6a0aceb auth-source.el (auth-source-netrc-use-gpg-tokens): Replace `auth-source-save-secrets' with a more sensitive alist that can be configured per file. Experimental, so defaults to 'never.
(auth-source-netrc-create): Use it.  Still experimental code.
 (with-auth-source-epa-overrides): Use `find-file-hooks' if `find-file-hook' is unbound (XEmacs fix).  Fix backquoting bug.
2011-06-18 22:23:55 +00:00
Teodor Zlatanov
2b8c5660b7 Merge changes made in Gnus trunk.
auth-source.el (auth-source-save-secrets): New variable to control if secret tokens should be saved encrypted.
 (auth-source-netrc-parse, auth-source-netrc-search): Pass the file name to `auth-source-netrc-normalize'.
 (with-auth-source-epa-overrides): Add convenience macro.  Don't depend on the EPA variables being defined.
 (auth-source-epa-make-gpg-token): Convert text to a "gpg:" token.
 (auth-source-netrc-normalize): Convert "gpg:" tokens back to text in the lexical-let closure.
 (auth-source-netrc-create): Create "gpg:" tokens according to `auth-source-save-secrets'.
2011-06-16 06:18:18 +00:00
Katsumi Yamaoka
b229f37d43 Improve Gnus' dribble data handling. 2011-06-10 00:10:24 +00:00
Teodor Zlatanov
8d009f4aa9 gnus-registry.el (gnus-registry-remove-ignored): New function to remove entries with groups we ignore. 2011-06-01 22:35:26 +00:00
Katsumi Yamaoka
357e1c676c Update. 2011-06-01 00:22:55 +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
Katsumi Yamaoka
1a3c720964 gnus-sum.el (gnus-summary-exit): Make sure to kill article buffer in ephemeral group. 2011-05-31 10:37:35 +00:00
Lars Magne Ingebrigtsen
b5244046e1 Merge changes made in Gnus trunk.
gnus-group.el (gnus-group-mark-article-read): It's possible that we want to have `gnus-newsgroup-unselected' kept sorted.  If this isn't done, then unselected articles may be marked as read.
pop3.el (pop3-open-server): Erase the buffer after the greeting, since not doing this seems to lead to a race condition in pop3-logon.
nnvirtual.el (nnvirtual-request-article): Bind `gnus-command-method' so that the call chain it correct when we call "upwards".
gnus-sum.el (gnus-select-newsgroup): Auto-expiry doesn't make sense in read-only groups.
gnus-group.el (gnus-group-mark-article-read): Ditto.
message.el (message-cite-reply-position): Doc string fix.
nnimap.el (nnimap-transform-headers): Simplify regexp to hopefully avoid regexp overflow.
 (nnimap-transform-split-mail): Ditto.
pop3.el (pop3-retr): Error out if the server closes the connection.
2011-05-30 22:11:52 +00:00
Stefan Monnier
7a54264e4c * lisp/gnus/mml1991.el (mml1991-mailcrypt-encrypt): Remove use of ill-designed
mm-with-unibyte-current-buffer.  The buffer should not contain any
multibyte chars anyway at this stage.
2011-05-30 14:21:59 -03: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
Glenn Morris
8c7c1f6d95 Repeat previous gnus-group.el change for bugs.debian.org.
* lisp/gnus/gnus-group.el (gnus-bug-group-download-format-alist):
Use the "maintainer" version of debian reports as well.
2011-05-26 20:55:07 -04:00
Glenn Morris
9945191976 Minor gnus-group.el change.
* lisp/gnus/gnus-group.el (gnus-bug-group-download-format-alist):
Use the "maintainer" version of debbugs.gnu.org reports.
2011-05-25 20:49:54 -04:00
Katsumi Yamaoka
88a7a941cb gnus-art.el (gnus-mime-delete-part): Fix mm-handle-filename usage. 2011-05-24 09:46:18 +00:00
Stefan Monnier
4f91a8160f Don't quote lambda expressions with `quote'. 2011-05-23 14:57:17 -03:00
Teodor Zlatanov
b018a6c910 gnus-sum.el (gnus-summary-hide-thread): Fix bug where moving to hide the thread moves us backwards and so we loop forever. 2011-05-20 01:00:46 +00:00
Katsumi Yamaoka
cfe397c6d2 mm-bodies.el (mm-decode-content-transfer-encoding): Allow leading whitespace in base64 data lines. 2011-05-20 00:03:51 +00:00
Teodor Zlatanov
627abcddd1 gnus.texi (Gnus Registry Setup): Rename from "Setup".
(Store custom flags and keywords): Mention `gnus-registry-user-format-function-M' and `gnus-registry-user-format-function-M2'.
gnus-registry.el (gnus-registry-user-format-function-M): Use `mapconcat'.
 (gnus-registry-user-format-function-M2): Use to see the full text of the marks.  Make "," the mark text separator.
2011-05-18 22:16:26 +00:00
Teodor Zlatanov
638f517cc5 nntp.el (nntp-send-authinfo): Use the "force" token for NNTP authentication with auth-source. 2011-05-18 14:17:34 +00:00
Glenn Morris
072be7db2b * gnus-group.el (gnus-import-other-newsrc-file): Use insert-file-contents. 2011-05-16 19:32:50 -07:00
Teodor Zlatanov
e594638418 gnus-sum.el (gnus-summary-hide-all-threads): Add update message every 1000 iterations. 2011-05-16 22:05:15 +00:00