[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] what is ml in fmt-<name>
From: |
Shawn |
Subject: |
Re: [STUMP] what is ml in fmt-<name> |
Date: |
Thu, 28 Aug 2008 12:17:29 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
"Rohan Nicholls" <address@hidden> writes:
> Thanks for the reply
>
> On Tue, Aug 19, 2008 at 4:22 PM, John Li <address@hidden> wrote:
>> On Tue, Aug 19, 2008 at 02:45:29PM +0200, Rohan Nicholls wrote:
>>> Hey everyone,
>>>
>>> I was making a define-stumpwm-command with the wifi package, and I see
>>> the same thing with battery.lisp, there is this ml argument.
>>
>> It's the mode-line. You'll probably have to wait for Shawn to tell you
>> why all formatters take it as an argument. Either way, you can almost
>> certainly ignore it, like the other formatter functions do.
>
> Thanks. I was in the mode-line.lisp file and noticed all the ml's
> around the place, and figured it must stand for that, but not why. ;)
Some formatter functions need access to the modeline for various
data. Have a look at the format functions in mode-line.lisp to see how
it's used.
-Shawn