From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kan-Ru Chen Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] battery.el Retrieve more information from sysfs Date: Thu, 22 Dec 2011 08:08:14 +0800 Message-ID: <87ehvxpixd.fsf@isil.kanru.info> References: <87r50190eb.fsf@Apollo.jerryland.fr> <87liq5rad1.fsf@kwarm.red-bean.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1324512514 28682 80.91.229.12 (22 Dec 2011 00:08:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2011 00:08:34 +0000 (UTC) Cc: =?utf-8?B?SsOpcsOpbXk=?= Compostella , emacs-devel@gnu.org To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 22 01:08:29 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RdWCy-0005kB-FH for ged-emacs-devel@m.gmane.org; Thu, 22 Dec 2011 01:08:28 +0100 Original-Received: from localhost ([::1]:38234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdWCx-0003dT-JZ for ged-emacs-devel@m.gmane.org; Wed, 21 Dec 2011 19:08:27 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:55189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdWCv-0003d0-RX for emacs-devel@gnu.org; Wed, 21 Dec 2011 19:08:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RdWCu-0002P1-Gc for emacs-devel@gnu.org; Wed, 21 Dec 2011 19:08:25 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:48677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdWCu-0002Ou-DT for emacs-devel@gnu.org; Wed, 21 Dec 2011 19:08:24 -0500 Original-Received: by iacb35 with SMTP id b35so12829103iac.0 for ; Wed, 21 Dec 2011 16:08:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=dE/WYSkJpl5qyxgx1prt310OfPcuX50n7i7RXRoXV1s=; b=YTtf7C7ajyLDP9cVsdrPqJzlyLzR5ewfs1uGCuqJXZWx2e4CVcwlY9JaaWYalYi2Ld l+2HY8DXk69xFDXAIhbIGPrn1HA/GkSNIV+fDRoi18zkcy9wFaQ7pGo2sNIjuDx4nDYf c5Y/DsKuOKreavo9XxkAzUWE4jN0HCCsi+8tY= Original-Received: by 10.42.73.138 with SMTP id s10mr8984719icj.38.1324512503310; Wed, 21 Dec 2011 16:08:23 -0800 (PST) Original-Received: from isil.kanru.info ([199.195.142.182]) by mx.google.com with ESMTPS id x18sm22496899ibi.2.2011.12.21.16.08.19 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Dec 2011 16:08:22 -0800 (PST) Original-Received: from localhost ([127.0.0.1] helo=isil.kanru.info) by isil.kanru.info with esmtp (Exim 4.77) (envelope-from ) id 1RdWCl-0001jn-7i; Thu, 22 Dec 2011 08:08:15 +0800 In-Reply-To: <87liq5rad1.fsf@kwarm.red-bean.com> (Karl Fogel's message of "Wed, 21 Dec 2011 14:30:18 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146913 Archived-At: Karl Fogel writes: > J=C3=A9r=C3=A9my Compostella 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=C3=A9r=C3=A9my, thanks for the patch. I think it's just #3: everyone i= s 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. =20 --=20 Kanru