]> code.delx.au - gnu-emacs/commitdiff
Add to sendmail.el a new command mail-add-attachment.
authorEli Zaretskii <eliz@gnu.org>
Sat, 10 Sep 2011 08:26:12 +0000 (11:26 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 10 Sep 2011 08:26:12 +0000 (11:26 +0300)
 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.

1  2 
doc/emacs/ChangeLog
doc/emacs/sending.texi
etc/NEWS
lisp/ChangeLog
lisp/gnus/ChangeLog
lisp/gnus/mm-encode.el
lisp/gnus/mml.el
lisp/mail/sendmail.el

index 5695841730034e15722b2d9c39e806505d49a280,6874ef75ef8ef42b99db663f7a2cd6d9ffd10fe4..b9dbddad3ca098493e6e1aa21d91ba9260672f39
@@@ -1,61 -1,3 +1,65 @@@
++2011-09-10  Eli Zaretskii  <eliz@gnu.org>
++
++      * sending.texi (Mail Misc): Document mail-add-attachment.
++
 +2011-09-04  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * basic.texi (Inserting Text): Add index entries.  (Bug#9433)
 +
 +2011-08-29  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * modes.texi (Choosing Modes): auto-mode-case-fold is now t.
 +
 +2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * files.texi (File Archives):
 +      * cal-xtra.texi (Diary Display):
 +      * help.texi (Help Mode): Add xref to View Mode.
 +
 +2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * display.texi (View Mode): New node.  Move view-file here from
 +      Misc File Ops.  Move view-buffer here from Misc Buffer.
 +
 +      * buffers.texi (Misc Buffer): Move view-buffer to View Mode.
 +
 +      * files.texi (Misc File Ops): Document new
 +      delete-by-moving-to-trash behavior.  Remove view-file.
 +
 +      * dired.texi (Dired Deletion): Shorten description of Trash.
 +
 +      * misc.texi (emacsclient Options): Document server-port.
 +
 +2011-08-27  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * frames.texi (Frame Commands): Advise setting focus-follows-mouse
 +      even on MS-Windows.  Fix a typo.
 +
 +2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * package.texi: New file, documenting the package manager.
 +
 +      * emacs.texi: Include it.
 +
 +      * help.texi (Help Summary): Add describe-package.
 +
 +2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * misc.texi (Printing): Convert subnodes into subsections.
 +
 +      * text.texi (Two-Column): Move into Text chapter.
 +
 +      * picture-xtra.texi (Picture Mode): Group with Editing Binary
 +      Files section.  Convert from chapter into section.
 +
 +      * display.texi (Narrowing): Move into display chapter.
 +
 +      * sending.texi (Sending Mail):
 +      * rmail.texi (Rmail):
 +      * misc.texi (Gnus, Document View):
 +      * dired.texi (Dired):
 +      * emacs.texi: Group the mail, rmail, and gnus chapters together.
 +
  2011-08-07  Juri Linkov  <juri@jurta.org>
  
        * dired.texi (Operating on Files): Rewrite according to the fact
index 02857459cc10bf92c138072d80667523f12f2d88,02857459cc10bf92c138072d80667523f12f2d88..50ec852d7402e46fbbd01d73799f85ff4c6b589e
@@@ -556,8 -556,8 +556,8 @@@ package, which provides more flexible c
  @cindex Multipurpose Internet Mail Extensions
    You can @dfn{attach} a file to an outgoing message by typing
  @kbd{C-c C-a} (@code{mml-attach-file}) in the mail buffer.  Attaching
--is done using the MIME (Multipurpose Internet Mail Extensions)
--standard.
++is done using the Multipurpose Internet Mail Extensions
++(@acronym{MIME}) standard.
  
    The @code{mml-attach-file} command prompts for the name of the file,
  and for the attachment's @dfn{content type}, @dfn{description}, and
@@@ -570,6 -570,6 +570,13 @@@ recipient will see a link to the attach
  or @samp{attachment}, which means the link will be separate from the
  body.
  
++@findex mail-add-attachment
++  The @code{mml-attach-file} command is specific to Message mode; in
++Mail mode use @kbd{mail-add-attachment} instead.  It will prompt only
++for the name of the file, and will determine the content type and the
++disposition automatically.  If you want to include some description of
++the attached file, type that in the message body.
++
    The actual contents of the attached file are not inserted into the
  mail buffer.  Instead, some placeholder text is inserted into the mail
  buffer, like this:
diff --cc etc/NEWS
index dbeca0b521b940900b9aae34bbcdb96f76100f46,ec863dacef84b9f7acde5eb46d98793c8d43742d..aaeeed4803e13744d731c6fcf4ee11b8b9b30427
+++ b/etc/NEWS
@@@ -156,23 -165,6 +156,32 @@@ If you had that set, then then you nee
  
  in your ~/.authinfo file instead.
  
++*** sendmail changes
+++++
++You can now add MIME attachments to outgoing messages with the new
++command `mail-add-attachment'.
++
++---
++The command `mail-attach-file' was renamed to `mail-insert-file'; the
++old name is now an obsolete alias to the new name.
++
 +** Emacs server and client changes
 ++++
 +*** New option `server-port' specifies the port on which the Emacs
 +server should listen.
 ++++
 +*** New emacsclient argument -q/--quiet suppresses some status messages.
 ++++
 +*** New emacsclient argument --frame-parameters can be used to set the
 +frame parameters of a newly-created graphical frame.
 ++++
 +*** If emacsclient shuts down as a result of Emacs signalling an
 +error, its exit status is 1.
 ++++
 +*** New emacsclient argument --parent-id ID.
 +This opens a client frame in parent X window ID, via XEmbed, similar
 +to the --parent-id argument to Emacs.
 +
  ** Internationalization changes
  
  +++
diff --cc lisp/ChangeLog
index 89b43bab43d215e7d4973b1f0759773df17303c0,fcccc80220319745206b57c5bb819bd850440363..d1a219dfb8d7f78d8d50459f07009d895279b6db
++2011-09-10  Eli Zaretskii  <eliz@gnu.org>
++
++      * 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.
++
 +2011-09-10  Reuben Thomas  <rrt@sc3d.org>
 +
 +      * simple.el (count-words-region): Use buffer if there's no region.
 +
 +2011-09-09  Juri Linkov  <juri@jurta.org>
 +
 +      * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
 +      `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
 +      (wdired-isearch-filter-read-only): New function.  (Bug#6362)
 +
 +2011-09-09  Alan Mackenzie  <acm@muc.de>
 +
 +      * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
 +      spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
 +
 +2011-09-09  Eli Zaretskii  <eliz@gnu.org>
 +
 +      Fix for Savannah bug#9392.
 +      * simple.el (mail-encode-mml): New defvar.
 +
 +      * 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.
 +
 +      * 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  Glenn Morris  <rgm@gnu.org>
 +
 +      * woman.el (woman-if-body): When processing an .el block,
 +      do not delete the next .el block as well.  (Bug#9447)
 +      (woman-special-characters): Add oq, cq, and hy characters.
 +
 +2011-09-08  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (window-deletable-p): Make sure window is live before
 +      invoking window-prev-buffers.
 +
 +2011-09-08  Leo Liu  <sdl.web@gmail.com>
 +
 +      * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
 +
 +2011-09-08  Juri Linkov  <juri@jurta.org>
 +
 +      * progmodes/compile.el (compilation-environment): Make it
 +      a defcustom (bug#8340).
 +
 +2011-09-08  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (frame-auto-delete): Rename to window-auto-delete.
 +      Make it control auto-deletion of windows and/or frames.
 +      (window-deletable-p): New argument FORCE.  Rewrite conditions
 +      for deleting window/frame.  (Bug#9419)
 +      (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
 +      Rewrite handling of case when window/frame can be deleted.
 +      (delete-windows-on): Call window-deletable-p with new FORCE
 +      argument t.  (Bug#9456)
 +
 +2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * help-mode.el (help-mode): Restore autoload.
 +
 +2011-09-07  Juri Linkov  <juri@jurta.org>
 +
 +      * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
 +      `compilation-environment'.  Set buffer-local
 +      `compilation-environment' to `thisenv' later after (funcall mode).
 +      (Bug#8340)
 +
 +      * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
 +      (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
 +      instead of replacing its value.  (Bug#8340)
 +
 +2011-09-07  Juri Linkov  <juri@jurta.org>
 +
 +      * progmodes/grep.el (grep-regexp-alist): Calculate column positions
 +      based on text properties put by `grep-filter' instead of matching
 +      escape sequences.
 +      (grep-mode): Set buffer-local `compilation-error-screen-columns'
 +      to the value of `grep-error-screen-columns' (bug#9438).
 +
 +2011-09-07  Juri Linkov  <juri@jurta.org>
 +
 +      * simple.el (next-error-highlight, next-error-highlight-no-select):
 +      Doc fix (bug#9432).
 +
 +2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
 +
 +      * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
 +      Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
 +
 +2011-09-07  Leo Liu  <sdl.web@gmail.com>
 +
 +      * net/rcirc.el (rcirc-mode): Conditionally initialize
 +      rcirc-input-ring.
 +
 +2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/find-func.el (find-function-C-source): Only set
 +      find-function-C-source-directory after checking that we found a source
 +      file there (bug#9440).
 +
 +2011-09-06  Alan Mackenzie  <acm@muc.de>
 +
 +      * isearch.el (isearch-other-meta-char): Wherever a key list is
 +      unread, "unread" the prefix arg, too.  This fixes bug #8901.
 +
 +2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
 +
 +      * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
 +
 +2011-09-05  Juri Linkov  <juri@jurta.org>
 +
 +      * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
 +
 +2011-09-05  Juri Linkov  <juri@jurta.org>
 +
 +      * progmodes/grep.el (grep-filter): Avoid incomplete processing by
 +      keeping point where processing of grep matches begins, and
 +      continue to delete remaining escape sequences from the same point.
 +      (grep-filter): Make leading zero optional in "0?1;31m" because
 +      git-grep emits "\033[1;31m" escape sequences unlike expected
 +      "\033[01;31m" as GNU Grep does (bug#9408).
 +      (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
 +
 +2011-09-05  Juri Linkov  <juri@jurta.org>
 +
 +      * subr.el (y-or-n-p): Capitalize "yes".
 +
 +2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
 +      `tramp-cache-unload-hook' where appropriate.
 +      (tramp-methods): Rename `tramp-remote-sh' to
 +      `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
 +      (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
 +
 +      * net/tramp-sh.el (top): Don't require 'shell.
 +      (tramp-methods): Add `tramp-remote-shell' and
 +      `tramp-remote-shell-args' entries.
 +      (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
 +      (tramp-sh-handle-shell-command): Remove.
 +      (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
 +      Use `tramp-remote-shell'.
 +
 +2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * 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  Christoph Scholtes  <cschol2112@googlemail.com>
 +
 +      * progmodes/python.el (python-mode-map): Use correct function to
 +      start python interpreter from menu-bar (as reported by Geert
 +      Kloosterman).
 +      (inferior-python-mode-map): Fix typo.
 +      (python-shell-map): Removed.
 +
 +2011-09-03  Deniz Dogan  <deniz@dogan.se>
 +
 +      * net/rcirc.el (rcirc-print): Simplify code for
 +      rcirc-scroll-show-maximum-output.  There is no need to walk
 +      through all windows to find the right one.
 +
 +2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
 +
 +      * help.el (help-return-method): Doc fix.
 +
 +2011-09-03  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (window-deletable-p): Don't return a non-nil value
 +      when there's a buffer that was shown in the window before.
 +      (Bug#9419)
 +      (display-buffer-pop-up-frame, display-buffer-pop-up-window): Set
 +      window's previous buffers to nil.
 +
 +2011-09-03  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * 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  Leo Liu  <sdl.web@gmail.com>
 +
 +      * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
 +
 +2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Deleted.
 +      (pop-to-buffer): Change interactive spec.  Pass second argument
 +      directly to display-buffer.
 +      (display-buffer): Fix interactive spec.  Use functionp to
 +      distinguish between a function and a list of functions.
 +
 +      * abbrev.el (edit-abbrevs):
 +      * arc-mode.el (archive-extract):
 +      * autoinsert.el (auto-insert):
 +      * bookmark.el (bookmark-bmenu-list):
 +      * files.el (find-file):
 +      * view.el (view-buffer):
 +      * progmodes/compile.el (compilation-goto-locus):
 +      * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
 +
 +2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * window.el (display-buffer-alist): Doc fix.
 +      (display-buffer): Add docstring.  Don't treat
 +      display-buffer-default specially.
 +      (display-buffer-reuse-selected-window)
 +      (display-buffer-same-window, display-buffer-maybe-same-window)
 +      (display-buffer-reuse-window, display-buffer-pop-up-frame)
 +      (display-buffer-pop-up-window)
 +      (display-buffer-reuse-or-pop-window)
 +      (display-buffer-use-some-window): New functions.
 +      (display-buffer-default-action): Use them.
 +      (display-buffer-default): Deleted.
 +      (pop-to-buffer-1): Fix choice of actions.
 +
 +2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * minibuffer.el (completion--insert-strings): Don't get confused by
 +      completion entries that end with an LF char.
 +
 +2011-09-01  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * window.el (frame-auto-delete, window-deletable-p): Doc fix.
 +
 +2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * window.el (display-buffer): Restore interactive spec.
 +      (display-buffer-same-window, display-buffer-other-window):
 +      New functions.
 +      (pop-to-buffer-1): New function.  Use the above.
 +      (pop-to-buffer, pop-to-buffer-same-window): Use it.
 +      (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
 +
 +      * view.el (view-buffer-other-window, view-buffer-other-frame):
 +      Just use pop-to-buffer.
 +
 +2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
 +
 +      * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
 +
 +2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
 +
 +      * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
 +
 +2011-08-31  Richard Stallman  <rms@gnu.org>
 +
 +      * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
 +      of the separation of rmail-view-buffer from rmail-buffer.
 +      If you say no to "replace original", the decrypt is in the
 +      view buffer.  If you say yes, the decrypt goes into the
 +      rmail buffer also.
 +
 +2011-08-31  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (display-buffer-window): Rewrite doc-string.
 +      (display-buffer-record-window): New function.
 +      (display-buffer-macro-specifiers)
 +      (display-buffer-even-window-sizes, display-buffer-set-height)
 +      (display-buffer-set-width, display-buffer-in-window)
 +      (display-buffer-reuse-window, display-buffer-split-specifiers)
 +      (display-buffer-side-specifiers, display-buffer-split-window-1)
 +      (display-buffer-split-window, display-buffer-split-atom-window)
 +      (display-buffer-pop-up-window, display-buffer-pop-up-frame)
 +      (display-buffer-pop-up-side-window, display-buffer-in-side-window)
 +      (display-buffer-other-window-means-other-frame)
 +      (display-buffer-normalize-special)
 +      (display-buffer-normalize-default)
 +      (display-buffer-normalize-argument)
 +      (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
 +      (display-buffer-normalize-specifiers, display-buffer-frame)
 +      (display-buffer-same-window, display-buffer-same-frame)
 +      (display-buffer-other-window)
 +      (display-buffer-same-frame-other-window)
 +      (display-buffer-other-frame, pop-to-buffer-same-window)
 +      (pop-to-buffer-same-frame, pop-to-buffer-other-window)
 +      (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
 +      (switch-to-buffer-same-frame)
 +      (switch-to-buffer-other-window-same-frame)
 +      (display-buffer-alist-of-strings-p, display-buffer-alist-add)
 +      (display-buffer-alist-set-1, display-buffer-alist-set-2)
 +      (display-buffer-alist-set): Remove.
 +      (display-buffer-function, special-display-buffer-names)
 +      (special-display-regexps, special-display-function):
 +      In doc-string refer to display-buffer-window and quit-restore
 +      parameter.
 +      (pop-up-frame-alist, pop-up-frame-function, special-display-p)
 +      (special-display-frame-alist, special-display-popup-frame)
 +      (same-window-buffer-names, same-window-regexps, same-window-p)
 +      (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
 +      (split-window-preferred-function, split-height-threshold)
 +      (split-width-threshold, window-splittable-p)
 +      (split-window-sensibly, window--try-to-split-window)
 +      (window--frame-usable-p, even-window-heights)
 +      (window--even-window-heights, window--display-buffer-1)
 +      (window--display-buffer-2, display-buffer-other-frame):
 +      Restore old Emacs 23 code, order and doc-strings where applicable.
 +      (display-buffer-default, display-buffer-assq-regexp): New functions.
 +      (display-buffer-alist): Rewrite doc-string.
 +      (display-buffer-default-action)
 +      (display-buffer-overriding-action): New variables.
 +      (display-buffer, switch-to-buffer): Rewrite.
 +      (pop-to-buffer): Restore Emacs 23 behavior but use
 +      window-normalize-buffer-to-display.
 +      (switch-to-buffer-other-window, switch-to-buffer-other-frame):
 +      Restore Emacs 23 behavior but use
 +      window-normalize-buffer-to-switch-to.
 +      (pop-to-buffer-same-window): Rewrite.
 +      (pop-to-buffer-other-window, pop-to-buffer-other-frame):
 +      Rewrite using Emacs 23 options.
 +
 +2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp.el (tramp-root-regexp): Remove.
 +      (tramp-completion-file-name-regexp-unified)
 +      (tramp-completion-file-name-regexp-separate)
 +      (tramp-completion-file-name-regexp-url): Don't use leading volume
 +      letter on win32 systems.  (Bug#5303, Bug#9311)
 +      (tramp-drop-volume-letter): Simplify definition.
 +      Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
 +
 +2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * subr.el (event-modifiers): Fix "missing modifier" part of docstring
 +      (bug#9356).
 +
 +2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
 +
 +      * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
 +
 +2011-08-29  Juri Linkov  <juri@jurta.org>
 +
 +      * isearch.el (isearch-done): Don't display message "Mark saved"
 +      when arg `edit' is non-nil to prevent its flicker in the echo area.
 +
 +2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
 +      obsolete packages for deletion.
 +
 +2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
 +
 +      * help-mode.el (help-mode-map): Add special-mode-map to parent.
 +      (help-mode): Derive help-mode from special-mode.  Don't invoke
 +      view-mode from help-mode.
 +      (help-xref-override-view-map): Remove.
 +      (help-make-xrefs): Remove minor-mode-overriding-map-alist since
 +      view-mode is not used anymore.
 +
 +2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * server.el (server-port): Doc fix.
 +
 +      * cus-theme.el (custom-theme-choose-mode): Inherit from
 +      special-mode (Bug#9124).
 +      (custom-theme-choose-mode-map): Add special-mode to parent.
 +
 +2011-08-28  Alan Mackenzie  <acm@muc.de>
 +
 +      * progmodes/cc-fonts.el
 +      (c-make-font-lock-BO-decl-search-function): New function.
 +      (c-basic-matchers-after - "Fontify the clauses after various
 +      keywords"): Extract the three keyword lists for the 3 erroneous
 +      constructs from the list of four, and use the new function above
 +      in place of an old one.
 +
 +2011-08-28  Deniz Dogan  <deniz@dogan.se>
 +
 +      * net/rcirc.el (rcirc-insert-prev-input)
 +      (rcirc-insert-next-input): Remove unused argument.
 +
 +2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
 +
 +2011-08-27  Alan Mackenzie  <acm@muc.de>
 +
 +      * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
 +      handle function pointer parameters properly.
 +
 +2011-08-27  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (display-buffer-reuse-window): Fix case where
 +      selected window was reused with non-nil OTHER-WINDOW argument.
 +      (Bug#9381)
 +
 +2011-08-27  Deniz Dogan  <deniz@dogan.se>
 +
 +      * net/rcirc.el (rcirc-check-auth-status): Adding support for
 +      oftc's NickServ messages.
 +
 +2011-08-27  Glenn Morris  <rgm@gnu.org>
 +
 +      * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
 +
 +2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * emacs-lisp/package.el (package-install): Call package-initialize
 +      if called interactively.
 +
 +2011-08-26  Leo Liu  <sdl.web@gmail.com>
 +
 +      * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
 +
 +2011-08-25  Juri Linkov  <juri@jurta.org>
 +
 +      * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
 +      `search-whitespace-regexp' (bug#9364).
 +
 +2011-08-25  Juri Linkov  <juri@jurta.org>
 +
 +      * isearch.el (isearch-edit-string): Let-bind `search-ring' and
 +      `regexp-search-ring' to their global values to protect from
 +      updating by `read-from-minibuffer' (bug#9185).
 +
 +2011-08-25  Juri Linkov  <juri@jurta.org>
 +
 +      * textmodes/ispell.el (ispell-command-loop): Add newline
 +      at the end of the "Use option `i'..." line.
 +
 +2011-08-25  Juri Linkov  <juri@jurta.org>
 +
 +      * battery.el (display-battery-mode): If `battery-status-function'
 +      or `battery-mode-line-format' is nil, display the message and set
 +      `display-battery-mode' to nil (bug#9363).
 +
 +2011-08-25  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
 +      bidi-string-mark-left-to-right; they are unnecessary now.
 +
 +2011-08-25  Deniz Dogan  <deniz@dogan.se>
 +
 +      * net/quickurl.el: Documentation typo fixes.
 +
 +2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
 +
 +2011-08-25  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacs-lisp/derived.el (define-derived-mode): Doc fix.
 +
 +      * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
 +      (smtpmail-via-smtp): Handle nil response from smtp.
 +
 +2011-08-24  Juri Linkov  <juri@jurta.org>
 +
 +      * proced.el (proced-marked): Inherit from `error' instead of
 +      `font-lock-warning-face'.
 +
 +      * ibuffer.el (ibuffer-marked-face): Change default face from
 +      `font-lock-warning-face' to `warning'.
 +      (ibuffer-deletion-face): Change default face from
 +      `font-lock-type-face' to `error'.
 +
 +      * battery.el (battery-update): Use the face `error' instead of
 +      `font-lock-warning-face' (bug#6117).
 +
 +2011-08-24  Juri Linkov  <juri@jurta.org>
 +
 +      * faces.el (success): Change face color from "Green3" to
 +      "ForestGreen" on light background (bug#9353).
 +
 +2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * window.el (quit-window): Rename from quit-restore-window.
 +      Use same arglist as old quit-window.
 +      (frame-auto-delete): Doc fix.
 +
 +      * view.el (view-mode-exit): Use quit-window.
 +
 +2011-08-24  Juri Linkov  <juri@jurta.org>
 +
 +      * isearch.el (isearch-ring-adjust1): Start visiting previous
 +      search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
 +      (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
 +      for empty search string (when the last search string is reused
 +      automatically) to adjust the isearch ring to the last element and
 +      prepare the correct index for further M-p commands (bug#9185).
 +
 +2011-08-24  Kenichi Handa  <handa@m17n.org>
 +
 +      * international/ucs-normalize.el: If decomposition property of
 +      CHAR is the default one (i.e. a list of CHAR itself), treat it as
 +      nil.
 +      (nfd, nfkd): Likewise.
 +
 +2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
 +      from process filters aren't reliably transmitted to the surrounding
 +      accept-process-output.
 +      (mpc-proc-check): New function.
 +      (mpc-proc-sync): Use it (bug#8293)
 +
 +2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
 +      Add compatibility functions (bug#9313).
 +
 +2011-08-23  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * cus-start.el (all): Add entry for bidi-paragraph-direction.
 +
 +      * international/uni-bidi.el: Regenerated.
 +
 +2011-08-23  Kenichi Handa  <handa@m17n.org>
 +
 +      * international/charprop.el:
 +      * international/uni-bidi.el:
 +      * international/uni-category.el:
 +      * international/uni-combining.el:
 +      * international/uni-comment.el:
 +      * international/uni-decimal.el:
 +      * international/uni-decomposition.el:
 +      * international/uni-digit.el:
 +      * international/uni-lowercase.el:
 +      * international/uni-mirrored.el:
 +      * international/uni-name.el:
 +      * international/uni-numeric.el:
 +      * international/uni-old-name.el:
 +      * international/uni-titlecase.el:
 +      * international/uni-uppercase.el: Regenerate.
 +
 +2011-08-23  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * help.el (help-window-setup): Fix message displayed when other
 +      window is reused.  (Bug#9341)
 +
 +2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
 +      * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
 +
 +      * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
 +      Mark obsolete.
 +      * shell.el (shell-parse-pcomplete-arguments): New function.
 +      (shell-completion-vars): Use it instead (bug#9160).
 +
 +2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
 +      strings and comments (bug#9333).
 +
 +      * emacs-lisp/debug.el (debug-arglist): New function.
 +      (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
 +      (debug-on-entry-1): Handle interpreted closures (bug#9120).
 +
 +2011-08-22  Juri Linkov  <juri@jurta.org>
 +
 +      * progmodes/compile.el (compilation-mode-font-lock-keywords):
 +      Revert regexp that highlights output switches to its old
 +      pre-2010-10-28 value and remove one `?' from it (bug#9319).
 +
 +      * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
 +      to check for empty output (bug#9226).
 +
 +2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
 +      symbol-constituent as the default, as that stops font-lock from
 +      working properly (Bug#8843).
 +
 +2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * mail/smtpmail.el (smtpmail-via-smtp): Only bind
 +      `coding-system-for-*' around the process open call to avoid
 +      auth-source side effects.
 +      (smtpmail-try-auth-methods): Expand the secret password.
 +      (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
 +      probe hangs.
 +
 +2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
 +
 +      * emacs-lisp/find-func.el (find-function-noselect): New arg
 +      lisp-only.
 +
 +      * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
 +      signal an error for built-in functions (Bug#6664).
 +
 +2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * mail/smtpmail.el (smtpmail-smtp-user): New variable.
 +      (smtpmail-try-auth-methods): Use it.
 +
 +2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * font-lock.el (font-lock-fontify-region)
 +      (font-lock-unfontify-region, font-lock-default-fontify-buffer)
 +      (font-lock-default-unfontify-buffer)
 +      (font-lock-default-fontify-region)
 +      (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
 +
 +      * progmodes/compile.el (compilation-error-properties):
 +      Fix confusion between file struct and message struct (Bug#9319).
 +      (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
 +      `ant' regexp.
 +
 +      * net/browse-url.el (browse-url-firefox): Don't call
 +      browse-url-firefox-sentinel unless using -remote (Bug#9328).
 +
 +2011-08-20  Glenn Morris  <rgm@gnu.org>
 +
 +      * tutorial.el (help-with-tutorial): Avoid an error on short screens.
 +
 +      * tutorial.el (tutorial--default-keys): Update some default bindings.
 +
 +      * files.el (hack-local-variables): Fully ignore case for "mode:".
 +
 +2011-08-20  Alan Mackenzie  <acm@muc.de>
 +
 +      Resolve invalid use of a regexp in regexp-opt.
 +
 +      * cc-fonts.el (c-complex-decl-matchers): Add in special detection
 +      for a java annotation.
 +
 +      * cc-engine.el (c-forward-decl-or-cast-1): Add in special
 +      detection for a java annotation.
 +
 +      * cc-langs.el (c-prefix-spec-kwds-re): Remove the special handling
 +      for java.
 +      (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
 +
 +2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
 +      (Bug#9274).
 +
 +2011-08-20  Alan Mackenzie  <acm@muc.de>
 +
 +      * Fontify CPP expressions correctly when starting in the middle of
 +      such a construct.  Mainly for when jit-lock etc. starts a chunk
 +      here.
 +
 +      * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
 +      variable.
 +      (c-make-font-lock-search-form): new function, extracted from
 +      c-make-font-lock-search-function.
 +      (c-make-font-lock-search-function): Use the above function.
 +      (c-make-font-lock-context-search-function): New function.
 +      (c-cpp-matchers): Enhance the preprocessor expression case with
 +      the above function
 +      (c-font-lock-complex-decl-prepare): Test for being in a CPP form
 +      which takes an expression.
 +
 +      * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
 +
 +2011-08-20  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (display-buffer-reuse-window)
 +      (display-buffer-pop-up-window): Don't reuse or split a side
 +      window.
 +
  2011-08-19  Glenn Morris  <rgm@gnu.org>
  
        * files.el (hack-local-variables-prop-line, hack-local-variables):
index b989314557fa01ad6c550bedec5890a196e5258b,744817e68f2ee6e9a4b3af632c587b80932123ff..010070526ef99936c8181131c4cad2029090d7de
++2011-09-10  Eli Zaretskii  <eliz@gnu.org>
++
++      Add autoload cookies for functions used by sendmail.el.
++      * mm-encode.el (mm-default-file-encoding): Add autoload cookie.
++
++      * mml.el (mml-to-mime, mml-attach-file): Add autoload cookies.
++
 +2011-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
 +
 +      * gnus-art.el (article-date-ut): Work properly even when there are
 +      things like Date header in the body; work for forwarded parts.
 +
 +2011-09-05  Andrew Cohen  <cohen@andy.bu.edu>
 +
 +      * gnus-sum.el (gnus-summary-exit): Ensure we kill the proper
 +      original-article-buffer.
 +
 +2011-09-05  Kan-Ru Chen  <kanru@kanru.info>
 +
 +      * nnir.el (nnir-compose-result): Fix matching of server type.
 +      (nnir-run-swish++): Ditto.
 +      (nnir-run-namazu): Ditto.
 +      (nnir-run-notmuch): Ditto.
 +
 +2011-09-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * gnus.el (gnus-home-directory): Add warning about setting in .gnus.el
 +      (bug#9405).
 +
 +      * gnus-score.el (gnus-summary-increase-score): Doc clarification
 +      (bug#9421).
 +
 +      * gnus-spec.el (gnus-face-0): Make all the face specs into defcustoms
 +      (bug#9425).
 +
 +      * gnus-art.el (gnus-treatment-function-alist): Remove CRs as the first
 +      thing (bug#9426).
 +
 +2011-09-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * nnimap.el (nnimap-open-connection-1): Use the correct port number in
 +      the error message.
 +
 +2011-09-02  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * message.el (message-setup-1): Return t (Bug#9392).
 +
 +2011-09-01  Andrew Cohen  <cohen@andy.bu.edu>
 +
 +      * gnus-sum.el: When adding article headers to a summary buffer also
 +      update gnus-newsgroup-articles (bug#9386).
 +
 +2011-08-30  Katsumi Yamaoka  <yamaoka@jpl.org>
 +
 +      * auth-source.el: Autoload help-mode.
 +
 +2011-08-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * gnus-group.el (gnus-group-name-charset): Don't bug out on server
 +      names.
 +
 +2011-08-27  Daiki Ueno  <ueno@unixuser.org>
 +
 +      * mml-smime.el (mml-smime-epg-verify): Don't use the 4th arg of
 +      mm-replace-in-string for compatibility issues.
 +      * mml2015.el (mml2015-epg-verify): Ditto.
 +
 +2011-08-26  Katsumi Yamaoka  <yamaoka@jpl.org>
 +
 +      * mailcap.el (mailcap-mime-data): Regexp-quote MIME subtype.
 +
 +      * gnus-msg.el (gnus-setup-message): Remove extra apostrophe.
 +
 +2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * nnmail.el (nnmail-get-new-mail-1): If one mail source bugs out,
 +      continue on and do the clean-up phase (bug#9188).
 +
 +      * gnus-sum.el (gnus-summary-expire-articles): When expiring articles,
 +      just ignore groups that can't be opened instead of erroring out
 +      (bug#9225).
 +
 +      * gnus-art.el (gnus-article-update-date-headers): Flip the default to
 +      nil since some many people are fuddy-duddies.
 +
 +      * gnus-html.el (gnus-html-image-fetched): Don't cache zero-length
 +      images.
 +
 +      * nntp.el (nntp-authinfo-file): Mark as obsolete -- use auth-source
 +      instead.
 +
 +      * pop3.el (pop3-wait-for-messages): Don't use Gnus functions here.
 +
 +      * gnus-util.el (gnus-process-live-p): Copy over compat function.
 +
 +      * pop3.el (pop3-wait-for-messages): If the pop3 process dies, stop
 +      processing.
 +
 +      * nntp.el (nntp-kill-buffer): Kill the process before killing the
 +      buffer to avoid warnings.
 +
 +2011-08-20  Simon Josefsson  <simon@josefsson.org>
 +
 +      * gnus-agent.el (gnus-agent-expire-done-message): Use %.f as format
 +      specified to reduce precision.
 +
  2011-08-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
        * nnimap.el (nnimap-transform-headers): Protect against (NIL ...)
index 055ba475b8e18e34a92ab1ba184647ca89dc4971,055ba475b8e18e34a92ab1ba184647ca89dc4971..0fb0e7a0795d2592c3af35af17e241d1bac7f6ea
@@@ -97,6 -97,6 +97,7 @@@ This variable should never be set direc
      (insert "Content-Type: multipart/mixed; boundary=\"" boundary "\"\n")
      boundary))
  
++;;;###autoload
  (defun mm-default-file-encoding (file)
    "Return a default encoding for FILE."
    (if (not (string-match "\\.[^.]+$" file))
index 8b196fa26fc97c4569207510dca86aa9ba63f10a,8b196fa26fc97c4569207510dca86aa9ba63f10a..e3939188a7b4cab2a86b902a51cf08207eb4629d
@@@ -897,6 -897,6 +897,7 @@@ If HANDLES is non-nil, use it instead r
  (autoload 'message-encode-message-body "message")
  (declare-function message-narrow-to-headers-or-head "message" ())
  
++;;;###autoload
  (defun mml-to-mime ()
    "Translate the current buffer from MML to MIME."
    ;; `message-encode-message-body' will insert an encoded Content-Description
@@@ -1294,6 -1294,6 +1295,7 @@@ to specify options.
    :version "22.1" ;; Gnus 5.10.9
    :group 'message)
  
++;;;###autoload
  (defun mml-attach-file (file &optional type description disposition)
    "Attach a file to the outgoing MIME message.
  The file is not inserted or encoded until you send the message with
index f7dc01e8ebfefc08ec1200b4f00389af29d93b57,a51c2c7e922769a3e1bd1acd127b84659426c055..4a319990b2f071312208f43f84096fef27de2b38
  
  (require 'rfc2047)
  
--(autoload 'mml-to-mime "mml"
--  "Translate the current buffer from MML to MIME.")
 -
 -(autoload 'mml-attach-file "mml"
 -  "Attach a file to the outgoing MIME message.
 -The file is not inserted or encoded until you send the message.")
 -
 -(autoload 'mm-default-file-encoding "mm-encode"
 -  "Return the default encoding for FILE.")
--
  (defgroup sendmail nil
    "Mail sending commands for Emacs."
    :prefix "mail-"
@@@ -700,6 -710,8 +700,8 @@@ Here are commands that move to a heade
  \\[mail-signature]  mail-signature (insert `mail-signature-file' file).
  \\[mail-yank-original]  mail-yank-original (insert current message, in Rmail).
  \\[mail-fill-yanked-message]  mail-fill-yanked-message (fill what was yanked).
 -\\[mail-attach-file] insert a text file into the message.
 -\\[mail-add-attachment] add to the message a file as binary attachment.
++\\[mail-insert-file] insert a text file into the message.
++\\[mail-add-attachment] attach to the message a file as binary attachment.
  Turning on Mail mode runs the normal hooks `text-mode-hook' and
  `mail-mode-hook' (in that order)."
    (make-local-variable 'mail-reply-action)
@@@ -868,6 -880,6 +870,7 @@@ header when sending a message to a mail
    :type '(repeat string)
    :group 'sendmail)
  
++(declare-function mml-to-mime "mml" ())
  
  (defun mail-send ()
    "Send the message in the current buffer.
@@@ -1697,7 -1709,7 +1700,7 @@@ If the current line has `mail-yank-pref
    (split-line mail-yank-prefix))
  
  \f
--(defun mail-attach-file (&optional file)
++(defun mail-insert-file (&optional file)
    "Insert a file at the end of the buffer, with separator lines around it."
    (interactive "fAttach file: ")
    (save-excursion
        (insert-file-contents file)
        (or (bolp) (newline))
        (goto-char start))))
 -  "Add FILE as a MIME attachment to the end of the message."
++(define-obsolete-function-alias 'mail-attach-file 'mail-insert-file "24.1")
++
++(declare-function mml-attach-file "mml"
++                (file &optional type description disposition))
++(declare-function mm-default-file-encoding "mm-encode" (file))
++
+ (defun mail-add-attachment (file)
++  "Add FILE as a MIME attachment to the end of the mail message being composed."
+   (interactive "fAttach file: ")
+   (mml-attach-file file
+                  (or (mm-default-file-encoding file)
+                      "application/octet-stream") nil)
+   (setq mail-encode-mml t))
  \f
  ;; Put these commands last, to reduce chance of lossage from quitting
  ;; in middle of loading the file.