emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HowTo: Detect Laptop waking up from suspend from Emacs


From: raman
Subject: Re: HowTo: Detect Laptop waking up from suspend from Emacs
Date: Sat, 11 Feb 2017 12:57:54 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Tom Tromey <address@hidden> 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  <address@hidden> 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

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]