diff options
| author | Eric Abrahamsen | 2019-06-21 13:35:27 -0700 |
|---|---|---|
| committer | Eric Abrahamsen | 2019-06-21 13:35:27 -0700 |
| commit | 5563d1cd829e6c17d22c18e345101feaf736312a (patch) | |
| tree | b618184fbe66020a637142eb96d5f9060d4e02a9 /lisp/gnus/message.el | |
| parent | cf804c86724248fc68c3adf74cad56c590e56194 (diff) | |
| download | emacs-scratch/gnus-decoded.tar.gz emacs-scratch/gnus-decoded.zip | |
Remove all remaining uses of gnus-group-decoded-namescratch/gnus-decoded
* 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):
(message-forward-subject-name-subject):
* lisp/gnus/gnus-msg.el (gnus-inews-insert-gcc):
(gnus-inews-make-draft):
* lisp/gnus/gnus-group.el (gnus-group-compact-group):
(gnus-group-list-active):
(gnus-group-kill-group):
(gnus-group-set-current-level):
(gnus-group-expire-articles-1):
(gnus-group-catchup-current):
(gnus-group-edit-group):
(gnus-group-rename-group):
(gnus-group-delete-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-unified-group-names.
(gnus-cache-file-name): Don't decode.
Diffstat (limited to 'lisp/gnus/message.el')
| -rw-r--r-- | lisp/gnus/message.el | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index c2374c70730..97b6d7e231a 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -1884,7 +1884,6 @@ You must have the \"hashcash\" binary installed, see `hashcash-path'." | |||
| 1884 | (autoload 'gnus-delay-article "gnus-delay") | 1884 | (autoload 'gnus-delay-article "gnus-delay") |
| 1885 | (autoload 'gnus-extract-address-components "gnus-util") | 1885 | (autoload 'gnus-extract-address-components "gnus-util") |
| 1886 | (autoload 'gnus-find-method-for-group "gnus") | 1886 | (autoload 'gnus-find-method-for-group "gnus") |
| 1887 | (autoload 'gnus-group-decoded-name "gnus-group") | ||
| 1888 | (autoload 'gnus-group-name-charset "gnus-group") | 1887 | (autoload 'gnus-group-name-charset "gnus-group") |
| 1889 | (autoload 'gnus-group-name-decode "gnus-group") | 1888 | (autoload 'gnus-group-name-decode "gnus-group") |
| 1890 | (autoload 'gnus-groups-from-server "gnus") | 1889 | (autoload 'gnus-groups-from-server "gnus") |
| @@ -7322,12 +7321,11 @@ news, Source is the list of newsgroups is was posted to." | |||
| 7322 | (let* ((group (message-fetch-field "newsgroups")) | 7321 | (let* ((group (message-fetch-field "newsgroups")) |
| 7323 | (from (message-fetch-field "from")) | 7322 | (from (message-fetch-field "from")) |
| 7324 | (prefix | 7323 | (prefix |
| 7325 | (if group | 7324 | (or group |
| 7326 | (gnus-group-decoded-name group) | 7325 | (or (and from (or |
| 7327 | (or (and from (or | 7326 | (car (gnus-extract-address-components from)) |
| 7328 | (car (gnus-extract-address-components from)) | 7327 | (cadr (gnus-extract-address-components from)))) |
| 7329 | (cadr (gnus-extract-address-components from)))) | 7328 | "(nowhere)")))) |
| 7330 | "(nowhere)")))) | ||
| 7331 | (concat "[" | 7329 | (concat "[" |
| 7332 | (if message-forward-decoded-p | 7330 | (if message-forward-decoded-p |
| 7333 | prefix | 7331 | prefix |
| @@ -7341,10 +7339,9 @@ Source is the sender, and if the original message was news, Source is | |||
| 7341 | the list of newsgroups is was posted to." | 7339 | the list of newsgroups is was posted to." |
| 7342 | (let* ((group (message-fetch-field "newsgroups")) | 7340 | (let* ((group (message-fetch-field "newsgroups")) |
| 7343 | (prefix | 7341 | (prefix |
| 7344 | (if group | 7342 | (or group |
| 7345 | (gnus-group-decoded-name group) | 7343 | (or (message-fetch-field "from") |
| 7346 | (or (message-fetch-field "from") | 7344 | "(nowhere)")))) |
| 7347 | "(nowhere)")))) | ||
| 7348 | (concat "[" | 7345 | (concat "[" |
| 7349 | (if message-forward-decoded-p | 7346 | (if message-forward-decoded-p |
| 7350 | prefix | 7347 | prefix |