forked from legoscia/emacs-jabber
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request 'Switch back to non-literate pile-of-files project…
… structure' (legoscia#27) from illiterate into production Reviewed-on: https://codeberg.org/emacs-jabber/emacs-jabber/pulls/27
- Loading branch information
Showing
82 changed files
with
16,209 additions
and
14,652 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,7 @@ | ||
;; `nameless-current-name' cannot be detected in Org mode buffers, | ||
;; IIRC, and thus has to be defined explicitly. To make use of this, | ||
;; install `nameless' and enable `nameless-mode' in Org mode buffers. | ||
((nil . ((nameless-current-name . "jabber") | ||
(nameless-aliases . (("jaa" . "jabber-autoaway") | ||
("ja" . "jabber-avatar") | ||
("jac" . "jabber-activity") | ||
("jc" . "jabber-chat") | ||
("jco" . "jabber-console") | ||
("jcs" . "jabber-chatstates") | ||
("je" . "jabber-events") | ||
("jh" . "jabber-history") | ||
("jk" . "jabber-keepalive") | ||
("jm" . "jabber-muc") | ||
("jml" . "jabber-mode-line") | ||
("jr" . "jabber-roster") | ||
("jp" . "jabber-private") | ||
("jrt" . "jabber-rtt") | ||
("js" . "jabber-socks5") | ||
("jv" . "jabber-vcard") | ||
("jw" . "jabber-whitespace") | ||
("jx" . "jabber-xml"))))) | ||
(org-mode . ((org-tags-column . -60) | ||
((org-mode . ((org-tags-column . -60) | ||
(eval . (progn | ||
(make-local-variable 'before-save-hook) | ||
(add-hook 'before-save-hook #'org-align-all-tags nil t)))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,5 @@ elc-stamp | |
*.tar* | ||
*.zip | ||
jabber-autoloads.el | ||
jabber-ourversion.el | ||
jabber.info | ||
emacs-jabber.schemas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,43 @@ | ||
.phony: all tangle autoload compile lint clean | ||
|
||
build: tangle autoload compile | ||
|
||
dev: tangle autoload compile lint | ||
|
||
# No -q or -Q without ORG_PATH - if the user has a newer version of | ||
# Org, we want to use it. | ||
jabber.el: | ||
if [ -z "${ORG_PATH}" ]; then \ | ||
echo ; \ | ||
echo "[WARNING] ORG_PATH is unset. Org versions older than 9.3.8 have a bug" ; \ | ||
echo "which result in them always using absolute paths in comment links in" ; \ | ||
echo "tangled source files. If your Org version is older than 9.3.8, please" ; \ | ||
echo "upgrade it before tangling." ; \ | ||
echo ; \ | ||
emacs --batch \ | ||
emacs --batch \ | ||
--eval="(progn (package-initialize) (require 'ob-tangle))" \ | ||
--eval='(org-babel-tangle-file "jabber.org")' ; \ | ||
else \ | ||
emacs -q -Q --batch \ | ||
--eval="(add-to-list 'load-path \"${ORG_PATH}\")" \ | ||
--eval="(require 'ob-tangle)" \ | ||
--eval='(org-babel-tangle-file "jabber.org")' ; \ | ||
fi | ||
|
||
tangle: jabber.el | ||
.phony: all autoload compile lint clean | ||
|
||
build: autoload compile | ||
|
||
dev: autoload compile lint | ||
|
||
autoload: | ||
emacs -q --batch --eval="(require 'package)" \ | ||
--eval="(package-generate-autoloads \"jabber\" default-directory)" | ||
|
||
compile: tangle | ||
compile: | ||
emacs -q -Q --batch \ | ||
--eval="(setq print-length nil)" \ | ||
--eval="(add-to-list 'load-path \"$(pwd)\")" \ | ||
--eval="(add-to-list 'load-path \"jabber-fallback-lib\")" \ | ||
--eval='(byte-compile-file "jabber.el")' ; \ | ||
-f batch-byte-compile elisp/ | ||
|
||
lint-check-declare: tangle | ||
emacs -q -Q --batch --eval='(check-declare-file "jabber.el")' | ||
lint-check-declare: | ||
for file in elisp/*.el ; do \ | ||
emacs -q -Q --batch --eval="(check-declare-file \"$$file\")" ; \ | ||
done | ||
|
||
lint-checkdoc: tangle | ||
emacs -q -Q --batch --eval='(checkdoc-file "jabber.el")' | ||
lint-checkdoc: | ||
for file in elisp/*.el ; do \ | ||
emacs -q -Q --batch --eval="(checkdoc-file \"$$file\")" ; \ | ||
done | ||
|
||
lint-package-lint: tangle | ||
emacs -Q --batch --eval='(package-initialize)' \ | ||
--eval="(require 'package-lint)" \ | ||
-f 'package-lint-batch-and-exit' jabber.el | ||
lint-package-lint: | ||
emacs -Q --batch \ | ||
--eval='(package-initialize)' --eval="(require 'package-lint)" \ | ||
-f 'package-lint-batch-and-exit' $(wildcard elisp/*.el) | ||
|
||
lint-relint: tangle | ||
emacs -q -Q --batch --eval="(progn (package-initialize) (relint-file \"jabber.el\"))" | ||
lint-relint: | ||
emacs -Q --batch \ | ||
--eval='(package-initialize)' --eval="(require 'relint)" \ | ||
-f 'relint-batch' "elisp" | ||
|
||
lint: lint-check-declare lint-checkdoc lint-package-lint lint-relint | ||
|
||
clean-tangle: | ||
-rm jabber.el | ||
|
||
clean-elc: | ||
-rm *.elc | ||
-rm elisp/*.elc | ||
|
||
clean: clean-elc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.