1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00
Commit Graph

2530 Commits

Author SHA1 Message Date
Paul Eggert
9a70f03d70 Merge from trunk. 2011-08-02 22:05:38 -07:00
Lars Magne Ingebrigtsen
4e190b801d (smtpmail-via-smtp): Query the user for password if we get errors 550 to 554. 2011-07-17 02:45:56 +02:00
Lars Magne Ingebrigtsen
9988520a26 Use `customize-save-variable' unconditionally, now that it works under emacs -Q 2011-07-11 22:15:04 +02:00
Andreas Schwab
f042cfd86a * lisp/mail/sendmail.el (send-mail-function): No longer delay custom
initialization.
* lisp/custom.el (custom-initialize-delay): Doc fix.
2011-07-08 19:02:01 +02:00
Lars Magne Ingebrigtsen
d760b73104 Allow sending mail in "emacs -Q" by not calling customize-save-variable
* mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.

* mail/sendmail.el (sendmail-query-once): If we aren't allowed to
save customizations (with "emacs -Q"), just set the variable
instead of erroring out.
2011-07-08 09:42:21 +02:00
Lars Magne Ingebrigtsen
56ec5115e6 Update doc string of `smtpmail-stream-type'.
* mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
be used.
2011-07-07 16:54:12 +02:00
Richard M. Stallman
c2f9aec8b4 Fix bugs finding grep hits in Rmail buffers. 2011-07-07 06:35:43 -04:00
Kenichi Handa
023e7b416b chartab.c (sub_char_table_set_range): Fix previous change. 2011-07-07 13:16:52 +09:00
Richard M. Stallman
354cf0ba0b Rmail mime: Use markers for positions in entities. 2011-07-06 18:43:46 -04:00
Lars Magne Ingebrigtsen
4906cd3d17 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a defcustom again for backwards compatibility. 2011-07-06 23:34:13 +02:00
Richard M. Stallman
a9a936b988 Fix rmail mime search bug when entity is a string. 2011-07-06 12:48:37 -04:00
Richard M. Stallman
aa8a705c16 rmailmm.el: record truncated mime entities. 2011-07-06 12:44:33 -04:00
Lars Magne Ingebrigtsen
9e87df06a3 (sendmail-query-once): Add an autoload cookie. 2011-07-06 17:45:00 +02:00
Lars Magne Ingebrigtsen
f0691d22b1 * mail/sendmail.el (send-mail-function): Change the default to `sendmail-query-once'. 2011-07-06 17:39:32 +02:00
Juanma Barranquero
9173deecd8 Fix typos. 2011-07-05 11:51:56 +02:00
Lars Magne Ingebrigtsen
6567659206 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
`smtpmail-via-smtp' now returns the error instead of nil.
2011-07-03 22:09:38 +02:00
Lars Magne Ingebrigtsen
2f31f37ab7 Add the new `sendmail-query-once' function to sendmail.el. 2011-06-29 22:21:29 +02:00
Chong Yidong
1176868d0a Tweaks to the report-emacs-bug preamble.
* mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
debbugs.gnu.org.  Mention acknowledgment email.
2011-06-28 14:10:11 -04:00
Lars Magne Ingebrigtsen
20a7a65f9a (smtpmail-send-it): Leave off changing the buffer multibyteness, since it shouldn't matter. 2011-06-28 17:30:45 +02:00
Glenn Morris
4a834b86ce Auto-commit of loaddefs files. 2011-06-27 06:23:19 -04:00
Richard M. Stallman
d31fd9acf0 rmailmm: Handle truncated messages. 2011-06-27 04:01:30 -04:00
Lars Magne Ingebrigtsen
40098786b5 Bind coding-system-for-* to binary to possibly avoid line encoding
issues on Windows (among other things).
2011-06-27 02:02:15 +02:00
Lars Magne Ingebrigtsen
468d09d44e If the SMTP server supports STARTTLS, but Emacs has no built-in or
external STARTTLS support, then report this in a sensible fashion to
the user.
2011-06-26 23:05:06 +02:00
Stefan Monnier
c206f5b0f7 * lisp/mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p. 2011-06-25 09:38:32 -04:00
Richard M. Stallman
14b4e83d62 Going to grep hit in Rmail buffer finds the message. 2011-06-23 13:08:15 -04:00
Richard M. Stallman
8050daa1d0 Work with changes in mail-bury. 2011-06-23 13:03:59 -04:00
Richard M. Stallman
f444564c73 Marking message as "seen" should not mark buffer as changed. 2011-06-23 12:38:40 -04:00
Richard M. Stallman
56c2cc9a95 Don't reuse previous Message-id when resending. 2011-06-23 12:33:05 -04:00
Martin Rudalics
02cfc6d6fc Fix display-buffer related bugs reported by Thierry Volpiatto.
* window.el (get-lru-window, get-mru-window)
(get-largest-window): Never return a minibuffer window.
(display-buffer-pop-up-window): Fix a bug that could lead to
reusing the minibuffer window.
(display-buffer): Pass original specifier argument to
display-buffer-function instead of the normalized one.
Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2011-06-23 10:58:45 +02:00
Richard M. Stallman
50718fc219 Make mail exit more nicely when Rmail is in use. 2011-06-22 19:39:29 -04:00
Richard M. Stallman
7a70468fb1 Fix bug: Rmail f copied the entire Rmail file into *mail*. 2011-06-22 19:35:21 -04:00
Lars Magne Ingebrigtsen
97bb109368 (smtpmail-try-auth-methods): If the user has stored a user name, then
query for the password first, instead of waiting for SMTP to give an
error message and the trying again.
2011-06-22 21:24:51 +02: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
Lars Magne Ingebrigtsen
396f7c9d28 (smtpmail-via-smtp): Make sure we don't send QUIT twice. 2011-06-22 11:13:50 +02:00
Lars Magne Ingebrigtsen
6af7a7844e Set :use-starttls-if-possible so that we always use STARTTLS if the server supports it.
SMTP servers that support STARTTLS commonly require it.
2011-06-22 00:55:52 +02:00
Lars Magne Ingebrigtsen
7d36ad4669 (smtpmail-via-smtp): Check for servers saying they want AUTH after MAIL FROM, too. 2011-06-22 00:33:44 +02:00
Lars Magne Ingebrigtsen
95f41d9ad1 Rewritten smtpmail.el to use `open-network-stream' to do STARTTLS
upgrades opportunistically, and to only use auth-source for all
credentials.  Mostly backwards compatible, but
`smtpmail-auth-credentials' and `smtpmail-starttls-credentials' are
removed, and users who relied on those will have to put the
credentials in ~/.authinfo instead.
2011-06-21 23:10:52 +02:00
Stefan Monnier
bcd70d976f Use completion-at-point rather than completion-in-region.
* lisp/wid-edit.el: Use lexical scoping and move towards completion-at-point.
(widget-complete): Use new :completion-function property.
(widget-completions-at-point): New function.
(default): Use :completion-function instead of :complete.
(widget-default-completions): Rename from widget-default-complete, rewrite.
(widget-string-complete, widget-file-complete, widget-color-complete):
Remove functions.
(file, symbol, function, variable, coding-system, color):
* lisp/international/mule-cmds.el (default-input-method, charset)
(language-info-custom-alist):
* lisp/cus-edit.el (face): Use new property :completions.

* lisp/progmodes/pascal.el (pascal-completions-at-point): New function.
(pascal-mode): Use it.
(pascal-mode-map): Use completion-at-point.
(pascal-toggle-completions): Make obsolete.
(pascal-complete-word, pascal-show-completions):
* lisp/progmodes/octave-mod.el (octave-complete-symbol):
Redefine as obsolete alias.
* lisp/progmodes/octave-inf.el (inferior-octave-completion-at-point):
Signal absence of completion info for old Octave,
(inferior-octave-complete): Redefine as obsolete alias.
* lisp/progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
(meta-completions-at-point): Rename from meta-complete-symbol and
adapt it for use on completion-at-point-functions.
(meta-common-mode): Use it.
(meta-looking-at-backward, meta-match-buffer): Remove.
(meta-complete-symbol): Redefine as obsolete alias.
(meta-common-mode-map): Use completion-at-point.
* lisp/progmodes/make-mode.el: Use lexical-binding and completion-at-point.
(makefile-mode-map): Use completion-at-point.
(makefile-completions-at-point): Rename from makefile-complete and
adapt it for use on completion-at-point-functions.
(makefile-mode): Use it.
(makefile-complete): Redefine as obsolete alias.
2011-06-20 12:02:31 -04:00
Alexander Klimov
254c37a51d Small fixes for dired-listing-switches usage.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg01000.html

* lisp/mail/sendmail.el (mail-recover-1, mail-recover):
* lisp/files.el (recover-file, recover-session):
Handle dired-listing-switches not being just a single short option.
2011-06-08 22:33:26 -07:00
Stefan Monnier
2403c841a8 Silence various byte-compiler warnings.
* lisp/emacs-lisp/byte-run.el (make-obsolete-variable): New argument
`access-type' and new obsolescence format.
* lisp/emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
new format.
(byte-compile-check-variable): New `access-type' argument.
Only warn if the access-type is obsolete.
(byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
(byte-compile-variable-set): Adjust callers.
* lisp/help-fns.el (describe-variable): Adjust to new obsolescence format.
* lisp/mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
setting it as obsolete.
* lisp/simple.el (minibuffer-completing-symbol):
* lisp/font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
access as obsolete.
* lisp/minibuffer.el (minibuffer-completing-file-name): Don't make it
obsolete yet.
* lisp/international/quail.el (quail-mouse-choose-completion): Remove unused
code referring to obsolete var.
(quail-choose-completion-string): Remove.
* lisp/server.el (server-clients-with, server-kill-buffer-query-function)
(server-kill-emacs-query-function): Silence "unused `proc'" warnings.
* lisp/proced.el (proced-send-signal):
* lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
Replace completion-annotate-function with completion-extra-properties.
2011-06-01 16:32:04 -03:00
Glenn Morris
67a0931d39 Use derived-mode-p in previous change. 2011-05-31 20:50:20 -07:00
Glenn Morris
d1a5d56a0c * lisp/mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From. 2011-05-31 20:35:49 -07:00
Stefan Monnier
1257e75502 * lisp/mail/smtpmail.el (smtpmail-send-data): Add progress reporter. 2011-05-30 14:23:47 -03:00
Glenn Morris
be520aca79 Merge from emacs-23; up to 2010-06-12T10:58:54Z!romain@orebokech.com. 2011-05-27 00:18:15 -07:00
Kenichi Handa
c92a1e54c4 mail/sendmail.el (mail-encode-header): Avoid double encoding by let-binding rfc2047-encode-encoded-words to nil. 2011-05-27 13:54:39 +09:00
Glenn Morris
5ec8a86217 * lisp/mail/emacsbug.el: Don't require url-util. 2011-05-26 21:58:50 -04:00
Glenn Morris
fc6c27276c Restrict regexp match in previous emacsbug.el change. 2011-05-26 09:14:53 -07:00
Glenn Morris
e4245494ba Adjust prompt in previous emacsbug.el change. 2011-05-25 19:57:08 -07:00
Glenn Morris
7d15102b76 Try to check From address in bug reports (bug#8038)
* lisp/mail/emacsbug.el (report-emacs-bug): Mention checking From address.
(report-emacs-bug-hook): Try to validate the From address.
2011-05-25 20:52:33 -04:00
Glenn Morris
db0406bb64 Merge from emacs-23; up to 2010-06-11T21:26:13Z!lekktu@gmail.com. 2011-05-23 20:54:18 -07:00