1. 31 Aug, 2010 1 commit
  2. 21 Jul, 2010 1 commit
  3. 06 May, 2010 2 commits
  4. 03 May, 2010 1 commit
    • Stefan Monnier's avatar
      Use define-minor-mode in Gnus where applicable. · bbf52f1e
      Stefan Monnier authored
      * mml.el (mml-mode): Use define-minor-mode.
      * gnus-undo.el (gnus-undo-mode-map): Initialize in declaration.
      (gnus-undo-mode): Use define-minor-mode.
      * gnus-sum.el (gnus-dead-summary-mode-map): Initialize in declaration.
      (gnus-dead-summary-mode): Use define-minor-mode.
      * gnus-salt.el (gnus-pick-mode-map, gnus-binary-mode-map):
      Initialize in declaration.
      (gnus-pick-mode, gnus-binary-mode): Use define-minor-mode.
      * gnus-ml.el (gnus-mailing-list-mode-map): Initialize in declaration.
      (gnus-mailing-list-mode): Use define-minor-mode.
      * gnus-draft.el (gnus-draft-mode-map): Initialize in declaration.
      (gnus-draft-mode): Use define-minor-mode.
      * gnus-dired.el (gnus-dired-mode-map): Initialize in declaration.
      (gnus-dired-mode): Use define-minor-mode.
      bbf52f1e
  5. 19 Mar, 2010 1 commit
    • Glenn Morris's avatar
      Stop message.el from loading about 40 libraries it doesn't always need. · aa8f8277
      Glenn Morris authored
      The general approach is to autoload rather than require, and to
      require in the specific functions rather than the file.  (Bug#5642)
      
      * url/url.el: Move mailcap require earlier in the file.
      
      * gnus/gmm-utils.el: Don't require wid-edit.
      (widget-create-child-value, widget-convert, widget-default-get):
      Autoload.
      
      * gnus/gnus-util.el: Don't require time-date, netrc.
      (message-fetch-field, gnus-group-name-decode): Declare rather than
      autoloading.
      (gnus-fetch-field): Require message.
      (gnus-decode-newsgroups): Require gnus-group.
      
      * gnus/ietf-drums.el: Don't require time-date.
      
      * gnus/message.el: Don't require hashcash, canlock, ecomplete.
      Do require mail-utils.  Require nnheader only when compiling.
      (smtpmail-default-smtp-server): Remove declaration.
      (message-send-mail-function): Check smtpmail-default-smtp-server
      is bound rather than requiring smtpmail.
      (message-auto-save-directory, message-insert-signature): Use
      expand-file-name rather than nnheader-concat.
      (nnheader-insert-file-contents): Autoload.
      (hashcash-wait-async): Declare.
      (message-send-mail): Only call gnus-setup-posting-charset if
      gnus-group-posting-charset-alist is bound.  Require hashcash if needed.
      (message-send-mail-with-sendmail): Require sendmail.
      (canlock-password, canlock-password-for-verify): Declare.
      (message-canlock-password): Require canlock.
      (nnheader-get-report): Autoload.
      (gnus-setup-posting-charset): Declare.
      (message-send-news): Require gnus-msg.
      (message-make-references, message-make-in-reply-to): Use mail-header-id
      rather than the alias mail-header-message-id.
      (ecomplete-add-item, ecomplete-save): Declare.
      (message-put-addresses-in-ecomplete): Require ecomplete.
      (ecomplete-display-matches): Autoload.
      
      * gnus/mm-decode.el: Don't require mailcap, gnus-util.
      (gnus-map-function, gnus-replace-in-string, gnus-read-shell-command)
      (message-fetch-field, mailcap-parse-mailcaps, mailcap-mime-info):
      Autoload.
      (mailcap-mime-extensions): Declare.
      
      * gnus/mm-encode.el: Don't require mailcap.
      (mailcap-extension-to-mime): Autoload.
      
      * gnus/mml-sec.el: Don't require password-cache.
      
      * gnus/mml.el (gnus-setup-posting-charset): Declare rather than autoload.
      (mailcap-parse-mimetypes, mailcap-mime-types): Declare.
      (mml-minibuffer-read-type): Require mailcap.
      (mml-preview): Require gnus-msg.
      
      * gnus/mml1991.el: Require password-cache.
      (password-cache-expiry): Remove declaration.
      
      * gnus/mml2015.el: Require password-cache.
      (password-cache-expiry): Remove declaration.
      
      * gnus/nneething.el (mailcap): Require mailcap.
      
      * gnus/nnheader.el: (declare-function): Add compatibility stub.
      (message-remove-header): Declare rather than autoload.
      (nnheader-replace-header): Require message.
      
      * gnus/nnimap.el (declare-function): Add compatibility stub.
      (netrc-parse, netrc-machine-user-or-password): Declare.
      (nnimap-open-connection): Require netrc.
      
      * gnus/nntp.el (declare-function): Add compatibility stub.
      (netrc-parse, netrc-machine, netrc-get): Declare.
      (nntp-send-authinfo): Require netrc.
      
      * gnus/rfc2047.el: Don't require qp.
      (quoted-printable-encode-region, quoted-printable-decode-string):
      Autoload.
      
      * gnus/sieve-mode.el: Don't require easymenu.
      (easy-menu-add-item): Autoload it.
      
      * gnus/spam-stat.el (time-to-number-of-days): Autoload it.
      
      * password-cache.el (password-cache, password-cache-expiry):
      Autoload.
      aa8f8277
  6. 17 Mar, 2010 1 commit
  7. 13 Jan, 2010 1 commit
  8. 10 Sep, 2009 1 commit
    • Katsumi Yamaoka's avatar
      * nnrss.el (nnrss-request-article): Remove binding of · 83ccc32c
      Katsumi Yamaoka authored
      default-enable-multibyte-characters that has gotten needless by
      the 2007-07-13 change in rfc2047-encode-message-header.
      
      * mml.el (mml-insert-multipart): Error on the message header.
      (mml-insert-part): Error on the message header; position point at
      the end of a MIME tag.
      83ccc32c
  9. 09 Sep, 2009 1 commit
    • Katsumi Yamaoka's avatar
      2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org> · de0bdfe7
      Katsumi Yamaoka authored
      * gnus-util.el (gnus-float-time): Alias to float-time if it exists.
      
      * ecomplete.el (with-no-warnings): Define it for old Emacsen.
      (ecomplete-add-item): Don't use (featurep 'xemacs) to check if
      float-time is available; suppress compile warning for time-to-seconds.
      
      2009-09-07  Katsumi Yamaoka  <yamaoka@jpl.org>
      
      * mm-encode.el (mm-encode-buffer): Don't force 7bit encoding since MTA
      may break data.  Suggested by Dmitri Paduchikh <dpaduch@k66.ru>.
      Add the optional argument `encoding' that overrides the default.
      
      * mml.el (mml-generate-mime-1): Pass encoding defined by a user to
      mm-encode-buffer.
      
      2009-09-02  Karl Kleinpaste  <karl@kleinpaste.org>
      
      * gnus-art.el (gnus-article-read-summary-keys):
      Fix gnus-buffer-configuration's value temporarily used.
      de0bdfe7
  10. 01 Sep, 2009 1 commit
  11. 29 Aug, 2009 1 commit
  12. 03 Mar, 2009 1 commit
  13. 05 Jan, 2009 1 commit
  14. 19 Dec, 2008 1 commit
  15. 17 Dec, 2008 1 commit
  16. 30 Sep, 2008 1 commit
  17. 11 Jun, 2008 1 commit
  18. 18 May, 2008 1 commit
  19. 06 May, 2008 1 commit
  20. 10 Apr, 2008 1 commit
  21. 29 Mar, 2008 1 commit
  22. 10 Mar, 2008 1 commit
  23. 29 Feb, 2008 1 commit
  24. 24 Feb, 2008 1 commit
  25. 24 Jan, 2008 1 commit
  26. 07 Jan, 2008 1 commit
  27. 19 Dec, 2007 1 commit
    • Glenn Morris's avatar
      (message-options-set, message-narrow-to-head) · 541cbf8b
      Glenn Morris authored
      (message-in-body-p, message-mail-p, message-encode-message-body): Autoload.
      (message-remove-header, message-narrow-to-headers-or-head)
      (message-subscribed-p, message-make-mail-followup-to)
      (message-position-on-field, message-news-p)
      (message-options-set-recipient, message-generate-headers)
      (message-sort-headers): Declare as functions.
      541cbf8b
  28. 11 Dec, 2007 1 commit
  29. 16 Nov, 2007 1 commit
    • Dan Nicolaescu's avatar
      * smime.el (from): · 9efa445f
      Dan Nicolaescu authored
      * rfc2047.el (message-posting-charset):
      * qp.el (mm-use-ultra-safe-encoding):
      * pop3.el (parse-time-months):
      * nnrss.el (mm-text-html-renderer, mm-text-html-washer-alist):
      * nnml.el (files):
      * nnheader.el (gnus-newsgroup-name, nnheader-file-coding-system)
      (jka-compr-compression-info-list, ange-ftp-path-format)
      (efs-path-regexp):
      * nndiary.el (files):
      * mml2015.el (mc-default-scheme, mc-schemes, pgg-default-user-id)
      (pgg-errors-buffer, pgg-output-buffer, epg-user-id-alist)
      (epg-digest-algorithm-alist, inhibit-redisplay)
      (password-cache-expiry):
      * mml1991.el (pgg-default-user-id, pgg-errors-buffer)
      (pgg-output-buffer, password-cache-expiry):
      * mml.el (mml-dnd-protocol-alist, ange-ftp-name-format)
      (efs-path-regexp):
      * mml-smime.el (epg-user-id-alist, epg-digest-algorithm-alist)
      (inhibit-redisplay):
      * mm-uu.el (file-name, start-point, end-point, entry)
      (gnus-newsgroup-name, gnus-newsgroup-charset):
      * mm-util.el (mm-mime-mule-charset-alist, latin-unity-coding-systems)
      (latin-unity-ucs-list):
      * mm-bodies.el (mm-uu-yenc-decode-function, mm-uu-decode-function)
      (mm-uu-binhex-decode-function):
      * message.el (gnus-message-group-art, gnus-list-identifiers, )
      (rmail-enable-mime-composing, gnus-local-organization)
      (gnus-post-method, gnus-select-method, gnus-active-hashtb)
      (gnus-read-active-file, facemenu-add-face-function)
      (facemenu-remove-face-function, gnus-article-decoded-p)
      (tool-bar-mode):
      * mail-source.el (display-time-mail-function):
      * gnus-util.el (nnmail-pathname-coding-system)
      (nnmail-active-file-coding-system, gnus-emphasize-whitespace-regexp)
      (gnus-original-article-buffer, gnus-user-agent)
      (rmail-default-rmail-file, mm-text-coding-system, tool-bar-mode)
      (xemacs-codename, sxemacs-codename, emacs-program-version):
      * gnus-sum.el (tool-bar-mode, gnus-tmp-header, number):
      * gnus-start.el (gnus-agent-covered-methods)
      (gnus-agent-file-loading-local, gnus-agent-file-loading-cache)
      (gnus-current-headers, gnus-thread-indent-array, gnus-newsgroup-name)
      (gnus-newsgroup-headers, gnus-group-list-mode)
      (gnus-group-mark-positions, gnus-newsgroup-data)
      (gnus-newsgroup-unreads, nnoo-state-alist)
      (gnus-current-select-method, mail-sources)
      (nnmail-scan-directory-mail-source-once, nnmail-split-history)
      (nnmail-spool-file, gnus-cache-active-hashtb):
      * gnus-mh.el (mh-lib-progs):
      * gnus-ems.el (gnus-tmp-unread, gnus-tmp-replied)
      (gnus-tmp-score-char, gnus-tmp-indentation, gnus-tmp-opening-bracket)
      (gnus-tmp-lines, gnus-tmp-name, gnus-tmp-closing-bracket)
      (gnus-tmp-subject-or-nil, gnus-check-before-posting, gnus-mouse-face)
      (gnus-group-buffer):
      * gnus-cite.el (font-lock-defaults-computed, font-lock-keywords)
      (font-lock-set-defaults):
      * gnus-art.el (tool-bar-map, w3m-minor-mode-map)
      (gnus-face-properties-alist, charset, gnus-summary-article-menu)
      (gnus-summary-post-menu, total-parts, type, condition, length):
      * gnus-agent.el (gnus-agent-read-agentview):
      * flow-fill.el (show-trailing-whitespace):
      * gnus-group.el (tool-bar-mode, nnrss-group-alist): Remove unnecessary
      eval-and-compile wrappers for byte compiler pacifiers.
      
      * mm-view.el (mm-inline-image-xemacs): Only do something for XEmacs.
      (mm-display-inline-fontify): Check for featurep 'xemacs not
      extent-list.
      
      * mm-decode.el (mm-display-external): Check for featurep 'xemacs not
      itimer-list.
      (mm-create-image-xemacs): Only do something for XEmacs.
      (mm-image-fit-p): Check for featurep 'xemacs not glyph-width.
      
      * mm-util.el (mm-find-buffer-file-coding-system): Add check for XEmacs.
      
      * gnus-registry.el (gnus-adaptive-word-syntax-table):
      * gnus-fun.el (gnus-face-properties-alist): Pacify byte compiler.
      
      * textmodes/reftex-dcr.el (reftex-start-itimer-once): Add check
      for XEmacs.
      
      * calc/calc-menu.el (calc-mode-map): Pacify byte compiler.
      
      * doc-view.el (doc-view-resolution): Add missing :group.
      9efa445f
  30. 28 Oct, 2007 1 commit
  31. 27 Aug, 2007 1 commit
    • Miles Bader's avatar
      Merge from gnus--rel--5.10 · 9b8801ec
      Miles Bader authored
      Patches applied:
      
       * gnus--rel--5.10  (patch 246-247)
      
         - Update from CVS
      
      2007-08-23  Katsumi Yamaoka  <yamaoka@jpl.org>
      
         * lisp/gnus/mml.el (mml-generate-mime): Make sure it uses multibyte temp buffer.
         (mml-generate-mime-1): Don't encode body if it is specified to be in
         raw form; don't make buffer be unibyte when inserting multibyte string.
      
      2007-08-24  IRIE Tetsuya  <irie@t.email.ne.jp>  (tiny change)
      
         * man/message.texi (MIME): Replace mml-attach with mml-attach-file.
      
      Revision: emacs@sv.gnu.org/emacs--rel--22--patch-100
      9b8801ec
  32. 25 Jul, 2007 1 commit
  33. 21 Jan, 2007 1 commit
  34. 16 Nov, 2006 1 commit
    • Miles Bader's avatar
      Merge from gnus--rel--5.10 · 4573e0df
      Miles Bader authored
      Patches applied:
      
       * gnus--rel--5.10  (patch 164-166)
      
         - Update from CVS
      
      2006-11-15  Reiner Steib  <Reiner.Steib@gmx.de>
      
         * lisp/gnus/gnus-util.el (gnus-extract-address-components): Improve comment.
      
      2006-11-14  Katsumi Yamaoka  <yamaoka@jpl.org>
      
         * lisp/gnus/gnus-util.el (gnus-extract-address-components): Work with address in
         which the name portion contains @.
      
      2006-11-14  Reiner Steib  <Reiner.Steib@gmx.de>
      
         * lisp/gnus/gnus.el (gnus-start): Move custom group up.
         (gnus-select-method): Don't autoload, but make it available for
         `customize-variable'.
         (gnus-getenv-nntpserver): Don't autoload.
      
      2006-11-14  Katsumi Yamaoka  <yamaoka@jpl.org>
      
         * lisp/gnus/mml.el (mml-generate-mime-1): Use mm-string-as-unibyte instead of
         mm-with-unibyte-current-buffer to make string unibyte.
      
         * lisp/gnus/mm-decode.el (mm-insert-part): Use mm-string-to-multibyte instead of
         mm-string-as-multibyte.
      
      2006-11-09  Reiner Steib  <Reiner.Steib@gmx.de>
      
         * lisp/gnus/message.el: Merge from the trunk to fix the bug WRT double encoded
         subjects.
         (message-replacement-char): New variable.
         (message-fix-before-sending): Use it.
         (message-simplify-subject): New function to remove duplicate code.
         (message-reply, message-followup): Use it.
         (message-simplify-subject-functions): New variable.
         (message-strip-subject-encoded-words): New function
      
      2006-11-08  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
      
         * lisp/gnus/gnus-sum.el (gnus-summary-catchup): Use gnus-sorted-intersection
         instead of gnus-intersection because arguments of gnus-sorted-nunion
         must be sorted.  This avoids corruption of gnus-newsgroup-unreads.
      
      Revision: emacs@sv.gnu.org/emacs--devo--0--patch-515
      4573e0df
  35. 26 Apr, 2006 1 commit
  36. 23 Mar, 2006 1 commit
  37. 03 Mar, 2006 1 commit
  38. 08 Feb, 2006 1 commit
  39. 04 Feb, 2006 1 commit