From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Battery update Date: Fri, 08 Aug 2008 11:19:26 +0300 Message-ID: References: <87bq04dbqc.fsf@stupidchicken.com> <87ej50g0ib.fsf@gmx.de> <87bq048z7t.fsf@stupidchicken.com> <878wv8fxmr.fsf@gmx.de> <87abfo4obc.fsf@stupidchicken.com> <873algfw2d.fsf@gmx.de> <87bq04r2f8.fsf@stupidchicken.com> <87d4kko450.fsf@leonardo.iesahin.net> <87tzdwmknn.fsf@stupidchicken.com> <87d4kkoxr8.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1218183588 20782 80.91.229.12 (8 Aug 2008 08:19:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2008 08:19:48 +0000 (UTC) Cc: cyd@stupidchicken.com, mail@emresahin.net, emacs-devel@gnu.org To: Sven Joachim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 08 10:20:38 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KRND8-000313-LN for ged-emacs-devel@m.gmane.org; Fri, 08 Aug 2008 10:20:34 +0200 Original-Received: from localhost ([127.0.0.1]:37852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRNCD-0000PY-1V for ged-emacs-devel@m.gmane.org; Fri, 08 Aug 2008 04:19:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRNC7-0000NB-VI for emacs-devel@gnu.org; Fri, 08 Aug 2008 04:19:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRNC6-0000M4-DM for emacs-devel@gnu.org; Fri, 08 Aug 2008 04:19:31 -0400 Original-Received: from [199.232.76.173] (port=51011 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRNC6-0000Ly-5N for emacs-devel@gnu.org; Fri, 08 Aug 2008 04:19:30 -0400 Original-Received: from mtaout3.012.net.il ([84.95.2.7]:33157) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRNC6-0004PV-FV for emacs-devel@gnu.org; Fri, 08 Aug 2008 04:19:30 -0400 Original-Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K59008OXWGUAX20@i_mtaout3.012.net.il> for emacs-devel@gnu.org; Fri, 08 Aug 2008 11:19:43 +0300 (IDT) In-reply-to: <87d4kkoxr8.fsf@gmx.de> X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:102194 Archived-At: > From: Sven Joachim > Date: Fri, 08 Aug 2008 07:56:43 +0200 > Cc: 643@emacsbugs.donarmstrong.com, Emre Sahin , > emacs-devel@gnu.org > > On 2008-08-08 02:10 +0200, Chong Yidong wrote: > > > (if (battery-search-for-one-match-in-files > > (list "/sys/class/power_supply/AC/online") "1" 0) > > "AC" > > FWIW, I don't have a /sys/class/power_supply/AC directory, but there is > /sys/class/power_supply/ACAD. Seems the directory has moved somewhere > between kernel 2.6.22 and 2.6.25, see > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478937. So what, we are now going to chase this elusive directory till Kingdom Come? I say let's stop supporting this feature until the Linux kernel developers make up their minds about the place and shape of this information. Geez! that's even worse than Microsoft's zigzagging of some APIs.