GNU bug report logs - #643
23.0.60; battery.el needs deprecated ACPI_PROCFS_POWER interface

Previous Next

Package: emacs;

Reported by: Sven Joachim <svenjoac <at> gmx.de>

Date: Sun, 3 Aug 2008 07:45:03 UTC

Severity: normal

Merged with 660

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Emre Sahin <mail <at> emresahin.net>
Cc: Sven Joachim <svenjoac <at> gmx.de>, 643 <at> debbugs.gnu.org,
        emacs-devel <at> gnu.org
Subject: bug#643: Battery update
Date: Thu, 07 Aug 2008 20:10:20 -0400
Emre Sahin <mail <at> emresahin.net> writes:

> Maybe I did something wrong with diff & patch; this is my first
> adventure with them in practice. (Yes, really!)
>
> Message is something like: 
>
> Loading /home/iesahin/site-lisp/battery.el (source)...done
> setq: Wrong type argument: listp, "/sys/class/power_supply/AC/online"

No, it was a typo in the patch.  Could you replace the line

       (if (battery-search-for-one-match-in-files
	    "/sys/class/power_supply/AC/online" "1" 0)
	   "AC"

on line 471 of the battery.el, with

       (if (battery-search-for-one-match-in-files
	    (list "/sys/class/power_supply/AC/online") "1" 0)
	   "AC"

and try again?




This bug report was last modified 15 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.