diff --git a/edts-mode.el b/edts-mode.el index e4667435..8a7961bd 100644 --- a/edts-mode.el +++ b/edts-mode.el @@ -117,7 +117,7 @@ (f-join edts-root-directory "test_data") "Directory where edts test data are located.") -(require 'edts) +(require 'edts-misc) (require 'edts-api) (require 'edts-code) (require 'edts-complete) diff --git a/edts-pkg.el b/edts-pkg.el deleted file mode 100644 index fd937dae..00000000 --- a/edts-pkg.el +++ /dev/null @@ -1,33 +0,0 @@ -;;; edts-pkg.el --- EDTS package declaration. - -;; Copyright 2012-2013 Thomas Järvstrand - -;; Author: Thomas Järvstrand -;; Keywords: erlang -;; This file is not part of GNU Emacs. - -;; -;; This file is part of EDTS. -;; -;; EDTS is free software: you can redistribute it and/or modify -;; it under the terms of the GNU Lesser General Public License as published by -;; the Free Software Foundation, either version 3 of the License, or -;; (at your option) any later version. -;; -;; EDTS is distributed in the hope that it will be useful, -;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;; GNU Lesser General Public License for more details. -;; -;; You should have received a copy of the GNU Lesser General Public License -;; along with EDTS. If not, see . - -(define-package "edts" "1.2.0" "Erlang Development Tool Suite" - '((auto-complete "20201213.1255") - (auto-highlight-symbol "20211106.638") - (dash "20210609.1330") - (emacs "24.3") - (erlang "20210315.1640") - (f "20191110.1357") - (popup "20210317.138") - (s "20210603.736"))) diff --git a/edts.el b/edts.el new file mode 100644 index 00000000..152f8e05 --- /dev/null +++ b/edts.el @@ -0,0 +1,68 @@ +;;; edts.el --- Erlang Development Tool Suite + +;; Copyright (C) 2012-2024 Thomas Järvstrand +;; Copyright (C) 2012-2024 Håkan Nilsson +;; Copyright (C) 2020-2024 Sebastian Weddmark Olsson + +;; Author: Thomas Järvstrand +;; Sebastian Weddmark Olsson + +;; URL: https://github.com/sebastiw/edts +;; Keywords: erlang, tools, programming, development + +;; Package-Version: 0.0.0.0 +;; Package-Requires: ( +;; (auto-complete "20201213.1255") +;; (auto-highlight-symbol "20211106.638") +;; (dash "20210609.1330") +;; (emacs "24.3") +;; (erlang "20210315.1640") +;; (f "20191110.1357") +;; (popup "20210317.138") +;; (s "20210603.736")) + +;; SPDX-License-Identifier: LGPL-3.0-or-later + +;; This file is part of EDTS. +;; +;; EDTS is free software: you can redistribute it and/or modify +;; it under the terms of the GNU Lesser General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. +;; +;; EDTS is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU Lesser General Public License for more details. +;; +;; You should have received a copy of the GNU Lesser General Public License +;; along with EDTS. If not, see . + +;;; Commentary: + +;; The Erlang Development Tool Suite (EDTS) is a package of useful development +;; tools for working with the Erlang programming language in Emacs. It bundles a +;; number of useful external packages, together with specialized Erlang plugins for +;; them, and its own features to create a complete and efficient development +;; environment that is easy to set up. + +;; Currently EDTS provides: +;; - A snazzy erlang shell wrapper with syntax highlighting and auto-completion. +;; - In-buffer flymake-like compilation +;; - In-buffer xref checks +;; - Dialyzer integration +;; - Rudimentary project support +;; - Code navigation. +;; - Auto-completion, using auto-complete-mode +;; - Auto-highlighting, using auto-highlight-mode +;; - Convenient access to Erlang documentation +;; - In-buffer running of unit tests +;; - A usable interface to the erlang debugger + +;; For more information, hit `M-x describe-minor-mode RET edts-mode RET`. + +;;; Code: + +(provide 'edts) + +;;; edts.el ends here diff --git a/elisp/edts/edts-complete-built-in-function-source.el b/elisp/edts/edts-complete-built-in-function-source.el index 546ff40a..5c17ff1c 100644 --- a/elisp/edts/edts-complete-built-in-function-source.el +++ b/elisp/edts/edts-complete-built-in-function-source.el @@ -27,7 +27,7 @@ (require 'cl-macs) (require 'ferl) -(require 'edts) +(require 'edts-misc) (require 'edts-log) (require 'edts-man) diff --git a/elisp/edts/edts.el b/elisp/edts/edts-misc.el similarity index 99% rename from elisp/edts/edts.el rename to elisp/edts/edts-misc.el index 02ce3813..dd7528cd 100644 --- a/elisp/edts/edts.el +++ b/elisp/edts/edts-misc.el @@ -1,4 +1,4 @@ -;;; edts.el --- Misc edts-related functionality. +;;; edts-misc.el --- Misc edts-related functionality. ;; Copyright 2012-2013 Thomas Järvstrand @@ -366,4 +366,4 @@ spaces and breaking lines at column MAX-COL." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Tests -(provide 'edts) +(provide 'edts-misc) diff --git a/elisp/edts/edts-plugin.el b/elisp/edts/edts-plugin.el index 76398026..fedebf40 100644 --- a/elisp/edts/edts-plugin.el +++ b/elisp/edts/edts-plugin.el @@ -26,7 +26,7 @@ (require 'f) (require 's) -(require 'edts) +(require 'edts-misc) (defconst edts-plugin-directory-name "lib" diff --git a/elisp/edts/edts-refactor.el b/elisp/edts/edts-refactor.el index 8e1a85e6..63caaf32 100644 --- a/elisp/edts/edts-refactor.el +++ b/elisp/edts/edts-refactor.el @@ -26,7 +26,7 @@ ;; projects and communicate with the correct nodes. ;; -(require 'edts) +(require 'edts-misc) ;; Originally from distel (defun edts-refactor-extract-function (name start end) diff --git a/elisp/edts/edts-shell.el b/elisp/edts/edts-shell.el index 07f7f569..dbd4e7f6 100644 --- a/elisp/edts/edts-shell.el +++ b/elisp/edts/edts-shell.el @@ -24,7 +24,7 @@ (require 'cl-macs) -(require 'edts) +(require 'edts-misc) (require 'edts-api) (require 'edts-complete) diff --git a/lib/edts_debug/edts-debug-mode.el b/lib/edts_debug/edts-debug-mode.el index dd5cb421..02e572bd 100644 --- a/lib/edts_debug/edts-debug-mode.el +++ b/lib/edts_debug/edts-debug-mode.el @@ -20,7 +20,7 @@ (require 'cl-macs) (require 'f) -(require 'edts) +(require 'edts-misc) (require 'edts-api) (require 'edts-debug) (require 'edts-debug-list-breakpoint-mode) diff --git a/lib/edts_xref/edts-xref.el b/lib/edts_xref/edts-xref.el index fd6b6ef1..4b4e9a58 100644 --- a/lib/edts_xref/edts-xref.el +++ b/lib/edts_xref/edts-xref.el @@ -19,7 +19,7 @@ (require 'dash) -(require 'edts) +(require 'edts-misc) (require 'edts-api) (require 'edts-code) (require 'edts-face)