Wireshark mailing list archives
Re: modelines
From: Stephen Fisher <steve () stephen-fisher com>
Date: Tue, 27 Sep 2011 13:13:17 -0600
On Tue, Sep 27, 2011 at 06:57:15PM +0000, Chris Maynard wrote:
2) In the absence of any other user preference, what is the Wireshark recommendation on modeline settings, if any? The following seems to be the default settings generated at [1], so am I right to assume that would be the recommendation - at least for files with all (or mostly) spaces and tabs?
Since I started coding for Wireshark in 2006, the convention wisdom (as I understood it) has always been to stick with the formatting method that the file already has, whatever that may be. Emacs is pretty good about keeping the same indentation as the line above the one you're inserting, although it may differ in spaces vs. tabs. I'm one of the few fans of actual tabs. Whatever the preference, I think having mode lines is a great choice so we don't have to bother (we can be lazy) changing our editor/remembering to format it a certain way to keep it consistent :). ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- modelines Chris Maynard (Sep 27)
- Re: modelines Stephen Fisher (Sep 27)
- Re: modelines Chris Maynard (Sep 27)
- Re: modelines Stephen Fisher (Sep 28)
- Re: modelines Ed Beroset (Sep 28)
- Re: modelines Jeff Morriss (Sep 28)
- Re: modelines Bill Meier (Sep 28)
- Re: modelines Guy Harris (Sep 28)
- Re: modelines Chris Maynard (Sep 28)
- Re: modelines Guy Harris (Sep 28)
- Re: modelines Chris Maynard (Sep 27)
- Re: modelines Stephen Fisher (Sep 27)
