[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Modify gnus alist in .gnus. Hook?
From: |
Brady Trainor |
Subject: |
Modify gnus alist in .gnus. Hook? |
Date: |
Fri, 10 Oct 2014 05:27:40 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
I managed to shorten the group name used in `gnus-group-line-format',
but not sure how to set it up for use in my .gnus.el.
Either a hook or eval-after-load, but I'm failing on both.
Here is my modification:
--8<---------------cut here---------------start------------->8---
(add-to-list 'gnus-group-line-format-alist
`(?z (gnus-short-group-name gnus-tmp-qualified-group) ?s))
--8<---------------cut here---------------end--------------->8---
A minimal change to the group-line-format would be the z in the
otherwise default:
--8<---------------cut here---------------start------------->8---
(setq gnus-group-line-format "%M%S%p%P%5y:%B%(%z%)\n")
--8<---------------cut here---------------end--------------->8---
I tried lines like
--8<---------------cut here---------------start------------->8---
(add-hook 'gnus-started-hook
`(add-to-list 'gnus-group-line-format-alist
`(?z (gnus-short-group-name
gnus-tmp-qualified-group) ?s))
)
--8<---------------cut here---------------end--------------->8---
but this did not work.
--
Brady
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Modify gnus alist in .gnus. Hook?,
Brady Trainor <=