From: raman <raman@google.com>
To: Tom Tromey <tom@tromey.com>
Cc: emacs-devel@gnu.org
Subject: Re: HowTo: Detect Laptop waking up from suspend from Emacs
Date: Sat, 11 Feb 2017 12:57:54 -0800 [thread overview]
Message-ID: <p914m0078dp.fsf@google.com> (raw)
In-Reply-To: <8760kg4nxr.fsf@tromey.com> (Tom Tromey's message of "Sat, 11 Feb 2017 10:50:08 -0700")
Tom Tromey <tom@tromey.com> writes:
Looking at this now -- I was using a quick hack called nm.el that I had
discovered a few years ago on the net. Speaking of network-manager, I
have longed to get enwc to work on my Ubuntu laptop --- I have never
succeeded in using it to setup a wifi network from scratch. Looking at
your code now >>>>>> "raman" == raman <raman@google.com> writes:
>
> raman> I'd like to set things up so emacs runs a set of actions when the
> raman> laptop comes back from suspend -- typically, say 5 seconds after
> raman> wake-up. Here, all actions are emacs functions.
>
> Note that if you're specifically interested in being notified when the
> network comes back up, there is a different way to do this with dbus.
> See:
>
> https://github.com/tromey/emacs-network-manager
>
> Tom
--
prev parent reply other threads:[~2017-02-11 20:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-11 1:39 HowTo: Detect Laptop waking up from suspend from Emacs raman
2017-02-11 8:55 ` aaermolov
2017-02-11 9:10 ` Michael Albinus
2017-02-11 16:28 ` raman
2017-02-11 16:40 ` Michael Albinus
2017-02-11 17:32 ` raman
2017-02-11 18:51 ` Michael Albinus
2017-02-11 20:56 ` raman
2017-02-13 17:50 ` T.V Raman
2017-02-13 19:02 ` Michael Albinus
2017-02-13 19:05 ` T.V Raman
2017-02-11 14:54 ` Stefan Huchler
2017-02-11 17:50 ` Tom Tromey
2017-02-11 20:57 ` raman [this message]
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=p914m0078dp.fsf@google.com \
--to=raman@google.com \
--cc=emacs-devel@gnu.org \
--cc=tom@tromey.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.