Efinger is a client for the Finger protocol (RFC 1288) with an Elfeed-inspired reader. Configure a list of accounts once and browse their .plan files from a two-pane interface: an account list on one side and the fingered content on the other. Move with n/p to preview each account, RET to read one in full, l to go back to the list and q to close both panes. M-x efinger-finger fingers a single account on demand. Connections are asynchronous (:nowait) with a configurable timeout, so Emacs never freezes when a host resolves but never answers on port 79. The finger core is forked from GNU Emacs' net-utils.el (by Peter Breton) and rewritten around an asynchronous connection.
31 lines
866 B
Makefile
31 lines
866 B
Makefile
EMACS ?= emacs
|
|
PACKAGE = efinger.el
|
|
TESTS = test/efinger-test.el
|
|
|
|
.PHONY: all check compile checkdoc package-lint test clean
|
|
|
|
all: check test
|
|
|
|
check: compile checkdoc package-lint
|
|
|
|
compile:
|
|
"$(EMACS)" --batch --eval "(setq byte-compile-error-on-warn t)" \
|
|
--eval "(byte-compile-file \"$(PACKAGE)\")"
|
|
|
|
checkdoc:
|
|
"$(EMACS)" --batch --eval "(checkdoc-file \"$(PACKAGE)\")"
|
|
|
|
package-lint:
|
|
"$(EMACS)" --batch \
|
|
--eval "(require 'package)" \
|
|
--eval "(add-to-list 'package-archives '(\"melpa\" . \"https://melpa.org/packages/\") t)" \
|
|
--eval "(package-initialize)" \
|
|
--eval "(unless (package-installed-p 'package-lint) (package-refresh-contents) (package-install 'package-lint))" \
|
|
--eval "(require 'package-lint)" \
|
|
-f package-lint-batch-and-exit $(PACKAGE)
|
|
|
|
test:
|
|
"$(EMACS)" --batch -L . -l $(TESTS) -f ert-run-tests-batch-and-exit
|
|
|
|
clean:
|
|
rm -f *.elc
|