Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Baer <gnus@mikesoffice.com>
To: ding <ding@gnus.org>
Subject: Updating frame on gnus-group-get-new-news
Date: Wed, 25 Oct 2017 15:49:39 -0700	[thread overview]
Message-ID: <8760b29724.fsf@mikesoffice.com> (raw)


I think I'm missing something obvious and I hoped someone here could
help point it out to me.  I have function to run offlineimap and then
gnus-group-get-new-news.  When I run the function the gnus group frame
isn't updated with the new mail folder info (e.g. number of unread mail
/ total number of mail, etc.).  If I run M-x gnus-group-get-new-news or
just 'g' afterwords, the frame is updated as expected. It just doesn't
update from the gnus-group-get-new-news in my function.  The function is
listed below.

Gnus v5.13
GNU Emacs 25.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.17) of 2017-09-14


(defun cc-offlineimap-and-get-news ()
  (interactive)
  (gnus-group-get-new-news)
	(shell-command "dotopright.pl 'time offlineimap; sleep 4'")
  (gnus-group-get-new-news)
)


[ dotopright.pl just figures out where to put a terminal on the screen
and then opens the terminal running the passed in command ]


-Mike

-- 
Michael Baer
gnus@mikesoffice.com
omnes deorsum absurdo est



             reply	other threads:[~2017-10-25 22:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-25 22:49 Michael Baer [this message]
2017-10-28  1:19 ` Eric Abrahamsen
2017-10-30 20:02   ` solution Michael Baer

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=8760b29724.fsf@mikesoffice.com \
    --to=gnus@mikesoffice.com \
    --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).