From 487b63a6b090d60242dd687662674ca6b04ca986 Mon Sep 17 00:00:00 2001 From: Sebastian Weddmark Olsson Date: Mon, 18 Nov 2024 22:19:08 +0100 Subject: [PATCH] Updates for new MELPA format --- edts-mode.el | 2 +- edts.el | 63 +++++++++++++++++++ .../edts-complete-built-in-function-source.el | 2 +- elisp/edts/{edts.el => edts-misc.el} | 4 +- elisp/edts/edts-plugin.el | 2 +- elisp/edts/edts-refactor.el | 2 +- elisp/edts/edts-shell.el | 2 +- lib/edts_debug/edts-debug-mode.el | 2 +- lib/edts_xref/edts-xref.el | 2 +- 9 files changed, 72 insertions(+), 9 deletions(-) create mode 100644 edts.el rename elisp/edts/{edts.el => edts-misc.el} (99%) 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.el b/edts.el new file mode 100644 index 00000000..f24b4d96 --- /dev/null +++ b/edts.el @@ -0,0 +1,63 @@ +;;; edts.el --- EDTS package declaration. + +;; 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`. + 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)