Glenn Morris
c7349e19ad
Auto-commit of loaddefs files.
2012-05-03 06:20:40 -04: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
Chong Yidong
fb7ada5f94
Remove * characters from the front of variable docstrings.
2012-04-09 21:05:48 +08: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
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
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
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
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
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
Glenn Morris
59ff373bd6
Auto-commit of loaddefs files.
2011-12-19 06:21:17 -05:00
Eli Zaretskii
2ce2526364
Commit auto-generated files.
2011-12-10 15:48:35 +02:00
Glenn Morris
82727ea451
Auto-commit of loaddefs files.
2011-11-24 06:24:59 -05: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
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
Glenn Morris
b5afc20930
Auto-commit of loaddefs files.
2011-11-22 06:35:26 -05:00
Glenn Morris
09f5d05492
Auto-commit of loaddefs files.
2011-11-20 06:27:56 -05:00
Juanma Barranquero
cd1181dbec
Fix typos.
2011-11-20 04:48:53 +01: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
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
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
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
d3cfca6027
* lisp/mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2011-11-13 18:01:00 -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
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
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
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
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
Richard M. Stallman
177549d04c
Add rmail-epa-decrypt command.
2011-08-15 22:29:15 -04: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
Glenn Morris
4a834b86ce
Auto-commit of loaddefs files.
2011-06-27 06:23:19 -04:00