branch: elpa/flycheck
commit 1c6c542f5a852a3361b338740634b16060191b5c
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    Remove asciidoc checker (legacy Python AsciiDoc)
    
    The Python AsciiDoc processor is a legacy tool superseded by
    Asciidoctor. The asciidoctor checker remains as the modern alternative.
---
 doc/languages.rst                     |  6 ------
 flycheck.el                           | 19 -------------------
 test/specs/languages/test-asciidoc.el |  8 --------
 3 files changed, 33 deletions(-)

diff --git a/doc/languages.rst b/doc/languages.rst
index e859b03d1c..ff30e17745 100644
--- a/doc/languages.rst
+++ b/doc/languages.rst
@@ -56,12 +56,6 @@ to view the docstring of the syntax checker.  Likewise, you 
may use
 
       .. _Asciidoctor: http://asciidoctor.org
 
-   .. syntax-checker:: asciidoc
-
-      Check AsciiDoc_ with the standard AsciiDoc processor.
-
-      .. _AsciiDoc: http://www.methods.co.nz/asciidoc
-
 .. supported-language:: Awk
 
    .. syntax-checker:: awk-gawk
diff --git a/flycheck.el b/flycheck.el
index 22c9bee1ed..bcb0d9c524 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -125,7 +125,6 @@
 (defcustom flycheck-checkers
   '(ada-gnat
     asciidoctor
-    asciidoc
     awk-gawk
     bazel-build-buildifier
     bazel-module-buildifier
@@ -7610,24 +7609,6 @@ Uses the GNAT compiler from GCC.  See URL
           ": " (message) line-end))
   :modes ada-mode)
 
-(flycheck-define-checker asciidoc
-  "An AsciiDoc syntax checker using the AsciiDoc compiler.
-
-See URL `https://www.methods.co.nz/asciidoc'."
-  :command ("asciidoc" "-o" null-device "-")
-  :standard-input t
-  :error-patterns
-  ((error line-start
-          "asciidoc: ERROR: <stdin>: Line " line ": " (message)
-          line-end)
-   (warning line-start
-            "asciidoc: WARNING: <stdin>: Line " line ": " (message)
-            line-end)
-   (info line-start
-         "asciidoc: DEPRECATED: <stdin>: Line " line ": " (message)
-         line-end))
-  :modes adoc-mode)
-
 (flycheck-define-checker asciidoctor
   "An AsciiDoc syntax checker using the Asciidoctor compiler.
 
diff --git a/test/specs/languages/test-asciidoc.el 
b/test/specs/languages/test-asciidoc.el
index b02af06c58..5c6a00c5d5 100644
--- a/test/specs/languages/test-asciidoc.el
+++ b/test/specs/languages/test-asciidoc.el
@@ -4,14 +4,6 @@
 (require 'test-helpers)
 
 (describe "Language AsciiDoc"
-  (flycheck-buttercup-def-checker-test asciidoc asciidoc nil
-    (let ((flycheck-disabled-checkers '(asciidoctor)))
-      (flycheck-buttercup-should-syntax-check
-       "language/asciidoc.adoc" 'adoc-mode
-       '(1 nil warning "missing style: [paradef-default]: paragraph" :checker 
asciidoc)
-       '(3 nil info "old tables syntax" :checker asciidoc)
-       '(11 nil error "[tabledef-default] illegal width=%60%" :checker 
asciidoc))))
-
   (flycheck-buttercup-def-checker-test asciidoctor asciidoc nil
     (flycheck-buttercup-should-syntax-check
      "language/asciidoctor.adoc" 'adoc-mode

Reply via email to