1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-20 20:50:53 -08:00
Commit graph

2198 commits

Author SHA1 Message Date
Katsumi Yamaoka
8c33070780 Doc fixes and keep unknown groups.
From Ted Zlatanov <tzz@lifelogs.com>.

* gnus-sync.el: Fix docs.
(gnus-sync-save): Keep unknown groups in `gnus-sync-newsrc-loader'.
(gnus-sync-read): Don't wipe `gnus-sync-newsrc-loader' after reading.
2010-08-14 10:45:32 +00:00
Glenn Morris
810717b6cc * lisp/gnus/gnus-sync.el (gnus-sync): Fix defgroup version. 2010-08-13 19:02:31 -07:00
Katsumi Yamaoka
186a9cbb9d Optimizations for gnus-sync.el.
From Ted Zlatanov <tzz@lifelogs.com>.

* gnus-sync.el: Add docs about gnus-sync-backend
possibilities.
(gnus-sync-save): Remove unnecessary message.
(gnus-sync-read): Optimize and show what groups were skipped.
2010-08-13 11:03:19 +00:00
Katsumi Yamaoka
79993b193e Minor bug fixes for gnus-sync.el.
From Ted Zlatanov <tzz@lifelogs.com>.

* gnus-sync.el (gnus-sync-unload-hook, gnus-sync-install-hooks): Don't
read the sync on get-new-news.
2010-08-13 10:58:21 +00:00
Katsumi Yamaoka
bbe276f2bf Minor bug fixes for gnus-sync.el.
From Ted Zlatanov <tzz@lifelogs.com>.

* gnus-sync.el (gnus-sync-save): Define `variable' so the compiler is
quiet.

* gnus-sync.el (gnus-sync-read): Use `gnus-sync-newsrc-offsets' (fix typo).
2010-08-13 10:54:05 +00:00
Katsumi Yamaoka
9fc8d4649f add lisp/gnus/gnus-sync.el 2010-08-13 10:50:01 +00:00
Katsumi Yamaoka
62a83cc83d Make saving and restoring of hidden threads work with overlays.
Patch applied by Ted Zlatanov.

* gnus-sum.el (gnus-hidden-threads-configuration)
(gnus-restore-hidden-threads-configuration): Update to deal with text
properties, rather than searching for a magic character.
2010-08-13 10:44:22 +00:00
Katsumi Yamaoka
7715496120 Add new gnus-sync.el library.
From Ted Zlatanov <tzz@lifelogs.com>.

* gnus-registry.el (gnus-registry-follow-group-p): Use `gnus-grep-in-list'.

* gnus-util.el (gnus-grep-in-list): Moved from gnus-registry.el and
renamed from `gnus-registry-grep-in-list'.

* gnus-sync.el: New library for synchronization of marks.
2010-08-13 10:39:16 +00:00
Katsumi Yamaoka
c4b1c354d3 Make gnus-start-draft-setup interactive.
From Ted Zlatanov <tzz@lifelogs.com>.

* gnus-start.el (gnus-start-draft-setup): Make it interactive.
2010-08-13 10:32:35 +00:00
Katsumi Yamaoka
cbfb942773 (rfc2047-encode): Use utf-8 charset as a last resort. 2010-08-06 03:43:29 +00:00
Katsumi Yamaoka
e9d1aaff7d Fix last nnmail-get-new-mail-1 change that caused double encoding in XEmacs.
2010-08-01  Katsumi Yamaoka  <yamaoka@jpl.org>
 * nnmail.el (nnmail-get-new-mail-1): Revert.
 * nnml.el (nnml-active-number): Make sure names of newly created groups
 in nnml-group-alist are encoded.
2010-08-01 23:49:32 +00:00
Katsumi Yamaoka
6f1c4158be Encode names of nnml groups that nnmail-get-new-mail creates in active file.
2010-07-30  Katsumi Yamaoka  <yamaoka@jpl.org>
 * nnmail.el (nnmail-get-new-mail-1): Encode group names possibly
 containing non-ASCII characters in active file for nnml back end.
2010-07-30 02:01:04 +00:00
Juanma Barranquero
087b38a075 Fix typos in ChangeLogs. 2010-07-29 04:42:53 +02:00
Katsumi Yamaoka
86fb10614e Accept x-pkcs7-signature MIME type as signature.
2010-07-24  David Engster  <dengste@eml.cc>
 * mml-smime.el (mml-smime-epg-verify): Also accept the older
 x-pkcs7-signature MIME type as signature (RFC 2311, C.1).
2010-07-25 10:29:49 +00:00
Juanma Barranquero
c4cc8b9a23 Fix typos in ChangeLogs. 2010-07-24 13:53:19 +02:00
Daiki Ueno
a0abd4d632 Fix multiple-recipient handling of Gnus S/MIME.
* mml.el (mml-parse-1): Collect "certfile" attributes in "<#secure>" tag
(Bug#6654).
2010-07-21 14:56:18 +09:00
Juanma Barranquero
a628ad9d97 Fix typos in ChangeLogs. 2010-07-20 13:13:25 +02:00
Katsumi Yamaoka
72897ff9f7 Fix previous change in gnus-summary-bookmark-make-record.
2010-07-20  Katsumi Yamaoka  <yamaoka@jpl.org>
 * gnus-sum.el (gnus-summary-bookmark-make-record): Bookmark position in
 the article buffer, not the summary buffer.
2010-07-20 01:19:04 +00:00
Katsumi Yamaoka
e859bbdae2 Make gnus-summary-bookmark-make-record work for Emacs 23 as well.
2010-07-15  Katsumi Yamaoka  <yamaoka@jpl.org>
 * gnus-sum.el (gnus-summary-bookmark-make-record): Make it work for
 Emacs 23 as well.
2010-07-15 00:54:06 +00:00
Thierry Volpiatto
8f2eaa8abd Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
* lisp/bookmark.el (bookmark-set): Don't set `bookmark-yank-point' and
  `bookmark-current-buffer' if they have been already set in another
  buffer (e.g gnus-art).

* lisp/gnus/gnus-sum.el (gnus-summary-bookmark-make-record): Set
  `bookmark-yank-point' and `bookmark-current-buffer' to allow C-w.
2010-07-14 12:41:40 -04:00
Karl Fogel
33b4848367 Allow bookmarks to be set from Gnus Article buffers (Bug #5975).
Patch applied (with minor tweaks) by Karl Fogel.  Note this leaves
C-w still not working correctly from Article buffers; Thierry's
patch to fix that will be applied after this.

* lisp/gnus/gnus-art.el (bookmark-make-record-function): New local variable.

* lisp/gnus/gnus-sum.el (gnus-summary-bookmark-make-record): Allow setting
  from article buffer.
  (gnus-summary-bookmark-jump): Maybe jump to article buffer.
2010-07-14 12:02:53 -04:00
Karl Fogel
e44fa724e4 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
* lisp/bookmark.el (bookmark-make-record-default): Allow unneeded
  information to be omitted from the record.

Adjust declarations and calls:

* lisp/info.el (bookmark-make-record-default): Adjust declaration.
  (Info-bookmark-make-record): Adjust call.

* lisp/woman.el (bookmark-make-record-default): Adjust declaration.
  (woman-bookmark-make-record): Adjust call.

* lisp/man.el (bookmark-make-record-default): Adjust declaration.
  (Man-bookmark-make-record): Adjust call.

* lisp/image-mode.el (bookmark-make-record-default): Adjust declaration.

* lisp/doc-view.el (bookmark-make-record-default): Adjust declaration.

* lisp/gnus/gnus-sum.el (bookmark-make-record-default): Adjust declaration.
2010-07-14 11:57:54 -04:00
Mark A. Hershberger
04c2373982 Add in some useful convenience functions for handling HTTP. 2010-06-22 12:48:53 -04:00
Michael Albinus
85350e06b0 * auth-source.el (auth-source-pick): If choice does not contain a
questioned keyword, set the check to t.
2010-06-15 22:13:34 +02:00
Romain Francoise
89a13959ca Synch with Gnus trunk.
* gnus-util.el (gnus-date-get-time): Move up before first use.
2010-06-12 19:26:40 +02:00
Katsumi Yamaoka
3e3ab3ab47 Synch with Gnus trunk.
(gnus-mime-buttonized-part-id): New internal variable.
(gnus-article-edit-part): Bind it to make last part that is substituted
 or deleted visible.
(gnus-mime-display-single): Buttonize part of which id equals to
 gnus-mime-buttonized-part-id.
2010-06-10 05:33:55 +00:00
Katsumi Yamaoka
3d6e7a438c Synch with Gnus trunk.
2010-06-10  Dan Christensen  <jdc@uwo.ca>
 * gnus-util.el (gnus-user-date): Use gnus-date-get-time.
 (gnus-dd-mmm): Use gnus-date-get-time.
 * gnus-sum.el (gnus-thread-latest-date): Use gnus-date-get-time and
 simplify logic.
 (gnus-summary-limit-to-age): Use gnus-date-get-time.
 (gnus-sort-threads): emit message if gnus-sort-threads-loop used.
2010-06-10 00:30:13 +00:00
Michael Albinus
0e4966fb65 * auth-source.el (top): Autoload `secrets-list-collections',
`secrets-create-item', `secrets-delete-item'.
(auth-sources): Fix tag string.
(auth-get-source, auth-source-retrieve, auth-source-create)
(auth-source-delete): New defuns.
(auth-source-pick): Rewrite in order to avoid 2 passes.
(auth-source-forget-user-or-password): New parameter USERNAME.
(auth-source-user-or-password): New parameters CREATE-MISSING and
DELETE-EXISTING.  Retrieve password interactively, if needed.
2010-06-08 15:05:11 +02:00
Katsumi Yamaoka
5e7d4a75cb Synch with Gnus trunk.
2010-06-07  Teodor Zlatanov  <tzz@lifelogs.com>
 * gnus.texi (Interactive): Explain effect of gnus-expert-user better.

2010-06-07  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
 * gnus-agent.el (gnus-agent-expire-unagentized-dirs): Don't ask about
 deleting unused directories when gnus-expert-user is t.
2010-06-07 23:00:42 +00:00
Katsumi Yamaoka
3aeb940248 Synch with Gnus trunk.
(gnus-article-browse-delete-temp-files): Don't make query
 for each temp file when gnus-article-browse-delete-temp is ask.
2010-06-02 00:10:42 +00:00
Stefan Monnier
d355a0b791 Replace Lisp calls to delete-backward-char by delete-char.
* bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
skeleton.el, term.el, time.el, wid-edit.el, woman.el,
calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
progmodes/ps-mode.el, progmodes/verilog-mode.el,
progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
delete-backward-char by calls to delete-char.
2010-05-24 22:11:08 -04:00
Kevin Ryde
e1b9db1a25 * gnus-start.el (gnus-level-unsubscribed): Doc fix. (Bug#6206) 2010-05-21 02:43:54 +03:00
Katsumi Yamaoka
d567e92ffa Synch with Gnus trunk.
(gnus-summary-save-article): Don't bother to re-fetch article unless
 decoding article to be saved.
2010-05-14 07:48:21 +00:00
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
4c9d39abf9 Synch with Gnus trunk.
(gnus-summary-read-group-1): Don't jump to next group
 when catching the `C-g'.  Reported by: "Leo"
 By Andreas Seltenreich.
2010-05-12 14:09:25 +00:00
Katsumi Yamaoka
706deb23dc Synch with Gnus trunk.
(message-forward-make-body-plain, message-forward-make-body-mml):
 Use mm-multibyte-string-p instead of multibyte-string-p.
2010-05-12 08:24:25 +00:00
Katsumi Yamaoka
8b320e66d6 Synch with Gnus trunk.
(message-forward-make-body-mml): Assume original message is multibyte string;
 error on unibyte.
(message-forward-make-body-plain): Ditto;
 don't add excessive newline in body end.
2010-05-12 02:09:58 +00:00
Katsumi Yamaoka
4767419a31 Synch with Gnus trunk.
(gnus-summary-kill-thread): Use gnus-summary-mark-article instead of
 g-s-m-a-as-unread to set the expirable mark.  (Bug#5284)
 By Andreas Seltenreich <seltenreich (at) gmx.de>.
2010-05-11 06:04:22 +00:00
Katsumi Yamaoka
3d73e84152 Synch with Gnus trunk.
(mm-extern-url): Don't use mm-with-unibyte-current-buffer.
(mm-extern-cache-contents): Use with-current-buffer instead of
 save-excursion + set-buffer.
2010-05-11 04:43:46 +00:00
Juanma Barranquero
4e2af7825f Fix typos and whitespace in ChangeLogs. 2010-05-11 04:04:13 +02:00
Katsumi Yamaoka
1fdf5102be Synch with Gnus trunk.
2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
 * mm-util.el (mm-emacs-mule): Remove.

2010-05-10  Andreas Seltenreich  <seltenreich@gmx.de>
 * gnus-sum.el (gnus-summary-mode): Don't make minor-mode-alist
 buffer-local as it's incompatible with Stefan Monnier's 2010-05-03
 change.
2010-05-10 12:07:40 +00:00
Katsumi Yamaoka
72e841ce72 Synch with Gnus trunk.
(mm-with-unibyte-current-buffer): Redefine it so as not to bind the default
 value of enable-multibyte-characters to nil.
2010-05-10 07:25:27 +00:00
Katsumi Yamaoka
d8a7b27200 Synch with Gnus trunk.
(message-forward-make-body-plain, message-forward-make-body-mml):
 Don't use mm-with-unibyte-current-buffer.
2010-05-10 03:39:23 +00:00
Daiki Ueno
5146e84c03 Skip disabled PGP key when encrypting mail with Gnus.
* lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
* lisp/gnus/mml2015.el (mml2015-epg-find-usable-key): Skip disabled key (Bug#5592).
2010-05-07 17:10:28 +09:00
Katsumi Yamaoka
86d21cc09b Fix typos. 2010-05-07 07:41:53 +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
16b90cfe19 Synch with Gnus trunk.
(mml-secure-message-sign): Fix cut and paste error.
2010-05-06 05:54:57 +00:00
Katsumi Yamaoka
72528372a7 Update. 2010-05-06 04:19:22 +00:00
Katsumi Yamaoka
d029b5d2b0 Require easy-mmode for XEmacs when compiling. 2010-05-06 04:15:34 +00:00