Lars Ingebrigtsen
835bdcba53
smtpmail initial prompting fixes
...
(smtpmail-query-smtp-server): Prompt the user for a port number if
we can't connect to any of the standard ports.
2012-02-14 16:43:07 +01:00
Lars Ingebrigtsen
d29b2b4cb7
Respect smtpmail-smtp-service when doing a trial connection
...
* mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
way the ports list is computed.
2012-02-14 16:31:49 +01:00
Glenn Morris
2bed3f0483
Add missing :version tags to new defgroups and defcustoms
...
* window.el (window-sides-slots):
* tool-bar.el (tool-bar-position):
* term/xterm.el (xterm-extra-capabilities):
* ses.el (ses-self-reference-early-detection):
* progmodes/verilog-mode.el (verilog-auto-declare-nettype)
(verilog-auto-wire-type)
(verilog-auto-delete-trailing-whitespace)
(verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
(verilog-auto-tieoff-declaration):
* progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
(sql-oracle-statement-starters, sql-oracle-scan-on):
* progmodes/prolog.el (prolog-align-comments-flag)
(prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
(prolog-left-indent-regexp, prolog-paren-indent-p)
(prolog-paren-indent, prolog-parse-mode, prolog-keywords)
(prolog-types, prolog-mode-specificators)
(prolog-determinism-specificators, prolog-directives)
(prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
(prolog-electric-dot-flag)
(prolog-electric-dot-full-predicate-template)
(prolog-electric-underscore-flag, prolog-electric-tab-flag)
(prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
(prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
(prolog-program-switches, prolog-prompt-regexp)
(prolog-debug-on-string, prolog-debug-off-string)
(prolog-trace-on-string, prolog-trace-off-string)
(prolog-zip-on-string, prolog-zip-off-string)
(prolog-use-standard-consult-compile-method-flag)
(prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
(prolog-imenu-max-lines, prolog-info-predicate-index)
(prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
(prolog-char-quote-workaround):
* progmodes/cc-vars.el (c-defun-tactic):
* net/tramp.el (tramp-encoding-command-interactive)
(tramp-local-end-of-line):
* net/soap-client.el (soap-client):
* net/netrc.el (netrc-file):
* net/gnutls.el (gnutls):
* minibuffer.el (completion-category-overrides)
(completion-cycle-threshold)
(completion-pcm-complete-word-inserts-delimiters):
* man.el (Man-name-local-regexp):
* mail/feedmail.el (feedmail-display-full-frame):
* international/characters.el (glyphless-char-display-control):
* eshell/em-ls.el (eshell-ls-date-format):
* emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
(lisp-lambda-list-keyword-parameter-indentation)
(lisp-lambda-list-keyword-parameter-alignment):
* doc-view.el (doc-view-image-width, doc-view-unoconv-program):
* dired-x.el (dired-omit-verbose):
* cus-theme.el (custom-theme-allow-multiple-selections):
* calc/calc.el (calc-highlight-selections-with-faces)
(calc-lu-field-reference, calc-lu-power-reference)
(calc-note-threshold):
* battery.el (battery-mode-line-limit):
* arc-mode.el (archive-7z-extract, archive-7z-expunge)
(archive-7z-update):
* allout.el (allout-prefixed-keybindings)
(allout-unprefixed-keybindings)
(allout-inhibit-auto-fill-on-headline)
(allout-flattened-numbering-abbreviation):
* allout-widgets.el (allout-widgets-auto-activation)
(allout-widgets-icons-dark-subdir)
(allout-widgets-icons-light-subdir, allout-widgets-icon-types)
(allout-widgets-theme-dark-background)
(allout-widgets-theme-light-background)
(allout-widgets-item-image-properties-emacs)
(allout-widgets-item-image-properties-xemacs)
(allout-widgets-run-unit-tests-on-load)
(allout-widgets-time-decoration-activity)
(allout-widgets-hook-error-post-time)
(allout-widgets-track-decoration):
* gnus/sieve-manage.el (sieve-manage-default-stream):
* gnus/shr.el (shr):
* gnus/nnir.el (nnir-ignored-newsgroups, nnir-summary-line-format)
(nnir-retrieve-headers-override-function)
(nnir-imap-default-search-key, nnir-notmuch-program)
(nnir-notmuch-additional-switches, nnir-notmuch-remove-prefix)
(nnir-method-default-engines):
* gnus/message.el (message-cite-reply-position):
* gnus/gssapi.el (gssapi-program):
* gnus/gravatar.el (gravatar):
* gnus/gnus-sum.el (gnus-refer-thread-use-nnir):
* gnus/gnus-registry.el (gnus-registry-unfollowed-addresses)
(gnus-registry-max-pruned-entries):
* gnus/gnus-picon.el (gnus-picon-inhibit-top-level-domains):
* gnus/gnus-int.el (gnus-after-set-mark-hook)
(gnus-before-update-mark-hook):
* gnus/gnus-async.el (gnus-async-post-fetch-function):
* gnus/auth-source.el (auth-source-cache-expiry):
Add missing :version tags to new defcustoms and defgroups.
2012-02-11 14:13:29 -08:00
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
Chong Yidong
ce7ddba001
* autoconf.el (autoconf-mode): Fix comment-start-skip regexp.
...
Fixes: debbugs:10033
2011-11-16 11:17:29 +08:00
Glenn Morris
6ad1cdded9
Try to stop rmailedit destroying mime messages (bug#9840)
...
* lisp/mail/rmailedit.el: Require rmailmm when compiling.
(rmail-old-mime-state): New declaration.
(rmail-edit-current-message): If editing a mime message,
edit the "raw" message from the mbox buffer.
(rmail-cease-edit): Handle mime messages.
2011-11-15 21:06:06 -05:00
Glenn Morris
d20faa20cf
Add optional arguments to rmailmm to force state, not just toggle.
...
* lisp/mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
which wasn't being used. Add optional arg to force given state.
(rmail-mime): Add optional arg to force given state.
2011-11-15 18:36:54 -05:00
Juanma Barranquero
c701515351
Fix typos.
2011-11-15 18:37:37 +01:00
Glenn Morris
dcecfb4cb4
Auto-commit of loaddefs files.
2011-11-15 06:23:14 -05:00
Glenn Morris
45261b503c
Small rmail and rmailmm changes, many doc fixes.
...
* lisp/mail/rmail.el (rmail-file-coding-system): It's only ever used
in a boolean sense, so just make it a boolean, and fix the doc.
(rmail-show-mime-function, rmail-mime-feature)
(rmail-require-mime-maybe): Doc fixes.
(rmail-show-message-1): Check rmail-show-mime-function is non-nil.
* lisp/mail/rmailmm.el (rmail-show-mime): Doc fix.
2011-11-15 00:23:03 -08:00
Paul Eggert
da6062e6ea
Spelling fixes.
2011-11-14 23:55:13 -08:00
Glenn Morris
672b871d98
rmailmm doc fixes.
...
* lisp/mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
(rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
(rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
(rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
(rmail-mime, rmail-show-mime): Doc fixes.
2011-11-14 23:45:45 -08:00
Glenn Morris
447f30f64b
rmailout fix for bug#9978.
...
* lisp/mail/rmailout.el (rmail-output-to-rmail-buffer):
Handle empty buffers.
2011-11-14 19:34:01 -05:00
Paul Eggert
91af3942e9
Spelling fixes.
2011-11-14 15:59:56 -08:00
Juanma Barranquero
0b381c7eb8
Fix typos.
2011-11-14 22:00:24 +01:00
Paul Eggert
8350f087ef
Spelling fixes.
2011-11-14 12:23:26 -08:00
Glenn Morris
a9a75fac5e
Auto-commit of loaddefs files.
2011-11-14 12:45:14 -05:00
Glenn Morris
40500957d9
rmail-summary fix.
...
* lisp/mail/rmailsum.el (rmail-summary): Remove movement to beginning
of message - not necessary, and causes problems.
I believe the call to rmail-summary-beginning-of-message was only
thought to be necessary due to a couple of bugs in rmail-new-summary
that are hopefully fixed now (`mesg' not being set,
rmail-summary-buffer's buffer locality not being considered).
Fixes: debbugs:9831
2011-11-14 01:22:45 -08:00
Glenn Morris
071c2340fd
* mail/rmailsum.el (rmail-new-summary): Preserve message number.
...
Nothing was setting the local variable `mesg'.
Eg when looking at message 10, pressing h to get a summary would
send you to message 1.
2011-11-14 01:09:03 -08:00
Paul Eggert
09e80d9fb9
Spelling fixes.
2011-11-13 22:27:12 -08:00
Glenn Morris
d3cfca6027
* lisp/mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2011-11-13 18:01:00 -08:00
Glenn Morris
71e027ac2d
Rmail summary fixes for empty summaries.
...
* lisp/mail/rmailsum.el (rmail-summary, rmail-new-summary)
(rmail-new-summary-1): Allow empty summaries.
(rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
Fixes: debbugs:9964
2011-11-13 17:43:50 -08:00
Mark Lillibridge
3c6702ef8a
Fix rmail-mbox handling of terminating newlines.
...
* lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
Ensure that mbox format messages end in two newlines.
Fixes: debbugs:9974
2011-11-07 10:52:29 +08:00
Eli Zaretskii
53479029f7
Fix rmail-next/prev-same-subject.
...
lisp/mail/rmail.el (rmail-simplified-subject): Decode subject with
rfc2047-decode-string.
(rmail-mime-toggle-hidden): Declare to avoid byte-compilation
warnings.
2011-11-05 00:07:12 +02:00
Mark Lillibridge
b0c4cdcf10
* lisp/mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum.
...
Fixes: debbugs:9802
2011-10-27 22:47:43 -04:00
Chong Yidong
ac6c8639bd
Fix more minor mode docstrings.
...
* lisp/emulation/cua-base.el (cua-mode):
* lisp/mail/footnote.el (footnote-mode):
* lisp/mail/mailabbrev.el (mail-abbrevs-mode):
* lisp/net/xesam.el (xesam-minor-mode):
* lisp/progmodes/bug-reference.el (bug-reference-mode):
* lisp/progmodes/cap-words.el (capitalized-words-mode):
* lisp/progmodes/compile.el (compilation-minor-mode)
(compilation-shell-minor-mode):
* lisp/progmodes/gud.el (gud-tooltip-mode):
* lisp/progmodes/hideif.el (hide-ifdef-mode):
* lisp/progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
* lisp/progmodes/subword.el (subword-mode):
* lisp/progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
* lisp/progmodes/which-func.el (which-function-mode):
* lisp/term/tvi970.el (tvi970-set-keypad-mode):
* lisp/term/vt100.el (vt100-wide-mode):
* lisp/textmodes/flyspell.el (flyspell-mode):
* lisp/textmodes/ispell.el (ispell-minor-mode):
* lisp/textmodes/nroff-mode.el (nroff-electric-mode):
* lisp/textmodes/paragraphs.el (use-hard-newlines):
* lisp/textmodes/refill.el (refill-mode):
* lisp/textmodes/reftex.el (reftex-mode):
* lisp/textmodes/rst.el (rst-minor-mode):
* lisp/textmodes/sgml-mode.el (html-autoview-mode)
(sgml-electric-tag-pair-mode):
* lisp/textmodes/tex-mode.el (latex-electric-env-pair-mode):
* lisp/vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
* lisp/emulation/crisp.el (crisp-mode):
* lisp/emacs-lisp/eldoc.el (eldoc-mode):
* lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
minor mode behavior.
* lisp/erc/erc-fill.el (erc-fill-mode):
* lisp/erc/erc-track.el (erc-track-minor-mode): Doc fix.
* lisp/erc/erc.el (define-erc-module): Fix autogenerated docstring to
reflect Emacs 24 minor mode changes.
* lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24,
calling a minor mode from Lisp with nil arg enables it, so we have to
make the working a bit ambiguous here).
2011-10-19 20:26:14 -04:00
Chong Yidong
6bbfa6e17d
* lisp/mail/sendmail.el (sendmail-query-once): Tweak prompt message
...
putting the argument choices in front and in bold.
2011-10-15 12:35:19 -04:00
Eli Zaretskii
186f4720cc
Improve wording in sendmail-query-once description of options.
...
lisp/mail/sendmail.el (sendmail-query-once): Improve the wording of
the explanation of the possible choices. Make the options passed
to completing-read shorter.
2011-10-14 15:49:32 +02:00
Stefan Monnier
a120bde923
Make sendmail-query-once offer 3-way choice; avoid repeated queries.
...
* mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
if not needed.
(sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
using completion. Protect against "slow" callers.
Remove the "message hack".
2011-10-11 17:31:22 -04:00
Leo Liu
112a65928f
Add a missing space in smtpmail-send-data
...
http://debbugs.gnu.org/9701
2011-10-09 09:44:43 +08:00
Chong Yidong
ce3cefcca3
Change scroll-up/down bindings to Emacs 24's scroll-*-command.
...
* cus-edit.el (custom-mode-map):
* epa.el (epa-key-list-mode-map):
* man.el (Man-mode-map):
* startup.el (splash-screen-keymap):
* simple.el (special-mode-map): Use scroll-up-command and
scroll-down-command.
* progmodes/idlw-help.el (idlwave-help-mode-map):
* progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
* net/newst-plainview.el (newsticker-mode-map):
* emulation/ws-mode.el (wordstar-mode-map):
* emulation/vi.el (vi-com-map):
* calc/calc-graph.el (calc-graph-show-dumb):
* term/sun.el (terminal-init-sun):
* term/ns-win.el (global-map):
* progmodes/grep.el (grep-mode-map):
* progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
* mail/rmail.el (rmail-mode-map):
* progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2011-10-01 16:32:01 -04:00
Lars Magne Ingebrigtsen
85a162088f
* mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection.
...
Fixes: debbugs:9615
2011-09-27 19:45:18 +02:00
Richard M. Stallman
19c3875245
Autoload report-emacs-bug-query-existing-bugs.
2011-09-23 19:47:27 -04:00
Richard M. Stallman
e08b633bd6
Don't allow killing Rmail view buffer by itself.
...
It gets killed only when its Rmail buffer gets killed.
2011-09-23 19:44:32 -04:00
Chong Yidong
72258fe584
Reintroduce pop-to-buffer-same-window; use it for previous users of same-window-*.
...
* window.el (pop-to-buffer-same-window): New (reinstated) fun.
* cmuscheme.el (run-scheme, switch-to-scheme):
* cus-edit.el (customize-group, custom-buffer-create)
(customize-browse):
* info.el (info):
* shell.el (shell):
* mail/sendmail.el (mail):
* progmodes/inf-lisp.el (inferior-lisp): Use it.
Fixes: debbugs:9532
2011-09-22 12:15:52 -04:00
Lars Magne Ingebrigtsen
5d5ac8ec03
(smtpmail-via-smtp): Ignore errors that arise when sending QUIT.
...
Fixes: debbugs:9312
2011-09-18 09:36:20 +02:00
Lars Magne Ingebrigtsen
65a046c491
Update the process marker so that the "broken by peer" status message is inserted in the right place.
2011-09-15 00:57:57 +02:00
Lars Magne Ingebrigtsen
7520339cd1
(smtpmail-send-command): Don't include AUTH passwords in the log buffer
2011-09-14 23:59:50 +02:00
Chong Yidong
37ac18a341
Change modes that used same-window-* vars to use switch-to-buffer.
...
* cmuscheme.el (run-scheme, switch-to-scheme):
* ielm.el (ielm):
* shell.el (shell):
* net/rlogin.el (rlogin):
* net/telnet.el (telnet, rsh):
* progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
* cus-edit.el (customize-group, custom-buffer-create)
(customize-browse, custom-buffer-create-other-window): Use
switch-to-buffer or switch-to-buffer-other-window.
* info.el (info, Info-find-node, Info-revert-find-node, Info-next)
(Info-prev, Info-up, Info-speedbar-goto-node)
(info-display-manual): Use switch-to-buffer.
(Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
* lisp/gnus/message.el (message-pop-to-buffer): Default to switch-to-buffer.
(message-mail-other-window, message-mail-other-frame)
(message-news-other-window, message-news-other-frame): Use
switch-to-buffer-other-frame and switch-to-buffer-other-window instead
of setting buffer display varibles.
* mail/sendmail.el (mail): Use switch-to-buffer.
(mail-recover): Use switch-to-buffer-other-window.
* progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
Use switch-to-buffer.
2011-09-11 14:30:07 -04:00
Chong Yidong
3199b96fc5
Fix various uses of display-buffer and pop-to-buffer
...
to avoid using special-display-* and same-window-* variables.
* lisp/buff-menu.el (Buffer-menu-switch-other-window): Use second arg
of display-buffer.
(Buffer-menu-2-window): Use switch-to-buffer-other-window.
* lisp/replace.el (occur-mode-goto-occurrence)
(occur-mode-display-occurrence) Use second arg of pop-to-buffer
and display-buffer.
* lisp/window.el (display-buffer-alist): Add *Python*.
* lisp/mail/reporter.el (reporter-submit-bug-report): Use second arg of
display-buffer.
* lisp/mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
special-display and same-window variables.
(mail-other-window): Use switch-to-buffer-other-window.
(mail-other-frame): USe switch-to-buffer-other-frame.
* lisp/progmodes/gdb-mi.el (gdb-frame-gdb-buffer): Use
display-buffer-other-frame.
(gdb-display-gdb-buffer): Use pop-to-buffer.
* lisp/progmodes/gud.el (gud-goto-info): Use info-other-window.
* lisp/progmodes/python.el: Don't set same-window-buffer-names.
* lisp/textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2011-09-10 17:15:28 -04:00
Chong Yidong
8319e0bf55
Tweaks to display-buffer default actions; remove same-window-* autoload forms.
...
* lisp/window.el (display-buffer-alist): Add entry for buffers
previously handled same-window-*.
(display-buffer-alist, display-buffer-default-action)
(display-buffer-overriding-action): Mark as risky.
(display-buffer-alist): Document action function changes.
(display-buffer--same-window-action)
(display-buffer--other-frame-action): New variables.
(switch-to-buffer, display-buffer-other-frame): Use them.
(display-buffer): Rename reuse-frame entry to reusable-frames.
(display-buffer-reuse-selected-window): Function deleted.
(display-buffer-reuse-window): Handle reusable-frames alist entry.
If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
(display-buffer-special): New function.
(display-buffer--maybe-pop-up-frame-or-window): Rename from
display-buffer-reuse-or-pop-window. Split off special-display
part into display-buffer-special.
(display-buffer-use-some-window): Don't perform any special
pop-up-frames handling.
(pop-to-buffer): Use window-normalize-buffer-to-switch-to.
* lisp/cmuscheme.el:
* lisp/ielm.el:
* lisp/shell.el:
* lisp/mail/sendmail.el:
* lisp/progmodes/inf-lisp.el: Don't set same-window-buffer-names.
* lisp/cus-edit.el:
* lisp/info.el:
* lisp/net/rlogin.el:
* lisp/net/telnet.el:
* lisp/progmodes/gud.el: Don't set same-window-regexps.
2011-09-10 14:52:37 -04:00
Eli Zaretskii
c3760c17bd
Add to sendmail.el a new command mail-add-attachment.
...
etc/NEWS: Document the new command and the alias for mail-insert-file.
lisp/mail/sendmail.el (mml-to-mime, mml-attach-file)
(mm-default-file-encoding): Remove autoload forms, they are
replaced with autoload cookies in mml.el and mm-encode.el.
(mail-add-attachment): New command.
(mail-mode-map): Add a menu-bar item for mail-add-attachment.
(mail-mode): Mention mail-insert-file and mail-add-attachment in
the doc string.
(mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
lisp/gnus/mm-encode.el (mm-default-file-encoding): Add autoload cookie.
lisp/gnus/mml.el (mml-to-mime, mml-attach-file): Add autoload cookies.
doc/emacs/sending.texi (Mail Misc): Document mail-add-attachment.
2011-09-10 11:26:12 +03:00
Eli Zaretskii
14a29deb45
Fix bug #9392 with rmail-forward.
...
lisp/simple.el (mail-encode-mml): New defvar.
lisp/mail/rmail.el (mail-encode-mml): Add a defvar.
(rmail-enable-mime-composing): Default to t.
(rmail-forward): Use MIME method of forwarding only if both
rmail-enable-mime-composing and rmail-enable-mime are non-nil.
Set mail-encode-mml non-nil if the MIME method was used.
lisp/mail/sendmail.el (mml-to-mime): Add autoload form.
(mail-encode-mml): Add a defvar.
(mail-mode): Make mail-encode-mml buffer-local and initialize it
to nil.
(mail-send): If mail-encode-mml is non-nil, run the outgoing
message through mml-to-mime, and reset mail-encode-mml to nil.
2011-09-09 11:59:51 +03:00
Chong Yidong
2784c43403
Make sendmail-query-once update send-mail-function directly.
...
* mail/sendmail.el (sendmail-query-once-function): Deleted.
(sendmail-query-once): Save directly to send-mail-function.
Update message-send-mail-function too.
* mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2011-09-03 16:24:12 -04:00
Eli Zaretskii
46c3b5e12b
Doc fixes in sendmail.el.
2011-09-03 13:14:32 +03:00
Eli Zaretskii
767d420a92
Add mail-add-attachment command to sendmail.el.
2011-09-03 13:08:14 +03:00
Eli Zaretskii
fd59d131bb
Fix rmail-forward.
2011-09-03 13:00:13 +03:00
Eli Zaretskii
a3cf097fd0
Fix display by Rmail of bidirectional text in MIME email messages.
...
lisp/mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
newline before and after the tag line, so it doesn't interfere
with determining the paragraph direction of bidirectional text.
2011-09-03 11:44:16 +03:00
Richard M. Stallman
d65e4c159b
Properly handle splitting of Rmail buffer and message view buffer.
2011-08-31 16:49:24 -04:00
Glenn Morris
e5f1c99e95
Minor smtpmail.el fixes.
...
* lisp/mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
(smtpmail-via-smtp): Handle nil response from smtp.
2011-08-24 20:41:03 -04:00
Lars Magne Ingebrigtsen
7185da524d
(smtpmail-query-smtp-server): Allow `quit'-ing out in case the probe hangs.
2011-08-21 22:29:11 +02:00
Lars Magne Ingebrigtsen
e7f2c178da
(smtpmail-try-auth-methods): Expand the secret password.
2011-08-21 22:10:29 +02:00
Lars Magne Ingebrigtsen
c65c96228e
Only bind `coding-system-for-*' around the process open call to avoid auth-source side effects.
2011-08-21 21:27:27 +02:00
Lars Magne Ingebrigtsen
f5e3c5984b
Introduce a new variable to allow controlling the SMTP user name
...
* mail/smtpmail.el (smtpmail-smtp-user): New variable.
(smtpmail-try-auth-methods): Use it.
2011-08-21 06:11:59 +02:00
Lars Magne Ingebrigtsen
3e79eb87b7
(auth-source): Require to avoid problems with binding variables.
...
Also clean up some unused autoloads.
Fixes: debbugs:9298
2011-08-18 00:02:49 +02:00
Richard M. Stallman
177549d04c
Add rmail-epa-decrypt command.
2011-08-15 22:29:15 -04:00
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
Stefan Monnier
4f91a8160f
Don't quote lambda expressions with `quote'.
2011-05-23 14:57:17 -03:00
Kenichi Handa
b8d747b9bd
RFC2047-encode header of outgoing mails.
2011-05-23 13:44:29 +09:00
Sean Neakums
7261f6cee1
Fix for sc-nested-citation-p in supercite.el.
...
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=109145
* mail/supercite.el (sc-default-cite-frame): Handle
sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
2011-05-22 14:46:49 -04:00
Glenn Morris
c136e5cdf2
Remove lib-src/fakemail.c.
...
* lib-src/fakemail.c: Remove file.
* lib-src/Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
(fakemail${EXEEXT}): Remove rule.
* lib-src/makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
($(BLD)/fakemail.$(O)): Remove.
* lisp/mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
* lisp/mail/feedmail.el: Update commentary.
* doc/emacs/ack.texi (Acknowledgments): Remove fakemail.c.
* etc/NEWS: Mention this.
* INSTALL: Remove fakemail.
2011-05-17 20:39:45 -07:00
Glenn Morris
2dd12e7ff0
* lisp/mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
2011-05-16 19:40:34 -07:00
Glenn Morris
1aa6430740
* lisp/mail/feedmail.el (bbdb-dwim-net-address, vm-mail): Declare.
2011-05-14 11:47:29 -07:00
Glenn Morris
50b23e5a9e
Clean-up previous feedmail.el merge.
...
* lisp/mail/feedmail.el (feedmail-confirm-outgoing-timeout)
(feedmail-sendmail-f-doesnt-sell-me-out)
(feedmail-queue-slug-suspect-regexp, feedmail-debug)
(feedmail-debug-sit-for, feedmail-queue-express-hook)
(feedmail-queue-runner-message-sender): Set :version.
(bbdb-search, bbdb-records, smtp-via-smtp, smtp-server): Declare.
(feedmail-binmail-gnulinuxish-template):
Rename from feedmail-binmail-linuxish-template.
(feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
Use insert-buffer-substring.
2011-05-14 11:43:43 -07:00
Bill Carpenter
215cda7c79
Update from version on author's website.
...
* lisp/mail/feedmail.el (feedmail-patch-level): Increase.
(feedmail-debug): New custom group.
(feedmail-confirm-outgoing-timeout)
(feedmail-sendmail-f-doesnt-sell-me-out)
(feedmail-queue-slug-suspect-regexp, feedmail-debug)
(feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
(feedmail-sender-line, feedmail-from-line)
(feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
(feedmail-spray-this-address, )
(feedmail-spray-address-fiddle-plex-list)
(feedmail-queue-use-send-time-for-date)
(feedmail-queue-use-send-time-for-message-id)
(feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
(feedmail-buffer-eating-function):
Doc fixes.
(feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
(feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
(feedmail-message-action-scroll-down): New functions.
(feedmail-queue-directory, feedmail-queue-draft-directory):
Use expand-file-name.
(feedmail-prompt-before-queue-standard-alist): Add scroll entries.
Remove C-v help entry.
(feedmail-queue-buffer-file-name): New variable.
(feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
(feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
(feedmail-message-action-send-strong, feedmail-message-action-edit)
(feedmail-message-action-draft, feedmail-message-action-draft-strong)
(feedmail-message-action-queue, feedmail-message-action-queue-strong)
(feedmail-message-action-toggle-spray)
(feedmail-run-the-queue-no-prompts)
(feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
(feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
(feedmail-create-queue-filename, feedmail-rfc822-time-zone):
(feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
(feedmail-envelope-deducer, feedmail-fiddle-from)
(feedmail-fiddle-sender, feedmail-default-date-generator)
(feedmail-fiddle-date, feedmail-fiddle-message-id)
(feedmail-fiddle-spray-address)
(feedmail-fiddle-list-of-spray-fiddle-plexes)
(feedmail-fiddle-list-of-fiddle-plexes)
(feedmail-fill-to-cc-function, feedmail-fill-this-one)
(feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
(feedmail-queue-runner-message-sender, feedmail-binmail-template):
Change default. Doc fix.
(feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
(feedmail-binmail-linuxish-template): New constant.
(feedmail-buffer-to-sendmail): Doc fix. Add debug call.
Respect feedmail-sendmail-f-doesnt-sell-me-out.
(feedmail-send-it): Add debug call.
Use feedmail-queue-buffer-file-name, and
feedmail-send-it-immediately-wrapper.
(feedmail-message-action-send): Add debug call.
Use feedmail-send-it-immediately-wrapper.
(feedmail-queue-express-to-queue): Add debug call.
Run feedmail-queue-express-hook.
(feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
(feedmail-message-action-help-blat):
Rename from feedmail-queue-send-edit-prompt-help-first.
(feedmail-run-the-queue): Add debug call. Set buffer-file-type.
Check line-endings. Handle errors better.
(feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
Doc fix. Add debug call.
(feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
Use feedmail-queue-send-edit-prompt-inner.
(feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
(feedmail-queue-send-edit-prompt-inner): New function, extracted
from feedmail-queue-send-edit-prompt.
(feedmail-queue-send-edit-prompt-help)
(feedmail-queue-send-edit-prompt-help-later): Remove functions.
(feedmail-tidy-up-slug): Add debug call.
Respect feedmail-queue-slug-suspect-regexp.
(feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
(feedmail-dump-message-to-queue): Add debug call.
Expand queue-directory.
(feedmail-dump-message-to-queue): Change message slightly.
Use feedmail-say-chatter.
(feedmail-rfc822-date): Add debug call. Bind system-time-locale.
(feedmail-send-it-immediately-wrapper): New function.
(feedmail-send-it-immediately): Add debug calls. Use let not let*.
Insert empty string rather than newline. Handle full-frame case.
Use catch/throw. Use feedmail-say-chatter.
(feedmail-fiddle-from): Try mail-host-address.
(feedmail-default-message-id-generator): Doc fix.
Bind system-time-locale. Handle missing end.
(feedmail-fiddle-x-mailer): Add debug call.
Handle feedmail-x-mailer-line being nil.
(feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
Add debug call. Use buffer-substring-no-properties.
(feedmail-say-debug, feedmail-say-chatter): New functions.
(feedmail-find-eoh): Give an explicit error.
2011-05-14 11:30:21 -07:00
Glenn Morris
5237a44fef
* lisp/mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
2011-05-12 19:06:35 -07:00
Glenn Morris
8340026cae
sendmail.el trivia.
...
* lisp/mail/sendmail.el (sendmail-program): Try executable-find first.
(sendmail-send-it): sendmail-program cannot be unbound.
2011-05-12 18:42:24 -07:00
Leo Liu
b404486913
Add a new footnote style unicode
...
See also the discussion thread in:
http://thread.gmane.org/gmane.emacs.devel/139221
2011-05-10 16:20:21 +08:00
Leo Liu
9e2dd53f16
Convert mail/footnote.el to utf-8 encoding
2011-05-10 16:14:42 +08:00
Eli Zaretskii
605c937661
Fix bug #8595 with setting mailclient-send-it on MS-Windows.
...
lisp/mail/sendmail.el (send-mail-function): On MS-Windows, default to
mailclient-send-it even if window-system is nil.
2011-05-07 20:58:40 +03:00
Stefan Monnier
daca8ba5e3
Use completion-at-point for mailalias.el
...
* lisp/mail/mailalias.el: Use lexical-binding.
(pattern, mailalias-done): Declare dynamic.
(mail-completion-at-point-function): New function, from mail-complete.
(mail-complete): Use it.
(mail-completion-expand): New function.
(mail-get-names): Use it.
(mail-directory, mail-directory-process, mail-directory-stream):
Don't use `pattern' for lexically bound arg.
* lisp/mail/sendmail.el (mail-mode-map): Use completion-at-point.
(mail-mode): Setup mailalias completion here instead.
2011-04-15 10:50:04 -03:00
Glenn Morris
ccb55d277a
* lisp/mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2011-03-09 19:41:17 -08:00
Glenn Morris
fb532fe811
sendmail.el fix for bug#1776.
...
* lisp/mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
(mail-mode): Remove mail-sent-via from the doc.
(mail-sent-via): Make it obsolete.
2011-03-02 23:08:22 -08:00
Glenn Morris
2b0c733045
Merge from emacs-23; up to 2010-06-03T05:41:49Z!rgm@gnu.org.
2011-02-27 17:07:29 -08:00
Andreas Schwab
b9eed2f259
Regenerate autoloads
2011-02-26 10:48:22 +01:00
Juanma Barranquero
8307f92370
Fix typos.
2011-02-23 20:56:30 +01:00
Glenn Morris
97610156f4
Fix spelling of "precede".
2011-02-22 23:08:12 -08:00
Glenn Morris
c9f50c819f
Comment spelling fix.
2011-02-22 20:27:42 -08:00
Glenn Morris
cce7d53002
Merge from emacs-23; up to 2010-06-02T00:10:42Z!yamaoka@jpl.org.
2011-02-22 20:19:28 -08:00
Glenn Morris
4902e827bc
Remove pointless setting of byte-compile-dynamic in tiny, tiny file.
2011-02-22 20:00:52 -08:00
Kenichi Handa
c1449bffe2
mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an error when a multipart boundary in the nested multipart is found.
2011-02-23 11:32:35 +09:00
Kenichi Handa
2e15a2cf4d
merge emacs-23
2011-02-22 09:22:09 +09:00
Kenichi Handa
1f459fa46c
Decode "encoded-words" of header components on replying.
2011-02-22 09:19:08 +09:00
Andreas Schwab
652db9c009
Update autoloads
2011-02-20 12:59:44 +01:00
Glenn Morris
67ab0163d6
Merge from emacs-23; up to 2010-06-01T01:49:15Z!monnier@iro.umontreal.ca
2011-02-19 11:40:59 -08:00
Kenichi Handa
16bc9688d8
Fix setting of buffer-file-coding-system for MIME message.
2011-02-19 18:22:24 +09:00
Chong Yidong
38a7165591
Make rmail-default-dont-reply-to-names nil (Bug#7888); rename rmail-dont-reply-*.
...
* lisp/mail/mail-utils.el (mail-dont-reply-to-names): New variable,
from rmail-dont-reply-to-names. Callers changed.
(mail-dont-reply-to): Rename from mail-dont-reply-to.
(rmail-dont-reply-to): Make it an obsolete alias.
* lisp/mail/rmail.el (rmail-default-dont-reply-to-names): Default to
nil, and make obsolete.
(rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
* lisp/mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
* lisp/mail/rmailsort.el (rmail-sort-by-correspondent)
(rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
* lisp/mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
2011-02-12 16:45:42 -05:00
Ted Zlatanov
563790b6db
Use auto-source-search' instead of
auto-source-user-or-password'.
...
* mail/smtpmail.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password.
(smtpmail-try-auth-methods): Use it.
* net/imap-hash.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password.
(imap-hash-open-connection): Use it.
* net/tramp-imap.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password.
(tramp-imap-passphrase-callback-function): Use it.
* net/tramp.el (tramp-default-method): Also check if
`auth-source-search' is bound.
(tramp-read-passwd): Use `auth-source-search' instead of
`auto-source-user-or-password'.
* url-parse.el (url-bit-for-url, url-user-for-url)
(url-password-for-url): Use `auto-source-search' instead of
`auto-source-user-or-password'.
* url-auth.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password'.
(url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
2011-02-12 11:51:02 -06:00
Stefan Monnier
b016851cb1
Move keymap initialization into declaration.
...
* lisp/textmodes/enriched.el (enriched-mode-map):
* lisp/textmodes/bib-mode.el (bib-mode-map):
* lisp/term/lk201.el (lk201-function-map):
* lisp/tar-mode.el (tar-mode-map):
* lisp/replace.el (occur-mode-map):
* lisp/progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
* lisp/progmodes/idlw-help.el (idlwave-help-mode-map):
* lisp/progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
* lisp/play/solitaire.el (solitaire-mode-map):
* lisp/play/snake.el (snake-mode-map, snake-null-map):
* lisp/play/pong.el (pong-mode-map):
* lisp/play/handwrite.el (menu-bar-handwrite-map):
* lisp/play/gametree.el (gametree-mode-map):
* lisp/net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
(rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
* lisp/net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
(newsticker--url-keymap):
* lisp/net/net-utils.el (nslookup-mode-map, ftp-mode-map):
* lisp/menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
(menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
(menu-bar-edit-menu, menu-bar-custom-menu)
(menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
(menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
(menu-bar-line-wrapping-menu, menu-bar-options-menu)
(menu-bar-games-menu, menu-bar-encryption-decryption-menu)
(menu-bar-tools-menu, menu-bar-describe-menu)
(menu-bar-search-documentation-menu, menu-bar-manuals-menu)
(menu-bar-help-menu):
* lisp/mail/rmailsum.el (rmail-summary-mode-map):
* lisp/kmacro.el (kmacro-step-edit-map):
* lisp/ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
(ibuffer-mode-operate-map):
* lisp/hi-lock.el (hi-lock-menu, hi-lock-map):
* lisp/emulation/vip.el (vip-mode-map):
* lisp/emacs-lisp/re-builder.el (reb-lisp-mode-map):
* lisp/bookmark.el (bookmark-bmenu-mode-map):
* lisp/help-mode.el (help-mode-map):
* lisp/erc/erc-list.el (erc-list-menu-mode-map):
* lisp/org/org-remember.el (org-remember-mode-map):
* lisp/org/org-src.el (org-src-mode-map): Move initialization into declaration.
2011-02-10 11:56:00 -05:00
Chong Yidong
f8b351c190
Remove the check for non-ASCII in report-emacs-bug-hook (Bug#7925).
...
* mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
non-ASCII characters.
2011-02-06 10:04:31 -05:00
Jan Djärv
253f7d1bc5
Implement C-c m in report-emacs-bug (insert to mailer) for OSX.
...
* mail/emacsbug.el (report-emacs-bug-insert-to-mailer): Check
report-emacs-bug-can-use-osx-open and use that if t.
(report-emacs-bug-can-use-osx-open): New function.
(report-emacs-bug): Rename can-xdg-email to can-insert-mail.
Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2011-01-30 19:59:58 +01:00
Chong Yidong
2e804fc7e7
Update autoloads.
2011-01-28 11:58:04 -05:00
Glenn Morris
95df8112a0
Refill some long/short copyright headers.
2011-01-26 00:36:39 -08:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Andreas Schwab
44ec06d43e
Update md5 checksums
2011-01-18 20:08:00 +01:00
Paul Eggert
61f74651c4
Merge from mainline.
2011-01-17 11:47:38 -08:00
Paul Eggert
a3e44e7937
Merge from mainline.
2011-01-17 11:01:01 -08:00
Glenn Morris
e9bffc61f2
Refill some copyright headers.
2011-01-15 18:21:30 -08:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Glenn Morris
d52969e8af
Merge from emacs-23 branch, up to 2010-05-20T21:33:58Z!juri@jurta.org.
...
Note:
emacs-23 2010-05-20T01:32:08Z!lekktu@gmail.com is rendered unnecessary by pre-existing 2010-05-20
trunk change.
2011-01-15 12:38:27 -08:00
Glenn Morris
362b9d483c
Merge from emacs-23 branch.
2011-01-15 12:03:38 -08:00
Chong Yidong
9f19b8ddfe
Bump version to 23.2.92.
...
Regenerate AUTHORS, configure, and ldefs-boot.el.
2011-01-14 22:50:47 -05:00