Gnus development mailing list
 help / color / mirror / Atom feed
From: Pankaj Jangid <pankaj@codeisgreat.org>
To: "Adam Sjøgren" <asjo@koldfront.dk>
Cc: ding@gnus.org
Subject: Re: Does Gnus automatically run 'notmuch new' if configured?
Date: Fri, 25 Sep 2020 20:14:55 +0530	[thread overview]
Message-ID: <m2r1qpc3vc.fsf@codeisgreat.org> (raw)
In-Reply-To: <87o8lukxsm.fsf@tullinup.koldfront.dk> ("Adam =?utf-8?Q?Sj?= =?utf-8?Q?=C3=B8gren=22's?= message of "Fri, 25 Sep 2020 11:31:21 +0200")

On Fri, Sep 25 2020, Adam Sjøgren wrote:

> Integrating the update into the fetching of emails would be nice from
> the "always updated" perspective, and since notmuch indexing is fast,
> it probably isn't a problem timewise.

Not only that. I want to keep all the Emacs/Gnus setup in one place; so
that it is portable. On a new machine I'll just have to clone my
.emacs.d.git. Cron is another thing to remember if I go via that route.

> Yeah, running 'notmuch new' takes 0.085s for me with 1 new email, and
> ~95K emails already indexed.
>
> ...
>
> But now this discussion makes me want to have it in a hook...
>
> Pankaj, please share your hook function, when you get it implemented
> O:-)

Now that I have put a lambda function to invoke `async-shell-command`,
it opens up *Async Shell Command* buffer in another window whenever I
press `g`. I want the messages in *Async Shell Command* buffer. But I
don't want it to open up on every call to `gnus-group-get-new-news`.


  reply	other threads:[~2020-09-25 14:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-24  8:32 Pankaj Jangid
2020-09-24 16:42 ` Eric Abrahamsen
2020-09-24 17:55 ` Adam Sjøgren
2020-09-25  4:00   ` Pankaj Jangid
2020-09-25  6:05     ` Eric Abrahamsen
2020-09-25  7:51       ` Pankaj Jangid
2020-09-25  8:09   ` Eric S Fraga
2020-09-25  9:31     ` Adam Sjøgren
2020-09-25 14:44       ` Pankaj Jangid [this message]
2020-09-25 16:31         ` Eric Abrahamsen
2020-09-25 17:47           ` Pankaj Jangid
2020-09-25 18:16             ` Adam Sjøgren
2020-09-25 18:45             ` Eric Abrahamsen
2020-09-25 18:52               ` Adam Sjøgren
2020-09-26  1:29               ` Pankaj Jangid
2020-09-26 11:48                 ` Adam Sjøgren
2020-09-26 17:08                   ` Pankaj Jangid
2020-09-25 18:25       ` Adam Sjøgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2r1qpc3vc.fsf@codeisgreat.org \
    --to=pankaj@codeisgreat.org \
    --cc=asjo@koldfront.dk \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).