diff --git a/.gitmodules b/.gitmodules index 39a7f6f..b4a4c95 100644 --- a/.gitmodules +++ b/.gitmodules @@ -24,16 +24,9 @@ [submodule "epkg"] path = lib/epkg url = git@github.com:emacscollective/epkg.git -[submodule "ghub"] - path = lib/ghub - url = git@github.com:magit/ghub.git [submodule "git-modes"] path = lib/git-modes url = git@github.com:magit/git-modes.git -[submodule "libgit"] - path = lib/libgit - url = git@github.com:magit/libegit2.git - build-step = make [submodule "magit"] path = lib/magit url = git@github.com:magit/magit.git diff --git a/etc/codespell/ignore-files b/etc/codespell/ignore-files index 205af93..277492f 100644 --- a/etc/codespell/ignore-files +++ b/etc/codespell/ignore-files @@ -17,7 +17,69 @@ .cask ert.el +./bash-completion/test ./emacsql/sqlite ./libgit/libgit2 +./lsp-mode/test/fixtures/requests +./magit-popup/AUTHORS.md ./magit/Documentation/AUTHORS.md ./magit/Documentation/BACKERS.md +./mu4e/aclocal.m4 +./mu4e/autom4te.cache +./mu4e/build-aux +./mu4e/configure +./mu4e/contrib/gmime-test +./mu4e/lib/query/parse +./mu4e/lib/query/test-parser +./mu4e/lib/query/test-tokenizer +./mu4e/lib/query/tokenize +./mu4e/lib/test-mu-contacts +./mu4e/lib/test-mu-container +./mu4e/lib/test-mu-flags +./mu4e/lib/test-mu-maildir +./mu4e/lib/test-mu-msg +./mu4e/lib/test-mu-msg-fields +./mu4e/lib/test-mu-store +./mu4e/lib/testdir* +./mu4e/lib/utils/test-command-parser +./mu4e/lib/utils/test-mu-str +./mu4e/lib/utils/test-mu-util +./mu4e/lib/utils/test-mu-utils +./mu4e/lib/utils/test-sexp-parser +./mu4e/libtool +./mu4e/m4/libtool.m4 +./mu4e/mu/mu./mu4e/autom4te.cache +./mu4e/mu/test-mu-cmd +./mu4e/mu/test-mu-cmd-cfind +./mu4e/mu/test-mu-query +./mu4e/mu/test-mu-threads +./mu4e/toys/mug/mug +./notmuch/bindings +./notmuch/doc/_build +./notmuch/notmuch +./notmuch/notmuch-shared +./notmuch/test +./org/0001-Fix-typos.patch +./org/etc/schema +./org/etc/styles +./package-lint/data +./solarized-theme +./tree-sitter/langs +./tree-sitter/target +./undo-tree + +# FIXME codespell fails to treat these correctly +./flycheck +./guix/THANKS +./lsp-mode/test/lsp-io-test.el +./markdown-mode/CHANGES.md +./mu4e/NEWS.org +./mu4e/lib/test-mu-msg.c +./mu4e/mu-cmd.c +./mu4e/mu/test-mu-query.c +./mu4e/www/index.md +./notmuch/emacs/notmuch-mua.el +./org/etc/ORG-NEWS +./org/lisp/org-entities.el +./org/lisp/ox.el +./s/dev/examples.el diff --git a/etc/codespell/ignore-lines b/etc/codespell/ignore-lines index 9d7aead..dc7e069 100644 --- a/etc/codespell/ignore-lines +++ b/etc/codespell/ignore-lines @@ -1,5 +1,28 @@ +# avy + (let (visibles beg) + (push (cons beg (point)) visibles) + (nreverse visibles)))))) + "wed" "wet" "who" "why" "wig" "win" "wit" "woe" "won" "wry" "you" "zap" +# edit-indirect +and the edit-indirect buffer major mode will not be able to tread # emacsql INOUT INSENSITIVE INSERT INT INT1 INT2 INT3 INT4 INT8 INTEGER +# flx + "ba" + "vendor/gems/discourse_emoji/vendor/assets/images/emoji/womans_clothes.png" + "vendor/gems/discourse_emoji/vendor/assets/images/emoji/womans_hat.png" + "vendor/gems/discourse_emoji/vendor/assets/images/emoji/womens.png" +# flycheck + (const :tag "Synopsys standard" "synopsys") +# geiser + (debug-log (file-open "geiser.log" (+ open/wronly open/append open/text open/creat))) +library implementing that API, together with some wee shims in Elisp +can do for us, besides jumping to and fro. +# hl-todo + ("DONT" . "#5f7f5f") +# lsp-mode + (message-in "Content-Length: 1152\r\n\r\n{\"jsonrpc\":\"2.0\",\"method\":\"sts/highlight\",\"params\":{\"doc\":{\"version\":0,\"uri\":\"file:///home/kyoncho/Public/Desktop/hellow/hello-world/src/main/java/com/example/helloworld/HelloWorldController.java\"},\"codeLenses\":[{\"range\":{\"start\":{\"line\":9,\"character\":0},\"end\":{\"line\":9,\"character\":11}},\"command\":{\"title\":\"← SampleBean\",\"command\":\"sts.showHoverAtPosition\",\"arguments\":[{\"line\":9,\"character\":0}]},\"data\":\"← SampleBean\"},{\"range\":{\"start\":{\"line\":14,\"character\":4},\"end\":{\"line\":14,\"character\":14}},\"command\":{\"title\":\"← SampleBean\",\"command\":\"sts.showHoverAtPosition\",\"arguments\":[{\"line\":14,\"character\":4}]},\"data\":\"← SampleBean\"},{\"range\":{\"start\":{\"line\":17,\"character\":4},\"end\":{\"line\":17,\"character\":31}},\"command\":{\"title\":\"http://127.0.0.1:8080/hello-world\",\"command\":\"sts.open.url\",\"arguments\":[\"http://127.0.0.1:8080/hello-world\"]},\"data\":\"http://127.0.0.1:8080/hello-world\"},{\"range\":{\"start\":{\"line\":25,\"character\":4},\"end\":{\"line\":25,\"character\":32}},\"command\":{\"title\":\"http://127.0.0.1:8080/hello-world2\",\"command\":\"sts.open.url\",\"arguments\":[\"http://127.0.0.1:8080/hello-world2\"]},\"data\":\"http://127.0.0.1:8080/hello-world2\"}]}}") + (should (equal messages '("{\"jsonrpc\":\"2.0\",\"method\":\"sts/highlight\",\"params\":{\"doc\":{\"version\":0,\"uri\":\"file:///home/kyoncho/Public/Desktop/hellow/hello-world/src/main/java/com/example/helloworld/HelloWorldController.java\"},\"codeLenses\":[{\"range\":{\"start\":{\"line\":9,\"character\":0},\"end\":{\"line\":9,\"character\":11}},\"command\":{\"title\":\"← SampleBean\",\"command\":\"sts.showHoverAtPosition\",\"arguments\":[{\"line\":9,\"character\":0}]},\"data\":\"← SampleBean\"},{\"range\":{\"start\":{\"line\":14,\"character\":4},\"end\":{\"line\":14,\"character\":14}},\"command\":{\"title\":\"← SampleBean\",\"command\":\"sts.showHoverAtPosition\",\"arguments\":[{\"line\":14,\"character\":4}]},\"data\":\"← SampleBean\"},{\"range\":{\"start\":{\"line\":17,\"character\":4},\"end\":{\"line\":17,\"character\":31}},\"command\":{\"title\":\"http://127.0.0.1:8080/hello-world\",\"command\":\"sts.open.url\",\"arguments\":[\"http://127.0.0.1:8080/hello-world\"]},\"data\":\"http://127.0.0.1:8080/hello-world\"},{\"range\":{\"start\":{\"line\":25,\"character\":4},\"end\":{\"line\":25,\"character\":32}},\"command\":{\"title\":\"http://127.0.0.1:8080/hello-world2\",\"command\":\"sts.open.url\",\"arguments\":[\"http://127.0.0.1:8080/hello-world2\"]},\"data\":\"http://127.0.0.1:8080/hello-world2\"}]}}"))))) # magit (let ((fro (or magit-git-output-coding-system (cons (coding-system-change-eol-conversion fro 'unix) @@ -7,5 +30,94 @@ (?c "[c]ommit" 'magit-ediff-show-commit) (?s "[s]tage" 'magit-ediff-stage) 1 Li-Yun Chang +# markdown-mode + "Rouge" "Ruby" "Rust" "SAS" "SCSS" "SMT" "SPARQL" "SQF" "SQL" "SQLPL" + "YAML" "YANG" "Yacc" "Zephir" "Zimpl" "desktop" "eC" "edn" "fish" +# mu4e + gchar *attachs; + if ((attachs = get_attach_str (msg, opts))) { + print_field ("Attachments", attachs, color); + g_free (attachs); + "\t* enter a [s]earch query\n" 'mu4e-search) + fd = creat (noindexpath, 0644); + * enter a [s]earch query + • enter a [s]earch query: after pressing , mu4e asks you for a + t \fBt\fRo: recipient +# to the SCANNERFLAGS variable for each GIR target in the code base. If +# for each GIR target in the code base. +@item @t{enter a [s]earch query}: after pressing @key{s}, @t{mu4e} asks + '((:maildir "ther" :key ?o)))) + (mu4e~main-action-str "[s]earch " 'mu4e-search) +# notmuch +- Wee[kday] + ;; the way that scroll-up signals end-of-buffer, but c'est la vie. + query_get_s{ort,tring} + * Include alot to the list of recommended interfaces, thanks to + elpa-notmuch | notmuch-vim | notmuch-mutt | alot, + thread:0000000000063c00 Today [1/1] A Thurd; Bites, stings, sad feelings (bad-news unread) + "\\b\\(attache\?ment\\|attached\\|attach\\|pi[èe]ce\s+jointe?\\)\\b" + "\tThe \"notmuch new\" command will notice flag changes in filenames\n" + "\t\tthe version of gpg to use.\n" + args=['notmuch', 'search', '--output=files', 'id:{0}'.format(id)], +# org + ("ca" :default "Autor") + ("cs" :default "Autor") + ("de" :default "Autor") + ("es" :default "Autor") + ("et" :default "Autor") + ("pl" :default "Autor") + ("pt_BR" :default "Autor") + ("ro" :default "Autor") + ("sl" :default "Seznam tabel") + ("et" :default "Tabel") + ("ro" :default "Tabel") + ("da" :default "Tabel %d") + ("et" :default "Tabel %d") + ("ro" :default "Tabel %d") + ("ro" :default "Creat") + ("Uuml" "\\\"{U}" nil "Ü" "Ue" "Ü" "Ü") + ("uuml" "\\\"{u}" nil "ü" "ue" "ü" "ü") + ("ang" "\\angle" t "∠" "[angle]" "[angle]" "∠") + ("angle" "\\angle" t "∠" "[angle]" "[angle]" "∠") + ("pl" :html "Spis treeści") +Dieses Werk bzw. Inhalt steht unter einer [[" org-license-cc-url "][Lizenz Creative Commons Namensnennung 3.0 Deutschland]]\n"))) +Dieses Werk bzw. Inhalt steht unter einer [[" org-license-cc-url "][Namensnennung - Weitergabe unter gleichen Bedingungen 3.0 Deutschland]]\n"))) +Dieses Werk bzw. Inhalt steht unter einer [[" org-license-cc-url "][Namensnennung-Keine Bearbeitung 3.0 Deutschland]]\n"))) +Dieses Werk bzw. Inhalt steht unter einer [[" org-license-cc-url "][Namensnennung-Nicht-kommerziell 3.0 Deutschland]]\n"))) +Dieses Werk bzw. Inhalt steht unter einer [[" org-license-cc-url "][Namensnennung - Weitergabe unter gleichen Bedingungen 3.0 Deutschland]]\n"))) +Dieses Werk bzw. Inhalt steht unter einer [[" org-license-cc-url "][Namensnennung-NichtKommerziell-KeineBearbeitung 3.0 Deutschland]]\n"))) +Finally, just to whet your appetite for what can be done with the + Finally, just to whet your appetite for what can be done with the +\key{show subtree in indirect buffer, ded.\ frame}{C-c C-x b} + \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks} +N is the number of WHATs to shift. + "alpha-numeric" | "integer" | "double" +common-dur-timing-attlist = attribute smil:dur { \string }? + [[http://www.mathomatic.org/][mathomatic]] a portable, command-line, educational CAS and calculator + froms := strings.ToLower(msg.GetHeader(header)) + //println(" froms: ["+froms+"]") + for _, from := range strings.Split(froms, ",") { + (interactive "nNumber of clones to produce: ") + (interactive "nNumber of pre-filled fields: ") + ;; Case 1: table.el doesn't support export to OD format. Strip + ;; Further effect is achieved by fixing the OD styles as below: +- =imenu.el= by Ake Stenhoff and Lars Lindberg :: +(defun org-babel-perl--var-to-perl (var &optional varn) + (if varn + (concat "my $" (symbol-name varn) "=" (when lvar "\n") + (if org-agenda-entry-text-mode " ETxt" "") + \gdef^^ba{\ordm} + \gdef^^ba{\cedilla s} +# pdf-tools + ;; Stelle global setzen oder nur irgendwo auf den +# s +(s-shared-start "bar" "baz") ;; => "ba" +(s-reverse "ab xyz") ;; => "zyx ba" +(s-truncate 6 "This is too long") ;; => "Thi..." + (s-truncate 6 "This is too long") => "Thi..." # treepy (and (mapp node) +# which-key + (bloc? (which-key--local-binding-p bcons))) + (if (not (eq aloc? bloc?)) + (and aloc? (not bloc?)) diff --git a/etc/codespell/ignore-words b/etc/codespell/ignore-words index f2636ae..fde4a16 100644 --- a/etc/codespell/ignore-words +++ b/etc/codespell/ignore-words @@ -1,12 +1,42 @@ +gonna +minimise +thru +wanna + # technical terms commitish +dedup dependant +deriver +iff +includee + +# types and keywords +ifset +mut +uint + +# people +tim +troup # software and abbreviations clos +ede +edn # symbols +ans +enew +fo +fpr hist +leapyear nd +objext +openin +ot pullrequest pullrequests +te +uptodate diff --git a/init.el b/init.el index 254ade2..4028c31 100644 --- a/init.el +++ b/init.el @@ -24,15 +24,18 @@ (tool-bar-mode 0)) (menu-bar-mode 0)) -(progn ; `borg' +(eval-and-compile ; `borg' (add-to-list 'load-path (expand-file-name "lib/borg" user-emacs-directory)) - (require 'borg) + (require 'borg) (borg-initialize)) (progn ; `use-package' (require 'use-package) (setq use-package-verbose t)) +(use-package dash) +(use-package eieio) + (use-package auto-compile :config (setq auto-compile-display-buffer nil) @@ -54,6 +57,7 @@ (load custom-file))) (use-package server + :commands (server-running-p) :config (or (server-running-p) (server-mode))) (progn ; startup @@ -64,7 +68,7 @@ ;;; Long tail (use-package dash - :config (dash-enable-font-lock)) + :config (global-dash-fontify-mode 1)) (use-package diff-hl :config @@ -101,12 +105,11 @@ (add-hook 'emacs-lisp-mode-hook 'reveal-mode) (defun indent-spaces-mode () (setq indent-tabs-mode nil)) - (add-hook 'lisp-interaction-mode-hook #'indent-spaces-mode)) + (add-hook 'lisp-interaction-mode-hook 'indent-spaces-mode)) (use-package magit :defer t - :bind (("C-x g" . magit-status) - ("C-x M-g" . magit-dispatch)) + :commands (magit-add-section-hook) :config (magit-add-section-hook 'magit-status-sections-hook 'magit-insert-modules @@ -124,7 +127,7 @@ :config (global-prettify-symbols-mode) (defun indicate-buffer-boundaries-left () (setq indicate-buffer-boundaries 'left)) - (add-hook 'prog-mode-hook #'indicate-buffer-boundaries-left)) + (add-hook 'prog-mode-hook 'indicate-buffer-boundaries-left)) (use-package recentf :demand t @@ -148,7 +151,7 @@ (set-face-attribute 'smerge-refined-added nil :extend t))) (progn ; `text-mode' - (add-hook 'text-mode-hook #'indicate-buffer-boundaries-left)) + (add-hook 'text-mode-hook 'indicate-buffer-boundaries-left)) (use-package tramp :defer t diff --git a/lib/auto-compile b/lib/auto-compile index 3e92c5b..f8619d1 160000 --- a/lib/auto-compile +++ b/lib/auto-compile @@ -1 +1 @@ -Subproject commit 3e92c5b1a94b0cf43f2d624180a1cb01df92afd8 +Subproject commit f8619d1616b523918323914ec77bfbee2c559781 diff --git a/lib/borg b/lib/borg index 1fe1d2b..5de2a7a 160000 --- a/lib/borg +++ b/lib/borg @@ -1 +1 @@ -Subproject commit 1fe1d2b7a574dd560740a55d87d9a5fb3a989dbc +Subproject commit 5de2a7aa0c126f5b18506e187bca66079e68f51d diff --git a/lib/dash b/lib/dash index b92ab5a..e0254c5 160000 --- a/lib/dash +++ b/lib/dash @@ -1 +1 @@ -Subproject commit b92ab5a39b987e4fe69317b9d9fda452300baf20 +Subproject commit e0254c56e78b82f670e2d92ad7077c6cc96db1cf diff --git a/lib/diff-hl b/lib/diff-hl index 2281a89..3394d85 160000 --- a/lib/diff-hl +++ b/lib/diff-hl @@ -1 +1 @@ -Subproject commit 2281a89a3ddc6616073da6f190dda08d23b18ba6 +Subproject commit 3394d8536c315e9bf553d0ee0bdd5afa6c4aa6ff diff --git a/lib/epkg b/lib/epkg index ac6e85e..94c8389 160000 --- a/lib/epkg +++ b/lib/epkg @@ -1 +1 @@ -Subproject commit ac6e85e11f0e071911279f3f0a4ea7bff35b68cf +Subproject commit 94c8389a8b660a68ae7e5458583b06b30ba0edb9 diff --git a/lib/ghub b/lib/ghub deleted file mode 160000 index ca6b115..0000000 --- a/lib/ghub +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ca6b115c46d8ab12ae76037d4dadfc92a62a9904 diff --git a/lib/libgit b/lib/libgit deleted file mode 160000 index 0ef8b13..0000000 --- a/lib/libgit +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0ef8b13aef011a98b7da756e4f1ce3bb18e4d55a diff --git a/lib/magit b/lib/magit index b51c6e6..8e23c49 160000 --- a/lib/magit +++ b/lib/magit @@ -1 +1 @@ -Subproject commit b51c6e6cce16f9dfe723dac4d410eb40c0921e95 +Subproject commit 8e23c49b5a739284ffa87c489759ff7787c36ae0 diff --git a/lib/packed b/lib/packed index c41c3df..3b96ded 160000 --- a/lib/packed +++ b/lib/packed @@ -1 +1 @@ -Subproject commit c41c3dfda86ae33832ffc146923e2a4675cbacfa +Subproject commit 3b96dedb404f614479c1b321fac3e4bf11ba0782 diff --git a/lib/transient b/lib/transient index f5d81ef..8ad5fb8 160000 --- a/lib/transient +++ b/lib/transient @@ -1 +1 @@ -Subproject commit f5d81ef0ed24be935f3c0192b746a1738d903d37 +Subproject commit 8ad5fb83c458801816fc2f888c43f6baf74b5803 diff --git a/lib/use-package b/lib/use-package index 4fb1f9a..365c73d 160000 --- a/lib/use-package +++ b/lib/use-package @@ -1 +1 @@ -Subproject commit 4fb1f9a68f1e7e7d614652afc017a6652fd029f1 +Subproject commit 365c73d2618dd0040a32c2601c5456ab5495b812 diff --git a/lib/with-editor b/lib/with-editor index efafd48..b439749 160000 --- a/lib/with-editor +++ b/lib/with-editor @@ -1 +1 @@ -Subproject commit efafd482c21b90decbb0b682ed3159c86014d4f3 +Subproject commit b439749da110af83aea40e79dd2a8c57427bc28a