1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-14 16:50:58 +00:00
Commit Graph

1496 Commits

Author SHA1 Message Date
Gnus developers
b8e0f0cd20 Merge changes made in Gnus trunk.
auth.texi (Overview, Help for users, Help for developers): Update docs.
 (Help for users): Talk about spaces.
sieve-manage.el: Autoload `auth-source-search'.
 (sieve-sasl-auth): Use it.
nnimap.el: Autoload `auth-source-forget+'.
 (nnimap-open-connection-1): Use it if the connection fails.
auth-source.el: Require `password-cache'.
 (auth-source-hide-passwords, auth-source-cache): Remove and mark obsolete.
 (auth-source-magic): Marker for `password-cache' keys.
 (auth-source-do-cache): Update docstring.
 (auth-source-search): Use and check cache.
 (auth-source-forget-all-cached, auth-source-remember)
 (auth-source-recall, auth-source-forget, auth-source-forget+)
 (auth-source-specmatchp): Caching support functions.
 (auth-source-forget-user-or-password, auth-source-forget-all-cached): Remove and obsolete.
 (auth-source-user-or-password): Remove caching to further discourage using it.  Always hide passwords.
password-cache.el (password-cache-remove): Accept secrets that are not strings.
mail-source.el: Autoload `auth-source-search'.
 (mail-source-keyword-map): Note order matters.
 (mail-source-set-1): Get all the mail-source source values and defaults and search auth-source on those if needed.  This can all probably be simplified.
nnimap.el: Autoload `auth-source-search'.
 (nnimap-credentials): Use it.
 (nnimap-open-connection-1): Ask for the virtual server and physical address in one shot.
nntp.el: Autoload `auth-source-search'.
 (nntp-send-authinfo): Use it.  Note TODO.
auth-source.el (auth-source-secrets-search, auth-source-user-or-password): Use `append' instead of `nconc'.
 (auth-source-user-or-password): Build return list better and protect against nil :secret.
auth-source.el (top): Require 'eieio unconditionally.  Autoload `secrets-get-attributes' instead of `secrets-get-attribute'.
 (auth-source-secrets-search): Limit search when `max' is greater than number of results.
auth-source.el (auth-source-secrets-search): Add examples.
auth-source.el (auth-sources): Allow for simpler defaults for Secrets API with a string "secrets:collection-name" and with 'default.
 (auth-source-backend-parse): Parse "secrets:collection-name" and 'default.  Recurse on parses instead of repeating code.  Use the Secrets API is the source is not nil and 'ignore otherwise.  Emit a message when ignoring a source.
 (auth-source-search): List ignored search keys at the top level.
 (auth-source-netrc-create): Use `case' instead of `cond'.
 (auth-source-secrets-search): Created with TODOs.
 (auth-source-secrets-create): Created with TODOs.
 (auth-source-retrieve, auth-source-create, auth-source-delete)
 (auth-source-protocol-defaults, auth-source-user-or-password-imap)
 (auth-source-user-or-password-pop3, auth-source-user-or-password-ssh)
 (auth-source-user-or-password-sftp)
 (auth-source-user-or-password-smtp): Removed.
 (auth-source-user-or-password): Deprecated and modified to be a wrapper around `auth-source-search'.  Not tested thoroughly.
auth-source.el: Bring in assoc and eioeio libraries.
 (secrets-enabled): New variable to track the status of the Secrets API.
 (auth-source-backend): New EIOEIO class to represent a backend.
 (auth-source-creation-defaults): New variable to set prompt defaults during token creation (see the `auth-source-search' docstring for details).
 (auth-sources): Simplify to allow a simple string as a netrc backend spec.
 (auth-source-backend-parse): Parse a backend from an `auth-sources' spec.
 (auth-source-backend-parse-parameters): Fill in the backend parameters.
 (auth-source-search): Main auth-source API entry point.
 (auth-source-delete): Wrapper around `auth-source-search' for deletion.
 (auth-source-search-collection): Helper function for searching.
 (auth-source-netrc-parse, auth-source-netrc-normalize)
 (auth-source-netrc-search, auth-source-netrc-create): Netrc backend.  Supports search, create, and delete.
 (auth-source-secrets-search, auth-source-secrets-create): Secrets API backend stubs.
(auth-source-user-or-password): Call `auth-source-search' but it's not ready yet.
2011-02-13 00:25:29 +00:00
Antoine Levitt
cec2114e7b gnus-sum.el (gnus-summary-save-parts): Use read-directory-name. 2011-02-10 22:43:21 +00:00
Stefan Monnier
665addc97b * lisp/gnus/message.el (message-bury): Don't pop up a new window when selected
window is dedicated.
2011-02-10 14:35:35 -05: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
Julien Danjou
756441ed82 message.el (message-options): Make message-options a local variable. 2011-02-08 12:03:14 +00:00
Lars Ingebrigtsen
b52daf3d93 nnimap.el (nnimap-update-info): Simplify split history test. 2011-02-07 22:49:38 +00:00
Lars Ingebrigtsen
41d579ce4a nnimap.el (nnimap-update-info): Refactor slightly.
(nnimap-update-info): Tell Gnus whether there are any \Recent messages.
 (nnimap-update-info): Clean up slightly.
 (nnimap-quirk): Add quirk for Gmail IMAP which bugs out on NUL characters.
 (nnimap-process-quirk): Renamed function to avoid collision.
 (nnimap-update-info): Fix macrology bug-out.
2011-02-07 13:03:22 +00:00
Lars Ingebrigtsen
76b8d9dd0e nntp.el (nntp-finish-retrieve-group-infos): Protect against the first part not returning any data.
proto-stream.el (open-protocol-stream): Document the return value.
2011-02-06 22:27:28 +00:00
Julien Danjou
184469b7a0 message.el (message-setup-1): Handle message-generate-headers-first set to t. 2011-02-06 12:48:19 +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
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
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