test-org-lint.el 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569
  1. ;;; test-org-lint.el --- Tests for Org Lint -*- lexical-binding: t; -*-
  2. ;; Copyright (C) 2016, 2019 Nicolas Goaziou
  3. ;; Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
  4. ;; This program is free software; you can redistribute it and/or modify
  5. ;; it under the terms of the GNU General Public License as published by
  6. ;; the Free Software Foundation, either version 3 of the License, or
  7. ;; (at your option) any later version.
  8. ;; This program is distributed in the hope that it will be useful,
  9. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. ;; GNU General Public License for more details.
  12. ;; You should have received a copy of the GNU General Public License
  13. ;; along with this program. If not, see <https://www.gnu.org/licenses/>.
  14. ;;; Code:
  15. (ert-deftest test-org-lint/duplicate-custom-id ()
  16. "Test `org-lint-duplicate-custom-id' checker."
  17. (should
  18. (org-test-with-temp-text "
  19. * H1
  20. :PROPERTIES:
  21. :CUSTOM_ID: foo
  22. :END:
  23. * H2
  24. :PROPERTIES:
  25. :CUSTOM_ID: foo
  26. :END:"
  27. (org-lint '(duplicate-custom-id))))
  28. (should-not
  29. (org-test-with-temp-text "
  30. * H1
  31. :PROPERTIES:
  32. :CUSTOM_ID: foo
  33. :END:
  34. * H2
  35. :PROPERTIES:
  36. :CUSTOM_ID: bar
  37. :END:"
  38. (org-lint '(duplicate-custom-id)))))
  39. (ert-deftest test-org-lint/duplicate-name ()
  40. "Test `org-lint-duplicate-name' checker."
  41. (should
  42. (org-test-with-temp-text "
  43. #+name: foo
  44. Paragraph1
  45. #+name: foo
  46. Paragraph 2"
  47. (org-lint '(duplicate-name))))
  48. (should-not
  49. (org-test-with-temp-text "
  50. #+name: foo
  51. Paragraph1
  52. #+name: bar
  53. Paragraph 2"
  54. (org-lint '(duplicate-name)))))
  55. (ert-deftest test-org-lint/duplicate-target ()
  56. "Test `org-lint-duplicate-target' checker."
  57. (should
  58. (org-test-with-temp-text "<<foo>> <<foo>>"
  59. (org-lint '(duplicate-target))))
  60. (should-not
  61. (org-test-with-temp-text "<<foo>> <<bar>>"
  62. (org-lint '(duplicate-target)))))
  63. (ert-deftest test-org-lint/duplicate-footnote-definition ()
  64. "Test `org-lint-duplicate-footnote-definition' checker."
  65. (should
  66. (org-test-with-temp-text "
  67. \[fn:1] Definition 1
  68. \[fn:1] Definition 2"
  69. (org-lint '(duplicate-footnote-definition))))
  70. (should-not
  71. (org-test-with-temp-text "
  72. \[fn:1] Definition 1
  73. \[fn:2] Definition 2"
  74. (org-lint '(duplicate-footnote-definition)))))
  75. (ert-deftest test-org-lint/orphaned-affiliated-keywords ()
  76. "Test `org-lint-orphaned-affiliated-keywords' checker."
  77. (should
  78. (org-test-with-temp-text "#+name: foo"
  79. (org-lint '(orphaned-affiliated-keywords)))))
  80. (ert-deftest test-org-lint/deprecated-export-blocks ()
  81. "Test `org-lint-deprecated-export-blocks' checker."
  82. (should
  83. (org-test-with-temp-text "
  84. #+begin_latex
  85. ...
  86. #+end_latex"
  87. (org-lint '(deprecated-export-blocks)))))
  88. (ert-deftest test-org-lint/deprecated-header-syntax ()
  89. "Test `org-lint-deprecated-header-syntax' checker."
  90. (should
  91. (org-test-with-temp-text "#+property: cache yes"
  92. (org-lint '(deprecated-header-syntax))))
  93. (should
  94. (org-test-with-temp-text "
  95. * H
  96. :PROPERTIES:
  97. :cache: yes
  98. :END:"
  99. (org-lint '(deprecated-header-syntax)))))
  100. (ert-deftest test-org-lint/missing-language-in-src-block ()
  101. "Test `org-lint-missing-language-in-src-block' checker."
  102. (should
  103. (org-test-with-temp-text "
  104. #+begin_src
  105. ...
  106. #+end_src"
  107. (org-lint '(missing-language-in-src-block)))))
  108. (ert-deftest test-org-lint/missing-backend-in-export-block ()
  109. "Test `org-lint-missing-backend-in-export-block' checker."
  110. (should
  111. (org-test-with-temp-text "
  112. #+begin_export
  113. ...
  114. #+end_export"
  115. (org-lint '(missing-backend-in-export-block)))))
  116. (ert-deftest test-org-lint/invalid-babel-call-block ()
  117. "Test `org-lint-invalid-babel-call-block' checker."
  118. (should
  119. (org-test-with-temp-text "#+call:"
  120. (org-lint '(invalid-babel-call-block))))
  121. (should
  122. (org-test-with-temp-text "#+call: foo() [:exports code]"
  123. (org-lint '(invalid-babel-call-block)))))
  124. (ert-deftest test-org-lint/deprecated-category-setup ()
  125. "Test `org-lint-deprecated-category-setup' checker."
  126. (should
  127. (org-test-with-temp-text "#+category: foo\n#+category: bar"
  128. (org-lint '(deprecated-category-setup)))))
  129. (ert-deftest test-org-lint/invalid-coderef-link ()
  130. "Test `org-lint-invalid-coderef-link' checker."
  131. (should
  132. (org-test-with-temp-text "[[(unknown)]]"
  133. (org-lint '(invalid-coderef-link))))
  134. (should-not
  135. (org-test-with-temp-text "[[(foo)]]
  136. #+begin_src emacs-lisp -l \"; ref:%s\"
  137. (+ 1 1) ; ref:foo
  138. #+end_src"
  139. (org-lint '(invalid-coderef-link)))))
  140. (ert-deftest test-org-lint/invalid-custom-id-link ()
  141. "Test `org-lint-invalid-custom-id-link' checker."
  142. (should
  143. (org-test-with-temp-text "[[#unknown]]"
  144. (org-lint '(invalid-custom-id-link))))
  145. (should-not
  146. (org-test-with-temp-text "[[#foo]]
  147. * H
  148. :PROPERTIES:
  149. :CUSTOM_ID: foo
  150. :END:"
  151. (org-lint '(invalid-custom-id-link)))))
  152. (ert-deftest test-org-lint/invalid-fuzzy-link ()
  153. "Test `org-lint-invalid-fuzzy-link' checker."
  154. (should
  155. (org-test-with-temp-text "[[*unknown]]"
  156. (org-lint '(invalid-fuzzy-link))))
  157. (should-not
  158. (org-test-with-temp-text "[[*foo]]\n* foo"
  159. (org-lint '(invalid-fuzzy-link))))
  160. (should
  161. (org-test-with-temp-text "[[unknown]]"
  162. (org-lint '(invalid-fuzzy-link))))
  163. (should-not
  164. (org-test-with-temp-text "[[foo]]\n#+name: foo\nParagraph"
  165. (org-lint '(invalid-fuzzy-link))))
  166. (should-not
  167. (org-test-with-temp-text "[[foo]]\n<<foo>>"
  168. (org-lint '(invalid-fuzzy-link)))))
  169. (ert-deftest test-org-lint/special-property-in-properties-drawer ()
  170. "Test `org-lint-special-property-in-properties-drawer' checker."
  171. (should
  172. (org-test-with-temp-text "
  173. * H
  174. :PROPERTIES:
  175. :TODO: foo
  176. :END:"
  177. (org-lint '(special-property-in-properties-drawer)))))
  178. (ert-deftest test-org-lint/obsolete-properties-drawer ()
  179. "Test `org-lint-obsolete-properties-drawer' checker."
  180. (should-not
  181. (org-test-with-temp-text "
  182. * H
  183. :PROPERTIES:
  184. :SOMETHING: foo
  185. :END:"
  186. (org-lint '(obsolete-properties-drawer))))
  187. (should-not
  188. (org-test-with-temp-text "
  189. * H
  190. SCHEDULED: <2012-03-29>
  191. :PROPERTIES:
  192. :SOMETHING: foo
  193. :END:"
  194. (org-lint '(obsolete-properties-drawer))))
  195. (should-not
  196. (org-test-with-temp-text ":PROPERTIES:
  197. :SOMETHING: foo
  198. :END:"
  199. (org-lint '(obsolete-properties-drawer))))
  200. (should-not
  201. (org-test-with-temp-text "# Comment
  202. :PROPERTIES:
  203. :SOMETHING: foo
  204. :END:"
  205. (org-lint '(obsolete-properties-drawer))))
  206. (should
  207. (org-test-with-temp-text "
  208. * H
  209. Paragraph
  210. :PROPERTIES:
  211. :SOMETHING: foo
  212. :END:"
  213. (org-lint '(obsolete-properties-drawer))))
  214. (should
  215. (org-test-with-temp-text "
  216. * H
  217. :PROPERTIES:
  218. This is not a node property
  219. :END:"
  220. (org-lint '(obsolete-properties-drawer))))
  221. (should
  222. (org-test-with-temp-text "Paragraph
  223. :PROPERTIES:
  224. :FOO: bar
  225. :END:"
  226. (org-lint '(obsolete-properties-drawer)))))
  227. (ert-deftest test-org-lint/invalid-effort-property ()
  228. "Test `org-lint-invalid-effort-property' checker."
  229. (should
  230. (org-test-with-temp-text "* H\n:PROPERTIES:\n:EFFORT: something\n:END:"
  231. (org-lint '(invalid-effort-property))))
  232. (should-not
  233. (org-test-with-temp-text "* H\n:PROPERTIES:\n:EFFORT: 1:23\n:END:"
  234. (org-lint '(invalid-effort-property)))))
  235. (ert-deftest test-org-lint/link-to-local-file ()
  236. "Test `org-lint-link-to-local-file' checker."
  237. (should
  238. (org-test-with-temp-text "[[file:/Idonotexist.org]]"
  239. (org-lint '(link-to-local-file)))))
  240. (ert-deftest test-org-lint/non-existent-setupfile-parameter ()
  241. "Test `org-lint-non-existent-setupfile-parameter' checker."
  242. (should
  243. (org-test-with-temp-text "#+setupfile: Idonotexist.org"
  244. (org-lint '(non-existent-setupfile-parameter))))
  245. (should-not
  246. (org-test-with-temp-text "#+setupfile: https://I.do/not.exist.org"
  247. (org-lint '(non-existent-setupfile-parameter)))))
  248. (ert-deftest test-org-lint/wrong-include-link-parameter ()
  249. "Test `org-lint-wrong-include-link-parameter' checker."
  250. (should
  251. (org-test-with-temp-text "#+include:"
  252. (org-lint '(wrong-include-link-parameter))))
  253. (should
  254. (org-test-with-temp-text "#+include: Idonotexist.org"
  255. (org-lint '(wrong-include-link-parameter))))
  256. (should
  257. (org-test-with-temp-text-in-file ""
  258. (let ((file (buffer-file-name)))
  259. (org-test-with-temp-text (format "#+include: \"%s::#foo\"" file)
  260. (org-lint '(wrong-include-link-parameter))))))
  261. (should-not
  262. (org-test-with-temp-text-in-file "* foo"
  263. (let ((file (buffer-file-name)))
  264. (org-test-with-temp-text (format "#+include: \"%s::*foo\"" file)
  265. (org-lint '(wrong-include-link-parameter)))))))
  266. (ert-deftest test-org-lint/obsolete-include-markup ()
  267. "Test `org-lint-obsolete-include-markup' checker."
  268. (should
  269. (org-test-with-temp-text-in-file ""
  270. (let ((file (buffer-file-name)))
  271. (org-test-with-temp-text (format "#+include: \"%s\" html" file)
  272. (org-lint '(obsolete-include-markup))))))
  273. (should-not
  274. (org-test-with-temp-text-in-file ""
  275. (let ((file (buffer-file-name)))
  276. (org-test-with-temp-text (format "#+include: \"%s\" export html" file)
  277. (org-lint '(obsolete-include-markup)))))))
  278. (ert-deftest test-org-lint/unknown-options-item ()
  279. "Test `org-lint-unknown-options-item' checker."
  280. (should
  281. (org-test-with-temp-text "#+options: foobarbaz:t"
  282. (org-lint '(unknown-options-item)))))
  283. (ert-deftest test-org-lint/invalid-macro-argument-and-template ()
  284. "Test `org-lint-invalid-macro-argument-and-template' checker."
  285. (should
  286. (org-test-with-temp-text "{{{undefined()}}}"
  287. (org-lint '(invalid-macro-argument-and-template))))
  288. (should
  289. (org-test-with-temp-text
  290. "#+macro: wrongsignature $1 $2\n{{{wrongsignature(1, 2, 3)}}}"
  291. (org-lint '(invalid-macro-argument-and-template))))
  292. (should
  293. (org-test-with-temp-text "#+macro:"
  294. (org-lint '(invalid-macro-argument-and-template))))
  295. (should
  296. (org-test-with-temp-text "#+macro: missingtemplate"
  297. (org-lint '(invalid-macro-argument-and-template))))
  298. (should
  299. (org-test-with-temp-text "#+macro: unusedplaceholders $1 $3"
  300. (org-lint '(invalid-macro-argument-and-template))))
  301. (should-not
  302. (org-test-with-temp-text
  303. "#+macro: valid $1 $2\n{{{valid(1, 2)}}}"
  304. (org-lint '(invalid-macro-argument-and-template)))))
  305. (ert-deftest test-org-lint/undefined-footnote-reference ()
  306. "Test `org-lint-undefined-footnote-reference' checker."
  307. (should
  308. (org-test-with-temp-text "Text[fn:1]"
  309. (org-lint '(undefined-footnote-reference))))
  310. (should-not
  311. (org-test-with-temp-text "Text[fn:1]\n[fn:1] Definition"
  312. (org-lint '(undefined-footnote-reference))))
  313. (should-not
  314. (org-test-with-temp-text "Text[fn:1:inline reference]"
  315. (org-lint '(undefined-footnote-reference))))
  316. (should-not
  317. (org-test-with-temp-text "Text[fn::anonymous reference]"
  318. (org-lint '(undefined-footnote-reference)))))
  319. (ert-deftest test-org-lint/unreferenced-footnote-definition ()
  320. "Test `org-lint-unreferenced-footnote-definition' checker."
  321. (should
  322. (org-test-with-temp-text "[fn:1] Definition"
  323. (org-lint '(unreferenced-footnote-definition))))
  324. (should-not
  325. (org-test-with-temp-text "Text[fn:1]\n[fn:1] Definition"
  326. (org-lint '(unreferenced-footnote-definition)))))
  327. (ert-deftest test-org-lint/colon-in-name ()
  328. "Test `org-lint-colon-in-name' checker."
  329. (should
  330. (org-test-with-temp-text "#+name: tab:name\n| a |"
  331. (org-lint '(colon-in-name))))
  332. (should-not
  333. (org-test-with-temp-text "#+name: name\n| a |"
  334. (org-lint '(colon-in-name)))))
  335. (ert-deftest test-org-lint/misplaced-planning-info ()
  336. "Test `org-lint-misplaced-planning-info' checker."
  337. (should
  338. (org-test-with-temp-text "SCHEDULED: <2012-03-29 thu.>"
  339. (org-lint '(misplaced-planning-info))))
  340. (should
  341. (org-test-with-temp-text "
  342. * H
  343. Text
  344. SCHEDULED: <2012-03-29 thu.>"
  345. (org-lint '(misplaced-planning-info))))
  346. (should-not
  347. (org-test-with-temp-text "
  348. * H
  349. SCHEDULED: <2012-03-29 thu.>"
  350. (org-lint '(misplaced-planning-info)))))
  351. (ert-deftest test-org-lint/incomplete-drawer ()
  352. "Test `org-lint-incomplete-drawer' checker."
  353. (should
  354. (org-test-with-temp-text ":DRAWER:"
  355. (org-lint '(incomplete-drawer))))
  356. (should
  357. (org-test-with-temp-text ":DRAWER:\n:ODD:\n:END:"
  358. (org-lint '(incomplete-drawer))))
  359. (should-not
  360. (org-test-with-temp-text ":DRAWER:\n:END:"
  361. (org-lint '(incomplete-drawer)))))
  362. (ert-deftest test-org-lint/indented-diary-sexp ()
  363. "Test `org-lint-indented-diary-sexp' checker."
  364. (should
  365. (org-test-with-temp-text " %%(foo)"
  366. (org-lint '(indented-diary-sexp))))
  367. (should-not
  368. (org-test-with-temp-text "%%(foo)"
  369. (org-lint '(indented-diary-sexp)))))
  370. (ert-deftest test-org-lint/invalid-block ()
  371. "Test `org-lint-invalid-block' checker."
  372. (should
  373. (org-test-with-temp-text "#+begin_foo"
  374. (org-lint '(invalid-block))))
  375. (should-not
  376. (org-test-with-temp-text "#+begin_foo\n#+end_foo"
  377. (org-lint '(invalid-block)))))
  378. (ert-deftest test-org-lint/invalid-keyword-syntax ()
  379. "Test `org-lint-invalid-keyword-syntax' checker."
  380. (should
  381. (org-test-with-temp-text "#+keyword"
  382. (org-lint '(invalid-keyword-syntax))))
  383. (should-not
  384. (org-test-with-temp-text "#+keyword:"
  385. (org-lint '(invalid-keyword-syntax)))))
  386. (ert-deftest test-org-lint/extraneous-element-in-footnote-section ()
  387. "Test `org-lint-extraneous-element-in-footnote-section' checker."
  388. (should
  389. (org-test-with-temp-text "* Footnotes\nI'm not a footnote definition"
  390. (let ((org-footnote-section "Footnotes"))
  391. (org-lint '(extraneous-element-in-footnote-section)))))
  392. (should-not
  393. (org-test-with-temp-text "* Footnotes\n[fn:1] I'm a footnote definition"
  394. (let ((org-footnote-section "Footnotes"))
  395. (org-lint '(extraneous-element-in-footnote-section))))))
  396. (ert-deftest test-org-lint/quote-section ()
  397. "Test `org-lint-quote-section' checker."
  398. (should
  399. (org-test-with-temp-text "* QUOTE H"
  400. (org-lint '(quote-section))))
  401. (should
  402. (org-test-with-temp-text "* COMMENT QUOTE H"
  403. (org-lint '(quote-section)))))
  404. (ert-deftest test-org-lint/file-application ()
  405. "Test `org-lint-file-application' checker."
  406. (should
  407. (org-test-with-temp-text "[[file+emacs:foo.org]]"
  408. (org-lint '(file-application)))))
  409. (ert-deftest test-org-lint/percenc-encoding-link-escape ()
  410. "Test `org-lint-percent-encoding-link-escape' checker."
  411. (should
  412. (org-test-with-temp-text "[[A%20B]]"
  413. (org-lint '(percent-encoding-link-escape))))
  414. (should
  415. (org-test-with-temp-text "[[%5Bfoo%5D]]"
  416. (org-lint '(percent-encoding-link-escape))))
  417. (should
  418. (org-test-with-temp-text "[[A%2520B]]"
  419. (org-lint '(percent-encoding-link-escape))))
  420. (should-not
  421. (org-test-with-temp-text "[[A B]]"
  422. (org-lint '(percent-encoding-link-escape))))
  423. (should-not
  424. (org-test-with-temp-text "[[A%30B]]"
  425. (org-lint '(percent-encoding-link-escape))))
  426. (should-not
  427. (org-test-with-temp-text "[[A%20%30B]]"
  428. (org-lint '(percent-encoding-link-escape))))
  429. (should-not
  430. (org-test-with-temp-text "<file:A%20B>"
  431. (org-lint '(percent-encoding-link-escape))))
  432. (should-not
  433. (org-test-with-temp-text "[[A B%]]"
  434. (org-lint '(percent-encoding-link-escape)))))
  435. (ert-deftest test-org-lint/wrong-header-argument ()
  436. "Test `org-lint-wrong-header-argument' checker."
  437. (should
  438. (org-test-with-temp-text "#+call: foo() barbaz yes"
  439. (org-lint '(wrong-header-argument))))
  440. (should
  441. (org-test-with-temp-text "#+call: foo() :barbaz yes"
  442. (org-lint '(wrong-header-argument))))
  443. (should
  444. (org-test-with-temp-text "call_foo[barbaz yes]()"
  445. (org-lint '(wrong-header-argument))))
  446. (should
  447. (org-test-with-temp-text "call_foo[:barbaz yes]()"
  448. (org-lint '(wrong-header-argument))))
  449. (should
  450. (org-test-with-temp-text "#+property: header-args barbaz yes"
  451. (org-lint '(wrong-header-argument))))
  452. (should
  453. (org-test-with-temp-text "#+property: header-args :barbaz yes"
  454. (org-lint '(wrong-header-argument))))
  455. (should
  456. (org-test-with-temp-text "
  457. * H
  458. :PROPERTIES:
  459. :HEADER-ARGS: barbaz yes
  460. :END:"
  461. (org-lint '(wrong-header-argument))))
  462. (should
  463. (org-test-with-temp-text "
  464. * H
  465. :PROPERTIES:
  466. :HEADER-ARGS: :barbaz yes
  467. :END:"
  468. (org-lint '(wrong-header-argument))))
  469. (should
  470. (org-test-with-temp-text "
  471. #+header: :barbaz yes
  472. #+begin_src emacs-lisp
  473. \(+ 1 1)
  474. #+end_src"
  475. (org-lint '(wrong-header-argument))))
  476. (should
  477. (org-test-with-temp-text "src_emacs-lisp[barbaz yes]{}"
  478. (org-lint '(wrong-header-argument))))
  479. (should
  480. (org-test-with-temp-text "src_emacs-lisp[:barbaz yes]{}"
  481. (org-lint '(wrong-header-argument)))))
  482. (ert-deftest test-org-lint/wrong-header-value ()
  483. "Test `org-lint-wrong-header-value' checker."
  484. (should
  485. (org-test-with-temp-text "
  486. #+header: :cache maybe
  487. #+begin_src emacs-lisp
  488. \(+ 1 1)
  489. #+end_src"
  490. (org-lint '(wrong-header-value))))
  491. (should
  492. (org-test-with-temp-text "
  493. #+header: :exports both none
  494. #+begin_src emacs-lisp
  495. \(+ 1 1)
  496. #+end_src"
  497. (org-lint '(wrong-header-value))))
  498. (should-not
  499. (org-test-with-temp-text "
  500. #+header: :cache yes
  501. #+begin_src emacs-lisp
  502. \(+ 1 1)
  503. #+end_src"
  504. (org-lint '(wrong-header-value)))))
  505. (ert-deftest test-org/spurious-colons ()
  506. "Test `org-list-spurious-colons' checker."
  507. (should-not
  508. (org-test-with-temp-text "* H :tag:tag2:"
  509. (org-lint '(spurious-colons))))
  510. (should
  511. (org-test-with-temp-text "* H :tag::tag2:"
  512. (org-lint '(spurious-colons))))
  513. (should
  514. (org-test-with-temp-text "* H :tag::"
  515. (org-lint '(spurious-colons)))))
  516. (provide 'test-org-lint)
  517. ;;; test-org-lint.el ends here