Wireshark mailing list archives
Re: "consistent" indentation and tabstop=8
From: Bill Meier <wmeier () newsguy com>
Date: Wed, 28 Apr 2010 19:19:23 -0400
Jakub Zawadzki wrote:
Hi, Why there's tabstop=8, but file is indented with 2 spaces? How should <tab> key works in these files? If you want to mark that \t in files are bad, let at least set softtabstop=2 to make using <tab> sane.
Without starting any new discussion, my only intent is that any tabs in a Wireshark source file are always displayed as going to a column position of 9, 17, ... (where the left-most column is numbered as 1). In any case, there are at least 25 or 30 other Wireshark files (besides those I changed) with ex/vi modelines which have shiftwidth different than tabstop. I presume those ex/vi modelines should also have tabstop the same as shiftwidth to allow the use of a <tab key> in ex/vi/vim to cause an indentation equivalent to shiftwidth (whether or not a <tab character> is actually inserted in the file). (I'm not really that familiar with the ex/vi/vim editors. Is a modeline prefixed by ex: also used by vi ??) ___________________________________________________________________________ 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:
- "consistent" indentation and tabstop=8 Jakub Zawadzki (Apr 28)
- Re: "consistent" indentation and tabstop=8 Guy Harris (Apr 28)
- Re: "consistent" indentation and tabstop=8 Jakub Zawadzki (Apr 28)
- Re: "consistent" indentation and tabstop=8 Guy Harris (Apr 28)
- Re: "consistent" indentation and tabstop=8 Jakub Zawadzki (Apr 28)
- Re: "consistent" indentation and tabstop=8 Bill Meier (Apr 28)
- Re: "consistent" indentation and tabstop=8 Bill Meier (Apr 28)
- Re: "consistent" indentation and tabstop=8 Jakub Zawadzki (Apr 29)
- Re: "consistent" indentation and tabstop=8 Gerald Combs (Apr 29)
- Re: "consistent" indentation and tabstop=8 Bill Meier (Apr 29)
- Re: "consistent" indentation and tabstop=8 Bill Meier (Apr 29)
- Re: "consistent" indentation and tabstop=8 Bill Meier (Apr 28)
- Re: "consistent" indentation and tabstop=8 Guy Harris (Apr 28)