Wireshark-bugs: [Wireshark-bugs] [Bug 5748] New: Editor Modeline Generator should terminate vi m

Date: Sat, 12 Mar 2011 03:10:35 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748

           Summary: Editor Modeline Generator should terminate vi modeline
                    with a colon
           Product: Web sites
           Version: N/A
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Main site - www.wireshark.org
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: ljakab@xxxxxxxxxx


Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
According to the Vi(m) documentation [1] there are two ways to set modelines:

[text]{white}{vi:|vim:|ex:}[white]{options}

and

[text]{white}{vi:|vim:|ex:}[white]se[t] {options}:[text]

By using the "set" command, the Modeline Generator on the Wireshark web site
chose the second format, which includes a non-optional terminating colon on the
line. However, that colon is not added by the Generator.

I noticed this when a dissector source file I submitted was updated in the SVN
with these generated modelines, and the settings were not applied when I opened
the file in my editor.

[1] http://vimdoc.sourceforge.net/htmldoc/options.html#auto-setting

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.