[publican-list] Comments in XML files, good, bad, or ugly?

Jeff Fearn jfearn at redhat.com
Wed Oct 15 04:51:44 UTC 2008


Lana Brindley wrote:
> Jeff Fearn wrote:
>> Lana Brindley wrote:
>>> Jared Smith wrote:
>>>> On Wed, 2008-10-15 at 15:21 +1100, Lana Brindley wrote:
>>>>> What else are comments good for? Is there anything that can be 
>>>>> achieved with comments that _can't_ be achieved through the use of 
>>>>> another tag (like <remark>)?
>>>>
>>>> I, for one, like to put a comment at the very bottom of my XML files
>>>> that looks like:
>>>>
>>>> !-- vim: softtabstop=2:shiftwidth=2:expandtab:textwidth=72 -->
>>>>
>>>> I realize it's a pretty trivial example, but it's just a single example
>>>> of one of the many places a <remark> just doesn't seem to fit.
>>>>
>>>> -Jared
>>>
>>> Jared,
>>>
>>> Skuse my ignorance ... but what does that line actually do?
>>
>> It embeds vim configuration settings in the file, forcing other vim 
>> users to delete it and reload the file with the proper configuration 
>> settings.
>>
>> Cheers, Jeff.
>>
> 
> Who reads documentation in vim?

Probably just Jared and me :D

Cheers, Jeff.

-- 
Jeff Fearn <jfearn at redhat.com>
Software Engineer
Engineering Operations
Red Hat, Inc
Freedom ... courage ... Commitment ... ACCOUNTABILITY




More information about the publican-list mailing list