galdor / rfc-mode

An Emacs major mode to read and browse RFC documents.
ISC License
105 stars 10 forks source link

Helm dependency #2

Closed technician77 closed 4 years ago

technician77 commented 5 years ago

Would it be much of a hassle write this without the use of helm?

galdor commented 4 years ago

Sorry for the lack of response, I did not receive any notification about your message.

This mode was originally written with Helm in mind, so the browser is going to require Helm at least until Emacs specifies a generic "browser" mechanism.

However I'm going to release a new version which makes Helm optional, making it possible to use rfc-mode-read without installing Helm.

technician77 commented 4 years ago

Thanks for the effort, though it didn't turn out as I thought. First, I'm not a programmer an I use use-package. If I install rfc-mode via use-package it still pulls in helm and its dependencies. Deleting via package manager seems impossible since it sees helm as a dependency of rfc-mode.

galdor commented 4 years ago

On 2020-02-15 16:58, Jens Lange wrote:

Thanks for the effort, though it didn't turn out as I thought. First, I'm not a programmer an I use use-package. If I install rfc-mode via use-package it still pulls in helm and its dependencies. Deleting via package manager seems impossible since it sees helm as a dependency of rfc-mode.

Infortunately the Emacs package does not have the concept of optional dependency, so Helm has to be declared as dependency for the general case. The good news is that it does not really matter since you do not have to actually load Helm. It will be installed locally but inactive, and you will be able to use rfc-mode-read.

-- Nicolas Martyanoff http://snowsyn.net khaelin@gmail.com