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

Lana Brindley lbrindle at redhat.com
Wed Oct 15 04:54:16 UTC 2008


Jeff Fearn wrote:
> 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.
> 

Huh. Figures. :-P

L
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lbrindle.vcf
Type: text/x-vcard
Size: 976 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/publican-list/attachments/20081015/44d5ea17/attachment.vcf>


More information about the publican-list mailing list