Chong Yidong
78f3273aab
Convert more defvars to defcustoms.
...
* dos-w32.el (file-name-buffer-file-type-alist)
(direct-print-region-use-command-dot-com):
* ffap.el (ffap-menu-regexp):
* follow.el (follow-debug):
* forms.el (forms--debug):
* iswitchb.el (iswitchb-all-frames):
* ido.el (ido-all-frames):
* mail/feedmail.el (feedmail-mail-send-hook)
(feedmail-mail-send-hook-queued):
* mail/footnote.el (footnote-signature-separator):
* mail/mailabbrev.el (mail-alias-separator-string)
(mail-abbrev-mode-regexp):
* mail/rmail.el (rmail-speedbar-match-folder-regexp):
* progmodes/idlwave.el (idlwave-libinfo-file)
(idlwave-default-completion-case-is-down)
(idlwave-library-routines): Convert defvars to defcustoms.
* mail/rmail.el (rmail-decode-mime-charset):
* progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
(idlwave-shell-fix-inserted-breaks)
(idlwave-shell-activate-alt-keybindings)
(idlwave-shell-use-breakpoint-glyph):
* facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
* doc/lispref/os.texi (Timers): Use defopt for timer-max-repeats.
2012-05-04 13:14:14 +08:00
Glenn Morris
c7349e19ad
Auto-commit of loaddefs files.
2012-05-03 06:20:40 -04:00
Kenichi Handa
2e51d4b5fb
mail/rmailmm.el (rmail-show-mime): Catch an error caused by text decoding, and show a warning message without signalling an error (Bug#11282).
2012-05-03 14:47:24 +09:00
Glenn Morris
90207a1525
Merge from emacs-24; up to 2012-04-16T19:06:02Z!rgm@gnu.org
2012-05-02 00:20:29 -07:00
Eli Zaretskii
91af76bf30
Resurrect encoding of replies by Rmail which was lost in 2012-04-11T21:37:13Z!monnier@iro.umontreal.ca.
...
lisp/mail/rmail.el (rmail-yank-current-message): Use the encoding of
the yanked message in preference to the default value of
buffer-file-coding-system.
2012-04-30 15:50:12 +03:00
Paul Eggert
4b932ea214
Fix logic for returning to and yanking from Rmail buffer.
...
* mail/rmail.el (rmail-start-mail):
Pass (rmail-mail-return...) for the return-action.
Pass (rmail-yank-current-message...) for the yank-action.
(rmail-yank-current-message): New function.
(rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
(rmail-reply): Likewise.
(rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
* mail/sendmail.el (mail-bury): Choose the first rmail-mode
buffer, not the last. Reject temp buffers. Use the rmail-mode
buffer, not newbuf.
2012-04-20 12:17:59 -07:00
Juanma Barranquero
4d6769e1bb
lisp/*: Add declarations, remove unused bindings, mark unused args.
...
* lisp/avoid.el (mouse-avoidance-mode): Mark unused arg.
(mouse-avoidance-nudge-mouse): Remove unused binding.
* lisp/imenu.el (imenu-default-goto-function): Mark unused args.
(imenu-progress-message): Remove obsolete macro; all callers changed.
* lisp/mouse.el (mouse-menu-major-mode-map):
* lisp/emacs-lisp/authors.el (authors-scan-change-log)
(authors-add-to-author-list):
* lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance):
* lisp/emacs-lisp/smie.el (smie-auto-fill):
* lisp/mail/sendmail.el (mail-bury):
* lisp/mail/unrmail.el (unrmail):
* lisp/net/tls.el (open-tls-stream):
* lisp/textmodes/picture.el (picture-mouse-set-point):
Remove unused bindings.
* lisp/subr.el (keymap-canonicalize): Remove unused binding.
(read-passwd): Mark unused arg.
* lisp/tutorial.el (tutorial--display-changes): Remove unused binding.
(tutorial--save-tutorial-to): Remove unused variable.
* lisp/emacs-lisp/package.el (define-package, package-menu-mark-delete)
(package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
(package-generate-autoloads, package-menu--generate)
(package-menu--find-upgrades): Remove unused bindings.
* lisp/emulation/cua-rect.el (cua-restrict-regexp-rectangle)
(cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
(cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
(cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
(cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
(cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
(cua--rectangle-aux-replace, cua--left-fill-rectangle)
(cua-scroll-rectangle-up, cua-scroll-rectangle-down)
(cua-delete-char-rectangle): Mark unused args.
(cua-align-rectangle): Remove unused binding.
* lisp/mail/rmail.el (compilation--message->loc)
(epa--find-coding-system-for-mime-charset): Declare.
* lisp/net/dbus.el (dbus-register-service): Declare.
(dbus-name-owner-changed-handler): Remove unused binding.
* lisp/nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
(nxml-compute-indent-from-matching-start-tag): Remove unused variables.
(nxml-scan-backward-within): Mark unused arg.
(nxml-dynamic-markup-word): Remove unused binding.
2012-04-19 19:20:26 +02:00
Richard M. Stallman
5f6530ea79
Fix logic for returning to and yanking from Rmail buffer.
2012-04-17 19:23:20 -04:00
Glenn Morris
175c5e4861
Fix comment typo
2012-04-16 15:06:02 -04:00
Chong Yidong
4fc2c72a6f
* mail/sendmail.el (mail-bury): Call return action with the right Rmail buffer.
...
Fixes: debbugs:11242
2012-04-16 18:11:45 +08:00
Glenn Morris
82f289a4ef
Obsolete lisp/mail/mailpost.el
2012-04-12 19:47:13 -04:00
Chong Yidong
fb7ada5f94
Remove * characters from the front of variable docstrings.
2012-04-09 21:05:48 +08:00
Glenn Morris
a1ed8b05ee
Add emacs-bzr-version
...
* lisp/version.el (emacs-bzr-get-version): New function.
* lisp/loadup.el (emacs-bzr-version): Set it.
* lisp/mail/emacsbug.el (report-emacs-bug): Include bzr version.
* etc/NEWS: Mention this, though it is not really relevant to releases.
Insert template for 24.2 release.
Fixes: debbugs:8054
2012-04-07 12:51:51 -07:00
Richard M. Stallman
4443f2045b
report-emacs-bug: cope with read-only signature.
2012-04-03 21:05:29 -04:00
Chong Yidong
529c06b6cb
Two minor doc/consistency fixes.
...
* doc/emacs/sending.texi (Mail Misc): Fix an index entry.
* lisp/mail/sendmail.el (mail-mode-map): Bind C-c C-i to
mail-insert-file, not its obsolete alias mail-attach-file.
2012-04-03 18:21:47 +08:00
Katsumi Yamaoka
899cb7cb68
mail/sendmail.el (mail-encode-header): Bind rfc2047-encode-encoded-words to nil.
2012-03-13 23:27:56 +00:00
Richard M. Stallman
1694e6c1bb
sendmail mode quoting bug fix.
2012-03-10 04:11:22 -05:00
Richard M. Stallman
607e855510
mail-utils.el: multibyte chars should be quoted.
2012-03-10 04:02:06 -05:00
Richard M. Stallman
de3bc99a8d
rmail.el: If view buffer gets lost with the real text, don't save
...
the Rmail file as just one message.
2012-03-10 03:54:24 -05:00
Eli Zaretskii
3f018d6d39
Make sure smtpmail produces valid mbox files with Unix EOLs for FCC.
...
lisp/mail/smtpmail.el (smtpmail-send-it): Bind
coding-system-for-write to *-unix, so that FCC files are kept in
valid mbox format.
2012-03-09 13:06:44 +02:00
Lars Magne Ingebrigtsen
e627be4c9d
Fix up the emacsbug query-once logic from the previous patch
...
* mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
previous patch: Check `message-send-mail-function', and not the
default function.
Fixes: debbugs:10897
2012-03-04 14:34:33 +01:00
Lars Magne Ingebrigtsen
fbae463706
Further `sendmail-query-once' cleanups for sending bug reports
...
* mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
`message-default-send-mail-function' and not `send-mail-function'
when doing the prompting for `sendmail-query-once' before sending
in Message buffers.
Fixes: debbugs:10897
2012-03-03 15:43:03 +01:00
Glenn Morris
44e97401cd
Standardize possessive apostrophe usage in manuals, docs, and comments
...
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00649.html
2012-02-28 00:17:21 -08:00
Chong Yidong
20af23949d
Fix mode-line-format handling bug in Ediff.
...
* lisp/vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
mode-line formats.
Fixes: debbugs:10839
2012-02-19 16:14:30 +08:00
Glenn Morris
b474519ebe
Checked rmail.texi
...
* doc/emacs/rmail.texi: Copyedits. Use 'mail composition buffer' in place
of '*mail*', since Message does not call it that.
(Rmail Reply): Rename rmail-dont-reply-to-names.
\\`info- no longer handled specially.
Update for rmail-enable-mime-composing.
Don't mention 'm' for replies.
Don't mention rmail-mail-new-frame and cancelling, since it does
not work for Message at the moment.
* lisp/mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
* lisp/mail/undigest.el (unforward-rmail-message): Doc fix.
* admin/FOR-RELEASE: Related markup.
2012-02-18 13:57:00 -08:00
Glenn Morris
9f26dc2432
Try to document smtp changes
...
* doc/emacs/sending.texi (Mail Sending): smtpmail-auth-credentials was removed.
* doc/misc/smtpmail.texi (Emacs Speaks SMTP): General update for 24.1.
(Encryption): New chapter, split out from previous.
* lisp/mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
Doc fixes.
* etc/NEWS: Related edits.
2012-02-14 22:15:26 -05:00
Glenn Morris
6546b13405
* lisp/mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2012-02-14 13:22:47 -05:00
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