Stephen Warren wrote:
> On Wed, April 2, 2008 2:22 am, Phil Dibowitz wrote:
>> This doesn't seem to actually work for me.
> 
> Huh. I tested the expandtab and shiftwidth settings on libconcord.h, and
> those worked for me (at least before I moved them to the top of the file)
> (I have different defaults than those in .vimrc), but not the wrapping
> option.
> 
> I'll take a look at what's up tonight/tomorrow.

Here's an updated version; apparently setting textwidth isn't enough;
one must turn on flags that enable the wrapping at that textwidth.

Index: concordance/concordance.c
===================================================================
RCS file: /cvsroot/concordance/concordance/concordance/concordance.c,v
retrieving revision 1.19
diff -u -p -r1.19 concordance.c
--- concordance/concordance.c	3 Apr 2008 02:28:20 -0000	1.19
+++ concordance/concordance.c	3 Apr 2008 05:52:21 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
@@ -1005,4 +1009,3 @@ cleanup:
 
 	return err;
 }
-
Index: consnoop/consnoop.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/consnoop/consnoop.cpp,v
retrieving revision 1.8
diff -u -p -r1.8 consnoop.cpp
--- consnoop/consnoop.cpp	9 Mar 2008 01:50:48 -0000	1.8
+++ consnoop/consnoop.cpp	3 Apr 2008 05:52:22 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
Index: libconcord/binaryfile.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/binaryfile.cpp,v
retrieving revision 1.6
diff -u -p -r1.6 binaryfile.cpp
--- libconcord/binaryfile.cpp	26 Mar 2008 01:48:08 -0000	1.6
+++ libconcord/binaryfile.cpp	3 Apr 2008 05:52:22 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
@@ -102,4 +106,3 @@ size_t binaryinfile::read(uint8_t *b, ui
 {
 	return fread(b, len, 1, m_f);
 }
-
Index: libconcord/binaryfile.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/binaryfile.h,v
retrieving revision 1.3
diff -u -p -r1.3 binaryfile.h
--- libconcord/binaryfile.h	3 Mar 2008 02:58:16 -0000	1.3
+++ libconcord/binaryfile.h	3 Apr 2008 05:52:22 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
Index: libconcord/concordance.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/concordance.h,v
retrieving revision 1.8
diff -u -p -r1.8 concordance.h
--- libconcord/concordance.h	7 Mar 2008 21:25:06 -0000	1.8
+++ libconcord/concordance.h	3 Apr 2008 05:52:22 -0000
@@ -1,4 +1,8 @@
 /*
+    vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+
+    $Id$
+
     Copyright 2007 Kevin Timmerman
 
     This program is free software; you can redistribute it and/or modify
Index: libconcord/hid.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/hid.h,v
retrieving revision 1.4
diff -u -p -r1.4 hid.h
--- libconcord/hid.h	3 Mar 2008 02:58:16 -0000	1.4
+++ libconcord/hid.h	3 Apr 2008 05:52:22 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
Index: libconcord/libconcord.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/libconcord.cpp,v
retrieving revision 1.22
diff -u -p -r1.22 libconcord.cpp
--- libconcord/libconcord.cpp	3 Apr 2008 02:28:20 -0000	1.22
+++ libconcord/libconcord.cpp	3 Apr 2008 05:52:22 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
@@ -1147,4 +1151,3 @@ void report_net_error(const char *msg)
 	debug("Net error: %s failed with error %s", msg, strerror(errno));
 #endif
 }
-
Index: libconcord/libconcord.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/libconcord.h,v
retrieving revision 1.15
diff -u -p -r1.15 libconcord.h
--- libconcord/libconcord.h	3 Apr 2008 02:28:20 -0000	1.15
+++ libconcord/libconcord.h	3 Apr 2008 05:52:22 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
@@ -382,4 +386,3 @@ int learn_ir_commands(uint8_t *data, uin
 #endif
 
 #endif /* LIBCONCORD_H */
-
Index: libconcord/protocol.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/protocol.h,v
retrieving revision 1.6
diff -u -p -r1.6 protocol.h
--- libconcord/protocol.h	30 Mar 2008 10:01:46 -0000	1.6
+++ libconcord/protocol.h	3 Apr 2008 05:52:22 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
@@ -104,4 +108,3 @@
 #define RESPONSE_DONE 0xF0
 
 #endif
-
Index: libconcord/protocol_z.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/protocol_z.h,v
retrieving revision 1.2
diff -u -p -r1.2 protocol_z.h
--- libconcord/protocol_z.h	30 Mar 2008 10:01:46 -0000	1.2
+++ libconcord/protocol_z.h	3 Apr 2008 05:52:22 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
Index: libconcord/remote.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/remote.cpp,v
retrieving revision 1.28
diff -u -p -r1.28 remote.cpp
--- libconcord/remote.cpp	1 Apr 2008 07:49:11 -0000	1.28
+++ libconcord/remote.cpp	3 Apr 2008 05:52:22 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
@@ -808,4 +812,3 @@ int CRemote::LearnIR(string *learn_strin
 	
 	return err;
 }
-
Index: libconcord/remote.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/remote.h,v
retrieving revision 1.15
diff -u -p -r1.15 remote.h
--- libconcord/remote.h	30 Mar 2008 10:01:46 -0000	1.15
+++ libconcord/remote.h	3 Apr 2008 05:52:22 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
Index: libconcord/remote_info.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/remote_info.h,v
retrieving revision 1.7
diff -u -p -r1.7 remote_info.h
--- libconcord/remote_info.h	30 Mar 2008 10:01:46 -0000	1.7
+++ libconcord/remote_info.h	3 Apr 2008 05:52:22 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
Index: libconcord/remote_z.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/remote_z.cpp,v
retrieving revision 1.15
diff -u -p -r1.15 remote_z.cpp
--- libconcord/remote_z.cpp	30 Mar 2008 23:17:09 -0000	1.15
+++ libconcord/remote_z.cpp	3 Apr 2008 05:52:22 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
@@ -353,4 +357,3 @@ int CRemoteZ_Base::LearnIR(string *learn
 {
 	return 0;
 }
-
Index: libconcord/usblan.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/usblan.cpp,v
retrieving revision 1.10
diff -u -p -r1.10 usblan.cpp
--- libconcord/usblan.cpp	30 Mar 2008 23:17:09 -0000	1.10
+++ libconcord/usblan.cpp	3 Apr 2008 05:52:22 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
Index: libconcord/usblan.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/usblan.h,v
retrieving revision 1.3
diff -u -p -r1.3 usblan.h
--- libconcord/usblan.h	30 Mar 2008 10:01:46 -0000	1.3
+++ libconcord/usblan.h	3 Apr 2008 05:52:23 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
Index: libconcord/web.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/web.cpp,v
retrieving revision 1.22
diff -u -p -r1.22 web.cpp
--- libconcord/web.cpp	3 Apr 2008 02:28:20 -0000	1.22
+++ libconcord/web.cpp	3 Apr 2008 05:52:23 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
@@ -273,4 +277,3 @@ int Post(uint8_t *xml, uint32_t xml_size
 
 	return Zap(server, http_header,post.c_str());
 }
-
Index: libconcord/web.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/web.h,v
retrieving revision 1.7
diff -u -p -r1.7 web.h
--- libconcord/web.h	30 Mar 2008 10:01:46 -0000	1.7
+++ libconcord/web.h	3 Apr 2008 05:52:23 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
Index: libconcord/xml_headers.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/xml_headers.h,v
retrieving revision 1.5
diff -u -p -r1.5 xml_headers.h
--- libconcord/xml_headers.h	30 Mar 2008 10:01:46 -0000	1.5
+++ libconcord/xml_headers.h	3 Apr 2008 05:52:23 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
Index: libconcord/libusb/libusbhid.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/libusb/libusbhid.cpp,v
retrieving revision 1.14
diff -u -p -r1.14 libusbhid.cpp
--- libconcord/libusb/libusbhid.cpp	30 Mar 2008 23:17:09 -0000	1.14
+++ libconcord/libusb/libusbhid.cpp	3 Apr 2008 05:52:23 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
Index: libconcord/win/usb_rtl.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/win/usb_rtl.cpp,v
retrieving revision 1.5
diff -u -p -r1.5 usb_rtl.cpp
--- libconcord/win/usb_rtl.cpp	30 Mar 2008 10:01:46 -0000	1.5
+++ libconcord/win/usb_rtl.cpp	3 Apr 2008 05:52:23 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
Index: libconcord/win/winhid.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/win/winhid.cpp,v
retrieving revision 1.7
diff -u -p -r1.7 winhid.cpp
--- libconcord/win/winhid.cpp	30 Mar 2008 23:17:09 -0000	1.7
+++ libconcord/win/winhid.cpp	3 Apr 2008 05:52:23 -0000
@@ -1,4 +1,8 @@
 /*
+ *  vi: formatoptions+=tc textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ *  $Id$
+ *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to