all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: Alberto Luaces <aluaces@udc.es>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Writing a Lisp to show the capacity of the battery of the laptop
Date: Tue, 22 Feb 2011 18:41:01 +0100	[thread overview]
Message-ID: <AANLkTiki6X8625XOphGC0zdKA_eZu4XEy0dv6vV05BBY@mail.gmail.com> (raw)
In-Reply-To: <878vx8c6q3.fsf@eps142.cdf.udc.es>

2011/2/22 Alberto Luaces <aluaces@udc.es>:
> Deniz Dogan writes:
>
>> 2011/2/22 Alberto Luaces:
>>> Deniz Dogan writes:
>>>
>>>> Your code is unorganized and buffer-centric for no reason.
>>>
>>> I'm also an elisp newbie and were doing the same buffer fiddling, since
>>> I didn't know that `shell-command' returned a string with the output
>>> until I saw your example.
>>>
>>> Is there any existing convention about this? I can't find that
>>> information in an explicit form in that function documentation.
>>>
>>
>> Heh, my bad, it doesn't return a string. Ignore me.
>
> What a pity! :(
>

shell-command-to-string does though! I knew it existed somewhere...!

-- 
Deniz Dogan



  reply	other threads:[~2011-02-22 17:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-21 14:46 Writing a Lisp to show the capacity of the battery of the laptop Thomas Dean
2011-02-22 15:13 ` Le Wang
2011-02-22 15:33 ` Deniz Dogan
2011-02-22 16:51   ` Alberto Luaces
2011-02-22 17:25     ` Deniz Dogan
2011-02-22 17:35       ` Alberto Luaces
2011-02-22 17:41         ` Deniz Dogan [this message]
2011-02-22 17:25 ` Eli Zaretskii
     [not found] <mailman.14.1298381790.4429.help-gnu-emacs@gnu.org>
2011-02-22 16:48 ` Pascal J. Bourguignon

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

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

  git send-email \
    --in-reply-to=AANLkTiki6X8625XOphGC0zdKA_eZu4XEy0dv6vV05BBY@mail.gmail.com \
    --to=deniz.a.m.dogan@gmail.com \
    --cc=aluaces@udc.es \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.