From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: soulawaker Newsgroups: gmane.emacs.bugs Subject: bug#25800: 24.5; battery.el does not consider information directory /sys/class/power_supply/CMB0 Date: Mon, 20 Feb 2017 05:32:17 +0900 Message-ID: <1487536337.761.0@smtp.gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-yGPwl2fNeT6D+TXL48ju" X-Trace: blaine.gmane.org 1487538199 711 195.159.176.226 (19 Feb 2017 21:03:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2017 21:03:19 +0000 (UTC) To: 25800@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 19 22:03:13 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfYdS-0007mO-1k for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Feb 2017 22:03:10 +0100 Original-Received: from localhost ([::1]:35077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfYdX-0004jp-LQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Feb 2017 16:03:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfYdP-0004jI-St for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 16:03:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfYdL-0005WW-SP for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 16:03:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48344) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfYdL-0005WA-PG for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 16:03:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cfYdL-0001hm-9G for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 16:03:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: soulawaker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Feb 2017 21:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14875381746539 (code B ref -1); Sun, 19 Feb 2017 21:03:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Feb 2017 21:02:54 +0000 Original-Received: from localhost ([127.0.0.1]:46543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfYdC-0001hN-5X for submit@debbugs.gnu.org; Sun, 19 Feb 2017 16:02:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfY9r-0007gt-7M for submit@debbugs.gnu.org; Sun, 19 Feb 2017 15:32:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfY9k-0004OA-6o for submit@debbugs.gnu.org; Sun, 19 Feb 2017 15:32:29 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39450) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cfY9k-0004O2-2b for submit@debbugs.gnu.org; Sun, 19 Feb 2017 15:32:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfY9h-0007zm-U7 for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 15:32:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfY9e-0004MQ-OQ for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 15:32:25 -0500 Original-Received: from mail-pg0-x232.google.com ([2607:f8b0:400e:c05::232]:33435) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfY9e-0004M7-Fx for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 15:32:22 -0500 Original-Received: by mail-pg0-x232.google.com with SMTP id a123so8311720pgc.0 for ; Sun, 19 Feb 2017 12:32:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:subject:to:message-id:mime-version; bh=N0TkxrXQO8uFQqthVA3X3TsNOzCf7cBmsfT13IYVBfY=; b=OO24pfVot7+Z2ekUvzNtkg3uiA3hRFky3JRU11tAp0MzCE23OsMhZHPUL5ogLCgVLn S62P3eLE4uA6FLeCiiyp1XOMfi072AYbvM89HbXi/RuXNbX7/5w7gQQ7ADEPEStFxQ87 JkdU52xc4T87gudcmQ8oeWJmuPRCdGbizKZlYn/jZU03SzNyWA1FYeym/p472pIXoo7L OisDfjMzvKSzZvIcFdSg/a1tKkdkpZEVIObSfsZMaHgShqh5Xqr9ZFI626427VvU8m44 utR7jrGv1vjvZgRm8tSCBml1A8U/gmDyTadmtEj1GQrRsM/A47PpTFl7k0qpksx8tx0c U2pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:message-id:mime-version; bh=N0TkxrXQO8uFQqthVA3X3TsNOzCf7cBmsfT13IYVBfY=; b=uHpCPNBq1U2WtUSW4mnX1no2s3UdU2QwUQMkDj/1eQ4deA0nmeeDiJQ7rYnGyqUAlt I4s6wK/eUUGXHbgEHj6cWNo9CK/7SMGBDM+ZKxAAKtawTH9FRtVhFS74AJhOcVFinWlE VVtZYcI7p4ScPxbPWXuYhYud1le8V26Kn+4fNMlPoB9ivDO5PXlOVcS1/aGCFrxtz7cH W8q19xbmeUT/PZW44jSzU+kFa859WtuIVz1CITqsGrTES+yMs3A/9MkMm1+TCb9Z2LYh RQEM21MYFoSO7USSK1ZKQJE9Iu827CbtkHvuckcmE5EDJZd1z6E1+ulwA5HVN5Ve8vgN qsgw== X-Gm-Message-State: AMke39nU39Si8WL5fkHsOKwq/4E5+qP2KDJw8VVGZPMSsQDg9/7MP2YcoEbq52GFmk4wuQ== X-Received: by 10.99.94.71 with SMTP id s68mr22770754pgb.181.1487536341104; Sun, 19 Feb 2017 12:32:21 -0800 (PST) Original-Received: from [192.168.0.126] ([1.229.143.28]) by smtp.gmail.com with ESMTPSA id a2sm30755140pfc.72.2017.02.19.12.32.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Feb 2017 12:32:20 -0800 (PST) X-Mailer: pantheon-mail/1.0.5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Sun, 19 Feb 2017 16:02:52 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129553 Archived-At: --=-yGPwl2fNeT6D+TXL48ju Content-Type: text/plain; charset=utf-8; format=flowed -------------------------- Hello, emacs maintainers. My laptop battery informations was placed in /sys/class/power_supply/CMB0. But battery.el try to find only /sys/class/power_supply/BAT% series. So display-battery-mode does not show any battery informations. Please consider existing different information directories. Best Regards, HyungSuk -------------------------- In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-18 on lgw01-04, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11804000 System Description: elementary OS 0.4 Loki Configured using: `configure --build x86_64-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/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --build x86_64-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/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Important settings: value of $LC_MONETARY: ko_KR.UTF-8 value of $LC_NUMERIC: ko_KR.UTF-8 value of $LC_TIME: ko_KR.UTF-8 value of $LANG: ko_KR.UTF-8 value of $XMODIFIERS: locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: org-indent-mode: t override-global-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t Recent messages: ESC is undefined Entering debugger... Making completion list... [8 times] Type "q" in help window to restore its previous buffer. Making completion list... Making completion list... [3 times] Making completion list... [3 times] call-interactively: End of buffer [4 times] Load-path shadows: /usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup Features: (shadow sort mail-extr emacsbug message byte-opt rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils org-element org-indent org-rmail org-mhe org-irc org-info org-gnus gnus-util org-docview doc-view jka-compr image-mode dired org-bibtex bibtex org-bbdb org-w3m help-fns help-mode debug battery edmacro kmacro finder-inf atom-one-dark-theme org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu easymenu calendar cal-loaddefs use-package diminish bytecomp byte-compile cl-extra cconv bind-key easy-mmode cl-loaddefs cl-lib package epg-config time-date korea-util tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 218897 16865) (symbols 48 30731 0) (miscs 40 153 198) (strings 32 56492 21566) (string-bytes 1 1572015) (vectors 16 23640) (vector-slots 8 633622 6735) (floats 8 138 33) (intervals 56 564 27) (buffers 960 18) (heap 1024 41346 1487)) --=-yGPwl2fNeT6D+TXL48ju Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
--------------------------
Hello, emacs maintainers.
My laptop battery informations was placed i= n /sys/class/power_supply/CMB0.
But battery.el try t= o find only /sys/class/power_supply/BAT% series.
So&= nbsp;display-battery-mode does not show any batter= y informations.
Please consider existing different&n= bsp;information directories.

Best Regards,

HyungSuk=
--------------------------




In GNU Emacs&nb= sp;24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-18 on lgw01-04, modified by = ;Debian
Windowing system distributor `The X.Org = ;Foundation', version 11.0.11804000
System Description: e= lementary OS 0.4 Loki

Configured using:
 = ;`configure --build x86_64-linux-gnu --prefix=3D/usr
&nbs= p;--sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib
 --local= statedir=3D/var/lib --infodir=3D/usr/share/info
 --mandir=3D/u= sr/share/man --with-pop=3Dyes
 --enable-locallisppath=3D/etc/e= macs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/em= acs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=3D/usr --sharedstat= edir=3D/var/lib
 --libexecdir=3D/usr/lib --localstatedir=3D/va= r/lib
 --infodir=3D/usr/share/info --mandir=3D/usr/share/man&n= bsp;--with-pop=3Dyes
 --enable-locallisppath=3D/etc/emacs24:/etc/em= acs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:= /usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --with-= x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars
&nb= sp;'CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat
&nb= sp;-Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time
&n= bsp;-D_FORTIFY_SOURCE=3D2' 'LDFLAGS=3D-Wl,-Bsymbolic-functions -W= l,-z,relro''

Important settings:
  value of&n= bsp;$LC_MONETARY: ko_KR.UTF-8
  value of $LC_NU= MERIC: ko_KR.UTF-8
  value of $LC_TIME: ko= _KR.UTF-8
  value of $LANG: ko_KR.UTF-8
&nbs= p; value of $XMODIFIERS: 
  locale-coding-= system: utf-8-unix

Major mode: Org

Minor = modes in effect:
  org-indent-mode: t
 =  override-global-mode: t
  electric-indent-mode:&nbs= p;t
  mouse-wheel-mode: t
  file-name-shadow= -mode: t
  global-font-lock-mode: t
  f= ont-lock-mode: t
  auto-composition-mode: t
 = ; auto-encryption-mode: t
  auto-compression-mode:&n= bsp;t
  column-number-mode: t
  line-number-= mode: t
  global-visual-line-mode: t
  = visual-line-mode: t
  transient-mark-mode: t

= Recent messages:
ESC <mouse-1> is undefinedEntering debugger...
Making completion list... [8&n= bsp;times]
Type "q" in help window to rest= ore its previous buffer.
Making completion list= ...

Making completion list... [3 times]

M= aking completion list... [3 times]
call-interactivel= y: End of buffer [4 times]

Load-path s= hadows:
/usr/share/emacs/24.5/site-lisp/debian-startup hides /= usr/share/emacs/site-lisp/debian-startup

Features:
(shadow s= ort mail-extr emacsbug message byte-opt rfc822&nbs= p;mml mml-sec
mm-decode mm-bodies mm-encode mail-par= se rfc2231 mailabbrev gmm-utils
mailheader sendmail&= nbsp;rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
m= ail-utils org-element org-indent org-rmail org-mhe = ;org-irc org-info
org-gnus gnus-util org-docview doc= -view jka-compr image-mode dired
org-bibtex bibtex&n= bsp;org-bbdb org-w3m help-fns help-mode debug batt= ery
edmacro kmacro finder-inf atom-one-dark-theme or= g org-macro org-footnote
org-pcomplete pcomplete org= -list org-faces org-entities noutline outline
org-ve= rsion ob-emacs-lisp ob ob-tangle ob-ref ob-lob&nbs= p;ob-table ob-exp
org-src ob-keys ob-comint comint&n= bsp;ansi-color ring ob-core ob-eval
org-compat org-m= acs org-loaddefs format-spec find-func cal-menu ea= symenu
calendar cal-loaddefs use-package diminish by= tecomp byte-compile
cl-extra cconv bind-key easy-mmo= de cl-loaddefs cl-lib package epg-config
time-date&n= bsp;korea-util tooltip electric uniquify ediff-hook&nbs= p;vc-hooks
lisp-float-type mwheel x-win x-dnd tool-b= ar dnd fontset image regexp-opt
fringe tabulate= d-list newcomment lisp-mode prog-mode register pag= e
menu-bar rfn-eshadow timer select scroll-bar = mouse jit-lock font-lock
syntax facemenu font-core&n= bsp;frame cham georgian utf-8-lang misc-lang
vietnam= ese tibetan thai tai-viet lao korean japanese=  hebrew greek
romanian slovak czech european&nb= sp;ethiopic indian cyrillic chinese
case-table epa-h= ook jka-cmpr-hook help simple abbrev minibuffer&nb= sp;nadvice
loaddefs button faces cus-face macroexp&n= bsp;files text-properties overlay
sha1 md5 base64&nb= sp;format env code-pages mule custom widget
has= htable-print-readable backquote make-network-process dbusbin= d
gfilenotify dynamic-setting system-font-setting font-re= nder-setting
move-toolbar gtk x-toolkit x multi-tty&= nbsp;emacs)

Memory information:
((conses 16 218897=  16865)
 (symbols 48 30731 0)
 (miscs&n= bsp;40 153 198)
 (strings 32 56492 21566)<= br> (string-bytes 1 1572015)
 (vectors 16 = 23640)
 (vector-slots 8 633622 6735)
 (float= s 8 138 33)
 (intervals 56 564 27) (buffers 960 18)
 (heap 1024 41346 = 1487))
= --=-yGPwl2fNeT6D+TXL48ju--