unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lute Kamstra <Lute.Kamstra.lists@xs4all.nl>
Cc: emacs-devel@gnu.org
Subject: Re: Darwin support for lisp/battery.el.
Date: Mon, 04 Jul 2005 11:44:39 +0200	[thread overview]
Message-ID: <87d5pyx5vc.fsf@xs4all.nl> (raw)
In-Reply-To: <87wto7rn4z.fsf@seamus.arnested.dk> (Arne Jørgensen's message of "Mon, 04 Jul 2005 10:28:12 +0200")

Arne Jørgensen <arne@arnested.dk> writes:

> Lute Kamstra <Lute.Kamstra.lists@xs4all.nl> writes:
>
> [...]
>
>> 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.

Apparently that option was added in OS X 10.4.  Strange that pmset
doesn't signal an error with its exit code when it gets passed an
unknown option.  Maybe I can test for a working version of pmset in
some other way.  Could you eval this:

  (with-temp-file "~/pmset.txt"
    (ignore-errors (call-process "pmset" nil t nil "-g" "ps")))

and send me the "~/pmset.txt" file it creates as an attachment?

Lute.

  reply	other threads:[~2005-07-04  9:44 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-02 12:21 Darwin support for lisp/battery.el Lute Kamstra
2005-07-02 13:49 ` David Kastrup
2005-07-02 14:33   ` Lute Kamstra
2005-07-02 15:16     ` David Kastrup
2005-07-03 20:42 ` Richard M. Stallman
2005-07-03 21:28   ` David Kastrup
2005-07-03 22:34     ` Lute Kamstra
2005-07-03 22:46       ` David Kastrup
2005-07-04  2:41         ` Ken Raeburn
2005-07-04  7:39           ` Lute Kamstra
2005-07-04  8:28             ` Arne Jørgensen
2005-07-04  9:44               ` Lute Kamstra [this message]
     [not found]                 ` <87pstysxke.fsf@seamus.arnested.dk>
2005-07-04 10:43                   ` Lute Kamstra
2005-07-04  9:31             ` Ken Raeburn
2005-07-04  9:40               ` Ken Raeburn
2005-07-06 11:42               ` Lute Kamstra
2005-07-06 13:05                 ` Sean O'Rourke
2005-07-09 10:13                   ` Lute Kamstra
2005-07-04 14:51     ` Richard M. Stallman
2005-07-04 15:30       ` David Kastrup
2005-07-05 16:12         ` Richard M. Stallman
2005-07-05 20:27           ` Aidan Kehoe
2005-07-03 22:32   ` Lute Kamstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d5pyx5vc.fsf@xs4all.nl \
    --to=lute.kamstra.lists@xs4all.nl \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).