Subject: bug#660 closed by Chong Yidong <[email-masked]> (Re: 23.0.60; battery.el needs deprecated ACPI_PROCFS_POWER interface)

From: [email-masked] (Emacs bug Tracking System)

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#643: mode line does not display battery status

It has been closed by Chong Yidong <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <[email-masked]> by
replying to this email.

-- 
643: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=643
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Fri Aug  8 10:49:50 2008
From: Chong Yidong <[email-masked]>
To: [email-masked]
Subject: Re: 23.0.60; battery.el needs deprecated ACPI_PROCFS_POWER interface
Date: Fri, 08 Aug 2008 13:49:56 -0400

I've checked in the patch.

>From [email-masked] Wed Aug  6 12:59:53 2008
To: [email-masked]
Subject: mode line does not display battery status
From: Emre Sahin <[email-masked]>
Date: Wed, 06 Aug 2008 22:59:29 +0300
Sender: Emre Sahin <[email-masked]>

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the [email-masked] mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Before upgrading my kernel, display-battery-mode was showing the
battery status in my mode line. With current kernel it doesn't show. 

battery.el requires /proc/acpi/battery to detect acpi support but
newer kernels does not have this file and battery-status-function
variable becomes nil. I asked this to Debian Testing mailing list and
they replied that aforementioned file does not exist in newer kernels
and battery.el should be upgraded. 

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/22.2/etc/DEBUG for instructions.

In GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2008-07-25 on raven, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  desktop-save-mode: t
  display-battery-mode: t
  display-time-mode: t
  jabber-activity-mode: t
  jabber-mode-line-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <up> <return> 
<next> <prior> <C-tab> q g <next> <prior> <up> <up> 
<up> <up> <up> <up> <return> 1 0 0 <return> / o 1 0 
0 <return> <next> <next> <next> <next> <next> <down> 
<down> <down> <down> <return> <down-mouse-4> <mouse-4> 
<double-down-mouse-4> <double-mouse-4> <triple-down-mouse-4> 
<triple-mouse-4> <C-tab> q <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <return> <return> 
<next> <prior> <down> <down> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <C-tab> 
<C-tab> <C-tab> q <next> <prior> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <down> <down> <down> <return> 
1 0 0 <return> M-> <up> <up> <up> <up> <right> <up> 
<up> <up> <up> <up> g C-x k <return> q n <C-tab> q 
<up> <down> <up> g <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <down> <return> <return> 
<next> <next> <next> <next> <next> <next> <next> <next> 
<next> <next> <prior> <next> <prior> <next> <next> 
<prior> <next> <next> <next> <next> <next> <next> <prior> 
<next> <next> <next> <prior> <next> <next> <prior> 
<next> <next> <next> <next> <next> <next> <next> <next> 
<prior> <next> <next> <next> <prior> <next> <next> 
<next> <next> <next> <next> <next> <next> <next> <C-tab> 
u q <return> c y <next> <next> <next> <prior> <prior> 
<prior> <next> <prior> <up> <up> <up> <up> <up> <up> 
<return> 2 0 <return> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> q M-x r e p <tab> o <tab> r <tab> 
b <tab> <return>

Recent messages:
Fetching headers for nntp+news.gmane.org:gmane.linux.debian.user.testing...done
Scoring...done
Generating summary...done
(No changes need to be saved)
Saving /home/iesahin/.newsrc.eld...
Saving file /home/iesahin/.newsrc.eld...
Wrote /home/iesahin/.newsrc.eld
Saving /home/iesahin/.newsrc.eld...done
Making completion list... [2 times]
Loading emacsbug...done

-- 
I. Emre Sahin                   @ Ankara, Turkey 
Software Developer & Consultant @ http://ydyazilim.com
Ph.D. Candidate       		@ http://cs.bilkent.edu.tr
Blogger, Writer, Poet  		@ http://emresahin.net
Maybe hears the phone  		@ +90 532 261 8985
Maybe gtalk (or jabber)   	@ [email-masked]