Commit graph

201 commits

Author SHA1 Message Date
Katsumi Yamaoka
7cab80f97c Synch with Gnus trunk.
* gnus-art.el (gnus-bind-safe-url-regexp): Bind mm-w3m-safe-url-regexp
 to nil when we're in a mml-preview buffer and no group is selected.

* mml1991.el (mml1991-mailcrypt-encrypt, mml1991-gpg-encrypt)
* mml2015.el (mml2015-gpg-encrypt): Disable multibyte in buffers
 generated within the mm-with-unibyte-current-buffer macro.
2010-05-13 05:59:23 +00:00
Katsumi Yamaoka
9581ba4d12 Synch with Gnus trunk.
Note: Julien has already sent a form to FSF to sign a paper.
2010-05-07  Julien Danjou  <julien@danjou.info>
 * gnus-art.el (gnus-mime-pipe-part): Add optional argument `cmd'; pass
 it to mm-pipe-part.

 * mm-decode.el (mm-pipe-part): Add optional argument `cmd'; use it if
 it is given.
2010-05-07 07:28:15 +00:00
Katsumi Yamaoka
765d43190e Synch with Gnus trunk.
* mail/binhex.el (binhex-decode-region-internal)
* mail/uudecode.el (uudecode-decode-region-internal)
* net/dns.el (dns-read-string-name, dns-write, dns-read)
(dns-read-type, dns-query)
* pgg-parse.el (pgg-parse-armor)
* pgg.el (pgg-verify-region)
* sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
XEmacs.

* net/imap.el (imap-disable-multibyte): Redefine them as a macro.

* nnweb.el (nnweb-gmane-search)
* yenc.el (yenc-decode-region): Don't run set-buffer-multibyte for
XEmacs.

* gnus-art.el (gnus-article-browse-html-parts)
* gnus-group.el (gnus-read-ephemeral-gmane-group)
(gnus-read-ephemeral-bug-grou): Use mm-make-temp-file instead of
make-temp-file.

* gnus-dired.el (gnus-dired-mode): Bind gnus-dired-mode-hook,
gnus-dired-mode-on-hook and gnus-dired-mode-off-hook for XEmacs when
compiling.

* gnus-ml.el (gnus-mailing-list-mode): Bind gnus-mailing-list-mode-hook,
gnus-mailing-list-mode-on-hook and gnus-mailing-list-mode-off-hook for
XEmacs when compiling.

* gnus-salt.el (gnus-pick-mode): Bind gnus-pick-mode-on-hook and
gnus-pick-mode-off-hook for XEmacs when compiling.
(gnus-binary-mode): Bind gnus-binary-mode-on-hook and
gnus-binary-mode-off-hook for XEmacs when compiling.

* gnus-sum.el (gnus-summary-limit-strange-charsets-predicate): Return
nil if char-charset is not available.

* sieve-manage.el (sieve-manage-disable-multibyte): Redefine them as a
macro.

* mm-url.el (mm-url-form-encode-xwfu): Use mm-encode-coding-string
instead of encode-coding-string.

* mm-util.el (mm-enable-multibyte, mm-disable-multibyte): Use (featurep
'xemacs) instead of mm-emacs-mule to switch function definitions.
(mm-with-unibyte-current-buffer): Make it a progn macro for XEmacs.
2010-05-07 06:58:17 +00:00
Katsumi Yamaoka
d40d713a3d (gnus-article-browse-html-save-cid-content): Rename from
gnus-article-browse-html-save-cid-image;
 make it work recursively for forwarded messages as well.
(gnus-article-browse-html-parts): Work when prefix arg is given.
(gnus-article-browse-html-article): Doc fix.
2010-03-31 06:44:35 +00:00
Katsumi Yamaoka
82fc79808b 2010-03-30 Martin Stjernholm <mast@lysator.liu.se>
* mm-decode.el (mm-add-meta-html-tag): Added option to override the
 charset.
 * gnus-art.el (gnus-article-browse-html-parts): Force the correct
 charset into the <meta> tag when the article is encoded to utf-8.
2010-03-30 04:44:38 +00:00
Katsumi Yamaoka
20c0b2cea2 2010-03-30 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-art.el (gnus-article-browse-delete-temp-files): Delete
 directories as well.
 (gnus-article-browse-html-parts): Work for images that do not specify
 file names; delete temp directory when quitting; insert header at the
 right place; use file: scheme for image files.

2010-03-30  Eric Schulte  <schulte.eric@gmail.com>

 * gnus-art.el (gnus-article-browse-html-save-cid-image): New function.
 (gnus-article-browse-html-parts): Use it to make temporary cid image
 files in addition to html file so that browser may display them.
2010-03-30 04:03:00 +00:00
Katsumi Yamaoka
ec7995fa61 Synch with Gnus trunk
=====================
2010-03-23  Katsumi Yamaoka  <yamaoka@jpl.org>

 * gnus-art.el (canlock-verify): Autoload it for Emacs 21.

 * message.el (ecomplete-setup): Autoload it for Emacs <23.

 * mml-sec.el (mml-secure-cache-passphrase): Default to t that is
 password-cache's default if it is not bound.
 (mml-secure-passphrase-cache-expiry): Default to 16 that is
 password-cache-expiry's default if it is not bound.

 * pop3.el (pop3-list): Don't use 3rd arg of `split-string' which is not
 available in Emacs 21.

2010-03-23  Teodor Zlatanov  <tzz@lifelogs.com>

 * auth-source.el (auth-sources): Fix up definition so extra parameters
 are always inline.

2010-03-22  Martin Stjernholm  <mast@lysator.liu.se>

 * nnimap.el (nnimap-verify-uidvalidity): Fixed bug where uidvalidity
 wasn't updated after mismatch.  Clear cached mailbox info correctly
 when uidvalidity changes.
 (nnimap-group-prefixed-name): New function to avoid some code
 duplication.
 (nnimap-verify-uidvalidity, nnimap-group-overview-filename)
 (nnimap-request-group): Use it.
 (nnimap-retrieve-groups, nnimap-verify-uidvalidity)
 (nnimap-update-unseen): Significantly improved speed of Gnus startup
 with many imap folders.  This is done by caching the group status from
 the imap server persistently in a group parameter `imap-status'. (This
 was cached before too if `nnimap-retrieve-groups-asynchronous' was set,
 but not persistently, so every Gnus startup was still very slow.)

2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>

 * auth-source.el: Set up autoloads.  Bump to 23.2 because of the
 secrets.el dependency.
 (auth-sources): Add optional user name.  Add secrets.el configuration
 choice (unused right now).

2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>

 * gnus-sum.el (gnus-summary-make-menu-bar): Let
 `gnus-registry-install-shortcuts' fill in the functions.

 * gnus-registry.el (gnus-summary-misc-menu): Declare to avoid
 warnings.
 (gnus-registry-misc-menus): Variable to hold registry mark menus.
 (gnus-registry-install-shortcuts): Populate and use it in a
 `gnus-summary-menu-hook' lambda, under "Gnus"->"Registry Marks".

2010-03-20  Martin Stjernholm  <mast@lysator.liu.se>

 * nnimap.el (nnimap-decode-group-name, nnimap-encode-group-name):
 In-place substitutions for the group name encoding/decoding.
 (nnimap-find-minmax-uid, nnimap-possibly-change-group)
 (nnimap-retrieve-headers-progress, nnimap-possibly-change-group)
 (nnimap-retrieve-headers-progress, nnimap-request-article-part)
 (nnimap-update-unseen, nnimap-request-list)
 (nnimap-retrieve-groups, nnimap-request-update-info-internal)
 (nnimap-request-set-mark, nnimap-split-to-groups)
 (nnimap-split-articles, nnimap-request-newgroups)
 (nnimap-request-create-group, nnimap-request-accept-article)
 (nnimap-request-delete-group, nnimap-request-rename-group)
 (nnimap-acl-get, nnimap-acl-edit): Use them.  Replace `mbx' with
 `encoded-mbx' for consistency.
 (nnimap-close-group): Call `imap-current-mailbox' instead of using the
 variable `imap-current-mailbox'.

 * gnus-agent.el (gnus-agent-fetch-articles, gnus-agent-fetch-headers)
 (gnus-agent-regenerate-group): Use `gnus-agent-decoded-group-name'.

2010-03-20  Bojan Petrovic  <bpetrovi@f.bg.ac.rs>

 * pop3.el (pop3-display-message-size-flag): Display message size byte
 counts during POP3 download.
 (pop3-movemail): Use it.
 (pop3-list): Implement listing of available messages.

2010-03-20  Mark Triggs  <mst@dishevelled.net>  (tiny change)

 * nnir.el (nnir-get-article-nov-override-function): New function to
 override the normal NOV retrieval.
 (nnir-retrieve-headers): Use it.
2010-03-23 07:37:09 +00:00
Stefan Monnier
86f5c0343d (gnus-treat-display-x-face): Protect against errors (bug#5299). 2010-02-24 11:40:04 -05:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Katsumi Yamaoka
8a9082249c Merge from mainline. 2010-01-06 09:16:36 +00:00
Glenn Morris
12ea3d6524 (help-xref-stack-item): Define for compiler. 2009-10-24 03:42:18 +00:00
Katsumi Yamaoka
54c72c3108 Synch with Gnus trunk.
2009-09-22  Daiki Ueno  <ueno@unixuser.org>

 * mm-encode.el (mm-sign-option, mm-encrypt-option): New user option.
 * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Let users select
 keys from the menu if mm-{sign,encrypt}-option is 'guided.
 * mml-smime.el (mml-smime-epg-sign, mml-smime-epg-encrypt): Ditto.
 * mml1991.el (mml1991-epg-sign, mml1991-epg-encrypt): Ditto.

2009-09-15  Katsumi Yamaoka  <yamaoka@jpl.org>

 * gnus-art.el (gnus-article-edit-part): Work for the buffer
 configuration that provides the sole article window in a frame;
 position point correctly after deleting a part.

2009-09-14  Adam Sjøgren  <asjo@koldfront.dk>

 * spam.el (spam-unregister-on-reregister): Add boolean variable.
 (spam-resolve-registrations-routine): Use it to unregister articles
 that change status.
2009-09-28 12:09:01 +00:00
Juanma Barranquero
d93ec75351 * gnus-art.el (gnus-article-encrypt-body):
* message.el (message-check-recipients):
* mm-util.el (mm-codepage-setup):
* nnir.el (gnus-summary-nnir-goto-thread, nnir-run-waissearch)
  (nnir-run-swish++, nnir-run-swish-e): Fix typos in error messages.
2009-09-23 23:58:40 +00:00
Katsumi Yamaoka
de0bdfe7aa 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-util.el (gnus-float-time): Alias to float-time if it exists.

* ecomplete.el (with-no-warnings): Define it for old Emacsen.
(ecomplete-add-item): Don't use (featurep 'xemacs) to check if
float-time is available; suppress compile warning for time-to-seconds.

2009-09-07  Katsumi Yamaoka  <yamaoka@jpl.org>

* mm-encode.el (mm-encode-buffer): Don't force 7bit encoding since MTA
may break data.  Suggested by Dmitri Paduchikh <dpaduch@k66.ru>.
Add the optional argument `encoding' that overrides the default.

* mml.el (mml-generate-mime-1): Pass encoding defined by a user to
mm-encode-buffer.

2009-09-02  Karl Kleinpaste  <karl@kleinpaste.org>

* gnus-art.el (gnus-article-read-summary-keys):
Fix gnus-buffer-configuration's value temporarily used.
2009-09-09 09:28:43 +00:00
Glenn Morris
3d493bef43 Mark face aliases with "-face" in the name as obsolete. 2009-09-02 03:04:15 +00:00
Stefan Monnier
265ac10b18 * spam.el (spam-ifile-path, spam-bogofilter-path, spam-sa-learn-path)
(spam-ifile-database-path, spam-bsfilter-path, spam-spamassassin-path):
* nnmail.el (nnmail-spool-file, nnmail-fix-eudora-headers):
* nnir.el (nnir-swish-e-index-file):
* gnus-sum.el (gnus-summary-delete-marked-as-read)
(gnus-summary-delete-marked-with, gnus-summary-mark-as-unread-forward)
(gnus-summary-mark-as-unread-backward, gnus-summary-mark-as-unread):
* gnus-msg.el (gnus-inews-mark-gcc-as-read):
* gnus-art.el (gnus-article-hide-pgp-hook, gnus-treat-strip-pgp)
(gnus-treat-display-xface): Add Emacs version of obsolescence.
2009-08-29 03:03:23 +00:00
Miles Bader
b0b63450dc Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1629
2009-08-29 00:27:12 +00:00
Glenn Morris
5dcc825f21 (gnus-button-patch): Use forward-line rather than goto-line. 2009-08-22 19:13:34 +00:00
Miles Bader
6ab2c7a8fb Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1616
2009-07-26 08:34:53 +00:00
Katsumi Yamaoka
0cf681b6af Synch with Gnus trunk:
2009-06-01  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-art.el (gnus-mime-delete-part): Specify gnus-decoded as charset
	to deleted part.

2009-05-30  David Engster  <dengste@eml.cc>

	* nnmairix.el: Remove old documentation in the commentary block.
	(nnmairix-request-group): Do not update active file for nnml back ends.
	(nnmairix-retrieve-headers): Set gnus-nov-is-evil to t for nnimap back
	end so that overview files are ignored.
	(nnmairix-update-groups): Make updating the groups more robust by using
	marks.
	(nnmairix-determine-original-group-from-path): Circumvent mairix bug
	with dollar characters in message-id.
2009-06-08 22:47:11 +00:00
Miles Bader
9eb59592ad Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1548
2009-02-16 09:32:19 +00:00
Glenn Morris
fef8d38ee0 (rmail-output-to-rmail-file): Remove autoload added in previous change.
(gnus-summary-save-in-mail): Use gnus-output-to-rmail rather than
rmail-output-to-rmail-file.
2009-02-14 05:09:13 +00:00
Glenn Morris
1faded47fb (rmail-output-to-rmail-file): Move autoload here from gnus.el. 2009-02-14 03:36:27 +00:00
Miles Bader
548f737d3a Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1517
2009-01-14 07:51:26 +00:00
Tassilo Horn
41ec3f54f6 (gnus-treat-display-face): Fix docstring link to point to
`(gnus)Face', not `(gnus)X-Face'.
2009-01-06 11:39:20 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Katsumi Yamaoka
1250af7b90 * mm-view.el (mm-inline-text-html-render-with-w3m): Make it simple and fast.
* gnus-art.el (gnus-article-wash-html-with-w3m): Ditto.
2008-12-04 10:53:18 +00:00
Katsumi Yamaoka
886367d85e * mm-view.el (mm-inline-text-html-render-with-w3m): Put special keymap on links.
* gnus-art.el (gnus-article-wash-html-with-w3m): Ditto.
2008-12-04 01:58:01 +00:00
Miles Bader
4520e52783 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1436
2008-09-30 00:48:01 +00:00
Katsumi Yamaoka
c0ccb0d665 * gnus-art.el (gnus-mime-set-charset-parameters): Add new argument
`charset'; fix name of function called recursively.
(gnus-mime-view-part-as-charset): Don't bind gnus-newsgroup-charset.
2008-09-09 22:48:45 +00:00
Katsumi Yamaoka
14ce5fc25c * gnus-art.el (gnus-mime-strip-charset-parameters): Remove.
(gnus-mime-set-charset-parameters): New function.
(gnus-mime-view-part-as-charset): Use it to correctly display part
specifying wrong charset.
2008-09-09 06:23:40 +00:00
Miles Bader
9153f10d0d Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1376
2008-08-12 16:01:05 +00:00
Miles Bader
6ecfe5c26e Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1372
2008-08-07 07:18:07 +00:00
Miles Bader
d62672f36a Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1355
2008-07-26 09:13:11 +00:00
Miles Bader
16c85f2690 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1326
2008-07-14 06:56:18 +00:00
Miles Bader
89167438cb Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1309
2008-07-04 00:07:47 +00:00
Stefan Monnier
d346bf7e6a * gnus-util.el (gnus-read-shell-command): New function.
* mm-decode.el (mm-pipe-part):
* gnus-art.el (gnus-summary-save-in-pipe): Use it.
2008-06-05 14:37:42 +00:00
Juanma Barranquero
5229211e92 (gnus-article-toggle-truncate-lines): Don't use `iff' in docstrings. 2008-05-08 03:22:54 +00:00
Glenn Morris
5e809f552a Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:56:49 +00:00
Stefan Monnier
75eda25b52 (gnus-mime-replace-part): Remove unnecessary use of mm-with-multibyte.
(gnus-request-article-this-buffer): Make sure the proper decoding is used
if gnus-original-article-buffer happens to be unibyte.
2008-04-05 20:12:37 +00:00
Miles Bader
9b3ebcb696 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1104
2008-03-29 19:54:11 +00:00
Miles Bader
8f7abae3a9 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1097
2008-03-10 00:50:22 +00:00
Glenn Morris
ff72fb9cab (gnus-article-mode-line-format-alist): Move to gnus-sum. 2008-03-05 03:56:16 +00:00
Glenn Morris
330f707bed Change defcustom :version from 23.0 to 23.1. 2008-02-29 04:03:49 +00:00
Stefan Monnier
80de177875 Use with-current-buffer. 2008-02-28 19:12:01 +00:00
Glenn Morris
1888e56807 (pgg-display-output-buffer): Declare as function. 2008-02-08 20:27:28 +00:00
Miles Bader
e9198520f3 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1047
2008-02-04 09:38:49 +00:00
Miles Bader
4599d0ec21 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1009
2008-01-24 07:47:38 +00:00
Miles Bader
0b6799c345 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1001
2008-01-20 05:17:57 +00:00
Miles Bader
95838435c8 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-992
2008-01-10 14:18:23 +00:00