Gnus development mailing list
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: ding@gnus.org
Subject: notifications when dbus fails prevents fetching email/news
Date: Fri, 07 Dec 2012 10:58:36 +0100	[thread overview]
Message-ID: <87mwxq420j.fsf@topper.koldfront.dk> (raw)

  Hi.


Recently I added:

  (add-hook 'gnus-after-getting-new-news-hook 'gnus-notifications)

to my configuration to get nice pop ups when new email arrives. It works
very well when I start Emacs at home.

If I ssh -X into my machine at home and start Emacs, however, then I
have a problem - when I try to get email/news, I get this error
flashing:

  apply: D-Bus error: "No connection to bus", :session

and email/news isn't fetched.

Would it be possible for gnus-notifications to either only warn or do
nothing, if the notification mechanism doesn't exist/work.

Or maybe I just need some extra magic to get DBus working when ssh -X'ing?


  Best regards,

    Adam

-- 
 "Let's have a pointless round of applause."                  Adam Sjøgren
                                                         asjo@koldfront.dk




             reply	other threads:[~2012-12-07  9:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-07  9:58 Adam Sjøgren [this message]
2012-12-07 10:44 ` Steinar Bang
2012-12-07 11:34 ` Michael Albinus
2012-12-07 12:40   ` Adam Sjøgren
2012-12-07 16:55     ` Michael Albinus
2012-12-13 16:37       ` 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=87mwxq420j.fsf@topper.koldfront.dk \
    --to=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).