--- Begin Message ---
Guy Harris <g...@alum.mit.edu> wrote:
>> I thought we wanted all spaces?
> If we do, we should replace all the tabs in pcap-int.h with spaces; we
> should at least be consistent, and change #918 fixed one inconsistent
> case.
Let's agree that we are going towards spaces.
I think most files are using 8-space indents, a la Linux Kernel.
I'm not fond of forcing people to omit {} when there is a single line, but I
can live with it.
> Spaces have the advantage that they don't get misinterpreted by editors
> that think tabs occur every 4 spaces rather than the UN*X standard of 8
> spaces. Wireshark's been moving in that direction to some extent.
Agreed.
>> I propose to put emacs and vim definitions into every file.
> "Definitions" as in "modelines"? Sounds reaonsable - Wireshark haz
> them in most if not all files, and even has a Web page to generate
> them:
> https://www.wireshark.org/tools/modelines.html
good.
I will submit a whitespace change to master next week, and then a modeline fix.
Are there any integrations to github that will warn people to fix their
whitespace settings?
--
] Never tell me the odds! | ipv6 mesh networks [
] Michael Richardson, Sandelman Software Works | IoT architect [
] m...@sandelman.ca http://www.sandelman.ca/ | ruby on rails [
--- End Message ---
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers