Commit graph

2732 commits

Author SHA1 Message Date
Lars Ingebrigtsen
cc26d239af Prompt in a more logical fashion when sending bug reports
* gnus/message.el (message-default-send-mail-function): Made into own
function for reuse by emacsbug.el.

* mail/emacsbug.el (report-emacs-bug-hook): Query the user first
about SMTP before checking the From header.

* mail/sendmail.el (sendmail-query-user-about-smtp): Refacored out
into own function for reuse by emacsbug.el.
2012-02-10 19:16:19 +01:00
Lars Ingebrigtsen
4c7e65bf4f Get the MAIL FROM from the From: header if no domain is configured
* mail/smtpmail.el (smtpmail-user-mail-address): New function.
(smtpmail-via-smtp): Use it, or fall back on the From address.
(smtpmail-send-it): Ditto.
2012-02-09 23:42:12 +01:00
Glenn Morris
3f88cd72e9 Doc fixes for emacsbug.el
* lisp/mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
(report-emacs-bug-can-use-xdg-email):
(report-emacs-bug-insert-to-mailer): Doc fixes.
(report-emacs-bug): Message fix.
* etc/NEWS: Related edit.

* lisp/net/browse-url.el: Comment.
2012-02-08 22:29:41 -05:00
Glenn Morris
a76863507d * doc/emacs/rmail.texi (Rmail Display): Mention rmail-epa-decrypt.
* etc/NEWS: Related markup.
* lisp/mail/rmail.el: Comment.
2012-02-08 00:20:36 -08:00
Glenn Morris
e1ac4066d1 Minor-mode doc fixes for ARG behavior
* lisp/completion.el (dynamic-completion-mode):
* lisp/dirtrack.el (dirtrack-debug-mode):
* lisp/electric.el (electric-layout-mode):
* lisp/epa-mail.el (epa-mail-mode, epa-global-mail-mode):
* lisp/face-remap.el (text-scale-mode, buffer-face-mode):
* lisp/iimage.el (iimage-mode):
* lisp/image-mode.el (image-transform-mode):
* lisp/minibuffer.el (completion-in-region-mode):
* lisp/scroll-lock.el (scroll-lock-mode):
* lisp/simple.el (next-error-follow-minor-mode):
* lisp/tar-mode.el (tar-subfile-mode):
* lisp/tooltip.el (tooltip-mode):
* lisp/vcursor.el (vcursor-use-vcursor-map):
* lisp/wid-browse.el (widget-minor-mode):
* lisp/emulation/tpu-edt.el (tpu-edt-mode):
* lisp/emulation/tpu-extras.el (tpu-cursor-free-mode):
* lisp/international/iso-ascii.el (iso-ascii-mode):
* lisp/language/thai-util.el (thai-word-mode):
* lisp/mail/supercite.el (sc-minor-mode):
* lisp/net/goto-addr.el (goto-address-mode):
* lisp/net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
* lisp/progmodes/cwarn.el (cwarn-mode):
* lisp/progmodes/flymake.el (flymake-mode):
* lisp/progmodes/glasses.el (glasses-mode):
* lisp/progmodes/hideshow.el (hs-minor-mode):
* lisp/progmodes/pascal.el (pascal-outline-mode):
* lisp/textmodes/enriched.el (enriched-mode):
* lisp/vc/smerge-mode.el (smerge-mode):
Doc fixes (minor mode argument).

* etc/NEWS: Related markup.
2012-02-07 21:12:24 -05:00
Eli Zaretskii
4d4ec1f815 Fix bug #9924 with long display of system-configuration-options in emacsbug.el.
lisp/mail/emacsbug.el (report-emacs-bug): Fill the potentially long
 line that displays system-configuration-options.
2012-01-28 12:49:17 +02:00
Chong Yidong
0f2bad2708 * mail/rmail.el (rmail-mail-return): Only switch to live buffers. 2012-01-28 10:01:05 +08:00
Chong Yidong
d7a9e63bd6 * lisp/mail/rmail.el (rmail-start-mail): Add send-action again.
(rmail-mail-return): Switch to NEWBUF only if it is non-nil.

Fixes: debbugs:10625
2012-01-28 09:58:27 +08:00
Glenn Morris
04e74403a1 Comments. 2012-01-11 23:34:46 -08:00
Glenn Morris
403993a8a6 Tweak comment from previous change. 2012-01-11 21:13:05 -05:00
Glenn Morris
328f984d70 mail-mode paragraph-separate fix for bug#10276
* lisp/mail/sendmail.el (mail-mode):
Update paragraph-separate for changes in adaptive-fill-regexp.
2012-01-11 21:05:15 -05:00
Glenn Morris
04b2f8bbad Fix name of FSF in copyright headers. 2012-01-10 23:51:05 -08:00
Paul Eggert
5a5fa83428 Duplicate-word and spelling fixes. 2012-01-10 22:53:12 -08:00
Glenn Morris
b09a806e0f * lisp/mail/unrmail.el (unrmail): Tweak previous change.
(for trailing whitespace in otherwise empty BABYL files).
2012-01-09 21:22:13 -05:00
Lars Magne Ingebrigtsen
f186bb958a Remove some unused password-related autoloads
* mail/smtpmail.el (password-cache-add): Removed unused declaration.
(password-read): Don't autoload unused function.
2012-01-07 06:34:30 +01:00
Glenn Morris
665ae8654b Trivial unrmail fix for empty input files.
* lisp/mail/unrmail.el (unrmail): Give an explicit error if the input
file has no messages.

Fixes: debbugs:10377
2012-01-06 00:34:47 -08:00
Glenn Morris
cf3304e1c5 Auto-commit of loaddefs files. 2012-01-05 06:49:08 -05:00
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Eli Zaretskii
a7183d7c46 Rmail: support citations with non-ASCII letters in names
lisp/mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
 letters in cite-prefix.
2012-01-04 20:51:47 +02:00
Lars Magne Ingebrigtsen
a1eacd1e03 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value. 2012-01-03 20:41:14 +01:00
Eli Zaretskii
8d43f3cd8a Decode message headers of non-MIME messages in Rmail.
lisp/mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2011-12-31 12:06:21 +02:00
Paul Eggert
22bcf20469 Spelling fixes. 2011-12-30 17:27:15 -08:00
Glenn Morris
59ff373bd6 Auto-commit of loaddefs files. 2011-12-19 06:21:17 -05:00
Paul Eggert
99d990817c Spelling fixes. 2011-12-18 22:21:24 -08:00
Paul Eggert
333f9019e2 Spelling fixes. 2011-12-11 21:32:49 -08:00
Eli Zaretskii
2ce2526364 Commit auto-generated files. 2011-12-10 15:48:35 +02:00
Eli Zaretskii
92a8eba505 Fix incorrect display of RFC2047 encoded names in Rmail summary buffers
lisp/mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
 `from' or `to' address before taking its substring.  Fixes
 incorrect display in Rmail summary buffer whereby an RFC2047
 encoded name is chopped in the middle of the encoded string, and
 thus displayed encoded.
2011-12-10 15:46:25 +02:00
Glenn Morris
82727ea451 Auto-commit of loaddefs files. 2011-11-24 06:24:59 -05:00
Glenn Morris
3adbe22462 Give some autoloaded things doc-strings.
* lisp/lpr.el (lpr-windows-system, lpr-lp-system):
* lisp/mail/binhex.el (binhex-begin-line):
* lisp/progmodes/grep.el (grep-history, grep-find-history):
* lisp/textmodes/flyspell.el:
* lisp/vc/pcvs-defs.el (cvs-global-menu):
* lisp/vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
* lisp/vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
* lisp/vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2011-11-24 00:21:03 -08:00
Glenn Morris
c0bc0fd4ff Make rmail-mime toggle headers of non-mime messages.
* lisp/mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
if called on a non-mime message just toggle the headers.

Fixes: debbugs:8006
2011-11-23 19:59:09 -08:00
Glenn Morris
17fe5af5b3 Auto-commit of loaddefs files. 2011-11-23 06:20:43 -05:00
Glenn Morris
9aac4de2aa Doc fixes related to rmail-automatic-folder-directives.
* mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
(rmail-auto-file): Ignore case in the "special" field names,
as mail-fetch-field does for all others.
2011-11-23 00:29:08 -08:00
Mark Lillibridge
d2992a38a4 * lisp/mail/unrmail.el (unrmail): Always add blank line. (tiny change)
Fixes: debbugs:7743
2011-11-22 23:49:53 -08:00
Glenn Morris
8038d2d290 Rmail trivia: give explicit errors for empty folders.
* mail/rmail.el (rmail-forward):
* mail/rmailkwd.el (rmail-set-label):
* mail/rmailout.el (rmail-output, rmail-output-as-seen)
(rmail-output-body-to-file): Give error if no message.

Fixes: debbugs:10082
2011-11-22 23:41:17 -08:00
Glenn Morris
f3fe222a82 * lisp/mail/rmail.el (rmail-current-message): Doc fix. 2011-11-22 23:31:39 -08:00
Glenn Morris
50419064d4 * lisp/mail/rmail.el (rmail-message-filter): Mark as obsolete.
* etc/NEWS: Mention this.

Fixes: debbugs:2624
2011-11-22 23:17:48 -08:00
Paul Eggert
ee7683ebb7 Spelling fixes. 2011-11-22 23:03:56 -08:00
Glenn Morris
b5afc20930 Auto-commit of loaddefs files. 2011-11-22 06:35:26 -05:00
Glenn Morris
394c65f1c1 Move rmailmm test functions to test/ directory.
* lisp/mail/rmailmm.el (test-rmail-mime-handler)
(test-rmail-mime-bulk-handler)
(test-rmail-mime-multipart-handler): Move tests to test/ directory.

* test/rmailmm.el: New file, split from lisp/mail/rmailmm.el.
2011-11-21 21:55:06 -05:00
Juanma Barranquero
fe7a3057a3 Fix typos. 2011-11-20 20:35:27 +01:00
Glenn Morris
09f5d05492 Auto-commit of loaddefs files. 2011-11-20 06:27:56 -05:00
Paul Eggert
40ba43b4b7 Spelling fixes. 2011-11-19 23:30:16 -08:00
Juanma Barranquero
cd1181dbec Fix typos. 2011-11-20 04:48:53 +01:00
Paul Eggert
e1dbe924b5 Spelling fixes. 2011-11-19 18:29:42 -08:00
Glenn Morris
7fb18e9ef9 Small rmail fixes.
* lisp/mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
(rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
Doc fixes.
(rmail-decode-mime-charset): Mark as obsolete.

* lisp/mail/rmailsum.el (rmail-message-regexp-p-1):
* lisp/mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
Before using mime functions, check they are set.

Fixes: debbugs:10077
2011-11-19 18:23:48 -08:00
Eli Zaretskii
49ae5b39fa Fix bug #9520 with MIME display toggling.
lisp/mail/rmailmm.el (rmail-mime-display-header)
 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
 of a raw aref.
 (rmail-mime-entity-segment): To get past the tagline, move forward
 2 more lines, to account for the 2 empty lines that precede and
 follow the line with the buttons.
 (rmail-mime-update-tagline): Move one more line, to get past the
 empty line that follows the buttons in the tagline.
2011-11-19 13:49:54 +02:00
Paul Eggert
5396468298 Spelling fixes. 2011-11-19 01:18:31 -08:00
Paul Eggert
c5e87d104b Spelling fixes. 2011-11-17 09:40:48 -08:00
Paul Eggert
4c36be58ca Spelling fixes. 2011-11-17 01:09:20 -08:00
Glenn Morris
110490118e Auto-commit of loaddefs files. 2011-11-16 06:22:17 -05:00