File: Modeline-Correct-vim-modline-syntax.patch

package info (click to toggle)
libcoap3 4.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,932 kB
  • sloc: ansic: 35,631; sh: 4,675; makefile: 728
file content (300 lines) | stat: -rw-r--r-- 8,524 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Mon, 28 Nov 2022 11:18:23 +0100
Subject: Modeline: Correct vim modline syntax

The modline entries for Vim were not correct, various options get
declared by a space in between, and also no special character at the end
of the line are allowed.

Forwarded: https://github.com/tijuca/libcoap/pull/1
---
 man/coap-client.txt.in          | 2 +-
 man/coap-rd.txt.in              | 2 +-
 man/coap-server.txt.in          | 2 +-
 man/coap.txt.in                 | 2 +-
 man/coap_async.txt.in           | 2 +-
 man/coap_attribute.txt.in       | 2 +-
 man/coap_block.txt.in           | 2 +-
 man/coap_cache.txt.in           | 2 +-
 man/coap_context.txt.in         | 2 +-
 man/coap_encryption.txt.in      | 2 +-
 man/coap_endpoint_client.txt.in | 2 +-
 man/coap_endpoint_server.txt.in | 2 +-
 man/coap_handler.txt.in         | 2 +-
 man/coap_io.txt.in              | 2 +-
 man/coap_keepalive.txt.in       | 2 +-
 man/coap_logging.txt.in         | 2 +-
 man/coap_observe.txt.in         | 2 +-
 man/coap_pdu_access.txt.in      | 2 +-
 man/coap_pdu_setup.txt.in       | 2 +-
 man/coap_recovery.txt.in        | 2 +-
 man/coap_resource.txt.in        | 2 +-
 man/coap_session.txt.in         | 2 +-
 man/coap_string.txt.in          | 2 +-
 man/coap_tls_library.txt.in     | 2 +-
 24 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/man/coap-client.txt.in b/man/coap-client.txt.in
index 28f0baa..b6dd1a7 100644
--- a/man/coap-client.txt.in
+++ b/man/coap-client.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap-client(5)
 ==============
diff --git a/man/coap-rd.txt.in b/man/coap-rd.txt.in
index 14dc151..3cc05dd 100644
--- a/man/coap-rd.txt.in
+++ b/man/coap-rd.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap-rd(5)
 ==========
diff --git a/man/coap-server.txt.in b/man/coap-server.txt.in
index 2772669..81dc76b 100644
--- a/man/coap-server.txt.in
+++ b/man/coap-server.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap-server(5)
 ==============
diff --git a/man/coap.txt.in b/man/coap.txt.in
index f9fd82e..31d14d9 100644
--- a/man/coap.txt.in
+++ b/man/coap.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap(7)
 =======
diff --git a/man/coap_async.txt.in b/man/coap_async.txt.in
index 379f585..e913836 100644
--- a/man/coap_async.txt.in
+++ b/man/coap_async.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_async(3)
 =============
diff --git a/man/coap_attribute.txt.in b/man/coap_attribute.txt.in
index 5242315..d4e087f 100644
--- a/man/coap_attribute.txt.in
+++ b/man/coap_attribute.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_attribute(3)
 =================
diff --git a/man/coap_block.txt.in b/man/coap_block.txt.in
index b91097e..60796d0 100644
--- a/man/coap_block.txt.in
+++ b/man/coap_block.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_block(3)
 =============
diff --git a/man/coap_cache.txt.in b/man/coap_cache.txt.in
index d5e7ff7..3d76b1f 100644
--- a/man/coap_cache.txt.in
+++ b/man/coap_cache.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_cache(3)
 =============
diff --git a/man/coap_context.txt.in b/man/coap_context.txt.in
index 53579d2..34ed774 100644
--- a/man/coap_context.txt.in
+++ b/man/coap_context.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_context(3)
 ===============
diff --git a/man/coap_encryption.txt.in b/man/coap_encryption.txt.in
index da81c02..36f4933 100644
--- a/man/coap_encryption.txt.in
+++ b/man/coap_encryption.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_encryption(3)
 ===================
diff --git a/man/coap_endpoint_client.txt.in b/man/coap_endpoint_client.txt.in
index a94eb7e..256ce85 100644
--- a/man/coap_endpoint_client.txt.in
+++ b/man/coap_endpoint_client.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_endpoint_client(3)
 =======================
diff --git a/man/coap_endpoint_server.txt.in b/man/coap_endpoint_server.txt.in
index c4270b0..b3d934e 100644
--- a/man/coap_endpoint_server.txt.in
+++ b/man/coap_endpoint_server.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_endpoint_server(3)
 =======================
diff --git a/man/coap_handler.txt.in b/man/coap_handler.txt.in
index bbb292f..b0ff97c 100644
--- a/man/coap_handler.txt.in
+++ b/man/coap_handler.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_handler(3)
 =================
diff --git a/man/coap_io.txt.in b/man/coap_io.txt.in
index c0e1839..8ff8d25 100644
--- a/man/coap_io.txt.in
+++ b/man/coap_io.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_io(3)
 ==========
diff --git a/man/coap_keepalive.txt.in b/man/coap_keepalive.txt.in
index 06f5e4a..8bca58a 100644
--- a/man/coap_keepalive.txt.in
+++ b/man/coap_keepalive.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_keepalive(3)
 =================
diff --git a/man/coap_logging.txt.in b/man/coap_logging.txt.in
index 5a10d5e..290450c 100644
--- a/man/coap_logging.txt.in
+++ b/man/coap_logging.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_logging(3)
 =================
diff --git a/man/coap_observe.txt.in b/man/coap_observe.txt.in
index 275154f..c41e8ac 100644
--- a/man/coap_observe.txt.in
+++ b/man/coap_observe.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_observe(3)
 =================
diff --git a/man/coap_pdu_access.txt.in b/man/coap_pdu_access.txt.in
index 9b208b4..47a9e05 100644
--- a/man/coap_pdu_access.txt.in
+++ b/man/coap_pdu_access.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_pdu_access(3)
 =================
diff --git a/man/coap_pdu_setup.txt.in b/man/coap_pdu_setup.txt.in
index a18b5cd..2d5cbbe 100644
--- a/man/coap_pdu_setup.txt.in
+++ b/man/coap_pdu_setup.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_pdu_setup(3)
 =================
diff --git a/man/coap_recovery.txt.in b/man/coap_recovery.txt.in
index d81a08f..1950f8c 100644
--- a/man/coap_recovery.txt.in
+++ b/man/coap_recovery.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_recovery(3)
 =================
diff --git a/man/coap_resource.txt.in b/man/coap_resource.txt.in
index d15e9a0..5f37ae7 100644
--- a/man/coap_resource.txt.in
+++ b/man/coap_resource.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_resource(3)
 =================
diff --git a/man/coap_session.txt.in b/man/coap_session.txt.in
index 8e66a71..c78588c 100644
--- a/man/coap_session.txt.in
+++ b/man/coap_session.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_session(3)
 ===============
diff --git a/man/coap_string.txt.in b/man/coap_string.txt.in
index ad349db..6a12a75 100644
--- a/man/coap_string.txt.in
+++ b/man/coap_string.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_string(3)
 ==============
diff --git a/man/coap_tls_library.txt.in b/man/coap_tls_library.txt.in
index ce3deea..ed313b8 100644
--- a/man/coap_tls_library.txt.in
+++ b/man/coap_tls_library.txt.in
@@ -1,5 +1,5 @@
 // -*- mode:doc; -*-
-// vim: set syntax=asciidoc,tw=0:
+// vim: set syntax=asciidoc tw=0
 
 coap_tls_library(3)
 ===================