Closed liuyinz closed 3 years ago
Hi @liuyinz . Thank you for PR! It is very cool.
However, if you leave it as it is, even if you install essy-hugo from MELPA, you can not use it as it is, so I think that the following measures are required. When a user installs easy-hugo from melpa, it is necessary to change melpa to install easy-hugo-transient.el at the same time. You need to Pull Request to MELPA according to here. If this is a hassle, there is also a way to implement everything in easy-hugo.el.
Let's take a look at implementing everything in easy-hugo.el. If you change this line as follows, you can install easy-hugo from melpa and transient can be installed at the same time.
;; Package-Requires: ((emacs "25.1") (popup "0.5.3") (request "0.3.0") (transient "0.3.6"))
The transient version is set to 0.3.6 because users using melpa-stable will only install 0.3.6.
;; Package-Requires: ((emacs "25.1") (popup "0.5.3") (request "0.3.0") (transient "0.3.6"))
Fixed, and add README.md section.
Add support for transient state.
Usage:
Call
easy-hugo-menu