* "Too many notifications" failure mode
@ 2012-12-22 17:00 Adam Sjøgren
2012-12-22 22:06 ` Michael Albinus
0 siblings, 1 reply; 3+ messages in thread
From: Adam Sjøgren @ 2012-12-22 17:00 UTC (permalink / raw)
To: ding
I just had a little mishap on my home-server, spamming myself with ~1000
cron emails in rapid succession.
I press g in Gnus, and the emails are fetched, but then I get this in
the Echo area:
D-Bus error: "Exceeded maximum number of notifications"
And the count of emails in my nnml:cron group continues to be shown as
0.
The *Messages* buffer contains:
[...]
Wrote /home/asjo/Mail/cron/23982
Wrote /home/asjo/Mail/cron/23983
Wrote /home/asjo/Mail/cron/23984
Wrote /home/asjo/Mail/cron/23985
nnml: Reading incoming mail (104 new)...done
Reading active file via nnml...done
Reading active file from archive via nnml...
Opening nnml server on archive...done
Reading active file from archive via nnml...done
Reading active file via nndraft...done
byte-code: D-Bus error: "Exceeded maximum number of notifications"
I would expect Gnus to show the error from D-Bus, and then continue
merrily along, but instead I can't read the new emails.
Shouldn't the failure of notification allow the rest of the Gnus
activities to proceed as usual?
Best regards,
Adam
--
"Soon we'll have spent a whole month at sea, Adam Sjøgren
splitting atoms for no apparent reason" asjo@koldfront.dk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "Too many notifications" failure mode
2012-12-22 17:00 "Too many notifications" failure mode Adam Sjøgren
@ 2012-12-22 22:06 ` Michael Albinus
2012-12-22 22:21 ` Adam Sjøgren
0 siblings, 1 reply; 3+ messages in thread
From: Michael Albinus @ 2012-12-22 22:06 UTC (permalink / raw)
To: Adam Sjøgren; +Cc: ding
asjo@koldfront.dk (Adam Sjøgren) writes:
Hi,
> I would expect Gnus to show the error from D-Bus, and then continue
> merrily along, but instead I can't read the new emails.
>
> Shouldn't the failure of notification allow the rest of the Gnus
> activities to proceed as usual?
I've committed a patch to Emacs trunk, which protects
`notifications-notify' with `with-demoted-errors'. This should result in
the expected behaviour.
> Best regards,
>
> Adam
Best regards, Michael.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "Too many notifications" failure mode
2012-12-22 22:06 ` Michael Albinus
@ 2012-12-22 22:21 ` Adam Sjøgren
0 siblings, 0 replies; 3+ messages in thread
From: Adam Sjøgren @ 2012-12-22 22:21 UTC (permalink / raw)
To: ding
On Sat, 22 Dec 2012 23:06:39 +0100, Michael wrote:
>> Shouldn't the failure of notification allow the rest of the Gnus
>> activities to proceed as usual?
> I've committed a patch to Emacs trunk, which protects
> `notifications-notify' with `with-demoted-errors'. This should result in
> the expected behaviour.
Great! I will take it out for a spin in due course.
Thanks!
Adam
--
"Remember, Robert, in life anything can happen." Adam Sjøgren
asjo@koldfront.dk
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-22 22:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-22 17:00 "Too many notifications" failure mode Adam Sjøgren
2012-12-22 22:06 ` Michael Albinus
2012-12-22 22:21 ` Adam Sjøgren
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).