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

203 commits

Author SHA1 Message Date
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
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
Katsumi Yamaoka
731533fdb6 (message-generate-headers): Record insertion of optional headers as well.
Otherwise the check to prevent repeated insertion of optional headers
is a no-op.  By Andreas Seltenreich <seltenreich@gmx.de>.
2010-04-22 08:24:25 +00:00
Stefan Monnier
857387516c Merge from emacs-23 branch 2010-03-30 22:37:57 -04:00
Chong Yidong
481134fd24 Fix mail-default-headers handling in Message mode.
* gnus/message.el (message-default-mail-headers):
(message-default-headers): Carry the value mail-default-headers over
into message-default-mail-headers, rather than message-default-headers.
2010-03-27 13:53:35 -04:00
Stefan Monnier
e867cb5d30 Merge from `emacs-23'. 2010-03-24 14:02:56 -04: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
Juanma Barranquero
2b8f62e986 Fix typos in Gnus.
* message.el (message-interactive): Doc fix.
  (message-qmail-inject-args): Reflow.
  (message-kill-to-signature): Fix typo in docstring.

* smiley.el (smiley-buffer): Fix typo in docstring.
2010-03-22 16:49:52 +01:00
Glenn Morris
aa8f82773f Stop message.el from loading about 40 libraries it doesn't always need.
The general approach is to autoload rather than require, and to
require in the specific functions rather than the file.  (Bug#5642)

* url/url.el: Move mailcap require earlier in the file.

* gnus/gmm-utils.el: Don't require wid-edit.
(widget-create-child-value, widget-convert, widget-default-get):
Autoload.

* gnus/gnus-util.el: Don't require time-date, netrc.
(message-fetch-field, gnus-group-name-decode): Declare rather than
autoloading.
(gnus-fetch-field): Require message.
(gnus-decode-newsgroups): Require gnus-group.

* gnus/ietf-drums.el: Don't require time-date.

* gnus/message.el: Don't require hashcash, canlock, ecomplete.
Do require mail-utils.  Require nnheader only when compiling.
(smtpmail-default-smtp-server): Remove declaration.
(message-send-mail-function): Check smtpmail-default-smtp-server
is bound rather than requiring smtpmail.
(message-auto-save-directory, message-insert-signature): Use
expand-file-name rather than nnheader-concat.
(nnheader-insert-file-contents): Autoload.
(hashcash-wait-async): Declare.
(message-send-mail): Only call gnus-setup-posting-charset if
gnus-group-posting-charset-alist is bound.  Require hashcash if needed.
(message-send-mail-with-sendmail): Require sendmail.
(canlock-password, canlock-password-for-verify): Declare.
(message-canlock-password): Require canlock.
(nnheader-get-report): Autoload.
(gnus-setup-posting-charset): Declare.
(message-send-news): Require gnus-msg.
(message-make-references, message-make-in-reply-to): Use mail-header-id
rather than the alias mail-header-message-id.
(ecomplete-add-item, ecomplete-save): Declare.
(message-put-addresses-in-ecomplete): Require ecomplete.
(ecomplete-display-matches): Autoload.

* gnus/mm-decode.el: Don't require mailcap, gnus-util.
(gnus-map-function, gnus-replace-in-string, gnus-read-shell-command)
(message-fetch-field, mailcap-parse-mailcaps, mailcap-mime-info):
Autoload.
(mailcap-mime-extensions): Declare.

* gnus/mm-encode.el: Don't require mailcap.
(mailcap-extension-to-mime): Autoload.

* gnus/mml-sec.el: Don't require password-cache.

* gnus/mml.el (gnus-setup-posting-charset): Declare rather than autoload.
(mailcap-parse-mimetypes, mailcap-mime-types): Declare.
(mml-minibuffer-read-type): Require mailcap.
(mml-preview): Require gnus-msg.

* gnus/mml1991.el: Require password-cache.
(password-cache-expiry): Remove declaration.

* gnus/mml2015.el: Require password-cache.
(password-cache-expiry): Remove declaration.

* gnus/nneething.el (mailcap): Require mailcap.

* gnus/nnheader.el: (declare-function): Add compatibility stub.
(message-remove-header): Declare rather than autoload.
(nnheader-replace-header): Require message.

* gnus/nnimap.el (declare-function): Add compatibility stub.
(netrc-parse, netrc-machine-user-or-password): Declare.
(nnimap-open-connection): Require netrc.

* gnus/nntp.el (declare-function): Add compatibility stub.
(netrc-parse, netrc-machine, netrc-get): Declare.
(nntp-send-authinfo): Require netrc.

* gnus/rfc2047.el: Don't require qp.
(quoted-printable-encode-region, quoted-printable-decode-string):
Autoload.

* gnus/sieve-mode.el: Don't require easymenu.
(easy-menu-add-item): Autoload it.

* gnus/spam-stat.el (time-to-number-of-days): Autoload it.

* password-cache.el (password-cache, password-cache-expiry):
Autoload.
2010-03-18 19:55:37 -07:00
Glenn Morris
ac1af6357a Close bug#5643.
* message.el (message-send-mail-function): Change the default, so that
it inherits from a customized send-mail-function.  (Bug#5643)
2010-02-25 20:45:41 -08:00
Glenn Morris
daf4b83bd5 Doc fixes.
* message.el (message-smtpmail-send-it)
(message-send-mail-with-mailclient): Doc fixes.
2010-02-23 19:12:54 -08:00
Glenn Morris
dc4d62739d Change a custom default to ease the mail->message transition.
* message.el (message-default-mail-headers): Change the default value
to ease the transition from mail-mode to message-mode.  (Bug#5555)
2010-02-15 18:48:08 -08:00
Chong Yidong
f53a65903c * message.el (message-setup-1): Prefer to save message-reply-buffer as a buffer. 2010-01-17 18:49:27 -05:00
Chong Yidong
b1ea379790 * message.el (message-mail): Just pass yank-action on to message-setup.
(message-setup): Handle (FUN . ARGS) form of yank-action.
(message-with-reply-buffer, message-widen-reply)
(message-yank-original): Handle non-buffer values of
message-reply-buffer (Bug#4080).
2010-01-17 18:33:55 -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
Chong Yidong
61f49e0bb6 Fix last change to message-exchange-point-and-mark.
* message.el (message-exchange-point-and-mark): Rework last change to
avoid using optional arg of exchange-point-and-mark, for backward
compatibility.
2010-01-02 14:18:44 -05:00
Chong Yidong
bd0948ca04 * lisp/gnus/message.el (message-exchange-point-and-mark): Call
exchange-point-and-mark with an argument rather than setting
mark-active by hand (Bug#5175).
2010-01-01 15:42:22 -05:00
Reiner Steib
4a9b5bf5e0 (message-info): Explain why we use `Info-goto-node'. 2009-12-12 11:53:27 +00:00
Stefan Monnier
96bdcdc44e (message-completion-in-region): New compatibility function.
(message-expand-group): Use it.
2009-12-02 03:11:38 +00:00
Chong Yidong
4e14547fd4 * message.el: Revert last change. 2009-12-01 19:01:41 +00:00
Chong Yidong
28f57f7e00 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
* gnus/message.el (message-setup-hook, message-send-hook): Make into aliases
for mail-*-hook.
2009-12-01 16:20:59 +00:00
Katsumi Yamaoka
937e60c88b (message-from-style, message-interactive, message-signature): Always set
default values from the corresponding mail-* variables.
(message-cite-prefix-regexp, message-sendmail-envelope-from)
(message-yank-prefix, message-indentation-spaces, message-signature-file)
(message-default-headers): Use boundp rather than (featurep 'xemacs) to check
 if the corresponding mail-* variables exist.
2009-11-24 09:19:09 +00:00
Chong Yidong
b4d472c95e * message.el (message-send-mail-with-sendmail): Revert last change. 2009-11-20 02:26:07 +00:00
Chong Yidong
4332f3ecea * message.el (message-from-style, message-interactive)
(message-cite-prefix-regexp, message-sendmail-envelope-from)
(message-yank-prefix, message-indentation-spaces, message-signature)
(message-signature-file, message-default-headers): For GNU Emacs, set
default values from the corresponding mail-* variables.
(message-send-mail-with-sendmail): Use envelope-from only if
mail-specify-envelope-from is non-nil.
2009-11-19 16:46:50 +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
Glenn Morris
63348d2452 Fix typos in condition-case handlers. 2009-09-18 07:39:56 +00:00
Glenn Morris
3d493bef43 Mark face aliases with "-face" in the name as obsolete. 2009-09-02 03:04:15 +00:00
Glenn Morris
95ccabb5ad Comment. 2009-02-17 02:32:34 +00:00
Glenn Morris
c07dfdd98c (rmail-msg-restore-non-pruned-header): Remove unneeded autoload of
function that no longer exists.
(rmail-toggle-header): Declare.
(message-forward-rmail-make-body): Handle mbox Rmail.
2009-02-07 22:41:04 +00:00
Miles Bader
e3e955fed3 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1513
2009-01-09 03:01:50 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Katsumi Yamaoka
1bd6cd6c64 (message-idna-to-ascii-rhs-1): Fix previous commit.
(message-idna-to-ascii-rhs): Add a comment.  Suggested by RMS.
2008-12-03 23:49:00 +00:00
Katsumi Yamaoka
e01bbc1266 (message-idna-to-ascii-rhs-1): Protect against local users' addresses that
don't have domain parts.
2008-12-03 03:00:41 +00:00
Katsumi Yamaoka
f66de92f0b (message-idna-to-ascii-rhs): Use message-narrow-to-headers-or-head rather than
message-narrow-to-head since there will be the message header separator.
2008-12-03 02:32:18 +00:00
Stefan Monnier
8a98686533 (message-send-mail): Just set the buffer to unibyte
rather than use mm-with-unibyte-current-buffer which does a lot more.
(message-send-mail-partially): Don't bother with
mm-with-unibyte-current-buffer since it's already been made unibyte by
message-send-mail.
2008-11-21 22:26:54 +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
Miles Bader
eef5ade7a3 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1431
2008-09-25 15:47:30 +00:00
Miles Bader
e52cac8805 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1429
2008-09-25 15:38:29 +00:00
Miles Bader
16dd13dfcf Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1400
2008-09-04 02:32:12 +00:00
Dan Nicolaescu
7c2fb837ec * bitmaps/README:
* xfns.c:
* termcap.c:
* term.c:
* syswait.h:
* systty.h:
* systime.h:
* syssignal.h:
* sysdep.c:
* process.h:
* process.c:
* print.c:
* ndir.h:
* lread.c:
* keyboard.c:
* getpagesize.h:
* floatfns.c:
* fileio.c:
* emacs.c:
* doc.c:
* dispnew.c:
* dired.c:
* data.c:
* callproc.c:
* buffer.c:
* README:
* Makefile.in:
* s/template.h:
* s/msdos.h:
* m/vax.h: Remove VMS support.
* s/vms.h:
* vlimit.h:
* uaf.h:
* temacs.opt:
* param.h:
* ioctl.h: Remove file.

* descrip.mms:
* compile.com: Remove file.
* Create.c: Remove VMS support.

* message.el (Module):

* gnus-start.el (Module):

* gnus-registry.el (Module):

* textmodes/texinfmt.el:
* nxml/nxml-enc.el:
* mail/feedmail.el:
* international/mule.el:
* international/latexenc.el:
* emulation/viper-util.el:
* emulation/viper-init.el:
* emulation/viper-ex.el:
* emacs-lisp/bytecomp.el:
* version.el:
* subr.el:
* startup.el:
* sort.el:
* shadowfile.el:
* recentf.el:
* printing.el:
* paths.el:
* minibuffer.el:
* ls-lisp.el:
* loadup.el:
* hippie-exp.el:
* finder.el:
* files.el:
* ediff-util.el:
* ediff-ptch.el:
* ediff-init.el:
* ediff-diff.el:
* dired.el:
* dired-aux.el:
* cus-edit.el:
* bindings.el:
* arc-mode.el:
* add-log.el: Remove VMS support.
* obsolete/vmsproc.el:
* obsolete/vms-pmail.el:
* obsolete/vms-patch.el: Remove file.

* etags.c:
* emacsclient.c: Remove VMS support.

* termcap.src: Remove file.
* README:
* PROBLEMS:
* MACHINES: Remove VMS info.

* ediff.texi: Remove VMS support.

* os.texi:
* intro.texi:
* files.texi: Remove VMS support.

* emacs.texi: Remove VMS support.

* make-dist:
* README: Remove VMS support.
* vms: Remove directory.
2008-07-31 05:33:56 +00:00
Stefan Monnier
ad54636097 (message-send-mail-with-sendmail): Display the error message. 2008-07-10 16:06:22 +00:00
Glenn Morris
fffa137cb7 American English spelling fix. 2008-06-27 07:34:53 +00:00
Glenn Morris
8abf1b2215 Remove unnecessary eval-and-compile of autoloads. 2008-06-11 03:13:28 +00:00
Miles Bader
b1d6cda301 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1212
2008-06-05 06:05:12 +00:00
Miles Bader
656b4fa1b9 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1192
2008-06-01 02:34:55 +00:00
Miles Bader
03c673c9f4 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1168
2008-05-18 22:43:12 +00:00
Miles Bader
5833346788 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1165
2008-05-16 02:05:17 +00:00
Glenn Morris
5e809f552a Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:56:49 +00:00