[Enable mail splitting to work with non-ASCII nnml groups]
[gnus] / lisp / ChangeLog
index 06e2868..7e5f4cd 100644 (file)
+2007-07-24  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * nnmail.el (nnmail-group-names-not-encoded-p): New variable.
+       (nnmail-split-incoming): Bind it.
+
+       * nnml.el (nnml-group-name-charset): New function.
+       (nnml-decoded-group-name): Use it; don't decode group name if
+       nnmail-group-names-not-encoded-p is non-nil.
+       (nnml-encoded-group-name): New function.
+       (nnml-group-pathname): Inline nnml-decoded-group-name.
+       (nnml-request-expire-articles): Decode group name in message.
+       (nnml-request-delete-group): Ditto; bind file-name-coding-system to
+       nnmail-pathname-coding-system.
+       (nnml-save-mail, nnml-active-number): Work with decoded group names and
+       not decoded ones according to nnmail-group-names-not-encoded-p.
+       (nnml-generate-active-info): Use nnml-encoded-group-name.
+
+2007-07-23  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-sum.el (gnus-summary-move-article): Make
+       gnus-summary-respool-article work.
+
+2007-07-21  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * mm-uu.el (mm-uu-type-alist): Refer to mm-uu-configure-list in doc
+       string.
+
+2007-07-20  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
+
+       * nnrss.el (nnrss-ignore-article-fields): New variable.  List of fields
+       that should be ignored when comparing distant RSS articles with local
+       ones.
+       (nnrss-make-hash-index): New function.  Create a hash index according
+       to the ignored fields.
+       (nnrss-check-group): Use it.
+
+2007-07-20  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-agent.el (gnus-agent-group-pathname): Take notice of the method.
+
+       * gnus-art.el (article-decode-group-name): Decode Xref header too.
+
+       * gnus-group.el (gnus-group-make-group): Encode group name here unless
+       the new optional argument ENCODED is non-nil.
+       (gnus-group-make-doc-group): Use gnus-group-name-charset to determine
+       coding system for encoding group name.
+       (gnus-group-make-rss-group): Pass un-encoded group name to
+       gnus-group-make-group.
+       (gnus-group-set-info): Tell gnus-group-make-group that group name is
+       encoded.
+
+       * gnus-sum.el (gnus-summary-move-article, gnus-read-move-group-name):
+       Encode group name to which articles are moved or copied.
+       (gnus-summary-edit-article): Use gnus-group-name-charset to determine
+       coding system for encoding Newsgroup, Followup-To and Xref headers.
+
+       * nnagent.el (nnagent-request-set-mark): Use unibyte buffer to compose
+       marks; use nnheader-file-coding-system to write a file.
+       (nnagent-retrieve-headers): Bind file-name-coding-system to
+       nnmail-pathname-coding-system.
+
+       * nnmail.el (nnmail-insert-xref): Don't break non-ASCII group name.
+
+       * nnml.el (nnml-decoded-group-name, nnml-group-pathname): New functions.
+       (nnml-request-article, nnml-request-create-group)
+       (nnml-request-rename-group, nnml-find-id)
+       (nnml-possibly-change-directory, nnml-possibly-create-directory)
+       (nnml-save-mail, nnml-active-number, nnml-marks-changed-p)
+       (nnml-save-marks): Use nnml-group-pathname instead of
+       nnmail-group-pathname.
+
+       (nnml-request-create-group, nnml-request-expire-articles)
+       (nnml-request-move-article, nnml-request-delete-group)
+       (nnml-deletable-article-p, nnml-possibly-create-directory)
+       (nnml-get-nov-buffer, nnml-generate-nov-databases-directory)
+       (nnml-open-marks): Bind file-name-coding-system to
+       nnmail-pathname-coding-system.
+
+       (nnml-request-article): Pass server argument to nnml-find-group-number.
+       (nnml-request-create-group, nnml-active-number, nnml-save-marks): Pass
+       server argument to nnml-possibly-create-directory.
+       (nnml-request-accept-article): Pass server argument to
+       nnml-active-number and nnml-save-mail.
+       (nnml-find-group-number): Pass server argument to nnml-find-id.
+       (nnml-request-update-info): Pass server argument to
+       nnml-marks-changed-p.
+
+       (nnml-find-id, nnml-find-group-number, nnml-possibly-create-directory)
+       (nnml-save-mail, nnml-active-number): Add server argument.
+
+       (nnml-request-delete-group): Warn if group is missing.
+       (nnml-get-nov-buffer): Decode group name.
+       (nnml-generate-active-info): Encode group name.
+       (nnml-open-marks): Decode group name in messages.
+
+2007-07-19  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-art.el (gnus-article-part-wrapper): Work with the nearest part
+       if it is not specified.
+       (gnus-article-pipe-part, gnus-article-save-part)
+       (gnus-article-interactively-view-part, gnus-article-copy-part)
+       (gnus-article-view-part-as-charset, gnus-article-view-part-externally)
+       (gnus-article-inline-part, gnus-article-save-part-and-strip)
+       (gnus-article-replace-part, gnus-article-delete-part)
+       (gnus-article-view-part-as-type): Pass raw prefix argument to
+       gnus-article-part-wrapper.
+
+2007-07-18  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-agent.el (gnus-agent-save-active): Bind
+       nnheader-file-coding-system to gnus-agent-file-coding-system.
+
+       * gnus-cache.el (gnus-cache-save-buffers)
+       (gnus-cache-possibly-enter-article, gnus-cache-request-article)
+       (gnus-cache-retrieve-headers, gnus-cache-change-buffer)
+       (gnus-cache-possibly-remove-article, gnus-cache-articles-in-group)
+       (gnus-cache-braid-nov, gnus-cache-braid-heads)
+       (gnus-cache-generate-active, gnus-cache-rename-group)
+       (gnus-cache-delete-group, gnus-cache-update-file-total-fetched-for)
+       (gnus-cache-update-overview-total-fetched-for): Bind
+       file-name-coding-system to nnmail-pathname-coding-system.
+       (gnus-cache-decoded-group-names, gnus-cache-unified-group-names): New
+       variables.
+       (gnus-cache-decoded-group-name): New function.
+       (gnus-cache-file-name): Use it.
+       (gnus-cache-generate-active): Use non-decoded group name for active.
+
+       * gnus-util.el (gnus-write-buffer): Bind file-name-coding-system at the
+       right place.
+       (gnus-write-active-file): Don't break non-ASCII group names.
+
+       * nntp.el (nntp-marks-changed-p): Bind file-name-coding-system to
+       nnmail-pathname-coding-system.
+
+       * lpath.el: Bind default-file-name-coding-system,
+       file-name-coding-system and language-info-alist for XEmacs.
+
+       * gnus-uu.el (gnus-uu-decode-save): Typo.
+
+2007-07-16  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-srvr.el (gnus-server-font-lock-keywords): Quote faces.
+
+2007-07-13  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-agent.el (gnus-agent-rename-group, gnus-agent-delete-group)
+       (gnus-agent-fetch-articles, gnus-agent-unfetch-articles)
+       (gnus-agent-crosspost, gnus-agent-backup-overview-buffer)
+       (gnus-agent-flush-group, gnus-agent-flush-cache)
+       (gnus-agent-fetch-headers, gnus-agent-load-alist)
+       (gnus-agent-read-agentview, gnus-agent-expire-group-1)
+       (gnus-agent-retrieve-headers, gnus-agent-request-article)
+       (gnus-agent-regenerate-group)
+       (gnus-agent-update-files-total-fetched-for)
+       (gnus-agent-update-view-total-fetched-for): Bind
+       file-name-coding-system to nnmail-pathname-coding-system.
+       (gnus-agent-group-pathname): Don't encode file names by
+       nnmail-pathname-coding-system.
+       (gnus-agent-save-local): Bind file-name-coding-system correctly; bind
+       coding-system-for-write instead of buffer-file-coding-system to
+       gnus-agent-file-coding-system.
+
+       * gnus-msg.el (gnus-inews-make-draft, gnus-inews-insert-archive-gcc):
+       Decode group name.
+
+       * gnus-srvr.el (gnus-browse-foreign-server): Make group names unibyte.
+
+       * gnus-start.el (gnus-update-active-hashtb-from-killed)
+       (gnus-read-newsrc-el-file): Make group names unibyte.
+
+       * nnmail.el (nnmail-group-pathname): Don't encode file names by
+       nnmail-pathname-coding-system.
+
+       * nnrss.el (nnrss-file-coding-system): Doc fix; make it begin with *.
+       (nnrss-request-delete-group): Bind file-name-coding-system to
+       nnmail-pathname-coding-system.
+       (nnrss-read-server-data, nnrss-read-group-data): Bind
+       file-name-coding-system correctly.
+       (nnrss-check-group): Pass nnrss-file-coding-system to md5.
+
+       * nntp.el: Require gnus-group for the function gnus-group-name-charset.
+       (nntp-server-to-method-cache): New variable.
+       (nntp-group-pathname): New function that decodes non-ASCII group names.
+       (nntp-possibly-create-directory, nntp-marks-changed-p)
+       (nntp-save-marks, nntp-open-marks): Use it.
+       (nntp-possibly-create-directory, nntp-open-marks):
+       Bind file-name-coding-system to nnmail-pathname-coding-system.
+       (nntp-open-marks): Decode group names when bootstrapping marks.
+
+       * rfc2047.el (rfc2047-encode-message-header): Make XEmacs decode
+       Newsgroups and Folowup-To headers.
+
+2007-07-13  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-srvr.el (gnus-server-agent-face, gnus-server-opened-face)
+       (gnus-server-closed-face, gnus-server-denied-face)
+       (gnus-server-offline-face): Remove variable.
+       (gnus-server-font-lock-keywords): Use faces that are not aliases.
+
+       * gnus-util.el (gnus-message-with-timestamp-1): Use log-message instead
+       of modifying message-stack directly for XEmacs.
+
+       * mm-util.el (mm-decode-coding-string, mm-encode-coding-string)
+       (mm-decode-coding-region, mm-encode-coding-region): Don't modify string
+       if the coding-system argument is nil for XEmacs.
+
+       * nnrss.el (nnrss-compatible-encoding-alist): Inherit the value of
+       mm-charset-override-alist.
+
+       * rfc2047.el: Don't require base64; require rfc2045 for the function
+       rfc2045-encode-string.
+       (rfc2047-encode-parameter): Use rfc2045-encode-string to quote or not
+       to quote the parameter value.
+
+2007-07-06  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-group.el (gnus-group-name-charset): Allow a method of the short
+       form in gnus-group-name-charset-method-alist.
+
+       * gnus-eform.el (gnus-edit-form): Add optional argument layout which
+       overrides the default layout edit-form.
+
+       * gnus-win.el (gnus-buffer-configuration): Add edit-server.
+
+       * gnus-srvr.el (gnus-server-edit-server): Use edit-server layout.
+
+2007-07-04  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-sum.el (gnus-summary-catchup): Don't recognize cached articles
+       as unfetched articles.
+
+2007-07-02  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * gnus-start.el (gnus-level-unsubscribed): Improve doc string.
+
+2007-07-02  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * nnagent.el (nnagent-request-set-mark): Also set the marks for the
+       original back end that keeps marks in the local system.
+
+2007-06-26  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-art.el (gnus-article-summary-command-nosave): Don't set the 3rd
+       arg of pop-to-buffer for XEmacs.
+       (gnus-article-read-summary-keys): Ditto; don't restore window
+       configuration if summary command ends up with neither article buffer
+       nor summary buffer; describe bindings if summary keys end with C-h.
+
+2007-06-22  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * message.el (message-fix-before-sending): Skip raw message part to be
+       forwarded while checking illegible text.
+       (message-forward-make-body-mime, message-forward-make-body): Mark
+       signed or encrypted raw message as having no illegible text.
+
+2007-06-19  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-util.el (gnus-add-timestamp-to-message): New user option.
+       (gnus-message-with-timestamp-1): New macro.
+       (gnus-message-with-timestamp): New function.
+       (gnus-message): Use them.
+
+       * nnheader.el (nnheader-message): Use them.
+
+2007-06-16  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * gnus-start.el (gnus-gnus-to-quick-newsrc-format): Add newlines to
+       .newsrc.eld file.
+
+2007-06-14  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-agent.el (gnus-agent-fetch-headers)
+       (gnus-agent-retrieve-headers): Bind
+       gnus-decode-encoded-address-function to identity.
+
+       * nntp.el (nntp-send-xover-command): Recognize an xover command is
+       available also when the server returns simply a dot.
+
+       * gnus-ems.el (gnus-x-splash): Redisplay window before measuring it.
+
+2007-06-08  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-ems.el (gnus-x-splash): Fix calculation; error in tty.
+
+2007-06-07  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-ems.el (gnus-x-splash): Make it work.
+
+       * gnus-start.el (gnus-1): Relax restrictions that prevent gnus-x-splash
+       from being used.
+
+       * lpath.el: Bind line-spacing and tool-bar-mode for XEmacs.
+
 2007-06-05  Katsumi Yamaoka  <yamaoka@jpl.org>
 
-       * gnus-art.el (gnus-article-summary-command-nosave): Correct the order
-       of the arguments passed to pop-to-buffer.
+       * gnus-xmas.el (gnus-xmas-define): Make gnus-make-overlay ignore the
+       4th and the 5th arguments.
+
+       * gnus-art.el (gnus-insert-mime-button): Make a button overlay without
+       the front stickiness.
+       (gnus-article-summary-command-nosave): Correct the order of the
+       arguments passed to pop-to-buffer.
        (gnus-article-read-summary-keys): Ditto; make it work properly when the
        summary command ends up with the article buffer.
 
        * mm-decode.el (mm-insert-part): Separate the extracted parts that have
        the same faces.
 
+2007-06-07  Juanma Barranquero  <lekktu@gmail.com>
+
+       * gnus-art.el (gnus-split-methods): Fix typo in docstring.
+
+2007-06-06  Juanma Barranquero  <lekktu@gmail.com>
+
+       * gnus-diary.el (gnus-diary-time-format, gnus-summary-sort-by-schedule):
+       * gnus-sum.el (gnus-summary-highlight):
+       * pgg.el (pgg-sign-region, pgg-sign):
+       * mail-source.el (mail-source-delete-old-incoming-confirm):
+       * nndiary.el (nndiary-reminders): Fix typos in docstrings.
+
 2007-06-04  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-art.el (gnus-mime-view-part-externally)
 
 2007-04-18  Levin Du  <zslevin@gmail.com>  (tiny change)
 
-       * calendar/parse-time.el (parse-time-string-chars): Check if CHAR
+       * parse-time.el (parse-time-string-chars): Check if CHAR
        is less than the length of parse-time-syntax.
 
 2007-04-17  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * nnrss.el (nnrss-check-group): Bind hash-index.
 
-2006-05-23  Michael Cadilhac  <michael.cadilhac@lrde.org>
+2006-05-23  Micha\e,Ak\e(Bl Cadilhac  <michael.cadilhac@lrde.org>
 
        * nnrss.el (nnrss-check-group): Use the md5sum of the whole RSS item as
        its hash index.  Store this hash in `nnrss-group-data'.
 
        * mm-view.el (mm-view-pkcs7-verify): Implement using smime.el.
 
-2006-02-21  Wolfram Fenske  <wolfram.fenske@student.uni-magdeburg.de>
-       (tiny change)
+2006-02-21  Wolfram Fenske  <wolfram.fenske@student.uni-magdeburg.de>  (tiny change)
 
        * nnimap.el (nnimap-request-move-article): Change folder back to
        source group before deleting.
        * nnmail.el (nnmail-split-fancy-with-parent-ignore-groups)
        (nnmail-cache-ignore-groups, nnmail-spool-hook)
        (nnmail-split-fancy-match-partial-words)
-       (nnmail-split-lowercase-expanded):
+       (nnmail-split-lowercase-expanded): Add :version.
 
        * nndiary.el (nndiary): Add :version.
 
 
        * nnmail.el (nnmail-fancy-expiry-targets)
        (nnmail-mail-splitting-charset, nnmail-mail-splitting-decodes):
+       Add :version.
 
        * nnimap.el (nnimap-split-download-body, nnimap-dont-close)
        (nnimap-retrieve-groups-asynchronous): Add :version.
        * mml.el (mml-content-disposition-parameters)
        (mml-insert-mime-headers-always): Add :version.
 
-       * mm-util.el (mm-coding-system-priorities):
+       * mm-util.el (mm-coding-system-priorities): Add :version.
 
        * mm-decode.el (mm-inline-text-html-with-images)
        (mm-keep-viewer-alive-types, mm-external-terminal-program)
        * gnus-srvr.el (gnus-server-browse-in-group-buffer)
        (gnus-server-offline-face): Add :version.
 
-       * gnus-score.el (gnus-adaptive-word-length-limit):
+       * gnus-score.el (gnus-adaptive-word-length-limit): Add :version.
 
        * gnus-msg.el (gnus-gcc-externalize-attachments)
        (gnus-debug-files, gnus-debug-exclude-variables)
        * gnus-delay.el (gnus-delay-default-hour): Add :version.
 
        * gnus-cite.el (gnus-cite-blank-line-after-header)
-       (gnus-article-boring-faces):
+       (gnus-article-boring-faces): Add :version.
 
        * gnus-art.el (gnus-buttonized-mime-types)
        (gnus-inhibit-mime-unbuttonizing)