* (gnus-set-summary-default-charset): Strip method and foreign server name
authoryamaoka <yamaoka>
Wed, 24 Mar 1999 01:57:38 +0000 (01:57 +0000)
committeryamaoka <yamaoka>
Wed, 24 Mar 1999 01:57:38 +0000 (01:57 +0000)
from the newsgroup name.

lisp/gnus-i18n.el

index 78eeb03..f516792 100644 (file)
@@ -69,6 +69,10 @@ It is specified by variable `gnus-newsgroup-default-charset-alist'
                        (set-buffer gnus-summary-buffer)
                        gnus-newsgroup-name))
                     (alist gnus-newsgroup-default-charset-alist))
+                ;; Strip method and foreign server name.
+                (when (string-match ":" group)
+                  (setq group (substring group (match-end 0)))
+                  )
                 (while alist
                   (let ((pair (car alist)))
                     (if (string-match (car pair) group)