Learning gnus
Shortcuts
The group buffer
commands to change views
A A (gnus-group-list-active): list all groups that are available on the servers.
L , A u (gnus-group-list-all-groups): list all groups.
l (gnus-group-list-groups): list groups with unread articles.
t (gnus-topic-mode): toggle the minor topic mode.
Summary buffer
M-g (gnus-summary-rescan-group): show read messages. this seems to only work when all articles are read?
! or u (gnus-summary-tick-article-forward): tick the message.
M-u (gnus-summary-clear-mark-forward): clear mark.
/ o (gnus-summary-insert-old-articles): show unread messages along read messages.
reading messages
d or M-d (gnus-summary-next-unread-article): open current article, and go to next unread one.
n (gnus-summary-next-unread-article): open current article, and go to next unread one.
p (gnus-summary-prev-unread-article): open previous unread article, or go back to another group.
g (gnus-summary-show-article): show the article.
SPC (gnus-summary-next-page): page down the article and goes to next article, but will open if window is not present.
RET (gnus-summary-scroll-up): supposed to scroll up, but it just opens the current article and scrolls down the window.
= (gnus-summary-expand-window): expand the summary buffer, causing the article window to close.
u (shr-maybe-probe-and-copy-url) : copy the URL under point to the kill ring.
nnimap (backend)
integration with gmail
- Ticked messages (exclamation mark) translate to starred mails in gmail.
Mail Folders
Although IMAP keeps files on the server, the nnimap backend keeps sent message
in nnfolder-directory (default: ~/Mail).
Configuration
HTML messages
The configure script needs to be generated with the libxml2-dev installed in
order for emacs to be able to render html messages.
Multiple gmail accounts
secondary methods only
I had to configure the primary select method as (setq gnus-select-method
'(nnnil nil)) in order for gnus stopped confusing the secondary accounts with
the primary.
While figuring this out, I was left with some groups in the Group buffer that I could not get rid of. They did not appear as zombie groups, and killing them with C-k did not rid of them either.
In the end, I deleted the /.newsrc.eld file to reset everything.
Note that this will delete emails on setup where the mails are stored locally. It's harmless when viewing emails using IMAP protocol.
configuration files
~/.gnus.el:
(setq gnus-select-method '(nnnil nil))
(setq gnus-secondary-select-methods '((nnimap "[email protected]"
(nnimap-address "imap.gmail.com")
(nnimap-server-port "imaps")
(nnimap-stream ssl))
(nnimap "[email protected]"
(nnimap-address "imap.gmail.com")
(nnimap-server-port "imaps")
(nnimap-stream ssl))
(nnimap "[email protected]"
(nnimap-address "imap.gmail.com")
(nnimap-server-port "imaps")
(nnimap-stream ssl))))~/.authinfo.gpg:
machine [email protected] login [email protected] password helloworld port imaps
machine [email protected] login [email protected] password helloworld port 587
machine [email protected] login [email protected] password helloworld port imaps
machine [email protected] login [email protected] password helloworld port 587
machine [email protected] login [email protected] password helloworld port imaps
machine [email protected] login [email protected] password helloworld port 587