1. 21 Jun, 2019 3 commits
    • Eric Abrahamsen's avatar
      Remove all remaining uses of gnus-group-decoded-name · 5563d1cd
      Eric Abrahamsen authored
      * lisp/gnus/gnus-art.el (gnus-article-setup-buffer):
      * lisp/gnus/nnrss.el (nnrss-retrieve-groups):
      * lisp/gnus/message.el (message-forward-subject-author-subject):
      * lisp/gnus/gnus-msg.el (gnus-inews-insert-gcc):
      * lisp/gnus/gnus-group.el (gnus-group-compact-group):
        (gnus-group-name-at-point): Remove calls in all these places, group
        names are always decoded.
      * lisp/gnus/gnus-cache.el: Remove variables
        gnus-cache-unified-group-names and gnus-cache-decoded-group-names,
        and function gnus-cache-decoded-group-name.
        (gnus-cache-generate-active): Do not access
        (gnus-cache-file-name): Don't decode.
    • Eric Abrahamsen's avatar
      Temporarily preserve encoded group names in Gnus category file · cf804c86
      Eric Abrahamsen authored
      * lisp/gnus/gnus-agent.el (gnus-category-read): Decode on read.
        (gnus-category-write): Encode on write.
    • Eric Abrahamsen's avatar
      Fix encoding bug in gnus-group-rename-group · ed5ddc1a
      Eric Abrahamsen authored
      * lisp/gnus/gnus-group.el (gnus-group-rename-group): Should not be
        encoding or decoding here.
  2. 20 Jun, 2019 1 commit
  3. 17 Jun, 2019 4 commits
    • Eric Abrahamsen's avatar
      Replace octal regexp with [:ascii:] char class in Gnus · cf1afe68
      Eric Abrahamsen authored
      In the regexp used to match multibyte group names
      * lisp/gnus/gnus-group.el (gnus-group-completing-read):
      * lisp/gnus/gnus-registry.el (gnus-registry--munge-group-names):
      * lisp/gnus/gnus-start.el (gnus-make-hashtable-from-newsrc-alist):
      * lisp/gnus/message.el (message-make-in-reply-to): Replace in these
    • Eric Abrahamsen's avatar
      Remove Gnus group name decoding in Gnus agent · 573e21d0
      Eric Abrahamsen authored
      No longer necessary, as group names are already decoded.
      * lisp/gnus/gnus-agent.el: Remove variable
        gnus-agent-decoded-group-names and function
        (gnus-agent-regenerate-group): Remove calls in these functions.
    • Eric Abrahamsen's avatar
      Decode group names in newsrc files as raw-text, not utf-8 · f0414124
      Eric Abrahamsen authored
      * lisp/gnus/gnus-start.el (gnus-newsrc-to-gnus-format): They're
        written as 'raw-text, like the comment says.
    • Eric Abrahamsen's avatar
      Ensure that group names are encoded in the Gnus registry file · 40ad1c0d
      Eric Abrahamsen authored
      * lisp/gnus/gnus-registry.el (gnus-registry--munge-group-names): New
        function for either encoding names (while saving) or decoding
        them (while reading).
        (gnus-registry-fixup-registry, gnus-registry-read): Use in these two
  4. 16 Jun, 2019 2 commits
  5. 11 Jun, 2019 1 commit
  6. 10 Jun, 2019 1 commit
    • Eric Abrahamsen's avatar
      Fix/extension to previous commit · 2e2ed9f8
      Eric Abrahamsen authored
      * lisp/gnus/gnus-start.el (gnus-read-newsrc-el-file): The same
        decoding needs to be done for group names in gnus-topic-alist.
        (gnus-gnus-to-quick-newsrc-format): Fix bogus temporary setting of
        variables; a simply let binding is sufficient.
  7. 07 Jun, 2019 1 commit
  8. 01 May, 2019 1 commit
  9. 30 Apr, 2019 1 commit
  10. 24 Apr, 2019 2 commits
  11. 22 Apr, 2019 2 commits
  12. 19 Apr, 2019 2 commits
  13. 18 Apr, 2019 1 commit
  14. 14 Apr, 2019 2 commits
    • Robert Pluim's avatar
      Downcase charset · 266c6229
      Robert Pluim authored
      RFC 2046 specifies that the charset parameter is case-insensitive.
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-with-decoded-handle):
      Downcase charset.  Suggested by Christophe TROESTLER
      <Christophe.TROESTLER@umons.ac.be>.  (Bug#35265).
    • Basil L. Contovounesios's avatar
      Fix gnus-group-describe-all-groups (bug#35233) · c49f5d57
      Basil L. Contovounesios authored
      This fixes oversights from
      2018-04-26T16:26:27-07:00!eric@ericabrahamsen.net and
      * lisp/gnus/gnus-group.el (gnus-group-describe-all-groups): Insert
      group name and description instead of group name twice.  Do not pass
      a hash-table to intern.  Call sort with correct number of arguments.
  15. 12 Apr, 2019 1 commit
    • Basil L. Contovounesios's avatar
      Always set gnus-group property to a group name · 2b82c829
      Basil L. Contovounesios authored
      * lisp/gnus/gnus-group.el (gnus-group-prepare-flat-list-dead): Set
      gnus-group property to a group name, not active info. (bug#33653)
      Simplify surrounding logic.
      (gnus-group-prepare-flat, gnus-group-goto-group): Use accessor
      (gnus-group-insert-group-line, gnus-group-new-mail)
      (gnus-group-mark-group): Write ?\s instead of ? .
      (gnus-group-group-name, gnus-group-list-active): Simplify.
  16. 11 Apr, 2019 1 commit
  17. 09 Apr, 2019 6 commits
  18. 08 Apr, 2019 3 commits
    • Katsumi Yamaoka's avatar
      Make `move article' work again (bug#33653) · 3e5e097f
      Katsumi Yamaoka authored
      * lisp/gnus/gnus-sum.el (gnus-summary-move-article): Back to while loop
      m dolist that blocks nov and active from saving (bug#33653).
    • Stefan Monnier's avatar
      * lisp/gnus/gnus-sum.el: Prepare for lexical-binding · 36dc39bf
      Stefan Monnier authored
      Add defvars for all the gnus-tmp-*.
      (gnus-summary-make-local-variables): Move let binding to avoid setq.
      (gnus-set-global-variables): Use dolist.
      (gnus-summary-from-or-to-or-newsgroups, gnus-summary-insert-line)
      (gnus-summary-insert-dummy-line): Avoid dynbind args.
      (gnus-build-old-threads): Remove unused var 'id'.
      (gnus-nov-parse-line): Remove unused var 'buffer'.
      (gnus-thread-header): Prepare it for a lexbind world.
      (gnus-adjust-marked-articles): Remove unused var 'marks'.
      (gnus-mark-xrefs-as-read): Remove unused var 'idlist'.
      (gnus-summary-display-article): Erase&widen before mm-enable-multibyte.
      (gnus-summary-better-unread-subject): Remove unused var 'score'.
      (gnus-summary-find-matching): Remove unused var 'd'.
      (ps-right-header, ps-left-header, shr-ignore-cache): Declare vars.
      (gnus-summary-idna-message, gnus-summary-morse-message)
      Fix interactive spec since we don't actually use any prefix arg.
      (gnus-summary-move-article, gnus-read-move-group-name): Use user-error.
      (gnus-summary-move-article): Use dolist.
      (gnus-summary-edit-article): Fix unquoting.
      (gnus-summary-highlight-line-0, gnus-summary-highlight-line):
      Declare dynbind vars documented in gnus-summary-highlight.
    • Stefan Monnier's avatar
      * lisp/gnus/gnus-agent.el (gnus-agent-fetch-articles): Use match-string · 31e9087c
      Stefan Monnier authored
      (gnus-agent-expire-group-1): Dial down on the 'setq'.
  19. 05 Apr, 2019 1 commit
  20. 03 Apr, 2019 1 commit
  21. 02 Apr, 2019 1 commit
    • Paul Eggert's avatar
      Improve regexp advice again, and unchain ranges · f9ff60e0
      Paul Eggert authored
      * doc/lispref/searching.texi (Regexp Special):
      Mention char classes earlier, in a more-logical place.
      Advise sticking to ASCII letters and digits in ranges.
      Reword negative advice to make it clearer that it’s negative.
      * lisp/files.el (make-auto-save-file-name):
      * lisp/gnus/message.el (message-mailer-swallows-blank-line):
      * lisp/gnus/nndoc.el (nndoc-lanl-gov-announce-type-p)
      * lisp/org/org-eshell.el (org-eshell-open):
      * lisp/org/org.el (org-deadline-time-hour-regexp)
      * lisp/progmodes/bat-mode.el (bat-font-lock-keywords):
      * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp):
      * lisp/textmodes/less-css-mode.el (less-css-font-lock-keywords):
      * lisp/vc/vc-cvs.el (vc-cvs-valid-symbolic-tag-name-p):
      * lisp/vc/vc-svn.el (vc-svn-valid-symbolic-tag-name-p):
      Avoid attempts to chain ranges, as this can be confusing.
      For example, instead of [0-9-_.], use [0-9_.-].
  22. 01 Apr, 2019 1 commit
  23. 31 Mar, 2019 1 commit