From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Arne_J=C3=B8rgensen?= Newsgroups: gmane.emacs.devel Subject: Re: Darwin support for lisp/battery.el. Date: Mon, 04 Jul 2005 10:28:12 +0200 Organization: Arne Joergensen -- http://arnested.dk/ Message-ID: <87wto7rn4z.fsf@seamus.arnested.dk> References: <8764vtxusp.fsf@xs4all.nl> <85mzp3a8am.fsf@lola.goethe.zz> <87d5pz8qoq.fsf@xs4all.nl> <851x6fa4pa.fsf@lola.goethe.zz> <87y88nvx36.fsf@xs4all.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1120468991 25735 80.91.229.2 (4 Jul 2005 09:23:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2005 09:23:11 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 04 11:23:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DpN9n-0006uS-0h for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2005 11:22:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpNAz-0004z4-Bx for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2005 05:23:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DpMQj-00030O-5H for emacs-devel@gnu.org; Mon, 04 Jul 2005 04:35:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DpMQe-0002yk-TQ for emacs-devel@gnu.org; Mon, 04 Jul 2005 04:35:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpMPH-0002TF-Nf for emacs-devel@gnu.org; Mon, 04 Jul 2005 04:34:24 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DpMPq-0006rA-IP for emacs-devel@gnu.org; Mon, 04 Jul 2005 04:34:58 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DpMJS-0001A5-Jc for emacs-devel@gnu.org; Mon, 04 Jul 2005 10:28:22 +0200 Original-Received: from 213.237.94.152 ([213.237.94.152]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Jul 2005 10:28:22 +0200 Original-Received: from arne by 213.237.94.152 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Jul 2005 10:28:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 25 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213.237.94.152 X-Face: 5t,7/Y$&<1A_t.$vC2{pWZ{m@3_06; kcm]no{hgEL/}Uz(>XV6cl4}xO\v?-h3%>znNaZtq `~rf,GY1T%r=a.zH`hOb(-]'x)nI088Z&|e;V^h;/TShou User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:8iivIByZQkCmyFlZVwN1AbOG1zg= 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:40318 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40318 Lute Kamstra writes: > Ken Raeburn writes: > > [...] > >> (And, BTW, the "-g ps" arguments given don't seem to do anything on my >> laptop running 10.3, kernel 7.9.0; I don't know if that means it's >> just not a supported option on my laptop for some reason, which would >> seem kind of strange, or if the "ps" option wasn't added until 10.4.) > > My patch tries to test whether pmset supports "-g ps" by looking at > the exit code. Does "pmset -g ps" return a non-zero exit code on your > system? On my iBook G4 with Mac OS X 10.3 "pmset -g ps" has zero as exit code and no information as output. > Do you know of a way to get battery information on your system? No. Kind regards, -- Arne Jørgensen