From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#643: Battery update Date: Fri, 08 Aug 2008 13:56:01 -0400 Message-ID: References: <87bq04dbqc.fsf@stupidchicken.com> Reply-To: Stefan Monnier , 643@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218218879 27328 80.91.229.12 (8 Aug 2008 18:07:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2008 18:07:59 +0000 (UTC) Cc: 643@emacsbugs.donarmstrong.com, Emre Sahin , emacs-devel@gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 08 20:08:49 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KRWOF-0002jq-Ek for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Aug 2008 20:08:39 +0200 Original-Received: from localhost ([127.0.0.1]:40255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRWNJ-00052h-SF for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Aug 2008 14:07:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRWN5-0004un-R9 for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 14:07:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRWN4-0004tv-4R for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 14:07:27 -0400 Original-Received: from [199.232.76.173] (port=47848 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRWN3-0004ts-WB for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 14:07:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40789) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRWN3-0008P6-Ob for bug-gnu-emacs@gnu.org; Fri, 08 Aug 2008 14:07:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m78I7NFZ020731; Fri, 8 Aug 2008 11:07:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m78I57HQ019670; Fri, 8 Aug 2008 11:05:07 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 08 Aug 2008 18:05:07 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 643 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 643-submit@emacsbugs.donarmstrong.com id=B643.121821817216986 (code B ref 643); Fri, 08 Aug 2008 18:05:07 +0000 Original-Received: (at 643) by emacsbugs.donarmstrong.com; 8 Aug 2008 17:56:12 +0000 Original-Received: from pruche.dit.umontreal.ca (pruche.dit.umontreal.ca [132.204.246.22]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m78Hu6cr016980 for <643@emacsbugs.donarmstrong.com>; Fri, 8 Aug 2008 10:56:09 -0700 Original-Received: from ceviche.home (vpn-132-204-232-57.acd.umontreal.ca [132.204.232.57]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id m78HuSej015593; Fri, 8 Aug 2008 13:56:30 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 63975B41C5; Fri, 8 Aug 2008 13:56:01 -0400 (EDT) In-Reply-To: <87bq04dbqc.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 07 Aug 2008 12:35:39 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3078=0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 08 Aug 2008 14:07:27 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19152 Archived-At: > Even though it's the feature freeze, I think it's necessary to ensure > that battery.el works at least at a basic level. So, here's a patch Agreed. > ! This function works only with the new `/proc/acpi/' format introduced > ! This function works only with the `/proc/acpi/' format introduced [...] > + This function works only with the new `/sys/class/power_supply/BAT' Given the fix to the docstring for proc-acpi, I think we should try and avoid making the same mistake. I.e. drop the "new". Stefan