ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

Date: Wed, 21 Sep 2011 09:02:30 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748

--- Comment #6 from Bill Meier <wmeier@xxxxxxxxxxx> 2011-09-21 12:02:29 EDT ---
(In reply to comment #2)
> The current output of the generator is this:
> 
> /*
>  * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
>  *
>  * Local variables:
>  * c-basic-offset: 4
>  * tab-width: 8
>  * indent-tabs-mode: nil
>  * End:
>  *
>  * vi: set shiftwidth=4 tabstop=8 expandtab
>  * :indentSize=4:tabSize=8:noTabs=true:
>  */
> 
> There should be a colon just after 'expandtab'. The next line is for Emacs. If
> the modeline is pasted like this, vim will not apply it.

Just as an aside: the :indentsize=4:... line is *not* for EMacs. I don't know
the editor to which this line applies.

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