arnaud.oqube | 19 Jul 2012 09:24
Picon
Gravatar

Trouble setting up Gnus

Hello,
I have been using Gnus for several years in the 2000's but then switched
to web-based clients, having to work behind closed walls in corporate
settings where strange MUAs (eg. anything not Outlook) are not well
appreciated. 

I am back again trying to setting up Gnus as my mail reader and I
encounter some annoying things I cannot explain. My setting is rather
simple:
 - I use offlineimap to fetch data for 2 accounts (Gmail + Office365)
 - I configured Gnus to read this mails using mmmaildir. 

Here are a list of concerns:
 - when I open gnus, although I added 'gnus-topic-mode as a hook, groups
 do not appear classified by topics but in plain list form,
 - again when I open gnus, groups' status does not appear to have been
 saved and I got all my groups in the following format:

        *: INBOX.linkedin
        *: INBOX.kanbandev
        *: INBOX.jsdoc
        *: INBOX.js
        *: INBOX.ieee-acm

 - groups are never updated in the group buffer. I need enter them and
   explicitly do M-g to update
 - bbdb does nothing, although I configured it to insinuate gnus: My
   .bbdb is never updated (maybe not gnus related)

Thanks in advance for any help. 
(Continue reading)

Tassilo Horn | 19 Jul 2012 16:14
Picon
Gravatar

Re: Trouble setting up Gnus

arnaud.oqube <at> gmail.com writes:

> I am back again trying to setting up Gnus as my mail reader and I
> encounter some annoying things I cannot explain. My setting is rather
> simple:
>  - I use offlineimap to fetch data for 2 accounts (Gmail + Office365)
>  - I configured Gnus to read this mails using mmmaildir. 

There are many people that either use IMAP directly (Gnus has become
very good at IMAP) if they don't need to access all their mails when
being offline, or use offlineimap to synchronize several remote IMAP
accounts with a local dovecot IMAP server.

I think, I'd recommend one of those approaches over syncing to
nnmaildir.

> Here are a list of concerns:
>  - when I open gnus, although I added 'gnus-topic-mode as a hook, groups
>  do not appear classified by topics but in plain list form,

You have to create topics first.

,----[ (info "(gnus)Topic Commands") ]
|    Here is a list of the basic keys that you might need to set up topics
| the way you like.
| 
| `T n'
|      Prompt for a new topic name and create it
|      (`gnus-topic-create-topic').
| [...]
(Continue reading)

arnaud.oqube | 19 Jul 2012 16:30
Picon
Gravatar

Re: Trouble setting up Gnus

Hello,

Tassilo Horn <tassilo <at> member.fsf.org> writes:
> There are many people that either use IMAP directly (Gnus has become
> very good at IMAP) if they don't need to access all their mails when
> being offline, or use offlineimap to synchronize several remote IMAP
> accounts with a local dovecot IMAP server.
>
> I think, I'd recommend one of those approaches over syncing to
> nnmaildir.
>

OK. That is my plan B :-)

>>  - when I open gnus, although I added 'gnus-topic-mode as a hook, groups
>>  do not appear classified by topics but in plain list form,
>
> You have to create topics first.
>

So I did. 

>
>>  - groups are never updated in the group buffer. I need enter them and
>>    explicitly do M-g to update
>
> So `g' in *Group* does nothing?  No output at all?
>

Well, not really not output, it sometimes updates the groups. But it
(Continue reading)

Tassilo Horn | 19 Jul 2012 17:02
Picon
Gravatar

Re: Trouble setting up Gnus

arnaud.oqube <at> gmail.com writes:

>>>  - when I open gnus, although I added 'gnus-topic-mode as a hook, groups
>>>  do not appear classified by topics but in plain list form,
>>
>> You have to create topics first.
>
> So I did. 
>
>>>  - groups are never updated in the group buffer. I need enter them and
>>>    explicitly do M-g to update
>>
>> So `g' in *Group* does nothing?  No output at all?

Do I get you right that you created Topics, but they aren't there after
restarting Gnus, and after restarting all message counts are gone, and
there's also this update issue?

If so, at least the topics and read counts are stored in ~/.newsrc.eld
(`gnus-startup-file').  So maybe there's something wrong with this?
(Accidentally deleted, I don't know...)

>>>  - bbdb does nothing, although I configured it to insinuate gnus:
>>
>> What does "does nothing" mean exactly?  Don't you have completion in
>> To:/Cc: in message-mode buffers?
>
> No. I do not.

Maybe you also need (bbdb-insinuate-message) for that.
(Continue reading)

arnaud.oqube | 19 Jul 2012 17:36
Picon
Gravatar

Re: Trouble setting up Gnus

Tassilo Horn <tassilo <at> member.fsf.org> writes:
>
> Do I get you right that you created Topics, but they aren't there after
> restarting Gnus, and after restarting all message counts are gone, and
> there's also this update issue?
>

Topics are there if I activate them with 't'. And yes, all messages
counts are gone, replaced with a star. And yes again, typing 'g' in
Group folder does not really update the groups, at least no new messages
appear until I go into the group.

> If so, at least the topics and read counts are stored in ~/.newsrc.eld
> (`gnus-startup-file').  So maybe there's something wrong with this?
> (Accidentally deleted, I don't know...)
>

I though about this, but this file is fine AFAICT. 

>
> Maybe you also need (bbdb-insinuate-message) for that.
>

got it in my .emacs.
>
> No, I don't think it has ever acted this way without configuring it
> explicitly.
>

Might be a flag, or a custom configuration I lost, then.
(Continue reading)

Steinar Bang | 19 Jul 2012 23:05
Picon
Picon
Favicon

Re: Trouble setting up Gnus

>>>>> arnaud.oqube <at> gmail.com:

> Topics are there if I activate them with 't'. And yes, all messages
> counts are gone, replaced with a star.

I think that may be caused of the Gnus groups looking in the wrong
place...?  Ie where they are looking, they don't find what the expect
from a maildir group.

Maybe...?

arnaud.oqube | 23 Jul 2012 10:27
Picon
Gravatar

Gnus working better with nnimap

Hello,

I have replaced my nnmaildir based setting using offlineimap with nnimap
through dovecot + offlineimap, and it works much better. I can now
update all my groups from the Group buffer and have a much saner
behaviour for read/expired/new emails.

Thanks for your advices,
--

-- 
Arnaud

Christopher Schmidt | 19 Jul 2012 16:23

Re: Trouble setting up Gnus

arnaud.oqube <at> gmail.com writes:
[...]
>  - again when I open gnus, groups' status does not appear to have been
>  saved and I got all my groups in the following format:
>
>         *: INBOX.linkedin
>         *: INBOX.kanbandev
>         *: INBOX.jsdoc
>         *: INBOX.js
>         *: INBOX.ieee-acm
>
>  - groups are never updated in the group buffer. I need enter them and
>    explicitly do M-g to update

What's the level of these groups?  You can examine and change the level
with S l.  It should be less or equal than gnus-level-subscribed.

[...]
> ;; mostly from http://www.mostlymaths.net/2010/12/emacs-30-day-challenge-glimpse-of-bbdb.html
> (bbdb-initialize 'gnus 'message)
> (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)
> (add-hook 'gnus-startup-hook 'gnus-topic-mode)
             ^^^^^^^^^^^^^^^^^
Try gnus-group-mode-hook.

[...]

        Christopher

(Continue reading)

Christopher Schmidt | 19 Jul 2012 16:26

Re: Trouble setting up Gnus

Christopher Schmidt <christopher <at> ch.ristopher.com> writes:
> What's the level of these groups?  You can examine and change the
> level with S l.  It should be less or equal than
> gnus-level-subscribed.
  ^^^^^^^^^^^^^^^^^^^^^
s/gnus-level-subscribed/gnus-activate-level

        Christopher

Adam Sjøgren | 19 Jul 2012 16:55
X-Face
Picon
Favicon
Gravatar

Re: Trouble setting up Gnus

On Thu, 19 Jul 2012 09:24:20 +0200, arnaud.oqube <at> gmail.com wrote:

> (add-hook 'gnus-startup-hook 'gnus-topic-mode)

I have this instead:

  ; Use topics per default:
  (add-hook 'gnus-group-mode-hook 'gnus-topic-mode)

> ;; using W3M to display HTML messages - from http://norman.walsh.name/2011/03/10/w3m

Note that the newer Gnusae have a new HTML renderer (shr) built in as
the default; it might be worth trying.

I don't use maildir, so I am at a loss there...

  Best regards,

    Adam

--

-- 
 "You know, if the sun was an oboe, what would you do?"       Adam Sjøgren
                                                         asjo <at> koldfront.dk

Steinar Bang | 19 Jul 2012 23:07
Picon
Picon
Favicon

Re: Trouble setting up Gnus

>>>>> asjo <at> koldfront.dk (Adam Sjøgren):

> Note that the newer Gnusae have a new HTML renderer (shr) built in as
> the default; it might be worth trying.

FYI I think the new HTML renderer requires emacs24 linked with libxml2.
Ie. I think the new HTML renderer won't run in emacs23.

Adam Sjøgren | 20 Jul 2012 14:22
X-Face
Picon
Favicon
Gravatar

Re: Trouble setting up Gnus

On Thu, 19 Jul 2012 23:07:52 +0200, Steinar wrote:

>>>>>> asjo <at> koldfront.dk (Adam Sjøgren):
>> Note that the newer Gnusae have a new HTML renderer (shr) built in as
>> the default; it might be worth trying.

> FYI I think the new HTML renderer requires emacs24 linked with libxml2.
> Ie. I think the new HTML renderer won't run in emacs23.

Ah, yes, I think you are correct, sorry - I didn't notice that Arnaud
runs Emacs 23.

  Best regards,

    Adam

--

-- 
 "You know, if the sun was an oboe, what would you do?"       Adam Sjøgren
                                                         asjo <at> koldfront.dk


Gmane