1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-30 11:09:23 +00:00
Commit Graph

730 Commits

Author SHA1 Message Date
Glenn Morris
98222ee58b Auto-commit of loaddefs files. 2012-10-12 06:19:14 -04:00
Glenn Morris
817330b512 Auto-commit of loaddefs files. 2012-10-07 06:23:48 -04:00
Glenn Morris
9d83259abd Auto-commit of loaddefs files. 2012-09-18 06:17:43 -04:00
Richard M. Stallman
acb1c47be0 rmail-retry-failure must avoid mime processing. 2012-09-17 07:44:48 -04:00
Glenn Morris
ee21815118 rmail-output-read-file-name fix for bug#12214
This resembles the 2001-05-07 change to rmail-output-read-rmail-file-name,
which was never copied to rmail-output-read-file-name.
It's more complicated now due to Rmail's buffer swapping.

* lisp/mail/rmailout.el (rmail-output-read-file-name):
Check rmail-output-file-alist against the full message body
in the correct rmail buffer.

* lisp/mail/rmail.el: Comment.
2012-08-17 16:38:47 -04:00
Chong Yidong
31ca4639ad Merge from emacs-24; up to 2012-04-25T15:23:19Z!sdl.web@gmail.com 2012-06-10 21:20:58 +08:00
Glenn Morris
9e1b8ec4c1 * mail/rmail.el (rmail-yank-current-message): Leave point at correct position.
Fixes: debbugs:11660
2012-06-09 21:37:41 -07:00
Glenn Morris
98e15937be Add missing autload pieces needed for rmail-spool-directory's delayed init 2012-05-24 00:20:34 -07:00
Glenn Morris
c8f3b42c71 Move some rmail variables from paths.el to rmail.el
Ref eg
http://lists.gnu.org/archive/html/emacs-devel/2004-10/msg00620.html

* paths.el (rmail-file-name, rmail-spool-directory): Move from here...
* mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
Make the latter a defcustom, with a delayed initialization.
2012-05-23 23:53:08 -07:00
Glenn Morris
9824f50523 Auto-commit of loaddefs files. 2012-05-04 07:17:28 -04:00
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
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