emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] battery.el Retrieve more information from sysfs


From: Kan-Ru Chen
Subject: Re: [PATCH] battery.el Retrieve more information from sysfs
Date: Thu, 22 Dec 2011 08:08:14 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Karl Fogel <address@hidden> writes:

> Jérémy Compostella <address@hidden> writes:
>>I did not received any answers so I'm answering myself about :
>>- Do I miss something in the "submit" process,
>>- Is this patch is a mess ?
>>- Or maybe everybody is busy ...
>
> Jérémy, thanks for the patch.  I think it's just #3: everyone is busy.
> Sometimes it can take a while.  In some cases, if the feature is not
> compelling enough to others, there may be no useful response at all.
> This doesn't mean it's a bad idea, it just means no one's convinced it's
> needed.
>
> Most people see battery status in an icon on their GUI toolbar, I
> think.  Can you describe the use case(s) for battery.el?  Is it easier
> for the visually impaired, for example?  Maybe for people who are
> running their machine in text-console mode?

FYI, I have a script

--8<---------------cut here---------------start------------->8---
#!/bin/sh

if [ -S "/tmp/emacs`id -u`/server" ]; then
    emacsclient -n --eval '(battery)'
else
    echo "Cannot find emacs server socket";
fi
--8<---------------cut here---------------end--------------->8---

that I always use it to get the battery info. I'm using a minimalism
window manager that doesn't have battery widget by default.
 
-- 
Kanru



reply via email to

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