port message

Joshua Root jmr at macports.org
Fri Jan 8 15:39:31 PST 2010


On 2010-1-9 09:40 , Bradley Giesbrecht wrote:
> On Jan 8, 2010, at 9:21 AM, Joshua Root wrote:
> 
>> On 2010-1-9 03:38 , Bradley Giesbrecht wrote:
>>> Is there a port command for just printing out the port ui_mesg?
>>>
>>> If not this might be simple to implement and useful.
>>
>> Well, ui_msg is just a procedure and as such can be called
>> conditionally, so there's no such thing as "the" ui_msg for a port.
>> Anything the user might want to see again should be done with the
>> 'notes' feature introduced in 1.8.
> 
> I haven't seen 'notes' in a portfile yet.
> 
> Is the idea that most of the stuff that is currently in ui_msg should be
> moved to notes?
> 
> Can you give me an example of the Portfile variable and port command
> usage for notes?

color-theme-mode.el was the first example I found. Usage is just
"port notes <portname>"

- Josh


More information about the macports-dev mailing list