From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johannes Weiner Newsgroups: gmane.emacs.devel Subject: Re: Battery update Date: Fri, 08 Aug 2008 12:52:20 +0200 Message-ID: <87bq034w4b.fsf@skyscraper.fehenstaub.lan> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218192798 16772 80.91.229.12 (8 Aug 2008 10:53:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2008 10:53:18 +0000 (UTC) Cc: mail@emresahin.net, cyd@stupidchicken.com, Sven Joachim , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 08 12:54:08 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 1KRPbi-00030e-Nh for ged-emacs-devel@m.gmane.org; Fri, 08 Aug 2008 12:54:06 +0200 Original-Received: from localhost ([127.0.0.1]:59771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRPam-0002S5-N3 for ged-emacs-devel@m.gmane.org; Fri, 08 Aug 2008 06:53:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRPaf-0002Om-0K for emacs-devel@gnu.org; Fri, 08 Aug 2008 06:53:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRPac-0002Mu-Ot for emacs-devel@gnu.org; Fri, 08 Aug 2008 06:52:59 -0400 Original-Received: from [199.232.76.173] (port=58874 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRPac-0002MN-Ao for emacs-devel@gnu.org; Fri, 08 Aug 2008 06:52:58 -0400 Original-Received: from saeurebad.de ([85.214.36.134]:57905) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRPaU-0004Ou-6a; Fri, 08 Aug 2008 06:52:50 -0400 Original-Received: by saeurebad.de (Postfix, from userid 107) id 092754A000A; Fri, 8 Aug 2008 12:52:47 +0200 (CEST) Original-Received: from localhost (83-221-69-159.dynamic.primacom.net [83.221.69.159]) by saeurebad.de (Postfix) with ESMTP id 4F13F4A0008; Fri, 8 Aug 2008 12:52:46 +0200 (CEST) In-Reply-To: (Eli Zaretskii's message of "Fri, 08 Aug 2008 11:19:26 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.3 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:102195 Archived-At: Hi, Eli Zaretskii writes: >> 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. >From Documentation/feature-removal.txt: What: ACPI procfs interface When: July 2008 Why: ACPI sysfs conversion should be finished by January 2008. ACPI procfs interface will be removed in July 2008 so that there is enough time for the user space to catch up. But I doubt that it will happen soon, though. Emacs from CVS should probably support the latest variant of this API. Hannes