diff --git a/.emacs.d/.jcs-custom.el b/.emacs.d/.jcs-custom.el deleted file mode 100644 index 5bb85a93d..000000000 --- a/.emacs.d/.jcs-custom.el +++ /dev/null @@ -1,21 +0,0 @@ -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(custom-safe-themes - '("f75eb0c3087ebda14511aef2831a7d9caa9397422093fc7a3bf21e8bea78755e" "dd98976d2e8c2f92e52951b2c6472c840a2117db3dad3a9cfa7332596238ab9f" "9f6efa027765314fe4fcadc76298a60047a6ef4b28699a97ba1322cbe4c982bd" "fa1a8d0fc20bfa404a58b09c20cefbabb27b7ed95bf081685dbb42359d5fa2c4" "ef3ad6d22c8b2e2531ed7f00b07148973c9f3c2d0536107613b58f8fa715107c" "abfd19bf71399faa4a070f5c88507fe21d9704677bf98662485a416231e9bffa" "72f27d77ef4417545df7d3162348cd3987801d3be36a73cf85565a99b279a5ee" "ff21602ce8e9eb6b08ff0336fe75ca5da1836b534a2c22ca65edfcda12dc19ee" "842a8aee1f68535885553094cab482ffd9eb0cbe236ed9f46d35114f667c989a" "2956e0bbdbf6b3b2e79d3dc01c5aefeef3b8cf3f1cde6e48da3b3d8843a9f9d5" "859fef7cb85c1e6b96784edf553dc9d6e7b27e3d4993cea7ad8d343bf7dca0a5" "22325908dcbd209bd5bc94c122f15ed311764e29c2d5c3eb6714935c2bc5a3cd" "d272d0f511f00231cda783c27c3c5e6dbc812b8449a6946372b66ba34d95ca3e" "59f6fc229467f96fb1f860e3b09adaf5ae0ce2a4629bab32166ba804af8d94ee" "5f0682d71b9b4bd2e83145fc3e507b4496371bf9822d50cf53ba75ca8b33eb49" "7b2ed00a280c54ab98076ddcb49de490ef40e67e8f8261318fd8170901516255" "0ad6e0ed383481a6785cc177f7e56543275ed09e16a8adfd7cd27c2bc2b31cf5" "6f1f7256bed601520e56f766d1baa291f795e329609ed258648c6e33167f4f97" "378031f869e1498172c2c44e9b71ce9f62cf65b25580ef77178e752313fedcba" "f2b8f79e72a84b965426b4443382b39c1bceebf726657170567742014139e078" default)) - '(diminish-buffer-mode t nil (diminish-buffer)) - '(package-selected-packages - '(0xc actionscript-mode ada-mode adaptive-wrap alt-codes apache-mode applescript-mode asoc auth-source-keytar auto-highlight-symbol auto-read-only auto-rename-tag basic-mode better-scroll browse-kill-ring buffer-move buffer-wrap calfw cargo-mode cask cask-mode ccls centaur-tabs clojure-mode cmake-font-lock cobol-mode com-css-sort command-log-mode company-box company-c-headers company-emojify company-fuzzy company-meta-net company-nginx counsel csproj-mode csv-mode dashboard-ls define-it diff-hl diminish diminish-buffer dockerfile-mode docstr dumb-jump editorconfig el-mock eldoc eldoc-meta-net elisp-def elisp-demos elixir-mode elm-mode emmet-mode emoji-github erlang ert-runner eshell-syntax-highlighting ess esup exec-path-from-shell expand-region file-header fill-page flx flx-rs flycheck-grammarly flycheck-languagetool fountain-mode fsharp-mode gdscript-mode git-modes github-browse-file github-tags gitignore-templates glsl-mode go-mode google-this goto-char-preview goto-line-preview haxe-mode helpful highlight-escape-sequences highlight-indent-guides highlight-numbers hl-preproc hl-todo htmltagwrap ialign iedit impatient-showdown indent-control ini-mode isearch-project ivy-file-preview ivy-searcher javadoc-lookup jayces-mode jenkinsfile-mode json-mode keypression kotlin-mode leaf license-templates line-reminder logms logview lsp-dart lsp-docker lsp-grammarly lsp-haskell lsp-java lsp-latex lsp-ltex lsp-metals lsp-mssql lsp-pascal lsp-pyright lsp-sonarlint lsp-sourcekit lsp-tailwindcss lsp-ui lua-mode manage-minor-mode-table markdown-toc masm-mode meta-view most-used-words move-text multi-shell multiple-cursors nasm-mode nginx-mode nhexl-mode nix-mode org-bullets organize-imports-java package-lint page-break-lines parse-it powershell processing-mode project project-abbrev python-mode quelpa rainbow-mode region-occurrences-highlighter restart-emacs reveal-in-folder right-click-context rjsx-mode rust-mode scrollable-quick-peek scss-mode shader-mode show-eol smex sort-words sql-indent swift-mode togetherly transwin tree-sitter-indent tree-sitter-langs ts ts-fold turbo-log typescript-mode undercover undo-tree use-ttf vimrc-mode visual-regexp vs-dark-theme vs-light-theme vue-mode web-mode which-key xref yaml-mode yascroll yasnippet-snippets))) - -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - ) - -(put 'erase-buffer 'disabled nil) -(put 'downcase-region 'disabled nil) ; Enable downcase-region -(put 'upcase-region 'disabled nil) ; Enable upcase-region diff --git a/.emacs.d/.mc-lists.el b/.emacs.d/.mc-lists.el deleted file mode 100644 index 33bdabcff..000000000 --- a/.emacs.d/.mc-lists.el +++ /dev/null @@ -1,265 +0,0 @@ -;; This file is automatically generated by the multiple-cursors extension. -;; It keeps track of your preferences for running commands with multiple cursors. - -(setq mc/cmds-to-run-for-all - '( - backward-sexp - beginning-of-buffer - c-electric-slash - dashboard-next-line - dashboard-previous-line - delete-horizontal-space - electric-pair-delete-pair - end-of-buffer - forward-sexp - indent-for-tab-command - indent-region - jcs-align-region-or-document - jcs-asm-comment - jcs-asm-return - jcs-backward-delete-word - jcs-backward-kill-word-capital - jcs-backward-sexp - jcs-backward-word-capital - jcs-beginning-of-line - jcs-c-comment-pair - jcs-calc-eval-region - jcs-capitalize-word-or-region - jcs-close-all-nodes - jcs-close-node - jcs-comment-region-or-line - jcs-comment-uncomment-region-or-line - jcs-ctrl-return-key - jcs-delete-inside-and - jcs-delete-inside-asterisk - jcs-delete-inside-back-quote - jcs-delete-inside-backslash - jcs-delete-inside-caret - jcs-delete-inside-colon - jcs-delete-inside-comma - jcs-delete-inside-curly-paren - jcs-delete-inside-dash - jcs-delete-inside-dollar-sign - jcs-delete-inside-double-quote - jcs-delete-inside-equal - jcs-delete-inside-exclamation-mark - jcs-delete-inside-greater-less-sign - jcs-delete-inside-less-greater-sign - jcs-delete-inside-or - jcs-delete-inside-paren - jcs-delete-inside-percent-sign - jcs-delete-inside-period - jcs-delete-inside-plus - jcs-delete-inside-question-mark - jcs-delete-inside-semicolon - jcs-delete-inside-sharp-sign - jcs-delete-inside-single-quote - jcs-delete-inside-slash - jcs-delete-inside-sqr-paren - jcs-delete-inside-tilde - jcs-delete-inside-underscore - jcs-downcase-word-or-region - jcs-duplicate-line - jcs-electric-backspace - jcs-emmet-expand-line - jcs-end-of-line - jcs-forward-delete-word - jcs-forward-kill-word-capital - jcs-forward-sexp - jcs-forward-word-capital - jcs-go-maybe-insert-codedoc - jcs-hl-todo-next - jcs-hl-todo-previous - jcs-iedit-mode - jcs-kill-whole-line - jcs-makefile-newline - jcs-mark-whole-buffer - jcs-markdown-return-key - jcs-move-backward-comma - jcs-move-backward-less-than-sign - jcs-move-backward-open-curly-paren - jcs-move-backward-open-paren - jcs-move-backward-open-sqrParen - jcs-move-forward-close-curly-paren - jcs-move-forward-close-sqrParen - jcs-move-forward-comma - jcs-move-forward-double-quote - jcs-move-forward-greater-than-sign - jcs-open-all-nodes - jcs-open-node - jcs-org-smart-cycle - jcs-org-table-down - jcs-org-table-left - jcs-org-table-right - jcs-org-table-up - jcs-py-indent-region - jcs-py-return - jcs-real-backspace - jcs-real-delete - jcs-real-space - jcs-smart-backspace - jcs-smart-backward-delete-word - jcs-smart-backward-word - jcs-smart-context-line-break - jcs-smart-delete - jcs-smart-forward-delete-word - jcs-smart-forward-word - jcs-smart-next-line - jcs-smart-previous-line - jcs-smart-space - jcs-smart-yank - jcs-sort-symbols - jcs-tab-key - jcs-toggle-backward-forward-sexp - jcs-uncomment-region-or-line - jcs-upcase-word-or-region - jcs-vs-closing-curly-bracket-key - jcs-vs-csharp-maybe-insert-codedoc - jcs-vs-cut-key - jcs-vs-opening-curly-bracket-key - jcs-vs-semicolon-key - jcs-vs-sharp-key - jcs-web-backward-delete-word - jcs-web-backward-delete-word-capital - jcs-web-return-key - jcs-web-vs-opening-curly-bracket-key - jcs-yaml-electric-backspace - kill-region - markdown-cycle - markdown-enter-key - markdown-outdent-or-delete - org-cycle - org-force-self-insert - org-return - org-self-insert-command - turbo-log - typescript-insert-and-indent - web-mode-tag-match - yas-expand - )) - -(setq mc/cmds-to-run-once - '( - ace-window - buf-move-left - buf-move-right - buffer-menu - buffer-menu-other-window - centaur-tabs-backward - centaur-tabs-forward - counsel-M-x - counsel-find-file - dashboard-return - diminish-buffer-mode - emmet-prev-edit-point - feebleline-mode - handle-switch-frame - helm-M-x - helm-find-files - iedit-switch-to-mc-mode - ignore - indent-control-dec-indent-level - indent-control-inc-indent-level - indent-new-comment-line - isearch-forward-symbol-at-point - isearch-project-forward-symbol-at-point - ivy-searcher-search-file - ivy-searcher-search-project - javadoc-lookup - jcs-ace-window-1 - jcs-ace-window-2 - jcs-ace-window-3 - jcs-ace-window-4 - jcs-ace-window-5 - jcs-ace-window-6 - jcs-ace-window-7 - jcs-ace-window-8 - jcs-ace-window-9 - jcs-balance-delete-window - jcs-balance-split-window-horizontally - jcs-css-save-buffer - jcs-dashboard - jcs-dashboard-next-blank-line - jcs-dashboard-other-window - jcs-dashboard-previous-blank-line - jcs-find-corresponding-file-other-window - jcs-flycheck-mode - jcs-format-document - jcs-goto-definition - jcs-goto-definition-other-window - jcs-isearch-backward-symbol-at-point - jcs-isearch-project-backward-symbol-at-point - jcs-isearch-project-repeat-backward - jcs-isearch-project-repeat-forward - jcs-isearch-repeat-backward - jcs-isearch-repeat-forward - jcs-java-organize-imports - jcs-java-untabify-save-buffer - jcs-make-without-asking - jcs-maybe-kill-this-buffer - jcs-mc/dec-string-distance-level - jcs-mc/inc-string-distance-level - jcs-mc/mark-next-like-this-line - jcs-mc/mark-next-similar-this-line - jcs-mc/mark-previous-like-this-line - jcs-mc/mark-previous-similar-this-line - jcs-message-buffer - jcs-message-buffer-other-window - jcs-next-blank-line - jcs-open-project-todo-file - jcs-open-project-update-log-file - jcs-other-window-next - jcs-other-window-prev - jcs-peek-definition - jcs-previous-blank-line - jcs-py-format-document - jcs-re-builder - jcs-redo - jcs-rename-current-buffer-file - jcs-reset-zoom - jcs-revert-buffer-no-confirm - jcs-run-without-asking - jcs-same-file-other-window - jcs-save-buffer - jcs-save-buffer-by-mode - jcs-save-buffer-default - jcs-scratch-buffer - jcs-scratch-buffer-maybe-kill - jcs-scratch-buffer-other-window - jcs-scroll-down-line - jcs-scroll-up-line - jcs-sh-untabify-save-buffer - jcs-tabify-save-buffer - jcs-text-scale-decrease - jcs-text-scale-increase - jcs-toggle-shell-window - jcs-toggle-sublimity-mode - jcs-toggle-tabbar-mode - jcs-undo - jcs-untabify-save-buffer - list-processes - markdown-shifttab - mouse-set-region - move-text-down - move-text-up - neotree-toggle - overwrite-mode - package-list-packages - rainbow-mode - read-only-mode - recentf-open-files - reload-emacs - restart-emacs - reveal-in-folder - right-click-context-menu - save-buffers-kill-terminal - scroll-other-window - scroll-other-window-down - set-buffer-file-coding-system - toggle-truncate-lines - transwin-decrement-frame-transparent - transwin-increment-frame-transparent - transwin-toggle-transparent-frame - treemacs - whitespace-mode - )) diff --git a/.emacs.d/snippets/actionscript-mode/jcs-header b/.emacs.d/snippets/actionscript-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/actionscript-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/ada-mode/jcs-header b/.emacs.d/snippets/ada-mode/jcs-header deleted file mode 100644 index 7be3e3c79..000000000 --- a/.emacs.d/snippets/ada-mode/jcs-header +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- --- ======================================================================== --- $File: `(jcs-file-name)` $ --- $Date: `(jcs-timestamp-ver1)` $ --- $Revision: $ --- $Creator: ${1:CREATOR_NAME} $ --- $Notice: See LICENSE.txt for modification and distribution information --- Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ --- ======================================================================== - -$0 diff --git a/.emacs.d/snippets/agda-mode/jcs-header b/.emacs.d/snippets/agda-mode/jcs-header deleted file mode 100644 index 3233c678a..000000000 --- a/.emacs.d/snippets/agda-mode/jcs-header +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- --- ======================================================================== --- $File: `(jcs-get-file-name)` $ --- $Date: `(jcs-timestamp-ver1)` $ --- $Revision: $ --- $Creator: ${1:CREATOR_NAME} $ --- $Notice: See LICENSE.txt for modification and distribution information --- Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ --- ======================================================================== - -$0 diff --git a/.emacs.d/snippets/basic-mode/jcs-header b/.emacs.d/snippets/basic-mode/jcs-header deleted file mode 100644 index b00496209..000000000 --- a/.emacs.d/snippets/basic-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -'' ======================================================================== -'' $File: `(jcs-file-name)` $ -'' $Date: `(jcs-timestamp-ver1)` $ -'' $Revision: $ -'' $Creator: ${1:CREATOR_NAME} $ -'' $Notice: See LICENSE.txt for modification and distribution information $ -'' Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -'' ======================================================================== -$0 diff --git a/.emacs.d/snippets/bat-mode/jcs-header b/.emacs.d/snippets/bat-mode/jcs-header deleted file mode 100644 index b364a76c7..000000000 --- a/.emacs.d/snippets/bat-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -:: ======================================================================== -:: $File: `(jcs-file-name)` $ -:: $Date: `(jcs-timestamp-ver1)` $ -:: $Revision: $ -:: $Creator: ${1:CREATOR_NAME} $ -:: $Notice: See LICENSE.txt for modification and distribution information -:: Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -:: ======================================================================== -$0 diff --git a/.emacs.d/snippets/c++-mode/.yas-parents b/.emacs.d/snippets/c++-mode/.yas-parents deleted file mode 100644 index b269357d1..000000000 --- a/.emacs.d/snippets/c++-mode/.yas-parents +++ /dev/null @@ -1,2 +0,0 @@ -cc-mode -c-lang-common diff --git a/.emacs.d/snippets/c-mode/.yas-parents b/.emacs.d/snippets/c-mode/.yas-parents deleted file mode 100644 index b269357d1..000000000 --- a/.emacs.d/snippets/c-mode/.yas-parents +++ /dev/null @@ -1,2 +0,0 @@ -cc-mode -c-lang-common diff --git a/.emacs.d/snippets/cc-mode/jcs-header b/.emacs.d/snippets/cc-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/cc-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/clojure-mode/jcs-header b/.emacs.d/snippets/clojure-mode/jcs-header deleted file mode 100644 index 438d08123..000000000 --- a/.emacs.d/snippets/clojure-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -;; ======================================================================== -;; $File: `(jcs-file-name)` $ -;; $Date: `(jcs-timestamp-ver1)` $ -;; $Revision: $ -;; $Creator: ${1:CREATOR_NAME} $ -;; $Notice: See LICENSE.txt for modification and distribution information -;; Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -;; ======================================================================== -$0 diff --git a/.emacs.d/snippets/cmake-mode/jcs-header b/.emacs.d/snippets/cmake-mode/jcs-header deleted file mode 100644 index 51fc546eb..000000000 --- a/.emacs.d/snippets/cmake-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -# ======================================================================== -# $File: `(jcs-file-name)` $ -# $Date: `(jcs-timestamp-ver1)` $ -# $Revision: $ -# $Creator: ${1:CREATOR_NAME} $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -# ======================================================================== -$0 diff --git a/.emacs.d/snippets/cobol-mode/jcs-header b/.emacs.d/snippets/cobol-mode/jcs-header deleted file mode 100644 index 5357b97d7..000000000 --- a/.emacs.d/snippets/cobol-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- - *> ======================================================================== - *> $File: `(jcs-file-name)` $ - *> $Date: `(jcs-timestamp-ver1)` $ - *> $Revision: $ - *> $Creator: ${1:CREATOR_NAME} $ - *> $Notice: See LICENSE.txt for modification and distribution information - *> Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - *> ======================================================================== - $0 diff --git a/.emacs.d/snippets/csharp-mode/jcs-header b/.emacs.d/snippets/csharp-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/csharp-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/csharp-mode/jcs-unity-awake b/.emacs.d/snippets/csharp-mode/jcs-unity-awake deleted file mode 100644 index 80f268c2e..000000000 --- a/.emacs.d/snippets/csharp-mode/jcs-unity-awake +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-unity-awake -# key: jcs-unity-awake -# -- -private void Awake() -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/jcs-unity-class b/.emacs.d/snippets/csharp-mode/jcs-unity-class deleted file mode 100644 index d8870a149..000000000 --- a/.emacs.d/snippets/csharp-mode/jcs-unity-class +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-unity-class -# key: jcs-unity-class -# -- -public class `(jcs-file-name-without-extension)` : MonoBehaviour -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/jcs-unity-ha b/.emacs.d/snippets/csharp-mode/jcs-unity-ha deleted file mode 100644 index 31e950e5c..000000000 --- a/.emacs.d/snippets/csharp-mode/jcs-unity-ha +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-unity-ha -# key: jcs-unity-ha -# -- -[Header("$1")]$0 \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/jcs-unity-hiia b/.emacs.d/snippets/csharp-mode/jcs-unity-hiia deleted file mode 100644 index 6577352e0..000000000 --- a/.emacs.d/snippets/csharp-mode/jcs-unity-hiia +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-unity-hiia -# key: jcs-unity-hiia -# -- -[HideInInspector]$0 \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/jcs-unity-ns b/.emacs.d/snippets/csharp-mode/jcs-unity-ns deleted file mode 100644 index 44a4601fd..000000000 --- a/.emacs.d/snippets/csharp-mode/jcs-unity-ns +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-unity-ns -# key: jcs-unity-ns -# -- -using System.Collections; -using System.Collections.Generic; -using UnityEngine;$0 \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/jcs-unity-rca b/.emacs.d/snippets/csharp-mode/jcs-unity-rca deleted file mode 100644 index f3c5372b6..000000000 --- a/.emacs.d/snippets/csharp-mode/jcs-unity-rca +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-unity-rca -# key: jcs-unity-rca -# -- -[RequireComponent(typeof($1))]$0 \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/jcs-unity-rga b/.emacs.d/snippets/csharp-mode/jcs-unity-rga deleted file mode 100644 index 26b9b2773..000000000 --- a/.emacs.d/snippets/csharp-mode/jcs-unity-rga +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-unity-rga -# key: jcs-unity-rga -# -- -[Range($1, $2)]$0 \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/jcs-unity-sfa b/.emacs.d/snippets/csharp-mode/jcs-unity-sfa deleted file mode 100644 index d843ef8c7..000000000 --- a/.emacs.d/snippets/csharp-mode/jcs-unity-sfa +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-unity-sfa -# key: jcs-unity-sfa -# -- -[SerializeField]$0 \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/jcs-unity-start b/.emacs.d/snippets/csharp-mode/jcs-unity-start deleted file mode 100644 index 9ea4e334e..000000000 --- a/.emacs.d/snippets/csharp-mode/jcs-unity-start +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-unity-start -# key: jcs-unity-start -# -- -private void Start() -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/jcs-unity-tta b/.emacs.d/snippets/csharp-mode/jcs-unity-tta deleted file mode 100644 index 68f6ddf9a..000000000 --- a/.emacs.d/snippets/csharp-mode/jcs-unity-tta +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-unity-tta -# key: jcs-unity-tta -# -- -[Tooltip("$1")]$0 \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/jcs-unity-update b/.emacs.d/snippets/csharp-mode/jcs-unity-update deleted file mode 100644 index 6c0122f1e..000000000 --- a/.emacs.d/snippets/csharp-mode/jcs-unity-update +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-unity-update -# key: jcs-unity-update -# -- -private void Update() -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/css-mode/jcs-header b/.emacs.d/snippets/css-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/css-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/dart-mode/jcs-header b/.emacs.d/snippets/dart-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/dart-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/elixir-mode/jcs-header b/.emacs.d/snippets/elixir-mode/jcs-header deleted file mode 100644 index 51fc546eb..000000000 --- a/.emacs.d/snippets/elixir-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -# ======================================================================== -# $File: `(jcs-file-name)` $ -# $Date: `(jcs-timestamp-ver1)` $ -# $Revision: $ -# $Creator: ${1:CREATOR_NAME} $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -# ======================================================================== -$0 diff --git a/.emacs.d/snippets/emacs-lisp-mode/jcs-elpa b/.emacs.d/snippets/emacs-lisp-mode/jcs-elpa deleted file mode 100644 index f0946fa9a..000000000 --- a/.emacs.d/snippets/emacs-lisp-mode/jcs-elpa +++ /dev/null @@ -1,41 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-elpa -# key: jcs-elpa -# -- -;;; `(jcs-file-name)` --- $1 -*- lexical-binding: t; -*- - -;; Copyright (C) `(jcs-year-only)` Shen, Jen-Chieh - -;; Author: Shen, Jen-Chieh -;; Maintainer: Shen, Jen-Chieh -;; URL: https://github.com/jcs090218/`(jcs-file-name-without-extension)` -;; Version: 0.0.1 -;; Package-Requires: ((emacs "24.3")) -;; Keywords: $2 - -;; This file is not part of GNU Emacs. - -;; This program is free software: you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation, either version 3 of the License, or -;; (at your option) any later version. - -;; This program is distributed in the hope that it will be useful, -;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;; GNU General Public License for more details. - -;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see . - -;;; Commentary: -;; -;; $3 -;; - -;;; Code: - -$0 - -(provide '`(jcs-file-name-without-extension)`) -;;; `(jcs-file-name)` ends here diff --git a/.emacs.d/snippets/emacs-lisp-mode/jcs-header b/.emacs.d/snippets/emacs-lisp-mode/jcs-header deleted file mode 100644 index 438d08123..000000000 --- a/.emacs.d/snippets/emacs-lisp-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -;; ======================================================================== -;; $File: `(jcs-file-name)` $ -;; $Date: `(jcs-timestamp-ver1)` $ -;; $Revision: $ -;; $Creator: ${1:CREATOR_NAME} $ -;; $Notice: See LICENSE.txt for modification and distribution information -;; Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -;; ======================================================================== -$0 diff --git a/.emacs.d/snippets/emacs-lisp-mode/jcs-marmalade b/.emacs.d/snippets/emacs-lisp-mode/jcs-marmalade deleted file mode 100644 index a8bbcc110..000000000 --- a/.emacs.d/snippets/emacs-lisp-mode/jcs-marmalade +++ /dev/null @@ -1,43 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-marmalade -# key: jcs-marmalade -# -- -;;; `(jcs-file-name)` --- $1 -*- lexical-binding: t; -*- - -;; This file is not part of Emacs - -;; Author: Shen, Jen-Chieh -;; Version: 0.0.1 -;; Keywords: $2 -;; Package-Version: -;; Maintainer: Shen, Jen-Chieh -;; Created: `(jcs-date-ver2)` -;; Package-Requires: ((emacs "24.3")) -;; Description: $3 -;; URL: https://github.com/jcs090218/`(jcs-file-name-without-extension)` -;; Compatibility: Emacs24 - -;; COPYRIGHT NOTICE -;; -;; This program is free software; you can redistribute it and/or modify it -;; under the terms of the GNU General Public License as published by the Free -;; Software Foundation; either version 2 of the License, or (at your option) -;; any later version. -;; -;; This program is distributed in the hope that it will be useful, but -;; WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -;; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -;; for more details. -;; - -;;; Commentary: -;; -;; $4 -;; - -;;; Code: - -$0 - -(provide '`(jcs-file-name-without-extension)`) -;;; `(jcs-file-name)` ends here diff --git a/.emacs.d/snippets/emacs-lisp-mode/jcs-melpa b/.emacs.d/snippets/emacs-lisp-mode/jcs-melpa deleted file mode 100644 index 13a5a9de3..000000000 --- a/.emacs.d/snippets/emacs-lisp-mode/jcs-melpa +++ /dev/null @@ -1,42 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-melpa -# key: jcs-melpa -# -- -;;; `(jcs-file-name)` --- $1 -*- lexical-binding: t; -*- - -;; Copyright (C) `(jcs-year-only)` Shen, Jen-Chieh -;; Created date `(jcs-timestamp-ver1)` - -;; Author: Shen, Jen-Chieh -;; Description: $2 -;; Keyword: $3 -;; Version: 0.0.1 -;; Package-Requires: ((emacs "24.3")) -;; URL: https://github.com/jcs090218/`(jcs-file-name-without-extension)` - -;; This file is NOT part of GNU Emacs. - -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation, either version 3 of the License, or -;; (at your option) any later version. - -;; This program is distributed in the hope that it will be useful, -;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;; GNU General Public License for more details. - -;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see . - -;;; Commentary: -;; -;; $4 -;; - -;;; Code: - -$0 - -(provide '`(jcs-file-name-without-extension)`) -;;; `(jcs-file-name)` ends here diff --git a/.emacs.d/snippets/erlang-mode/jcs-header b/.emacs.d/snippets/erlang-mode/jcs-header deleted file mode 100644 index d801f426c..000000000 --- a/.emacs.d/snippets/erlang-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -%% ======================================================================== -%% $File: `(jcs-file-name)` $ -%% $Date: `(jcs-timestamp-ver1)` $ -%% $Revision: $ -%% $Creator: ${1:CREATOR_NAME} $ -%% $Notice: See LICENSE.txt for modification and distribution information -%% Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -%% ======================================================================== -$0 diff --git a/.emacs.d/snippets/ess-r-mode/jcs-header b/.emacs.d/snippets/ess-r-mode/jcs-header deleted file mode 100644 index 51fc546eb..000000000 --- a/.emacs.d/snippets/ess-r-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -# ======================================================================== -# $File: `(jcs-file-name)` $ -# $Date: `(jcs-timestamp-ver1)` $ -# $Revision: $ -# $Creator: ${1:CREATOR_NAME} $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -# ======================================================================== -$0 diff --git a/.emacs.d/snippets/fountain-mode/jcs-header b/.emacs.d/snippets/fountain-mode/jcs-header deleted file mode 100644 index ea923a04a..000000000 --- a/.emacs.d/snippets/fountain-mode/jcs-header +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -Title: ${1:YOUR_TITLE} -Credit: written by -Author: ${2:CREATOR_NAME} -Copyright: (c) `(jcs-year-only)` ${3:COPYRIGHT_INFO} - -${4:SCRRENPLAY_DESCRIPTION} - -==== - -$0 diff --git a/.emacs.d/snippets/gdscript-mode/jcs-header b/.emacs.d/snippets/gdscript-mode/jcs-header deleted file mode 100644 index 51fc546eb..000000000 --- a/.emacs.d/snippets/gdscript-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -# ======================================================================== -# $File: `(jcs-file-name)` $ -# $Date: `(jcs-timestamp-ver1)` $ -# $Revision: $ -# $Creator: ${1:CREATOR_NAME} $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -# ======================================================================== -$0 diff --git a/.emacs.d/snippets/glsl-mode/jcs-header b/.emacs.d/snippets/glsl-mode/jcs-header deleted file mode 100644 index a29b2a100..000000000 --- a/.emacs.d/snippets/glsl-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -// ======================================================================== -// $File: `(jcs-file-name)` $ -// $Date: `(jcs-timestamp-ver1)` $ -// $Revision: $ -// $Creator: ${1:CREATOR_NAME} $ -// $Notice: See LICENSE.txt for modification and distribution information $ -// Copyright `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -// ======================================================================== -$0 diff --git a/.emacs.d/snippets/go-mode/jcs-header b/.emacs.d/snippets/go-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/go-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/groovy-mode/jcs-header b/.emacs.d/snippets/groovy-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/groovy-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/haskell-mode/jcs-header b/.emacs.d/snippets/haskell-mode/jcs-header deleted file mode 100644 index 26934f452..000000000 --- a/.emacs.d/snippets/haskell-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- --- ======================================================================== --- $File: `(jcs-file-name)` $ --- $Date: `(jcs-timestamp-ver1)` $ --- $Revision: $ --- $Creator: ${1:CREATOR_NAME} $ --- $Notice: See LICENSE.txt for modification and distribution information --- Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ --- ======================================================================== -$0 diff --git a/.emacs.d/snippets/haxe-mode/jcs-header b/.emacs.d/snippets/haxe-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/haxe-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/html-mode/.yas-parents b/.emacs.d/snippets/html-mode/.yas-parents deleted file mode 100644 index 74c3dd5c5..000000000 --- a/.emacs.d/snippets/html-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -nxml-mode diff --git a/.emacs.d/snippets/html-mode/jcs-angular-js b/.emacs.d/snippets/html-mode/jcs-angular-js deleted file mode 100644 index 913cc188e..000000000 --- a/.emacs.d/snippets/html-mode/jcs-angular-js +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-angular-js -# key: jcs-angular-js -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-animate-css b/.emacs.d/snippets/html-mode/jcs-animate-css deleted file mode 100644 index e389bed65..000000000 --- a/.emacs.d/snippets/html-mode/jcs-animate-css +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-animate-css -# key: jcs-animate-css -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-bootstrap-css b/.emacs.d/snippets/html-mode/jcs-bootstrap-css deleted file mode 100644 index ec0d90387..000000000 --- a/.emacs.d/snippets/html-mode/jcs-bootstrap-css +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-bootstrap-css -# key: jcs-bootstrap-css -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-bootstrap-js b/.emacs.d/snippets/html-mode/jcs-bootstrap-js deleted file mode 100644 index 621519107..000000000 --- a/.emacs.d/snippets/html-mode/jcs-bootstrap-js +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-bootstrap-js -# key: jcs-bootstrap-js -# -- - - -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-fabric-js b/.emacs.d/snippets/html-mode/jcs-fabric-js deleted file mode 100644 index ca0b7b72c..000000000 --- a/.emacs.d/snippets/html-mode/jcs-fabric-js +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-fabric-js -# key: jcs-fabric-js -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-ion-sound-js b/.emacs.d/snippets/html-mode/jcs-ion-sound-js deleted file mode 100644 index 899533341..000000000 --- a/.emacs.d/snippets/html-mode/jcs-ion-sound-js +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-ion-sound-js -# key: jcs-ion-sound-js -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-jquery-js b/.emacs.d/snippets/html-mode/jcs-jquery-js deleted file mode 100644 index f773f8f9c..000000000 --- a/.emacs.d/snippets/html-mode/jcs-jquery-js +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-jquery-js -# key: jcs-jquery-js -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-normalize-css b/.emacs.d/snippets/html-mode/jcs-normalize-css deleted file mode 100644 index 38c897146..000000000 --- a/.emacs.d/snippets/html-mode/jcs-normalize-css +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-normalize-css -# key: jcs-normalize-css -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-p5-js b/.emacs.d/snippets/html-mode/jcs-p5-js deleted file mode 100644 index 4d7ee7a9d..000000000 --- a/.emacs.d/snippets/html-mode/jcs-p5-js +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-p5-js -# key: jcs-p5-js -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-phaser-js b/.emacs.d/snippets/html-mode/jcs-phaser-js deleted file mode 100644 index 82f9ba8c3..000000000 --- a/.emacs.d/snippets/html-mode/jcs-phaser-js +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-phaser-js -# key: jcs-phaser-js -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-react-js b/.emacs.d/snippets/html-mode/jcs-react-js deleted file mode 100644 index 963cd8f81..000000000 --- a/.emacs.d/snippets/html-mode/jcs-react-js +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-react-js -# key: jcs-react-js -# -- - -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-reset-css b/.emacs.d/snippets/html-mode/jcs-reset-css deleted file mode 100644 index 9719c062a..000000000 --- a/.emacs.d/snippets/html-mode/jcs-reset-css +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-reset-css -# key: jcs-reset-css -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-shake-css b/.emacs.d/snippets/html-mode/jcs-shake-css deleted file mode 100644 index 137dbbaf9..000000000 --- a/.emacs.d/snippets/html-mode/jcs-shake-css +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-shake-css -# key: jcs-shake-css -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-three-js b/.emacs.d/snippets/html-mode/jcs-three-js deleted file mode 100644 index 52a107ab3..000000000 --- a/.emacs.d/snippets/html-mode/jcs-three-js +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-three-js -# key: jcs-three-js -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-tween-js b/.emacs.d/snippets/html-mode/jcs-tween-js deleted file mode 100644 index 8dc8e7227..000000000 --- a/.emacs.d/snippets/html-mode/jcs-tween-js +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-tween-js -# key: jcs-tween-js -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/jcs-vue-js b/.emacs.d/snippets/html-mode/jcs-vue-js deleted file mode 100644 index d3ca8c8cd..000000000 --- a/.emacs.d/snippets/html-mode/jcs-vue-js +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-vue-js -# key: jcs-vue-js -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/jcs-header b/.emacs.d/snippets/java-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/java-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/jayces-mode/jcs-header b/.emacs.d/snippets/jayces-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/jayces-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/js-mode/jcs-header b/.emacs.d/snippets/js-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/js-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/js-mode/jcs-ion-sound b/.emacs.d/snippets/js-mode/jcs-ion-sound deleted file mode 100644 index 639673219..000000000 --- a/.emacs.d/snippets/js-mode/jcs-ion-sound +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-ion-sound -# key: jcs-ion-sound -# -- -ion.sound({ - $0 -}); \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/jcs-jquery b/.emacs.d/snippets/js-mode/jcs-jquery deleted file mode 100644 index 041818bf2..000000000 --- a/.emacs.d/snippets/js-mode/jcs-jquery +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-jquery -# key: jcs-jquery -# -- -(function ($) { - $0 -}(this.jQuery)); \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/jcs-vue b/.emacs.d/snippets/js-mode/jcs-vue deleted file mode 100644 index f57cc5c03..000000000 --- a/.emacs.d/snippets/js-mode/jcs-vue +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-vue -# key: jcs-vue -# -- -new Vue({ - $0 -}); \ No newline at end of file diff --git a/.emacs.d/snippets/js2-mode/.yas-parents b/.emacs.d/snippets/js2-mode/.yas-parents deleted file mode 100644 index 27dab3004..000000000 --- a/.emacs.d/snippets/js2-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -js-mode diff --git a/.emacs.d/snippets/js3-mode/.yas-parents b/.emacs.d/snippets/js3-mode/.yas-parents deleted file mode 100644 index 27dab3004..000000000 --- a/.emacs.d/snippets/js3-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -js-mode diff --git a/.emacs.d/snippets/lisp-mode/jcs-header b/.emacs.d/snippets/lisp-mode/jcs-header deleted file mode 100644 index 438d08123..000000000 --- a/.emacs.d/snippets/lisp-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -;; ======================================================================== -;; $File: `(jcs-file-name)` $ -;; $Date: `(jcs-timestamp-ver1)` $ -;; $Revision: $ -;; $Creator: ${1:CREATOR_NAME} $ -;; $Notice: See LICENSE.txt for modification and distribution information -;; Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -;; ======================================================================== -$0 diff --git a/.emacs.d/snippets/lua-mode/jcs-header b/.emacs.d/snippets/lua-mode/jcs-header deleted file mode 100644 index 7be3e3c79..000000000 --- a/.emacs.d/snippets/lua-mode/jcs-header +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- --- ======================================================================== --- $File: `(jcs-file-name)` $ --- $Date: `(jcs-timestamp-ver1)` $ --- $Revision: $ --- $Creator: ${1:CREATOR_NAME} $ --- $Notice: See LICENSE.txt for modification and distribution information --- Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ --- ======================================================================== - -$0 diff --git a/.emacs.d/snippets/makefile-mode/jcs-header b/.emacs.d/snippets/makefile-mode/jcs-header deleted file mode 100644 index 51fc546eb..000000000 --- a/.emacs.d/snippets/makefile-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -# ======================================================================== -# $File: `(jcs-file-name)` $ -# $Date: `(jcs-timestamp-ver1)` $ -# $Revision: $ -# $Creator: ${1:CREATOR_NAME} $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -# ======================================================================== -$0 diff --git a/.emacs.d/snippets/markdown-mode/.yas-parents b/.emacs.d/snippets/markdown-mode/.yas-parents deleted file mode 100644 index 8a1138368..000000000 --- a/.emacs.d/snippets/markdown-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -html-mode diff --git a/.emacs.d/snippets/markdown-mode/jcs-header b/.emacs.d/snippets/markdown-mode/jcs-header deleted file mode 100644 index 8c292dc00..000000000 --- a/.emacs.d/snippets/markdown-mode/jcs-header +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- ---- -title: `(jcs-file-name)` -date: `(jcs-timestamp-ver1)` -description: ---- - -$0 diff --git a/.emacs.d/snippets/markdown-mode/jcs-melpa b/.emacs.d/snippets/markdown-mode/jcs-melpa deleted file mode 100644 index 81b6c12bd..000000000 --- a/.emacs.d/snippets/markdown-mode/jcs-melpa +++ /dev/null @@ -1,17 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-melpa -# key: jcs-melpa -# -- -[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) - -# ${1:TITLE} -> ${2:Quote description..} - -${3:Project description..}$0 - -## Contribution - -If you would like to contribute to this project, you may either -clone and make pull requests to this repository. Or you can -clone the project and establish your own branch of this tool. -Any methods are welcome! diff --git a/.emacs.d/snippets/nasm-mode/jcs-header b/.emacs.d/snippets/nasm-mode/jcs-header deleted file mode 100644 index 438d08123..000000000 --- a/.emacs.d/snippets/nasm-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -;; ======================================================================== -;; $File: `(jcs-file-name)` $ -;; $Date: `(jcs-timestamp-ver1)` $ -;; $Revision: $ -;; $Creator: ${1:CREATOR_NAME} $ -;; $Notice: See LICENSE.txt for modification and distribution information -;; Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -;; ======================================================================== -$0 diff --git a/.emacs.d/snippets/nix-mode/jcs-header b/.emacs.d/snippets/nix-mode/jcs-header deleted file mode 100644 index 51fc546eb..000000000 --- a/.emacs.d/snippets/nix-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -# ======================================================================== -# $File: `(jcs-file-name)` $ -# $Date: `(jcs-timestamp-ver1)` $ -# $Revision: $ -# $Creator: ${1:CREATOR_NAME} $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -# ======================================================================== -$0 diff --git a/.emacs.d/snippets/nxml-mode/jcs-header b/.emacs.d/snippets/nxml-mode/jcs-header deleted file mode 100644 index af6dbdc2a..000000000 --- a/.emacs.d/snippets/nxml-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- - -$0 diff --git a/.emacs.d/snippets/objc-mode/jcs-header b/.emacs.d/snippets/objc-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/objc-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/opascal-mode/jcs-header b/.emacs.d/snippets/opascal-mode/jcs-header deleted file mode 100644 index 29be9a2fb..000000000 --- a/.emacs.d/snippets/opascal-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -// ======================================================================== -// $File: `(jcs-file-name)` $ -// $Date: `(jcs-timestamp-ver1)` $ -// $Revision: $ -// $Creator: ${1:CREATOR_NAME} $ -// $Notice: See LICENSE.txt for modification and distribution information -// Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -// ======================================================================== -$0 diff --git a/.emacs.d/snippets/org-mode/jcs-header b/.emacs.d/snippets/org-mode/jcs-header deleted file mode 100644 index 51fc546eb..000000000 --- a/.emacs.d/snippets/org-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -# ======================================================================== -# $File: `(jcs-file-name)` $ -# $Date: `(jcs-timestamp-ver1)` $ -# $Revision: $ -# $Creator: ${1:CREATOR_NAME} $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -# ======================================================================== -$0 diff --git a/.emacs.d/snippets/pascal-mode/jcs-header b/.emacs.d/snippets/pascal-mode/jcs-header deleted file mode 100644 index 29be9a2fb..000000000 --- a/.emacs.d/snippets/pascal-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -// ======================================================================== -// $File: `(jcs-file-name)` $ -// $Date: `(jcs-timestamp-ver1)` $ -// $Revision: $ -// $Creator: ${1:CREATOR_NAME} $ -// $Notice: See LICENSE.txt for modification and distribution information -// Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -// ======================================================================== -$0 diff --git a/.emacs.d/snippets/perl-mode/.yas-parents b/.emacs.d/snippets/perl-mode/.yas-parents deleted file mode 100644 index eed5b442b..000000000 --- a/.emacs.d/snippets/perl-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -text-mode diff --git a/.emacs.d/snippets/powershell-mode/jcs-header b/.emacs.d/snippets/powershell-mode/jcs-header deleted file mode 100644 index 51fc546eb..000000000 --- a/.emacs.d/snippets/powershell-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -# ======================================================================== -# $File: `(jcs-file-name)` $ -# $Date: `(jcs-timestamp-ver1)` $ -# $Revision: $ -# $Creator: ${1:CREATOR_NAME} $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -# ======================================================================== -$0 diff --git a/.emacs.d/snippets/prog-mode/jcs-header-d-colon b/.emacs.d/snippets/prog-mode/jcs-header-d-colon deleted file mode 100644 index 5b708e23e..000000000 --- a/.emacs.d/snippets/prog-mode/jcs-header-d-colon +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header-d-colon -# key: jcs-header-d-colon -# -- -:: ======================================================================== -:: $File: `(jcs-file-name)` $ -:: $Date: `(jcs-timestamp-ver1)` $ -:: $Revision: $ -:: $Creator: ${1:CREATOR_NAME} $ -:: $Notice: See LICENSE.txt for modification and distribution information -:: Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -:: ======================================================================== -$0 diff --git a/.emacs.d/snippets/prog-mode/jcs-header-d-dash b/.emacs.d/snippets/prog-mode/jcs-header-d-dash deleted file mode 100644 index 75439c4db..000000000 --- a/.emacs.d/snippets/prog-mode/jcs-header-d-dash +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header-d-dash -# key: jcs-header--dash -# -- --- ======================================================================== --- $File: `(jcs-file-name)` $ --- $Date: `(jcs-timestamp-ver1)` $ --- $Revision: $ --- $Creator: ${1:CREATOR_NAME} $ --- $Notice: See LICENSE.txt for modification and distribution information --- Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ --- ======================================================================== -$0 diff --git a/.emacs.d/snippets/prog-mode/jcs-header-d-quote b/.emacs.d/snippets/prog-mode/jcs-header-d-quote deleted file mode 100644 index 6201651e5..000000000 --- a/.emacs.d/snippets/prog-mode/jcs-header-d-quote +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header-d-quote -# key: jcs-header-d-quote -# -- -"" ======================================================================== -"" $File: `(jcs-file-name)` $ -"" $Date: `(jcs-timestamp-ver1)` $ -"" $Revision: $ -"" $Creator: ${1:CREATOR_NAME} $ -"" $Notice: See LICENSE.txt for modification and distribution information $ -"" Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -"" ======================================================================== -$0 diff --git a/.emacs.d/snippets/prog-mode/jcs-header-d-semicolon b/.emacs.d/snippets/prog-mode/jcs-header-d-semicolon deleted file mode 100644 index 859e88131..000000000 --- a/.emacs.d/snippets/prog-mode/jcs-header-d-semicolon +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header-d-semicolon -# key: jcs-header-d-semicolon -# -- -;; ======================================================================== -;; $File: `(jcs-file-name)` $ -;; $Date: `(jcs-timestamp-ver1)` $ -;; $Revision: $ -;; $Creator: ${1:CREATOR_NAME} $ -;; $Notice: See LICENSE.txt for modification and distribution information -;; Copyright `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -;; ======================================================================== -$0 diff --git a/.emacs.d/snippets/prog-mode/jcs-header-d-slash b/.emacs.d/snippets/prog-mode/jcs-header-d-slash deleted file mode 100644 index 301eff40a..000000000 --- a/.emacs.d/snippets/prog-mode/jcs-header-d-slash +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header-d-slash -# key: jcs-header-d-slash -# -- -// ======================================================================== -// $File: `(jcs-file-name)` $ -// $Date: `(jcs-timestamp-ver1)` $ -// $Revision: $ -// $Creator: ${1:CREATOR_NAME} $ -// $Notice: See LICENSE.txt for modification and distribution information $ -// Copyright `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -// ======================================================================== -$0 diff --git a/.emacs.d/snippets/prog-mode/jcs-header-global b/.emacs.d/snippets/prog-mode/jcs-header-global deleted file mode 100644 index b344a1645..000000000 --- a/.emacs.d/snippets/prog-mode/jcs-header-global +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header-global -# key: jcs-header-global -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/prog-mode/jcs-header-semicolon b/.emacs.d/snippets/prog-mode/jcs-header-semicolon deleted file mode 100644 index 61fa53ff8..000000000 --- a/.emacs.d/snippets/prog-mode/jcs-header-semicolon +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header-semicolon -# key: jcs-header-semicolon -# -- -; ======================================================================== -; $File: `(jcs-file-name)` $ -; $Date: `(jcs-timestamp-ver1)` $ -; $Revision: $ -; $Creator: ${1:CREATOR_NAME} $ -; $Notice: See LICENSE.txt for modification and distribution information -; Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -; ======================================================================== -$0 diff --git a/.emacs.d/snippets/prog-mode/jcs-header-sharp b/.emacs.d/snippets/prog-mode/jcs-header-sharp deleted file mode 100644 index d8651cf30..000000000 --- a/.emacs.d/snippets/prog-mode/jcs-header-sharp +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header-sharp -# key: jcs-header-sharp -# -- -# ======================================================================== -# $File: `(jcs-file-name)` $ -# $Date: `(jcs-timestamp-ver1)` $ -# $Revision: $ -# $Creator: ${1:CREATOR_NAME} $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -# ======================================================================== -$0 diff --git a/.emacs.d/snippets/prog-mode/jcs-header-singlequote b/.emacs.d/snippets/prog-mode/jcs-header-singlequote deleted file mode 100644 index a2fd1b4b2..000000000 --- a/.emacs.d/snippets/prog-mode/jcs-header-singlequote +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header-singlequote -# key: jcs-header-singlequote -# -- -'' ======================================================================== -'' $File: `(jcs-file-name)` $ -'' $Date: `(jcs-timestamp-ver1)` $ -'' $Revision: $ -'' $Creator: ${1:CREATOR_NAME} $ -'' $Notice: See LICENSE.txt for modification and distribution information $ -'' Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -'' ======================================================================== -$0 diff --git a/.emacs.d/snippets/prog-mode/jcs-header-tag b/.emacs.d/snippets/prog-mode/jcs-header-tag deleted file mode 100644 index e5088649f..000000000 --- a/.emacs.d/snippets/prog-mode/jcs-header-tag +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header-tag -# key: jcs-header-tag -# -- - -$0 diff --git a/.emacs.d/snippets/python-mode/jcs-cls b/.emacs.d/snippets/python-mode/jcs-cls deleted file mode 100644 index 512b80365..000000000 --- a/.emacs.d/snippets/python-mode/jcs-cls +++ /dev/null @@ -1,40 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-cls -# key: jcs-cls -# group: object oriented -# -- -class `(jcs-file-name-without-extension)`(object): - - """${1:TODO: Class Description here...} - """ - - #*********************************************# - # Public Variables # - #*********************************************# - - #*********************************************# - # Private Variables # - #*********************************************# - - #*********************************************# - # Protected Variables # - #*********************************************# - - #*********************************************# - # Constructor # - #*********************************************# - def __init__(self): - """Constructor.""" - $0 - - #==================== - # Public Methods - - #==================== - # Protected Methods - - #==================== - # Private Methods - - #==================== - # setter / getter diff --git a/.emacs.d/snippets/python-mode/jcs-header b/.emacs.d/snippets/python-mode/jcs-header deleted file mode 100644 index 51fc546eb..000000000 --- a/.emacs.d/snippets/python-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -# ======================================================================== -# $File: `(jcs-file-name)` $ -# $Date: `(jcs-timestamp-ver1)` $ -# $Revision: $ -# $Creator: ${1:CREATOR_NAME} $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -# ======================================================================== -$0 diff --git a/.emacs.d/snippets/rjsx-mode/.yas-parents b/.emacs.d/snippets/rjsx-mode/.yas-parents deleted file mode 100644 index 27dab3004..000000000 --- a/.emacs.d/snippets/rjsx-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -js-mode diff --git a/.emacs.d/snippets/ruby-mode/jcs-header b/.emacs.d/snippets/ruby-mode/jcs-header deleted file mode 100644 index 51fc546eb..000000000 --- a/.emacs.d/snippets/ruby-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -# ======================================================================== -# $File: `(jcs-file-name)` $ -# $Date: `(jcs-timestamp-ver1)` $ -# $Revision: $ -# $Creator: ${1:CREATOR_NAME} $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -# ======================================================================== -$0 diff --git a/.emacs.d/snippets/rust-mode/jcs-header b/.emacs.d/snippets/rust-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/rust-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/scala-mode/jcs-header b/.emacs.d/snippets/scala-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/scala-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/sh-mode/jcs-header b/.emacs.d/snippets/sh-mode/jcs-header deleted file mode 100644 index 51fc546eb..000000000 --- a/.emacs.d/snippets/sh-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -# ======================================================================== -# $File: `(jcs-file-name)` $ -# $Date: `(jcs-timestamp-ver1)` $ -# $Revision: $ -# $Creator: ${1:CREATOR_NAME} $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -# ======================================================================== -$0 diff --git a/.emacs.d/snippets/shader-mode/jcs-header b/.emacs.d/snippets/shader-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/shader-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/snippet-mode/jcs-header b/.emacs.d/snippets/snippet-mode/jcs-header deleted file mode 100644 index b10c18fdb..000000000 --- a/.emacs.d/snippets/snippet-mode/jcs-header +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -# -*- mode: snippet -*- -# name: ${1:Snippet Name} -# key: ${2:Snippet Key} -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/sql-mode/jcs-header b/.emacs.d/snippets/sql-mode/jcs-header deleted file mode 100644 index 6f3dbcc8b..000000000 --- a/.emacs.d/snippets/sql-mode/jcs-header +++ /dev/null @@ -1,19 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/* -Service Platform Data Transfer - -Source Server : $server_name$ -Source Server Type : $server_type$ -Source Server Version : $server_version$ -Source Host : $hostname$ -Source Schema : $schema$ - -Target Server Type : $server_type$ -Target Server Version : $server_version$ -File Encoding : $file_encoding$ - -Date: `(jcs-timestamp-ver1)` -*/ diff --git a/.emacs.d/snippets/swift-mode/jcs-header b/.emacs.d/snippets/swift-mode/jcs-header deleted file mode 100644 index c42819688..000000000 --- a/.emacs.d/snippets/swift-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -/** - * $File: `(jcs-file-name)` $ - * $Date: `(jcs-timestamp-ver1)` $ - * $Revision: $ - * $Creator: ${1:CREATOR_NAME} $ - * $Notice: See LICENSE.txt for modification and distribution information - * Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ - */ -$0 diff --git a/.emacs.d/snippets/text-mode/.yas-parents b/.emacs.d/snippets/text-mode/.yas-parents deleted file mode 100644 index c3ca481ce..000000000 --- a/.emacs.d/snippets/text-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -fundamental-mode diff --git a/.emacs.d/snippets/typescript-mode/.yas-parents b/.emacs.d/snippets/typescript-mode/.yas-parents deleted file mode 100644 index 27dab3004..000000000 --- a/.emacs.d/snippets/typescript-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -js-mode diff --git a/.emacs.d/snippets/vimrc-mode/jcs-header b/.emacs.d/snippets/vimrc-mode/jcs-header deleted file mode 100644 index c79388b5a..000000000 --- a/.emacs.d/snippets/vimrc-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -"" ======================================================================== -"" $File: `(jcs-file-name)` $ -"" $Date: `(jcs-timestamp-ver1)` $ -"" $Revision: $ -"" $Creator: ${1:CREATOR_NAME} $ -"" $Notice: See LICENSE.txt for modification and distribution information $ -"" Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -"" ======================================================================== -$0 diff --git a/.emacs.d/snippets/web-mode/.yas-parents b/.emacs.d/snippets/web-mode/.yas-parents deleted file mode 100644 index 8a1138368..000000000 --- a/.emacs.d/snippets/web-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -html-mode diff --git a/.emacs.d/snippets/yaml-mode/jcs-header b/.emacs.d/snippets/yaml-mode/jcs-header deleted file mode 100644 index 51fc546eb..000000000 --- a/.emacs.d/snippets/yaml-mode/jcs-header +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: jcs-header -# key: jcs-header -# -- -# ======================================================================== -# $File: `(jcs-file-name)` $ -# $Date: `(jcs-timestamp-ver1)` $ -# $Revision: $ -# $Creator: ${1:CREATOR_NAME} $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © `(jcs-year-only)` by ${2:COPYRIGHT_INFO} $ -# ======================================================================== -$0 diff --git a/.emacs.jcs/data/algorithm/Array Sorting Algorithms.png b/.emacs.jcs/data/algorithm/Array Sorting Algorithms.png deleted file mode 100644 index 1ee60ef25..000000000 Binary files a/.emacs.jcs/data/algorithm/Array Sorting Algorithms.png and /dev/null differ diff --git a/.emacs.jcs/data/algorithm/Big-O Complexity Chart.png b/.emacs.jcs/data/algorithm/Big-O Complexity Chart.png deleted file mode 100644 index 4b3f97675..000000000 Binary files a/.emacs.jcs/data/algorithm/Big-O Complexity Chart.png and /dev/null differ diff --git a/.emacs.jcs/data/algorithm/Common Data Structure Operations.png b/.emacs.jcs/data/algorithm/Common Data Structure Operations.png deleted file mode 100644 index c82d001ae..000000000 Binary files a/.emacs.jcs/data/algorithm/Common Data Structure Operations.png and /dev/null differ diff --git a/.emacs.jcs/data/algorithm/cheat-sheet.html b/.emacs.jcs/data/algorithm/cheat-sheet.html deleted file mode 100644 index b80ca688e..000000000 --- a/.emacs.jcs/data/algorithm/cheat-sheet.html +++ /dev/null @@ -1,8 +0,0 @@ --- Big-O Complexity Chart - - --- Common Data Structure Operations - - --- Array Sorting Algorithms - diff --git a/.emacs.jcs/data/charset/alt-code.txt b/.emacs.jcs/data/charset/alt-code.txt deleted file mode 100644 index 90838a466..000000000 --- a/.emacs.jcs/data/charset/alt-code.txt +++ /dev/null @@ -1,71 +0,0 @@ -Alt Codes - -The list of all Alt Codes for special characters and symbols. - -|----------------+----------------+----------------||----------------+----------------+----------------| -| Symbol AltCode | Symbol AltCode | Symbol AltCode || Symbol AltCode | Symbol AltCode | Symbol AltCode | -|----------------+----------------+----------------||----------------+----------------+----------------| -| ☺ 1 | @ 64 | ⌂ 127 || ╛ 190 | ² 253 |  0194 | -| ☻ 2 | A 65 | Ç 128 || ┐ 191 | ■ 254 | à 0195 | -| ♥ 3 | B 66 | ü 129 || └ 192 | spc 255 | Ä 0196 | -| ♦ 4 | C 67 | é 130 || ┴ 193 | € 0128 | Å 0197 | -| ♣ 5 | D 68 | â 131 || ┬ 194 | ‚ 0130 | Æ 0198 | -| ♠ 6 | E 69 | ä 132 || ├ 195 | ƒ 0131 | Ç 0199 | -| • 7 | F 70 | à 133 || ─ 196 | „ 0132 | È 0200 | -| ◘ 8 | G 71 | å 134 || ┼ 197 | … 0133 | É 0201 | -| ○ 9 | H 72 | ç 135 || ╞ 198 | † 0134 | Ê 0202 | -| ◙ 10 | I 73 | ê 136 || ╟ 199 | ‡ 0135 | Ë 0203 | -| ♂ 11 | J 74 | ë 137 || ╚ 200 | ˆ 0136 | Ì 0204 | -| ♀ 12 | K 75 | è 138 || ╔ 201 | ‰ 0137 | Í 0205 | -| ♪ 13 | L 76 | ï 139 || ╩ 202 | Š 0138 | Î 0206 | -| ♫ 14 | M 77 | î 140 || ╦ 203 | ‹ 0139 | Ï 0207 | -| ☼ 15 | N 78 | ì 141 || ╠ 204 | Œ 0140 | Ð 0208 | -| ► 16 | O 79 | Ä 142 || ═ 205 | Ž 0142 | Ñ 0209 | -| ◄ 17 | P 80 | Å 143 || ╬ 206 | ‘ 0145 | Ò 0210 | -| ↕ 18 | Q 81 | É 144 || ╧ 207 | ’ 0146 | Ó 0211 | -| ‼ 19 | R 82 | æ 145 || ╨ 208 | “ 0147 | Ô 0212 | -| ¶ 20 | S 83 | Æ 146 || ╤ 209 | ” 0148 | Õ 0213 | -| § 21 | T 84 | ô 147 || ╥ 210 | • 0149 | Ö 0214 | -| ▬ 22 | U 85 | ö 148 || ╙ 211 | – 0150 | × 0215 | -| ↨ 23 | V 86 | ò 149 || ╘ 212 | — 0151 | Ø 0216 | -| ↑ 24 | W 87 | û 150 || ╒ 213 | ˜ 0152 | Ù 0217 | -| ↓ 25 | X 88 | ù 151 || ╓ 214 | ™ 0153 | Ú 0218 | -| → 26 | Y 89 | ÿ 152 || ╫ 215 | š 0154 | Û 0219 | -| ← 27 | Z 90 | Ö 153 || ╪ 216 | › 0155 | Ü 0220 | -| ∟ 28 | [ 91 | Ü 154 || ┘ 217 | œ 0156 | Ý 0221 | -| ↔ 29 | \ 92 | ¢ 155 || ┌ 218 | ž 0158 | Þ 0222 | -| ▲ 30 | ] 93 | £ 156 || █ 219 | Ÿ 0159 | ß 0223 | -| ▼ 31 | ^ 94 | ¥ 157 || ▄ 220 | spc 0160 | à 0224 | -| spc 32 | _ 95 | ₧ 158 || ▌ 221 | ¡ 0161 | á 0225 | -| ! 33 | ` 96 | ƒ 159 || ▐ 222 | ¢ 0162 | â 0226 | -| " 34 | a 97 | á 160 || ▀ 223 | £ 0163 | ã 0227 | -| # 35 | b 98 | í 161 || α 224 | ¤ 0164 | ä 0228 | -| $ 36 | c 99 | ó 162 || ß 225 | ¥ 0165 | å 0229 | -| % 37 | d 100 | ú 163 || Γ 226 | ¦ 0166 | æ 0230 | -| & 38 | e 101 | ñ 164 || π 227 | § 0167 | ç 0231 | -| ' 39 | f 102 | Ñ 165 || Σ 228 | ¨ 0168 | è 0232 | -| ( 40 | g 103 | ª 166 || σ 229 | © 0169 | é 0233 | -| ) 41 | h 104 | º 167 || µ 230 | ª 0170 | ê 0234 | -| * 42 | i 105 | ¿ 168 || τ 231 | « 0171 | ë 0235 | -| + 43 | j 106 | ⌐ 169 || Φ 232 | ¬ 0172 | ì 0236 | -| , 44 | k 107 | ¬ 170 || Θ 233 | ® 0174 | í 0237 | -| . 46 | m 109 | ¼ 172 || Ω 234 | ¯ 0175 | î 0238 | -| / 47 | n 110 | ¡ 173 || δ 235 | ° 0176 | ï 0239 | -| 0 48 | o 111 | « 174 || ∞ 236 | ± 0177 | ð 0240 | -| 1 49 | p 112 | » 175 || φ 237 | ² 0178 | ñ 0241 | -| 2 50 | q 113 | ░ 176 || ε 238 | ³ 0179 | ò 0242 | -| 3 51 | r 114 | ▒ 177 || ∩ 239 | ´ 0180 | ó 0243 | -| 4 52 | s 115 | ▓ 178 || ≡ 240 | µ 0181 | ô 0244 | -| 5 53 | t 116 | │ 179 || ± 241 | ¶ 0182 | õ 0245 | -| 6 54 | u 117 | ┤ 180 || ≥ 242 | · 0183 | ö 0246 | -| 7 55 | v 118 | ╡ 181 || ≤ 243 | ¸ 0184 | ÷ 0247 | -| 8 56 | w 119 | ╢ 182 || ⌠ 244 | ¹ 0185 | ø 0248 | -| 9 57 | x 120 | ╖ 183 || ⌡ 245 | º 0186 | ù 0249 | -| : 58 | y 121 | ╕ 184 || ÷ 246 | » 0187 | ú 0250 | -| ; 59 | z 122 | ╣ 185 || ≈ 247 | ¼ 0188 | û 0251 | -| < 60 | { 123 | ║ 186 || ° 248 | ½ 0189 | ü 0252 | -| = 61 | 124 | ╗ 187 || ∙ 249 | ¾ 0190 | ý 0253 | -| > 62 | } 125 | ╝ 188 || · 250 | ¿ 0191 | þ 0254 | -| ? 63 | ~ 126 | || √ 251 | À 0192 | ÿ 0255 | -|----------------+----------------+----------------|| ⁿ 252 | Á 0193 | | - |----------------+----------------+----------------| diff --git a/.emacs.jcs/data/charset/ascii.txt b/.emacs.jcs/data/charset/ascii.txt deleted file mode 100644 index 71b5c0c00..000000000 --- a/.emacs.jcs/data/charset/ascii.txt +++ /dev/null @@ -1,45 +0,0 @@ -ASCII Table and Description - -ASCII stands for American Standard Code for Information Interchange. -Below is the ASCII character table, including descriptions of the first -32 characters. ASCII was originally designed for use with teletypes, -and so the descriptions are somewhat obscure and their use is frequently -not as intended. - -|-----------------------------------+-----------+-----------+-----------| -| Dec Char | Dec Char | Dec Char | Dec Char | -|-----------------------------------+-----------+-----------+-----------| -| 0 NUL (null) | 32 SPACE | 64 @ | 96 ` | -| 1 SOH (start of heading) | 33 ! | 65 A | 97 a | -| 2 STX (start of text) | 34 " | 66 B | 98 b | -| 3 ETX (end of text) | 35 # | 67 C | 99 c | -| 4 EOT (end of transmission) | 36 $ | 68 D | 100 d | -| 5 ENQ (enquiry) | 37 % | 69 E | 101 e | -| 6 ACK (acknowledge) | 38 & | 70 F | 102 f | -| 7 BEL (bell) | 39 ' | 71 G | 103 g | -| 8 BS (backspace) | 40 ( | 72 H | 104 h | -| 9 TAB (horizontal tab) | 41 ) | 73 I | 105 i | -| 10 LF (NL line feed, new line) | 42 * | 74 J | 106 j | -| 11 VT (vertical tab) | 43 + | 75 K | 107 k | -| 12 FF (NP form feed, new page) | 44 , | 76 L | 108 l | -| 13 CR (carriage return) | 45 - | 77 M | 109 m | -| 14 SO (shift out) | 46 . | 78 N | 110 n | -| 15 SI (shift in) | 47 / | 79 O | 111 o | -| 16 DLE (data link escape) | 48 0 | 80 P | 112 p | -| 17 DC1 (device control 1) | 49 1 | 81 Q | 113 q | -| 18 DC2 (device control 2) | 50 2 | 82 R | 114 r | -| 19 DC3 (device control 3) | 51 3 | 83 S | 115 s | -| 20 DC4 (device control 4) | 52 4 | 84 T | 116 t | -| 21 NAK (negative acknowledge) | 53 5 | 85 U | 117 u | -| 22 SYN (synchronous idle) | 54 6 | 86 V | 118 v | -| 23 ETB (end of trans. block) | 55 7 | 87 W | 119 w | -| 24 CAN (cancel) | 56 8 | 88 X | 120 x | -| 25 EM (end of medium) | 57 9 | 89 Y | 121 y | -| 26 SUB (substitute) | 58 : | 90 Z | 122 z | -| 27 ESC (escape) | 59 ; | 91 [ | 123 { | -| 28 FS (file separator) | 60 < | 92 \ | 124 | | -| 29 GS (group separator) | 61 = | 93 ] | 125 } | -| 30 RS (record separator) | 62 > | 94 ^ | 126 ~ | -| 31 US (unit separator) | 63 ? | 95 _ | 127 DEL | -|-----------------------------------+-----------+-----------+-----------| - \ No newline at end of file diff --git a/.emacs.jcs/data/data-structure/cheat-sheet.txt b/.emacs.jcs/data/data-structure/cheat-sheet.txt deleted file mode 100644 index 926bd4e9f..000000000 --- a/.emacs.jcs/data/data-structure/cheat-sheet.txt +++ /dev/null @@ -1,45 +0,0 @@ -|----------------+---------------------------------------+------------------------------------------| -| Data Strcuture | Advantages | Disadvantages | -|----------------+---------------------------------------+------------------------------------------| -|----------------+---------------------------------------+------------------------------------------| -| Array | Quick inserts | Slow search | -| | Fast access if index known | Slow deletes | -| | | Fixed size | -|----------------+---------------------------------------+------------------------------------------| -| Ordered Array | Faster search than unsorted array | Slow inserts | -| | | Slow deletes | -| | | Fixed size | -|----------------+---------------------------------------+------------------------------------------| -| Stack | Last-in, first-out access | Slow access to other items | -|----------------+---------------------------------------+------------------------------------------| -| Queue | First-in, first-out access | Slow access to other items | -|----------------+---------------------------------------+------------------------------------------| -| Linked List | Quick inserts | Slow search | -| | Quick deletes | | -|----------------+---------------------------------------+------------------------------------------| -| Binary Tree | Quick search | Deletion algorithm is complex | -| | Quick inserts | | -| | Quick deletes | | -| | (If the tree remains balanced) | | -|----------------+---------------------------------------+------------------------------------------| -| Red-Black Tree | Quick search | Complex to implement | -| | Quick inserts | | -| | Quick deletes | | -| | (Tree always remains balanced) | | -|----------------+---------------------------------------+------------------------------------------| -| 2-3-4 Tree | Quick search | Complex to implement | -| | Quick inserts | | -| | Quick deletes | | -| | (Tree always remains balanced) | | -| | (Similar trees good for disk storage) | | -|----------------+---------------------------------------+------------------------------------------| -| Hash Table | Very fast access if key is known | Slow deletes | -| | Quick inserts | Access is slow if not known | -| | | Inefficient memory usage | -|----------------+---------------------------------------+------------------------------------------| -| Head | Quick inserts | Slow access other items | -| | Quick deletes | | -| | Access to largest item | | -|----------------+---------------------------------------+------------------------------------------| -| Graph | Best module real-world situtations | Some algorithm are slow and very complex | -|----------------+---------------------------------------+------------------------------------------| diff --git a/.emacs.jcs/scripts/all.bat b/.emacs.jcs/scripts/all.bat deleted file mode 100644 index 4b74b20eb..000000000 --- a/.emacs.jcs/scripts/all.bat +++ /dev/null @@ -1,16 +0,0 @@ -@echo off -:: ======================================================================== -:: $File: all.bat $ -:: $Date: 2019-05-30 14:19:00 $ -:: $Revision: $ -:: $Creator: Jen-Chieh Shen $ -:: $Notice: See LICENSE.txt for modification and distribution information -:: Copyright © 2019 by Shen, Jen-Chieh $ -:: ======================================================================== - - -call ./clean.bat -cd ./scripts - -call ./compile.bat -cd ./scripts diff --git a/.emacs.jcs/scripts/all.sh b/.emacs.jcs/scripts/all.sh deleted file mode 100644 index 3797570cb..000000000 --- a/.emacs.jcs/scripts/all.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -# ======================================================================== -# $File: all.sh $ -# $Date: 2019-05-30 14:19:32 $ -# $Revision: $ -# $Creator: Jen-Chieh Shen $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © 2019 by Shen, Jen-Chieh $ -# ======================================================================== - - -sh ./clean.sh -sh ./compile.sh diff --git a/.emacs.jcs/scripts/clean.bat b/.emacs.jcs/scripts/clean.bat deleted file mode 100644 index f109e9b47..000000000 --- a/.emacs.jcs/scripts/clean.bat +++ /dev/null @@ -1,14 +0,0 @@ -@echo off -:: ======================================================================== -:: $File: clean.bat $ -:: $Date: 2019-05-30 13:05:46 $ -:: $Revision: $ -:: $Creator: Jen-Chieh Shen $ -:: $Notice: See LICENSE.txt for modification and distribution information -:: Copyright © 2019 by Shen, Jen-Chieh $ -:: ======================================================================== - - -cd .. - -del /s *.elc diff --git a/.emacs.jcs/scripts/clean.sh b/.emacs.jcs/scripts/clean.sh deleted file mode 100644 index 197eda727..000000000 --- a/.emacs.jcs/scripts/clean.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -# ======================================================================== -# $File: clean.sh $ -# $Date: 2019-05-30 13:06:46 $ -# $Revision: $ -# $Creator: Jen-Chieh Shen $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © 2019 by Shen, Jen-Chieh $ -# ======================================================================== - - -cd .. - -find . -name "*.elc" -type f -delete diff --git a/.emacs.jcs/scripts/compile.bat b/.emacs.jcs/scripts/compile.bat deleted file mode 100644 index ac4f09fb8..000000000 --- a/.emacs.jcs/scripts/compile.bat +++ /dev/null @@ -1,14 +0,0 @@ -@echo off -:: ======================================================================== -:: $File: compile.bat $ -:: $Date: 2019-05-30 11:28:58 $ -:: $Revision: $ -:: $Creator: Jen-Chieh Shen $ -:: $Notice: See LICENSE.txt for modification and distribution information -:: Copyright © 2019 by Shen, Jen-Chieh $ -:: ======================================================================== - - -cd .. - -emacs --batch --eval "(byte-recompile-directory \"./\" 0)" diff --git a/.emacs.jcs/scripts/compile.sh b/.emacs.jcs/scripts/compile.sh deleted file mode 100644 index 3385d1e49..000000000 --- a/.emacs.jcs/scripts/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -# ======================================================================== -# $File: compile.sh $ -# $Date: 2019-05-30 11:34:01 $ -# $Revision: $ -# $Creator: Jen-Chieh Shen $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © 2019 by Shen, Jen-Chieh $ -# ======================================================================== - - -cd .. - -emacs --batch --eval "(byte-recompile-directory \"./\" 0)" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a612f0fe7..15016a2dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v2 - name: Copy configuration files - run: sh ./scripts/copy_config.sh + run: sh ./bin/copy_config.sh - name: Check startup run: @@ -49,7 +49,7 @@ jobs: - uses: actions/checkout@v2 - name: Copy configuration files - run: ./scripts/copy_config.bat + run: ./bin/copy_config.bat - name: Check startup run: diff --git a/.gitignore b/.gitignore index bbcf3fd08..160b3a555 100644 --- a/.gitignore +++ b/.gitignore @@ -1,38 +1,91 @@ +# settings +/.jcs-custom.el +README.html + +*.bak +*.data +*.db +*.elc +*.log +*.sqlite +*.tmp +*bak/ .DS_Store -*~ -*.*~ -\#* -.\#* -.local/ +.cache/ +.cask/ +.dap-* .extension/ -*.cache* -*.log -/modules/private -test/.local*/ -test/result - -# emacs tempfiles that shouldn't be there -.dap-breakpoints -.org-id-locations -.tern-port -.yas-compiled-snippets.el +.vscode/ +/.agignore +/.elfeed +/.emacs*.desktop +/.emacs*.desktop.lock +/.emacs-buffers +/.last-package-update-day +/.lsp-session* +/.markdown-preview.html +/.mc-lists.el +/.org-id-locations +/.pdf-view-restore +/.persistent-scratch +/.rgignore +/ac-comphist.dat +/amx-items +/bookmarks +/company-statistics-cache.el +/custom-post.el +/history +/nov-places +/package-quickstart.el +/places +/projectile-bookmarks.eld +/projectile.cache +/projects +/recentf +/scratch +/smex-items +/tramp +anaconda-mode/ auto-save-list/ -cask/ -ede-projects.el -elpa/ +cnfonts/ +devdocs-browser/ +devdocs/ +eclipse.jdt.ls/ eln-cache/ -network-security.data -places -semanticdb +elpa-devel/ +elpa/ +emojis/ +eshell/ +flycheck_*.el* +games/ +ido.* +image-dired/ +images/ +irony/ +librime/ +magithub/ +mspyls/ +newsticker/ +persistent-scratch/ +persp-confs/ +rcirc-log/ +request/ +rime/ +rust-playground/ server/ -smex-items -tramp +session* +snippets/ +thumbs/ +tldr/ +tmp* transient/ +tutorial/ +url/ var/ +workspace/ -# compiled files -*.elc -*.lib -*.fas -*.dat -*.eld +# tags +/GPATH +/GRTAGS +/GTAGS +/TAGS diff --git a/CHANGELOG.md b/CHANGELOG.md index 93491e28c..172edd5de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how * Remove package `flycheck-popup-tip`. * Remove package `flycheck-pos-tip`. * Disable logging when printing out error messages from `flycheck`. +* Move entire directory to `.emacs.d`. (#34) ## 7.1.0 > Released Dec 27, 2021 diff --git a/Makefile b/Makefile index f205cd8ef..c11735223 100644 --- a/Makefile +++ b/Makefile @@ -5,20 +5,5 @@ CASK ?= cask .PHONY: startup -# Turn off `debug-on-error` due to error `Failed to download melpa archive.` -ENTRY="(progn \ - \ -(require 'url-vars) \ - \ -(let ((debug-on-error nil) \ - (url-show-status nil) \ - (user-emacs-directory default-directory) \ - (user-init-file (expand-file-name \"~/build.el\")) \ - (load-path (delq default-directory load-path))) \ - (load-file user-init-file) \ - (run-hooks (quote after-init-hook)) \ - (run-hooks (quote emacs-startup-hook))) \ - (jcs-emacs-version))" - startup: - @$(EMACS) -nw --batch --eval $(ENTRY) + @$(EMACS) -nw --batch -l "~/.emacs.d/bin/test.el" diff --git a/README.md b/README.md index db2358a68..0f1023363 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- +

@@ -114,6 +114,10 @@ Having these implementations makes my life easier, and having a genuinely portab workspace, which is great because it lets me work on different machine efficiently, without having to get used to an new IDE. +| Light Theme | Dark Theme | +|:---------------------------------------------|:--------------------------------------------| +| ![](./docs/etc/screenshot/startup-light.png) | ![](./docs/etc/screenshot/startup-dark.png) | + ## 📰 News Here is the list of few important and recent changes to this configuration. @@ -136,18 +140,7 @@ emacs config directory accordingly. Make sure you backup your own configuration before you start the installation. ```bash -# clone this repo -$ git clone https://github.com/jcs-emacs/jcs-emacs.git - -# change current directory to project directory -$ cd jcs-emacs - -# copy init file to home -$ cp ./.emacs ~/ - -# copy core directories to home -$ cp -r ./.emacs.d ~/ -$ cp -r ./.emacs.jcs ~/ +git clone https://github.com/jcs-emacs/jcs-emacs ~/.emacs.d ``` Then startup Emacs; it will automatically installs all necessary @@ -212,47 +205,47 @@ This is the list of features that are built-in to this configuration. These feat are heavily base on my personal habits, and so these could be very tiny things. But I believed detials make things better and make life smoother. -* [*Auto Install Package*](./features/auto-install-package) - Automatically installs the package that this config relies on. -* [*Better Dashboard*](./features/better-dashboard) - Implementation for improving experiences using dashboard. -* [*Buffer Menu Search*](./features/buffer-menu-search) - Able to search in the `*Buffer List*` buffer. -* [*Build Run*](./features/build-run) - Implementation for executing script for building and running the software. -* [*Capital Word*](./features/capital-word) - You can navigate/kill word by seeing capital letter. -* [*Changelog Helper*](./features/changelog-helper) - Help to create changelog while creating `CHANGELOG` file using template. -* [*Consistent Key Bindings*](./features/consistent-key-bindings) - Has consistent key bindings across all modes. +* [*Auto Install Package*](./docs/features/auto-install-package) - Automatically installs the package that this config relies on. +* [*Better Dashboard*](./docs/features/better-dashboard) - Implementation for improving experiences using dashboard. +* [*Buffer Menu Search*](./docs/features/buffer-menu-search) - Able to search in the `*Buffer List*` buffer. +* [*Build Run*](./docs/features/build-run) - Implementation for executing script for building and running the software. +* [*Capital Word*](./docs/features/capital-word) - You can navigate/kill word by seeing capital letter. +* [*Changelog Helper*](./docs/features/changelog-helper) - Help to create changelog while creating `CHANGELOG` file using template. +* [*Consistent Key Bindings*](./docs/features/consistent-key-bindings) - Has consistent key bindings across all modes. * [*Curly Bracket Modes*](./curly-bracket-modes) - Use curly bracket depends on different mode. -* [*Display File*](./features/display-file) - Utility function to use to view a file on the other window. -* [*Charset Table*](./features/display-file/charset-table) - Built-in functions that displays character sets. -* ~~[*Docstring Completion*](./features/docstring-completion) - Some standard docstring completion implementations built-in to this configuration.~~ (has move to [docstr](https://github.com/jcs-elpa/docstr)) +* [*Display File*](./docs/features/display-file) - Utility function to use to view a file on the other window. +* [*Charset Table*](./docs/features/display-file/charset-table) - Built-in functions that displays character sets. +* ~~[*Docstring Completion*](./docs/features/docstring-completion) - Some standard docstring completion implementations built-in to this configuration.~~ (has move to [docstr](https://github.com/jcs-elpa/docstr)) * Enhanced Multiple Cursors - * [*Similar Multiple Cursors*](./features/similar-multiple-cursors) - Mark with cursor by similarity. - * [*VS Multiple Cursors*](./features/vs-multiple-cursors) - VSCode like methods to `mark` and `unmark` multiple cursor. -* [*Fast Incremental Search*](./features/fast-incremental-search) - Fast keys for incremental search forward/backward to the cursor is currently pointing. -* [*Feebleline Design*](./features/feebleline-design) - Personal displayed design for `feebleline`. -* [*Indent Control*](./features/indent-control) - Generic control the indentation level for each mode, for more information see [indent-control](https://github.com/alt-elpa/indent-control). + * [*Similar Multiple Cursors*](./docs/features/similar-multiple-cursors) - Mark with cursor by similarity. + * [*VS Multiple Cursors*](./docs/features/vs-multiple-cursors) - VSCode like methods to `mark` and `unmark` multiple cursor. +* [*Fast Incremental Search*](./docs/features/fast-incremental-search) - Fast keys for incremental search forward/backward to the cursor is currently pointing. +* [*Feebleline Design*](./docs/features/feebleline-design) - Personal displayed design for `feebleline`. +* [*Indent Control*](./docs/features/indent-control) - Generic control the indentation level for each mode, for more information see [indent-control](https://github.com/alt-elpa/indent-control). * Previous/Next Keys * [*Normal Move*]() - Act like other normal editors. - * ~~[*Indent Move*](./features/indent-move) - Automatically indent when cursor moves up and down.~~ - * [*Smart-Move*](./features/smart-move) - Smart enough to move cursor to the beginning of the line. -* [*Line Numbers Modding*](./features/line-numbers-modding) - Mixed used of `linum` and `display-line-numbers-mode` base on the file usage. -* [*License Helper*](./features/license-helper) - Help to create license while creating `LICENSE` file using template. -* [*Mini State*](./features/mini-state) - Mini mode state use to visually see what backend is the config currently running. (Deprecated) - * [*Explicit States*](./features/mini-state/explicit-states) - Automatcially switch mini state depends on certain circumstances. -* ~~[*Mode Line Toggle*](./features/mode-line-toggle) - Toggle to `show` or `hide` the mode line.~~ -* [*Modern Text Editor*](./features/modern-text-editor) - Design to have the preset settings close to modern text editors but faster. -* [*Multiple Output*](./features/multiple-output) - Handle multiple output/compilation buffers. -* [*Navigate Blank Line*](./features/navigate-blank-line) - Use `C-` and `C-` to navigate previous and next blank line. -* [*Navigate Table*](./features/navigate-table) - Navigate `org-mode`'s table easier by using arrow keys. -* [*Preview HTML*](./features/preview-html) - Preview rendered HTML file on the other window. -* [*Simulate Shell*](./features/simulate-shell) - Completely simulate shell behaviors, make better user experience when using shell in Emacs. -* [*Switch Window*](./features/switch-window) - Fast keys switch between windows quickly. -* [*Tabify/Untabify Modes*](./features/tabify-untabify-modes) - Tabify or Untabify the file depends on the mode you currently in. -* ~~[*Transparent Window*](./features/transparent-window) - Keys to increase/decrease the transparency of the frame.~~ (has move to [transwin](https://github.com/jcs-elpa/transwin)) -* [*Trim Trailing Whitespace*](./features/trim-trailing-whitespace) - Remove trailing spaces and tabs automatically on save. -* ~~[*Video Player*](./features/video-player) - Play media on the top window.~~ -* [*Visualize Undo/Redo*](./features/visualize-undo-redo) - Improved the user experience on undoing and redoing by showing the `undo-tree-visualizer` at the other window. -* [*VS Curly Bracket*](./features/vs-curly-bracket) - Visual Studio IDE like curly bracket implementation. -* [*VS Multiple Terminal*](./features/vs-multiple-terminal) - VSCode like multiple shell control. -* [*VS Navigate Word*](./features/vs-navigate-word) - Visual Studio IDE like navigating between word implementation. + * ~~[*Indent Move*](./docs/features/indent-move) - Automatically indent when cursor moves up and down.~~ + * [*Smart-Move*](./docs/features/smart-move) - Smart enough to move cursor to the beginning of the line. +* [*Line Numbers Modding*](./docs/features/line-numbers-modding) - Mixed used of `linum` and `display-line-numbers-mode` base on the file usage. +* [*License Helper*](./docs/features/license-helper) - Help to create license while creating `LICENSE` file using template. +* [*Mini State*](./docs/features/mini-state) - Mini mode state use to visually see what backend is the config currently running. (Deprecated) + * [*Explicit States*](./docs/features/mini-state/explicit-states) - Automatcially switch mini state depends on certain circumstances. +* ~~[*Mode Line Toggle*](./docs/features/mode-line-toggle) - Toggle to `show` or `hide` the mode line.~~ +* [*Modern Text Editor*](./docs/features/modern-text-editor) - Design to have the preset settings close to modern text editors but faster. +* [*Multiple Output*](./docs/features/multiple-output) - Handle multiple output/compilation buffers. +* [*Navigate Blank Line*](./docs/features/navigate-blank-line) - Use `C-` and `C-` to navigate previous and next blank line. +* [*Navigate Table*](./docs/features/navigate-table) - Navigate `org-mode`'s table easier by using arrow keys. +* [*Preview HTML*](./docs/features/preview-html) - Preview rendered HTML file on the other window. +* [*Simulate Shell*](./docs/features/simulate-shell) - Completely simulate shell behaviors, make better user experience when using shell in Emacs. +* [*Switch Window*](./docs/features/switch-window) - Fast keys switch between windows quickly. +* [*Tabify/Untabify Modes*](./docs/features/tabify-untabify-modes) - Tabify or Untabify the file depends on the mode you currently in. +* ~~[*Transparent Window*](./docs/features/transparent-window) - Keys to increase/decrease the transparency of the frame.~~ (has move to [transwin](https://github.com/jcs-elpa/transwin)) +* [*Trim Trailing Whitespace*](./docs/features/trim-trailing-whitespace) - Remove trailing spaces and tabs automatically on save. +* ~~[*Video Player*](./docs/features/video-player) - Play media on the top window.~~ +* [*Visualize Undo/Redo*](./docs/features/visualize-undo-redo) - Improved the user experience on undoing and redoing by showing the `undo-tree-visualizer` at the other window. +* [*VS Curly Bracket*](./docs/features/vs-curly-bracket) - Visual Studio IDE like curly bracket implementation. +* [*VS Multiple Terminal*](./docs/features/vs-multiple-terminal) - VSCode like multiple shell control. +* [*VS Navigate Word*](./docs/features/vs-navigate-word) - Visual Studio IDE like navigating between word implementation. ## 📁 Package Archives @@ -333,94 +326,6 @@ kind of methods that you could support the maintainer you want. * *Video Player* - none. * *White Space* - powered by [whitespace](https://www.emacswiki.org/emacs/WhiteSpace). -### File Modes - -If you want to change the default mode to certain file type, you might want to -checkout the `./.emacs.jcs/jcs-mode.el` file. You will see a list of mode -that are opened by default mode to certain extension. - -* [List of modes](./doc/programming_modes.md) - -📝 *P.S. The [awesome-emacs](https://github.com/emacs-tw/awesome-emacs) -is a list of Emacs package that you can choose other alternatives to replace any -similar packages listed here. Is also a good place to seek and learn what's inside -Emacs!* - -## Key Bindings - -This configuration have all modes bind to the same set of key bindings. It benefits -the developer would not need to change their key bindings while after the mode -swichted. The key bindings set can be modified in `./.emacs.jcs/jcs-key.el` file. - -* [List of key bindings](./doc/keybindings.md) - -📝 P.S. * My work requires me to use -[Visual Studio IDE](https://visualstudio.microsoft.com/) -that being said the key bindings set are most likely compatible to -[Visual Studio IDE](https://visualstudio.microsoft.com/). -* ~~Excepts keys that bind to `C-x` and `C-c`, Emacs are deeply binds to these -two keys, and many packages also use these two keys for there preset keys. As -you may know these two keys are often `cut` and `copy`, is awkward that I solved -this by adding the same key stroke once again, hence the `cut` key is -`C-x C-x` and the `copy` key is `C-c C-c`.~~ - -**Edit 1:** After version `5.8.3`, the `cut` and `copy` keys had been corrected -and no longer the hassle to this configuration. Thanks to `use-package` again, -letting me bind `C-x` and `C-c` keys for higher precedence. - -## Themes - -### Default - -The theme was to design close to [Visual Studio IDE](https://visualstudio.microsoft.com/) -preset light/dark theme. I believed [Microsoft](https://www.microsoft.com/zh-tw/) -has a great UI/UX team, since I don't have any experience or work related to UI/UX, -I would just like to have the theme color as close to it as possible. Anyway, if you -want to customize the theme yourself, then check out the `./.emacs.jcs/jcs-theme.el` -file. All the theme related variables can be found in that file. - -| Light Theme | Dark Theme | -|:----------------------------------------------|:---------------------------------------------| -||| - -### Customization - -In common, you can install any theme you want as long it is available on the -internet. You can check out the Emacs Theme Gallery site [here](https://pawelbx.github.io/emacs-theme-gallery/). -For instance, [vs-dark-theme](https://github.com/jcs-elpa/vs-dark-theme) and -[vs-light-theme](https://github.com/jcs-elpa/vs-light-theme) are now individual -packages built outside from this configuration. - -## Font - -Font uses `use-ttf` package to keep cross OS consistency. The default font is -`Ubuntu Mono` and loaded by using `UbuntuMono-R.ttf` located under -`./.emacs.jcs/fonts/` folder. If you don't like the this font, you can add your -own `.ttf` file and add the path to `use-ttf-default-ttf-fonts` list. -Lastly, set the name of the `.ttf` file to `use-ttf-default-ttf-font-name` -variable. - -📝 -P.S. -* See the file `./.emacs.jcs/jcs-plugin.el` to see how the font is been set -in `(leaf use-ttf)` section. -* For more details about the font settings in this configuration, check out the -`use-ttf`package [repo](https://github.com/elpa-host/use-ttf). - -## 🔨 Optimization - -If you would like to optimize the configuration, you can run the following command -compile all the source code to byte code so Emacs can run faster during both -`initial time` and `run time`. - -```bash -# change directory to the `jcs` config directory -$ cd ./.emacs.jcs - -# compile all the config source code -$ emacs --batch --eval "(byte-recompile-directory \"./\" 0)" -``` - ## Write your own customization You are able to customize the configuration by editing the file locate at diff --git a/.emacs.jcs/banner/logo.png b/banners/logo.png similarity index 100% rename from .emacs.jcs/banner/logo.png rename to banners/logo.png diff --git a/.emacs.jcs/banner/sink.txt b/banners/sink.txt similarity index 100% rename from .emacs.jcs/banner/sink.txt rename to banners/sink.txt diff --git a/.emacs.jcs/banner/sink_black.png b/banners/sink_black.png similarity index 100% rename from .emacs.jcs/banner/sink_black.png rename to banners/sink_black.png diff --git a/.emacs.jcs/banner/sink_white.png b/banners/sink_white.png similarity index 100% rename from .emacs.jcs/banner/sink_white.png rename to banners/sink_white.png diff --git a/bin/copy_config.bat b/bin/copy_config.bat new file mode 100644 index 000000000..332ea3c7a --- /dev/null +++ b/bin/copy_config.bat @@ -0,0 +1,14 @@ +@echo off + +SETLOCAL EnableDelayedExpansion + +echo "Copying core files..." + +set CONFIG_PATH=%UserProfile% + +echo %CONFIG_PATH% + +mkdir "%CONFIG_PATH%/.emacs.d" +robocopy /e "../jcs-emacs" "%CONFIG_PATH%/.emacs.d" + +echo "Done copying configuration files" diff --git a/bin/copy_config.sh b/bin/copy_config.sh new file mode 100644 index 000000000..402d5403e --- /dev/null +++ b/bin/copy_config.sh @@ -0,0 +1,7 @@ +#!/bin/sh -e + +echo "Copying core files..." + +cp -R ../jcs-emacs ~/.emacs.d + +echo "Done copying configuration files" diff --git a/bin/test.el b/bin/test.el new file mode 100644 index 000000000..9725f2898 --- /dev/null +++ b/bin/test.el @@ -0,0 +1,32 @@ +;;; test.el --- Test the configuration -*- lexical-binding: t -*- +;;; Commentary: +;;; Code: + +(require 'url-vars) + +;; Workaround for Windows CI +;; See https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432 +(setq network-security-level 'low) + +(defconst jcs-ci t + "Flag for CI testing.") + +(message "Testing...") + +(let (debug-on-error + url-show-status + (user-emacs-directory default-directory) + (early-init-file (locate-user-emacs-file "early-init.el")) + (user-init-file (locate-user-emacs-file "init.el"))) + (load early-init-file) + (load user-init-file) ; Start regular Emacs file + (run-hooks 'after-init-hook) + (run-hooks 'emacs-startup-hook)) + +(jcs-emacs-version) + +;; Local Variables: +;; coding: utf-8 +;; no-byte-compile: t +;; End: +;;; test.el ends here diff --git a/build.el b/build.el deleted file mode 100644 index c72e6c760..000000000 --- a/build.el +++ /dev/null @@ -1,18 +0,0 @@ -;;; build.el --- Test the configuration -*- lexical-binding: t -*- -;;; Commentary: -;;; Code: - -(defconst jcs-ci t - "Flag for CI testing.") - -;; Workaround for Windows CI -;; See https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432 -(setq network-security-level 'low) - -(load-file (expand-file-name "~/.emacs")) ; Start regular Emacs file - -;; Local Variables: -;; coding: utf-8 -;; no-byte-compile: t -;; End: -;;; build.el ends here diff --git a/.emacs.jcs/func/jcs-buffer-menu.el b/core/func/jcs-buffer-menu.el similarity index 100% rename from .emacs.jcs/func/jcs-buffer-menu.el rename to core/func/jcs-buffer-menu.el diff --git a/.emacs.jcs/func/jcs-comment.el b/core/func/jcs-comment.el similarity index 100% rename from .emacs.jcs/func/jcs-comment.el rename to core/func/jcs-comment.el diff --git a/.emacs.jcs/func/jcs-company.el b/core/func/jcs-company.el similarity index 100% rename from .emacs.jcs/func/jcs-company.el rename to core/func/jcs-company.el diff --git a/.emacs.jcs/func/jcs-dashboard.el b/core/func/jcs-dashboard.el similarity index 100% rename from .emacs.jcs/func/jcs-dashboard.el rename to core/func/jcs-dashboard.el diff --git a/.emacs.jcs/func/jcs-edit.el b/core/func/jcs-edit.el similarity index 100% rename from .emacs.jcs/func/jcs-edit.el rename to core/func/jcs-edit.el diff --git a/.emacs.jcs/func/jcs-frame.el b/core/func/jcs-frame.el similarity index 100% rename from .emacs.jcs/func/jcs-frame.el rename to core/func/jcs-frame.el diff --git a/.emacs.jcs/func/jcs-ivy.el b/core/func/jcs-ivy.el similarity index 100% rename from .emacs.jcs/func/jcs-ivy.el rename to core/func/jcs-ivy.el diff --git a/.emacs.jcs/func/jcs-lsp.el b/core/func/jcs-lsp.el similarity index 100% rename from .emacs.jcs/func/jcs-lsp.el rename to core/func/jcs-lsp.el diff --git a/.emacs.jcs/func/jcs-minibuf.el b/core/func/jcs-minibuf.el similarity index 100% rename from .emacs.jcs/func/jcs-minibuf.el rename to core/func/jcs-minibuf.el diff --git a/.emacs.jcs/func/jcs-mode-line.el b/core/func/jcs-mode-line.el similarity index 100% rename from .emacs.jcs/func/jcs-mode-line.el rename to core/func/jcs-mode-line.el diff --git a/.emacs.jcs/func/jcs-nav.el b/core/func/jcs-nav.el similarity index 100% rename from .emacs.jcs/func/jcs-nav.el rename to core/func/jcs-nav.el diff --git a/.emacs.jcs/func/jcs-revbuf.el b/core/func/jcs-revbuf.el similarity index 100% rename from .emacs.jcs/func/jcs-revbuf.el rename to core/func/jcs-revbuf.el diff --git a/.emacs.jcs/func/jcs-savbuf.el b/core/func/jcs-savbuf.el similarity index 100% rename from .emacs.jcs/func/jcs-savbuf.el rename to core/func/jcs-savbuf.el diff --git a/.emacs.jcs/func/jcs-shell.el b/core/func/jcs-shell.el similarity index 100% rename from .emacs.jcs/func/jcs-shell.el rename to core/func/jcs-shell.el diff --git a/.emacs.jcs/func/jcs-undo.el b/core/func/jcs-undo.el similarity index 100% rename from .emacs.jcs/func/jcs-undo.el rename to core/func/jcs-undo.el diff --git a/.emacs.jcs/func/jcs-util.el b/core/func/jcs-util.el similarity index 99% rename from .emacs.jcs/func/jcs-util.el rename to core/func/jcs-util.el index a53a60809..9ce5a1c5a 100644 --- a/.emacs.jcs/func/jcs-util.el +++ b/core/func/jcs-util.el @@ -6,6 +6,13 @@ ;; (@* "Macro" ) ;; +(defmacro jcs-add-hook (hooks &rest body) + "Global add-hook utility." + (declare (indent 1)) + `(cond ((listp ,hooks) + (dolist (hook ,hooks) (add-hook hook (lambda (&rest _) ,@body)))) + (t (add-hook ,hooks (lambda (&rest _) ,@body))))) + (defmacro jcs-with-gc-speed-up (&rest body) "Execute BODY with higher GC threshold." (declare (indent 0) (debug t)) diff --git a/.emacs.jcs/func/jcs-vs.el b/core/func/jcs-vs.el similarity index 100% rename from .emacs.jcs/func/jcs-vs.el rename to core/func/jcs-vs.el diff --git a/.emacs.jcs/func/jcs-web.el b/core/func/jcs-web.el similarity index 100% rename from .emacs.jcs/func/jcs-web.el rename to core/func/jcs-web.el diff --git a/.emacs.jcs/func/jcs-window.el b/core/func/jcs-window.el similarity index 100% rename from .emacs.jcs/func/jcs-window.el rename to core/func/jcs-window.el diff --git a/.emacs.jcs/jcs-config.el b/core/jcs-config.el similarity index 100% rename from .emacs.jcs/jcs-config.el rename to core/jcs-config.el diff --git a/.emacs.jcs/jcs-dev.el b/core/jcs-dev.el similarity index 100% rename from .emacs.jcs/jcs-dev.el rename to core/jcs-dev.el diff --git a/.emacs.jcs/jcs-env.el b/core/jcs-env.el similarity index 99% rename from .emacs.jcs/jcs-env.el rename to core/jcs-env.el index b6271482c..9e7a4b365 100644 --- a/.emacs.jcs/jcs-env.el +++ b/core/jcs-env.el @@ -67,7 +67,7 @@ "List of buffer that you don't want to show when after exit.") ;;; Change Log -(defconst jcs-changelog-template-dir "~/.emacs.jcs/template/__changelog/" +(defconst jcs-changelog-template-dir "~/.emacs.d/core/template/__changelog/" "Path point to all changelog template files.") ;;; Compilation (Output) diff --git a/.emacs.jcs/jcs-face.el b/core/jcs-face.el similarity index 100% rename from .emacs.jcs/jcs-face.el rename to core/jcs-face.el diff --git a/.emacs.jcs/jcs-file.el b/core/jcs-file.el similarity index 100% rename from .emacs.jcs/jcs-file.el rename to core/jcs-file.el diff --git a/.emacs.jcs/jcs-function.el b/core/jcs-function.el similarity index 95% rename from .emacs.jcs/jcs-function.el rename to core/jcs-function.el index a7ace52b6..0c6b8699b 100644 --- a/.emacs.jcs/jcs-function.el +++ b/core/jcs-function.el @@ -199,30 +199,6 @@ (jcs-delete-region) (insert val)))) -;; -;; (@* "Cheat Sheet" ) -;; - -(defun jcs-alt-codes-table () - "Display basic Alt-Codes table." - (interactive) - (jcs-display-file "~/.emacs.jcs/data/charset/alt-code.txt" "*Alt Codes*" nil)) - -(defun jcs-ascii-table () - "Display basic ASCII table." - (interactive) - (jcs-display-file "~/.emacs.jcs/data/charset/ascii.txt" "*ASCII*" nil)) - -(defun jcs-algorithm-cheat-sheet () - "Display basic Alt-Codes table." - (interactive) - (jcs-html-preview "~/.emacs.jcs/data/algorithm/cheat-sheet.html" "*Algorithm Cheat Sheet*" nil)) - -(defun jcs-data-structure-cheat-sheet () - "Display basic Alt-Codes table." - (interactive) - (jcs-display-file "~/.emacs.jcs/data/data-structure/cheat-sheet.txt" "*Data Structure Cheat Sheet*" nil)) - ;; ;; (@* "Dashboard" ) ;; @@ -268,7 +244,7 @@ OW is the other window flag." "Safely refresh the dashboard buffer if needed. If optional argument FORCE is non-nil, force refresh it." - (when (and (bound-and-true-p after-init-time) + (when (and after-init-time (boundp 'dashboard-buffer-name) (jcs-buffer-shown-p dashboard-buffer-name 'strict)) (unless jcs-dashboard--refreshing-p @@ -283,10 +259,11 @@ If optional argument FORCE is non-nil, force refresh it." (defun jcs-dashboard--get-banner-path () "Return banner path." - (cond ((display-graphic-p) - (if (jcs-light-theme-p) "~/.emacs.jcs/banner/sink_black.png" - "~/.emacs.jcs/banner/sink_white.png")) - (t "~/.emacs.jcs/banner/sink.txt"))) + (locate-user-emacs-file + (cond ((display-graphic-p) + (if (jcs-light-theme-p) "banners/sink_black.png" + "banners/sink_white.png")) + (t "banners/sink.txt")))) ;; ;; (@* "ElDoc" ) diff --git a/.emacs.jcs/jcs-hook.el b/core/jcs-hook.el similarity index 77% rename from .emacs.jcs/jcs-hook.el rename to core/jcs-hook.el index b935fad6e..e73b9a5f4 100644 --- a/.emacs.jcs/jcs-hook.el +++ b/core/jcs-hook.el @@ -13,8 +13,7 @@ "When window is focus." (if (not jcs-foucs-after-first-p) (setq jcs-foucs-after-first-p t) - (jcs-safe-revert-all-buffers) - (jcs-funcall-fboundp #'jcs--feebleline--reset))) + (jcs-safe-revert-all-buffers))) (defun jcs-hook--focus-out () "When window is not focus." @@ -25,24 +24,20 @@ (if (frame-focus-state) (jcs-hook--focus-in) (jcs-hook--focus-out))) (add-function :after after-focus-change-function #'jcs-after-focus-change-function) -(defun jcs-window-size-change-functions (&rest _) - "When window changed size." +(jcs-add-hook 'window-size-change-functions (jcs-dashboard--window-size-change) (when (featurep 'jcs-ivy) (jcs-ivy--window-size-change)) (when (featurep 'treemacs) (jcs-treemacs--window-size-change))) -(add-hook 'window-size-change-functions 'jcs-window-size-change-functions) ;; ;; (@* "Find Files" ) ;; -(defun jcs-hook--find-file () - "Find file hook." +(jcs-add-hook 'find-file-hook (jcs-funcall-fboundp #'jcs-update-buffer-save-string) (jcs-active-line-numbers-by-mode) (jcs-project-remember) (jcs-project--track-open-projects)) -(add-hook 'find-file-hook 'jcs-hook--find-file) (defun jcs--find-file--advice-after (&rest _) "Advice execute after command `find-file'." @@ -80,25 +75,11 @@ (jcs-dashboard-safe-refresh-buffer)))) (advice-add 'other-window :after #'jcs--other-window--advice-after) -;; -;; (@* "First load" ) -;; - -(defun jcs--fl--find-file--advice-before (&rest _) - "Advice execute before command `find-file'." - ;; Fixed `css-mode' opening virtual buffer with directory error. You just - ;; need to preload this before actually create the virtual buffer. - (require 'eww nil t) - (advice-remove 'find-file #'jcs--fl--find-file--advice-before)) - -(advice-add 'find-file :before #'jcs--fl--find-file--advice-before) - ;; ;; (@* "Initialization" ) ;; -(defun jcs-hook--after-init () - "Hook run after initialize." +(jcs-add-hook 'after-init-hook (jcs-require '(dashboard diminish)) (powerline-default-theme) (use-ttf-set-default-font) @@ -122,7 +103,6 @@ ;; IMPORTANT: This should always be the last thing. (jcs-dashboard-init-info)) -(add-hook 'after-init-hook 'jcs-hook--after-init) (defun jcs-hook--init-delay () "Delay some executions for faster speed." @@ -155,26 +135,20 @@ ;; (@* "Pre/Post Command" ) ;; -(defun jcs-hook--pre-command () - "Hook run before every command." +(jcs-add-hook 'pre-command-hook (jcs--er/record-history)) -(add-hook 'pre-command-hook 'jcs-hook--pre-command) -(defun jcs-hook--post-command () - "Hook run after every command." +(jcs-add-hook 'post-command-hook (jcs--er/resolve-region) (jcs-funcall-fboundp #'jcs--mark-whole-buffer-resolve) (jcs-reload-active-mode-with-error-handle)) -(add-hook 'post-command-hook 'jcs-hook--post-command) ;; ;; (@* "Major Mode" ) ;; -(defun jcs-hook--after-change-major-mode () - "Hook run after major mode changes." +(jcs-add-hook 'after-change-major-mode-hook (jcs-active-line-numbers-by-mode)) -(add-hook 'after-change-major-mode-hook 'jcs-hook--after-change-major-mode) ;; ;; (@* "Quitting" ) @@ -195,12 +169,10 @@ (defvar jcs-emacs-startup-directory nil "Record the startup directory.") -(defun jcs-hook--emacs-startup () - "Hook run after Emacs is startup." +(jcs-add-hook 'emacs-startup-hook (with-current-buffer jcs-scratch-buffer-name (setq jcs-scratch--content (buffer-string))) (setq jcs-emacs-startup-directory default-directory)) -(add-hook 'emacs-startup-hook 'jcs-hook--emacs-startup) (provide 'jcs-hook) ;;; jcs-hook.el ends here diff --git a/.emacs.jcs/jcs-key.el b/core/jcs-key.el similarity index 100% rename from .emacs.jcs/jcs-key.el rename to core/jcs-key.el diff --git a/.emacs.jcs/jcs-log.el b/core/jcs-log.el similarity index 100% rename from .emacs.jcs/jcs-log.el rename to core/jcs-log.el diff --git a/.emacs.jcs/jcs-mode.el b/core/jcs-mode.el similarity index 90% rename from .emacs.jcs/jcs-mode.el rename to core/jcs-mode.el index b76a10143..46cd205fd 100644 --- a/.emacs.jcs/jcs-mode.el +++ b/core/jcs-mode.el @@ -160,23 +160,21 @@ Note this is opposite logic to the toggle mode function." ;; So just put all the startup modes' configuration here. ;;; Special -(add-hook 'special-mode-hook (lambda () (goto-address-mode 1))) +(jcs-add-hook 'special-mode-hook (goto-address-mode 1)) ;;; Backtrace -(add-hook 'backtrace-mode-hook (lambda () (buffer-wrap-mode 1))) +(jcs-add-hook 'backtrace-mode-hook (buffer-wrap-mode 1)) ;;; Buffer Menu -(add-hook 'Buffer-menu-mode-hook (lambda () (require 'jcs-buffer-menu))) +(jcs-add-hook 'Buffer-menu-mode-hook (require 'jcs-buffer-menu)) ;;; Diff -(add-hook 'diff-mode-hook - (lambda () - (jcs-bind-key (kbd "M-k") #'jcs-maybe-kill-this-buffer) - (jcs-bind-key (kbd "M-K") #'jcs-reopen-this-buffer))) +(jcs-add-hook 'diff-mode-hook + (jcs-bind-key (kbd "M-k") #'jcs-maybe-kill-this-buffer) + (jcs-bind-key (kbd "M-K") #'jcs-reopen-this-buffer)) ;;; Compilation -(defun jcs-compilation-mode-hook () - "Hook for `compilation-mode'." +(jcs-add-hook '(compilation-mode-hook comint-mode-hook) (buffer-disable-undo) (goto-address-mode 1) (toggle-truncate-lines -1) @@ -189,21 +187,16 @@ Note this is opposite logic to the toggle mode function." (jcs-bind-key (kbd "C-_") #'jcs-output-prev-compilation) (jcs-bind-key (kbd "C-+") #'jcs-output-next-compilation)) -(add-hook 'compilation-mode-hook 'jcs-compilation-mode-hook) -(add-hook 'comint-mode-hook 'jcs-compilation-mode-hook) - ;;; Message Buffer -(add-hook 'messages-buffer-mode-hook - (lambda () - (auto-highlight-symbol-mode 1) - (goto-address-mode 1) - (page-break-lines-mode 1))) +(jcs-add-hook 'messages-buffer-mode-hook + (auto-highlight-symbol-mode 1) + (goto-address-mode 1) + (page-break-lines-mode 1)) ;;; Tabulated List -(add-hook 'tabulated-list-mode-hook - (lambda () - (when (memq major-mode '(Buffer-menu-mode package-menu-mode)) - (buffer-wrap-mode 1)))) +(jcs-add-hook 'tabulated-list-mode-hook + (when (memq major-mode '(Buffer-menu-mode package-menu-mode)) + (buffer-wrap-mode 1))) ;;============================================================================ ;; Project @@ -218,8 +211,7 @@ Note this is opposite logic to the toggle mode function." ;;============================================================================ ;; Base Mode -(defun jcs-base-mode-hook () - "Major mode hook for every major mode." +(jcs-add-hook '(text-mode-hook prog-mode-hook) (auto-highlight-symbol-mode t) (electric-pair-mode 1) (goto-address-mode 1) @@ -227,22 +219,15 @@ Note this is opposite logic to the toggle mode function." (jcs-active-project-mode-hook)) -(add-hook 'text-mode-hook 'jcs-base-mode-hook) -(add-hook 'prog-mode-hook 'jcs-base-mode-hook) - ;;; Text -(defun jcs-text-mode-hook () - "Text mode hook." +(jcs-add-hook 'text-mode-hook (jcs-insert-header-if-valid '("\\(/\\|\\`\\)[Ll][Ii][Cc][Ee][Nn][Ss][Ee]") 'jcs-ask-insert-license-content :interactive t) - (jcs-insert-header-if-valid '("\\(/\\|\\`\\)[Cc][Hh][Aa][Nn][Gg][Ee][-_]*[Ll][Oo][Gg]") 'jcs-ask-insert-changelog-content :interactive t)) -(add-hook 'text-mode-hook 'jcs-text-mode-hook) - ;;============================================================================ ;; Programming Mode @@ -251,8 +236,7 @@ Note this is opposite logic to the toggle mode function." To avoid syntax highlighting error for comment.") -(defun jcs-prog-mode-hook () - "Programming language mode hook." +(jcs-add-hook 'prog-mode-hook (unless (memq major-mode jcs-mode--dash-major-modes) (modify-syntax-entry ?- "_")) @@ -270,41 +254,27 @@ To avoid syntax highlighting error for comment.") (display-fill-column-indicator-mode 1) (highlight-numbers-mode 1)) -(add-hook 'prog-mode-hook 'jcs-prog-mode-hook) - ;;; Emacs Lisp -(defun jcs-emacs-lisp-mode-hook () - "Emacs Lisp mode hook." +(jcs-add-hook 'emacs-lisp-mode-hook (modify-syntax-entry ?_ "w") ; Treat underscore as word. - (jcs-insert-header-if-valid '("[.]el") 'jcs-insert-emacs-lisp-template)) -(add-hook 'emacs-lisp-mode-hook 'jcs-emacs-lisp-mode-hook) - ;;; Lisp -(defun jcs-lisp-mode-hook () - "Lisp mode hook." +(jcs-add-hook 'lisp-mode-hook (modify-syntax-entry ?_ "w") ; Treat underscore as word. - (jcs-insert-header-if-valid '("[.]lisp") 'jcs-insert-lisp-template)) -(add-hook 'lisp-mode-hook 'jcs-lisp-mode-hook) - ;;; Lisp Interaction -(defun jcs-lisp-interaction-mode-hook () - "Lisp Interaction mode hook." +(jcs-add-hook 'lisp-interaction-mode-hook (jcs-bind-key (kbd "M-k") #'jcs-scratch-buffer-maybe-kill) (jcs-bind-key (kbd "M-K") #'jcs-scratch-buffer-refresh)) -(add-hook 'lisp-interaction-mode-hook 'jcs-lisp-interaction-mode-hook) - ;;============================================================================ ;; View -(defun jcs-view-mode-hook () - "In view mode, read only file." +(jcs-add-hook 'view-mode-hook (require 'view) (unless (equal jcs-mode--state 'view) ;; unset all the key @@ -314,8 +284,6 @@ To avoid syntax highlighting error for comment.") (dolist (key-str jcs-key-list) (define-key view-mode-map key-str nil)))) -(add-hook 'view-mode-hook 'jcs-view-mode-hook) - ;;---------------------------------------------------------------------------- ;;; Modes diff --git a/.emacs.jcs/jcs-package.el b/core/jcs-package.el similarity index 100% rename from .emacs.jcs/jcs-package.el rename to core/jcs-package.el diff --git a/.emacs.jcs/jcs-plugin.el b/core/jcs-plugin.el similarity index 99% rename from .emacs.jcs/jcs-plugin.el rename to core/jcs-plugin.el index fdd21c75c..1004e374f 100644 --- a/.emacs.jcs/jcs-plugin.el +++ b/core/jcs-plugin.el @@ -380,7 +380,7 @@ (leaf file-header :init - (setq file-header-template-config-filepath "~/.emacs.jcs/template/template_config.properties")) + (setq file-header-template-config-filepath "~/.emacs.d/template/config.properties")) (leaf flx-rs :init @@ -995,8 +995,8 @@ :init ;; List of TTF fonts you want to use in the currnet OS. (setq use-ttf-default-ttf-fonts - '("/.emacs.jcs/fonts/clacon.ttf" - "/.emacs.jcs/fonts/UbuntuMono-R.ttf")) + '("/.emacs.d/fonts/clacon.ttf" + "/.emacs.d/fonts/UbuntuMono-R.ttf")) ;; Name of the font we want to use as default. ;; This you need to check the font name in the system manually. (setq use-ttf-default-ttf-font-name "Ubuntu Mono")) diff --git a/.emacs.jcs/jcs-project.el b/core/jcs-project.el similarity index 99% rename from .emacs.jcs/jcs-project.el rename to core/jcs-project.el index 48f9ddfaa..041b16ead 100644 --- a/.emacs.jcs/jcs-project.el +++ b/core/jcs-project.el @@ -67,7 +67,7 @@ If optional argument DIR is nil, use variable `default-directory' instead." (defun jcs-project-list-clean () "Clean up the project list if the project no longer exists." - (unless (bound-and-true-p jcs-ci) + (when after-init-time (project--ensure-read-project-list) (let (pr-lst) (dolist (pr project--list) diff --git a/.emacs.jcs/jcs-template.el b/core/jcs-template.el similarity index 99% rename from .emacs.jcs/jcs-template.el rename to core/jcs-template.el index 76fc8198d..2d6324dff 100644 --- a/.emacs.jcs/jcs-template.el +++ b/core/jcs-template.el @@ -2,7 +2,7 @@ ;;; Commentary: ;;; Code: -(defconst jcs-template-dir "~/.emacs.jcs/template/" +(defconst jcs-template-dir "~/.emacs.d/template/" "Template directory path for file headers.") ;; diff --git a/.emacs.jcs/jcs-theme.el b/core/jcs-theme.el similarity index 100% rename from .emacs.jcs/jcs-theme.el rename to core/jcs-theme.el diff --git a/.emacs.jcs/mode/jcs-actionscript-mode.el b/core/mode/jcs-actionscript-mode.el similarity index 90% rename from .emacs.jcs/mode/jcs-actionscript-mode.el rename to core/mode/jcs-actionscript-mode.el index 709b0c6ee..b68388b42 100644 --- a/.emacs.jcs/mode/jcs-actionscript-mode.el +++ b/core/mode/jcs-actionscript-mode.el @@ -16,8 +16,9 @@ ;; (@* "Hook" ) ;; -(defun jcs-actionscript-mode-hook () - "ActionScript mode hook." +(add-hook 'actionscript-mode-hook 'jcs-prog-mode-hook) + +(jcs-add-hook 'actionscript-mode-hook (jcs-use-cc-mutliline-comment) (setq-local docstr-show-type-name nil) @@ -42,8 +43,5 @@ (jcs-bind-key (kbd "C-v") #'jcs-smart-yank)) -(add-hook 'actionscript-mode-hook 'jcs-prog-mode-hook) -(add-hook 'actionscript-mode-hook 'jcs-actionscript-mode-hook) - (provide 'jcs-actionscript-mode) ;;; jcs-actionscript-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-ada-mode.el b/core/mode/jcs-ada-mode.el similarity index 82% rename from .emacs.jcs/mode/jcs-ada-mode.el rename to core/mode/jcs-ada-mode.el index 2f9681cd2..959fac76c 100644 --- a/.emacs.jcs/mode/jcs-ada-mode.el +++ b/core/mode/jcs-ada-mode.el @@ -16,13 +16,10 @@ ;; (@* "Hook" ) ;; -(defun jcs-ada-mode-hook () - "Ada mode hook." +(jcs-add-hook 'ada-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]ads") 'jcs-insert-ada-template)) -(add-hook 'ada-mode-hook 'jcs-ada-mode-hook) - (provide 'jcs-ada-mode) ;;; jcs-ada-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-agda-mode.el b/core/mode/jcs-agda-mode.el similarity index 82% rename from .emacs.jcs/mode/jcs-agda-mode.el rename to core/mode/jcs-agda-mode.el index 45dc26f2b..a5c065d34 100644 --- a/.emacs.jcs/mode/jcs-agda-mode.el +++ b/core/mode/jcs-agda-mode.el @@ -16,13 +16,10 @@ ;; (@* "Hook" ) ;; -(defun jcs-agda-mode-hook () - "Agda mode hook." +(jcs-add-hook 'agda2-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]agda" "[.]lagda") 'jcs-insert-agda-template)) -(add-hook 'agda2-mode-hook 'jcs-agda-mode-hook) - (provide 'jcs-agda-mode) ;;; jcs-agda-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-applescript-mode.el b/core/mode/jcs-applescript-mode.el similarity index 81% rename from .emacs.jcs/mode/jcs-applescript-mode.el rename to core/mode/jcs-applescript-mode.el index 4e12ed7e3..2d79df73b 100644 --- a/.emacs.jcs/mode/jcs-applescript-mode.el +++ b/core/mode/jcs-applescript-mode.el @@ -16,13 +16,10 @@ ;; (@* "Hook" ) ;; -(defun jcs-applescript-mode-hook () - "Hook for AppleScript." +(jcs-add-hook 'applescript-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]applescript" "[.]scpt" "[.]scptd") 'jcs-insert-applescript-template)) -(add-hook 'applescript-mode-hook 'jcs-applescript-mode-hook) - (provide 'jcs-applescript-mode) ;;; jcs-applescript-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-asm-mode.el b/core/mode/jcs-asm-mode.el similarity index 96% rename from .emacs.jcs/mode/jcs-asm-mode.el rename to core/mode/jcs-asm-mode.el index 34984e275..1210d0244 100644 --- a/.emacs.jcs/mode/jcs-asm-mode.el +++ b/core/mode/jcs-asm-mode.el @@ -140,8 +140,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-masm-mode-hook () - "MASM mode hook." +(jcs-add-hook 'masm-mode-hook (electric-pair-mode nil) (modify-syntax-entry ?_ "w") @@ -155,10 +154,7 @@ (jcs-bind-key (kbd "RET") #'jcs-asm-return) (jcs-bind-key (kbd ";") #'jcs-asm-comment)) -(add-hook 'masm-mode-hook 'jcs-masm-mode-hook) - -(defun jcs-nasm-mode-hook () - "NASM mode hook." +(jcs-add-hook 'nasm-mode-hook (electric-pair-mode nil) (modify-syntax-entry ?_ "w") @@ -173,7 +169,5 @@ (jcs-bind-key (kbd "RET") #'jcs-asm-return) (jcs-bind-key (kbd ";") #'jcs-asm-comment)) -(add-hook 'nasm-mode-hook 'jcs-nasm-mode-hook) - (provide 'jcs-asm-mode) ;;; jcs-asm-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-basic-mode.el b/core/mode/jcs-basic-mode.el similarity index 81% rename from .emacs.jcs/mode/jcs-basic-mode.el rename to core/mode/jcs-basic-mode.el index 46e2a26fd..168f4732d 100644 --- a/.emacs.jcs/mode/jcs-basic-mode.el +++ b/core/mode/jcs-basic-mode.el @@ -16,14 +16,10 @@ ;; (@* "Hook" ) ;; -(defun jcs-basic-mode-hook () - "Hook for `basic-mode'." - +(jcs-add-hook 'basic-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]bas") 'jcs-insert-basic-template)) -(add-hook 'basic-mode-hook 'jcs-basic-mode-hook) - (provide 'jcs-basic-mode) ;;; jcs-basic-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-batch-mode.el b/core/mode/jcs-batch-mode.el similarity index 87% rename from .emacs.jcs/mode/jcs-batch-mode.el rename to core/mode/jcs-batch-mode.el index a48af0df6..19202c92c 100644 --- a/.emacs.jcs/mode/jcs-batch-mode.el +++ b/core/mode/jcs-batch-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-batch-mode-hook () - "Batch mode hook." - +(jcs-add-hook 'bat-mode-hook (setq comment-start "::") (modify-syntax-entry ?_ "w") @@ -31,7 +29,5 @@ (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'previous)) (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'next))) -(add-hook 'bat-mode-hook 'jcs-batch-mode-hook) - (provide 'jcs-batch-mode) ;;; jcs-batch-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-c++-mode.el b/core/mode/jcs-c++-mode.el similarity index 97% rename from .emacs.jcs/mode/jcs-c++-mode.el rename to core/mode/jcs-c++-mode.el index 73b2e4607..056d66c13 100644 --- a/.emacs.jcs/mode/jcs-c++-mode.el +++ b/core/mode/jcs-c++-mode.el @@ -89,8 +89,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-c++-mode-hook () - "C++ mode handling" +(jcs-add-hook 'c++-mode-hook (add-hook 'docstr-after-insert-hook 'jcs-c++--docstr-after nil t) (jcs-company-safe-add-backend 'company-c-headers) @@ -120,7 +119,5 @@ (jcs-bind-key (kbd "C-z") #'jcs-undo) (jcs-bind-key (kbd "C-y") #'jcs-redo)) -(add-hook 'c++-mode-hook 'jcs-c++-mode-hook) - (provide 'jcs-c++-mode) ;;; jcs-c++-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-c-mode.el b/core/mode/jcs-c-mode.el similarity index 92% rename from .emacs.jcs/mode/jcs-c-mode.el rename to core/mode/jcs-c-mode.el index 9a1cdffc8..dbbeca5f6 100644 --- a/.emacs.jcs/mode/jcs-c-mode.el +++ b/core/mode/jcs-c-mode.el @@ -20,9 +20,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-c-mode-hook () - "C mode handling" - +(jcs-add-hook 'c-mode-hook (jcs-company-safe-add-backend 'company-c-headers) ;; File Header @@ -48,7 +46,5 @@ (jcs-bind-key (kbd "C-z") #'jcs-undo) (jcs-bind-key (kbd "C-y") #'jcs-redo)) -(add-hook 'c-mode-hook 'jcs-c-mode-hook) - (provide 'jcs-c-mode) ;;; jcs-c-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-cc-mode.el b/core/mode/jcs-cc-mode.el similarity index 98% rename from .emacs.jcs/mode/jcs-cc-mode.el rename to core/mode/jcs-cc-mode.el index 9d5cbe3df..1901e1abb 100644 --- a/.emacs.jcs/mode/jcs-cc-mode.el +++ b/core/mode/jcs-cc-mode.el @@ -136,8 +136,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-cc-mode-hook () - "C/C++ mode hook." +(jcs-add-hook 'c-mode-common-hook (jcs-use-cc-mutliline-comment) (jcs-company-safe-add-backend 'company-clang) @@ -150,7 +149,5 @@ (modify-syntax-entry ?_ "w")) -(add-hook 'c-mode-common-hook 'jcs-cc-mode-hook) - (provide 'jcs-cc-mode) ;;; jcs-cc-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-clojure-mode.el b/core/mode/jcs-clojure-mode.el similarity index 83% rename from .emacs.jcs/mode/jcs-clojure-mode.el rename to core/mode/jcs-clojure-mode.el index 5290184b4..f79d18489 100644 --- a/.emacs.jcs/mode/jcs-clojure-mode.el +++ b/core/mode/jcs-clojure-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-clojure-mode-hook () - "Clojure mode hook." - +(jcs-add-hook 'clojure-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -26,7 +24,5 @@ (jcs-insert-header-if-valid '("[.]clj") 'jcs-insert-clojure-template)) -(add-hook 'clojure-mode-hook 'jcs-clojure-mode-hook) - (provide 'jcs-clojure-mode) ;;; jcs-clojure-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-cmake-mode.el b/core/mode/jcs-cmake-mode.el similarity index 88% rename from .emacs.jcs/mode/jcs-cmake-mode.el rename to core/mode/jcs-cmake-mode.el index a469b2d73..4162608f2 100644 --- a/.emacs.jcs/mode/jcs-cmake-mode.el +++ b/core/mode/jcs-cmake-mode.el @@ -19,9 +19,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-cmake-mode-hook () - "CMake mode hook." - +(jcs-add-hook 'cmake-mode-hook (jcs-company-safe-add-backend 'company-cmake) ;; File Header @@ -33,7 +31,5 @@ (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'next)) (jcs-bind-key (kbd "RET") #'jcs-makefile-newline)) -(add-hook 'cmake-mode-hook 'jcs-cmake-mode-hook) - (provide 'jcs-cmake-mode) ;;; jcs-cmake-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-cobol-mode.el b/core/mode/jcs-cobol-mode.el similarity index 86% rename from .emacs.jcs/mode/jcs-cobol-mode.el rename to core/mode/jcs-cobol-mode.el index 751243f0e..06d226af7 100644 --- a/.emacs.jcs/mode/jcs-cobol-mode.el +++ b/core/mode/jcs-cobol-mode.el @@ -16,8 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-cobol-mode-hook () - "COBOL mode hook." +(jcs-add-hook 'cobol-mode-hook (electric-pair-mode nil) ;; File Header @@ -28,7 +27,5 @@ (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'previous)) (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'next))) -(add-hook 'cobol-mode-hook 'jcs-cobol-mode-hook) - (provide 'jcs-cobol-mode) ;;; jcs-cobol-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-csharp-mode.el b/core/mode/jcs-csharp-mode.el similarity index 95% rename from .emacs.jcs/mode/jcs-csharp-mode.el rename to core/mode/jcs-csharp-mode.el index 3cc4a3b43..212dc2532 100644 --- a/.emacs.jcs/mode/jcs-csharp-mode.el +++ b/core/mode/jcs-csharp-mode.el @@ -54,9 +54,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-csharp-mode-hook () - "Hook for C# mode." - +(jcs-add-hook 'csharp-mode-hook (setq-local docstr-show-type-name nil) (modify-syntax-entry ?_ "w") @@ -81,7 +79,5 @@ (jcs-bind-key (kbd "M-q") #'jcs-other-window-prev)) -(add-hook 'csharp-mode-hook 'jcs-csharp-mode-hook) - (provide 'jcs-csharp-mode) ;;; jcs-csharp-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-css-mode.el b/core/mode/jcs-css-mode.el similarity index 93% rename from .emacs.jcs/mode/jcs-css-mode.el rename to core/mode/jcs-css-mode.el index 257afd533..391e8b4f1 100644 --- a/.emacs.jcs/mode/jcs-css-mode.el +++ b/core/mode/jcs-css-mode.el @@ -29,8 +29,9 @@ ;; (@* "Hook" ) ;; -(defun jcs-css-mode-hook () - "Hook for CSS mode." +(add-hook 'css-mode-hook 'emmet-mode) + +(jcs-add-hook 'css-mode-hook (impatient-mode t) ;; File Header @@ -52,8 +53,5 @@ ;; Eemmet (define-key emmet-mode-keymap (kbd "C-") #'jcs-emmet-expand-line)) -(add-hook 'css-mode-hook 'jcs-css-mode-hook) -(add-hook 'css-mode-hook 'emmet-mode) - (provide 'jcs-css-mode) ;;; jcs-css-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-dart-mode.el b/core/mode/jcs-dart-mode.el similarity index 83% rename from .emacs.jcs/mode/jcs-dart-mode.el rename to core/mode/jcs-dart-mode.el index 33f07e2a1..bf64cc9e8 100644 --- a/.emacs.jcs/mode/jcs-dart-mode.el +++ b/core/mode/jcs-dart-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-dart-mode-hook () - "Dart mode hook." - +(jcs-add-hook 'dart-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -26,7 +24,5 @@ (jcs-insert-header-if-valid '("[.]dart") 'jcs-insert-dart-template)) -(add-hook 'dart-mode-hook 'jcs-dart-mode-hook) - (provide 'jcs-dart-mode) ;;; jcs-dart-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-dockerfile-mode.el b/core/mode/jcs-dockerfile-mode.el similarity index 75% rename from .emacs.jcs/mode/jcs-dockerfile-mode.el rename to core/mode/jcs-dockerfile-mode.el index f92111cc3..9c7ef8272 100644 --- a/.emacs.jcs/mode/jcs-dockerfile-mode.el +++ b/core/mode/jcs-dockerfile-mode.el @@ -8,14 +8,10 @@ ;; (@* "Hook" ) ;; -(defun jcs-dockerfile-mode-hook () - "Dokerfile mode hook." - +(jcs-add-hook 'dockerfile-mode-hook ;; Normal (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'previous)) (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'next))) -(add-hook 'dockerfile-mode-hook 'jcs-dockerfile-mode-hook) - (provide 'jcs-dockerfile-mode) ;;; jcs-dockerfile-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-elixir-mode.el b/core/mode/jcs-elixir-mode.el similarity index 84% rename from .emacs.jcs/mode/jcs-elixir-mode.el rename to core/mode/jcs-elixir-mode.el index ea16ef883..7e1c10192 100644 --- a/.emacs.jcs/mode/jcs-elixir-mode.el +++ b/core/mode/jcs-elixir-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-elixir-mode-hook () - "Elixir mode hook." - +(jcs-add-hook 'elixir-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -28,7 +26,5 @@ "[.]exs") 'jcs-insert-elixir-template)) -(add-hook 'elixir-mode-hook 'jcs-elixir-mode-hook) - (provide 'jcs-elixir-mode) ;;; jcs-elixir-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-elm-mode.el b/core/mode/jcs-elm-mode.el similarity index 83% rename from .emacs.jcs/mode/jcs-elm-mode.el rename to core/mode/jcs-elm-mode.el index d1fa3434b..26b1f948e 100644 --- a/.emacs.jcs/mode/jcs-elm-mode.el +++ b/core/mode/jcs-elm-mode.el @@ -11,21 +11,16 @@ (defun jcs-insert-elm-template () "Template for Elm." (jcs--file-header--insert "elm" "default.txt")) - ;; ;; (@* "Hook" ) ;; -(defun jcs-elm-mode-hook () - "Elm mode hook." - +(jcs-add-hook 'elm-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") ;; File Header (jcs-insert-header-if-valid '("[.]elm") 'jcs-insert-elm-template)) -(add-hook 'elm-mode-hook 'jcs-elm-mode-hook) - (provide 'jcs-elm-mode) ;;; jcs-elm-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-erlang-mode.el b/core/mode/jcs-erlang-mode.el similarity index 86% rename from .emacs.jcs/mode/jcs-erlang-mode.el rename to core/mode/jcs-erlang-mode.el index a0d7afc87..4c0c8298b 100644 --- a/.emacs.jcs/mode/jcs-erlang-mode.el +++ b/core/mode/jcs-erlang-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-erlang-mode-hook () - "Erlang mode hook." - +(jcs-add-hook 'erlang-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -31,7 +29,5 @@ (jcs-bind-key (kbd "M-w") #'jcs-other-window-next) (jcs-bind-key (kbd "M-q") #'jcs-other-window-prev)) -(add-hook 'erlang-mode-hook 'jcs-erlang-mode-hook) - (provide 'jcs-erlang-mode) ;;; jcs-erlang-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-fountain-mode.el b/core/mode/jcs-fountain-mode.el similarity index 81% rename from .emacs.jcs/mode/jcs-fountain-mode.el rename to core/mode/jcs-fountain-mode.el index 9c0d0592c..1fab3f943 100644 --- a/.emacs.jcs/mode/jcs-fountain-mode.el +++ b/core/mode/jcs-fountain-mode.el @@ -16,13 +16,10 @@ ;; (@* "Hook" ) ;; -(defun jcs-fountain-mode-hook () - "Fountain mode hook." +(jcs-add-hook 'fountain-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]fountain") 'jcs-insert-fountain-template)) -(add-hook 'fountain-mode-hook 'jcs-fountain-mode-hook) - (provide 'jcs-fountain-mode) ;;; jcs-fountain-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-fsharp-mode.el b/core/mode/jcs-fsharp-mode.el similarity index 81% rename from .emacs.jcs/mode/jcs-fsharp-mode.el rename to core/mode/jcs-fsharp-mode.el index 8a7bf4c46..5cf6e292c 100644 --- a/.emacs.jcs/mode/jcs-fsharp-mode.el +++ b/core/mode/jcs-fsharp-mode.el @@ -16,14 +16,10 @@ ;; (@* "Hook" ) ;; -(defun jcs-fsharp-mode-hook () - "Hook for F# mode." - +(jcs-add-hook 'fsharp-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]fs") 'jcs-insert-fsharp-template)) -(add-hook 'fsharp-mode-hook 'jcs-fsharp-mode-hook) - (provide 'jcs-fsharp-mode) ;;; jcs-fsharp-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-gdscript-mode.el b/core/mode/jcs-gdscript-mode.el similarity index 82% rename from .emacs.jcs/mode/jcs-gdscript-mode.el rename to core/mode/jcs-gdscript-mode.el index e8ea934f5..7577ca377 100644 --- a/.emacs.jcs/mode/jcs-gdscript-mode.el +++ b/core/mode/jcs-gdscript-mode.el @@ -15,9 +15,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-gdscript-mode-hook () - "Godot Script mode hook." - +(jcs-add-hook 'gdscript-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -25,7 +23,5 @@ (jcs-insert-header-if-valid '("[.]gd") 'jcs-insert-gdscript-template)) -(add-hook 'gdscript-mode-hook 'jcs-gdscript-mode-hook) - (provide 'jcs-gdscript-mode) ;;; jcs-gdscript-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-git-mode.el b/core/mode/jcs-git-mode.el similarity index 82% rename from .emacs.jcs/mode/jcs-git-mode.el rename to core/mode/jcs-git-mode.el index 87ff63f21..c87641040 100644 --- a/.emacs.jcs/mode/jcs-git-mode.el +++ b/core/mode/jcs-git-mode.el @@ -22,18 +22,14 @@ ;; (@* "Hook" ) ;; -(defun jcs-gitattributes-mode-hook () - "Gitattributes mode hook." +(jcs-add-hook 'gitattributes-mode-hook (electric-pair-mode nil) ;; Normal (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'previous)) (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'next))) -(add-hook 'gitattributes-mode-hook 'jcs-gitattributes-mode-hook) - -(defun jcs-gitconfig-mode-hook () - "Gitconfig mode hook." +(jcs-add-hook 'gitconfig-mode-hook (electric-pair-mode nil) ;; Normal @@ -42,10 +38,7 @@ (jcs-bind-key (kbd "C-d") #'jcs-kill-whole-line) (jcs-bind-key (kbd "C-c C-c") #'kill-ring-save)) -(add-hook 'gitconfig-mode-hook 'jcs-gitconfig-mode-hook) - -(defun jcs-gitignore-mode-hook () - "Gitignore mode hook." +(jcs-add-hook 'gitignore-mode-hook (electric-pair-mode nil) (jcs-insert-header-if-valid '("[.]gitignore") @@ -62,7 +55,5 @@ (jcs-bind-key (kbd "C-d") #'jcs-kill-whole-line) (jcs-bind-key (kbd "C-c C-c") #'kill-ring-save)) -(add-hook 'gitignore-mode-hook 'jcs-gitignore-mode-hook) - (provide 'jcs-git-mode) ;;; jcs-git-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-go-mode.el b/core/mode/jcs-go-mode.el similarity index 87% rename from .emacs.jcs/mode/jcs-go-mode.el rename to core/mode/jcs-go-mode.el index a72fc4980..4934d9841 100644 --- a/.emacs.jcs/mode/jcs-go-mode.el +++ b/core/mode/jcs-go-mode.el @@ -16,8 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-go-mode-hook () - "Go mode hook." +(jcs-add-hook 'go-mode-hook (jcs-use-cc-mutliline-comment) (setq-local docstr-show-type-name nil) @@ -28,7 +27,5 @@ (jcs-insert-header-if-valid '("[.]go") 'jcs-insert-go-template)) -(add-hook 'go-mode-hook 'jcs-go-mode-hook) - (provide 'jcs-go-mode) ;;; jcs-go-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-groovy-mode.el b/core/mode/jcs-groovy-mode.el similarity index 83% rename from .emacs.jcs/mode/jcs-groovy-mode.el rename to core/mode/jcs-groovy-mode.el index 163dfa8d5..cd5bcd05b 100644 --- a/.emacs.jcs/mode/jcs-groovy-mode.el +++ b/core/mode/jcs-groovy-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-groovy-mode-hook () - "Hook for `groovy-mode'." - +(jcs-add-hook 'groovy-mode-hook (setq-local docstr-show-type-name nil) ;; File Header @@ -26,7 +24,5 @@ "[.]gradle") 'jcs-insert-groovy-template)) -(add-hook 'groovy-mode-hook 'jcs-groovy-mode-hook) - (provide 'jcs-groovy-mode) ;;; jcs-groovy-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-haskell-mode.el b/core/mode/jcs-haskell-mode.el similarity index 81% rename from .emacs.jcs/mode/jcs-haskell-mode.el rename to core/mode/jcs-haskell-mode.el index 691e20de9..dac909d3a 100644 --- a/.emacs.jcs/mode/jcs-haskell-mode.el +++ b/core/mode/jcs-haskell-mode.el @@ -16,14 +16,10 @@ ;; (@* "Hook" ) ;; -(defun jcs-haskell-mode-hook () - "Haskell mode hook." - +(jcs-add-hook 'haskell-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]hs") 'jcs-insert-haskell-template)) -(add-hook 'haskell-mode-hook 'jcs-haskell-mode-hook) - (provide 'jcs-haskell-mode) ;;; jcs-haskell-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-haxe-mode.el b/core/mode/jcs-haxe-mode.el similarity index 92% rename from .emacs.jcs/mode/jcs-haxe-mode.el rename to core/mode/jcs-haxe-mode.el index d0c9f7ea5..83d0ad14a 100644 --- a/.emacs.jcs/mode/jcs-haxe-mode.el +++ b/core/mode/jcs-haxe-mode.el @@ -16,9 +16,9 @@ ;; (@* "Hook" ) ;; -(defun jcs-haxe-mode-hook () - "Haxe mode hook." +(add-hook 'haxe-mode-hook 'jcs-prog-mode-hook) +(jcs-add-hook 'haxe-mode-hook (modify-syntax-entry ?_ "w") ;; File Header @@ -42,8 +42,5 @@ (jcs-bind-key (kbd "M-w") #'jcs-other-window-next) (jcs-bind-key (kbd "M-q") #'jcs-other-window-prev)) -(add-hook 'haxe-mode-hook 'jcs-prog-mode-hook) -(add-hook 'haxe-mode-hook 'jcs-haxe-mode-hook) - (provide 'jcs-haxe-mode) ;;; jcs-haxe-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-ini-mode.el b/core/mode/jcs-ini-mode.el similarity index 80% rename from .emacs.jcs/mode/jcs-ini-mode.el rename to core/mode/jcs-ini-mode.el index 0d9912188..21a1fe538 100644 --- a/.emacs.jcs/mode/jcs-ini-mode.el +++ b/core/mode/jcs-ini-mode.el @@ -8,9 +8,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-ini-mode-hook () - "INI mode hook." - +(jcs-add-hook 'ini-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -18,7 +16,5 @@ (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'previous)) (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'next))) -(add-hook 'ini-mode-hook 'jcs-ini-mode-hook) - (provide 'jcs-ini-mode) ;;; jcs-ini-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-java-mode.el b/core/mode/jcs-java-mode.el similarity index 98% rename from .emacs.jcs/mode/jcs-java-mode.el rename to core/mode/jcs-java-mode.el index 7c4df8a3e..fe14229af 100644 --- a/.emacs.jcs/mode/jcs-java-mode.el +++ b/core/mode/jcs-java-mode.el @@ -143,9 +143,7 @@ Including adding or removing the package path." ;; (@* "Hook" ) ;; -(defun jcs-java-mode-hook () - "Java mode hook." - +(jcs-add-hook 'java-mode-hook (setq-local docstr-show-type-name nil) ;; Treat underscore as word. @@ -171,7 +169,5 @@ Including adding or removing the package path." (jcs-bind-key (kbd "") #'javadoc-lookup) (jcs-bind-key (kbd "S-") #'javadoc-lookup)) -(add-hook 'java-mode-hook 'jcs-java-mode-hook) - (provide 'jcs-java-mode) ;;; jcs-java-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-jayces-mode.el b/core/mode/jcs-jayces-mode.el similarity index 84% rename from .emacs.jcs/mode/jcs-jayces-mode.el rename to core/mode/jcs-jayces-mode.el index 83d3af355..29fa38a84 100644 --- a/.emacs.jcs/mode/jcs-jayces-mode.el +++ b/core/mode/jcs-jayces-mode.el @@ -16,19 +16,14 @@ ;; (@* "Hook" ) ;; -(defun jcs-jayces-mode-hook () - "JayCeS mode hook." - +(jcs-add-hook 'jayces-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") - ;; File Header (jcs-insert-header-if-valid '("[.]jcs" "[.]jayces") 'jcs-insert-jayces-template)) -(add-hook 'jayces-mode-hook 'jcs-jayces-mode-hook) - (provide 'jcs-jayces-mode) ;;; jcs-jayces-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-jenkinsfile-mode.el b/core/mode/jcs-jenkinsfile-mode.el similarity index 79% rename from .emacs.jcs/mode/jcs-jenkinsfile-mode.el rename to core/mode/jcs-jenkinsfile-mode.el index cb9ce6eea..07a451656 100644 --- a/.emacs.jcs/mode/jcs-jenkinsfile-mode.el +++ b/core/mode/jcs-jenkinsfile-mode.el @@ -16,12 +16,9 @@ ;; (@* "Hook" ) ;; -(defun jcs-jenkinsfile-mode-hook () - "Jenkinsfile mode hook." +(jcs-add-hook 'jenkinsfile-mode-hook (jcs-insert-header-if-valid '("Jenkinsfile") 'jcs-insert-jenkinsfile-template)) -(add-hook 'jenkinsfile-mode-hook 'jcs-jenkinsfile-mode-hook) - (provide 'jcs-jenkinsfile-mode) ;;; jcs-jenkinsfile-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-js-mode.el b/core/mode/jcs-js-mode.el similarity index 93% rename from .emacs.jcs/mode/jcs-js-mode.el rename to core/mode/jcs-js-mode.el index b4e0a7ead..f120e4638 100644 --- a/.emacs.jcs/mode/jcs-js-mode.el +++ b/core/mode/jcs-js-mode.el @@ -44,8 +44,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-js-mode-hook () - "Mode hook for JavaScript mode." +(jcs-add-hook '(js-mode-hook js2-mode-hook) (auto-rename-tag-mode 1) (impatient-mode t) (js2-minor-mode 1) @@ -67,8 +66,5 @@ (jcs--js-to-jsx-mode)) -(add-hook 'js-mode-hook 'jcs-js-mode-hook) -(add-hook 'js2-mode-hook 'jcs-js-mode-hook) - (provide 'jcs-js-mode) ;;; jcs-js-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-json-mode.el b/core/mode/jcs-json-mode.el similarity index 89% rename from .emacs.jcs/mode/jcs-json-mode.el rename to core/mode/jcs-json-mode.el index bf8186e2f..e53a498c5 100644 --- a/.emacs.jcs/mode/jcs-json-mode.el +++ b/core/mode/jcs-json-mode.el @@ -17,8 +17,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-json-mode-hook () - "JSON mode hook." +(jcs-add-hook 'json-mode-hook (js2-minor-mode -1) (remove-hook 'after-change-functions 'js2-minor-mode-edit t) @@ -33,7 +32,5 @@ (jcs-bind-key (kbd "{") #'jcs-vs-opening-curly-bracket-key) (jcs-bind-key (kbd ";") #'jcs-vs-semicolon-key)) -(add-hook 'json-mode-hook 'jcs-json-mode-hook) - (provide 'jcs-json-mode) ;;; jcs-json-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-jsx-mode.el b/core/mode/jcs-jsx-mode.el similarity index 94% rename from .emacs.jcs/mode/jcs-jsx-mode.el rename to core/mode/jcs-jsx-mode.el index 15a4e05d1..6e75d1c0e 100644 --- a/.emacs.jcs/mode/jcs-jsx-mode.el +++ b/core/mode/jcs-jsx-mode.el @@ -48,8 +48,9 @@ ;; (@* "Hook" ) ;; -(defun jcs-jsx-mode-hook () - "Mode hook for JSX mode." +(add-hook 'rjsx-mode-hook 'emmet-mode) + +(jcs-add-hook 'rjsx-mode-hook (auto-rename-tag-mode 1) ;; File Header @@ -64,8 +65,6 @@ ;; Emmet (define-key emmet-mode-keymap (kbd "C-") #'jcs-emmet-expand-line)) -(add-hook 'rjsx-mode-hook 'jcs-jsx-mode-hook) -(add-hook 'rjsx-mode-hook 'emmet-mode) (provide 'jcs-jsx-mode) ;;; jcs-jsx-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-kotlin-mode.el b/core/mode/jcs-kotlin-mode.el similarity index 84% rename from .emacs.jcs/mode/jcs-kotlin-mode.el rename to core/mode/jcs-kotlin-mode.el index a27527a85..9a1a0c20d 100644 --- a/.emacs.jcs/mode/jcs-kotlin-mode.el +++ b/core/mode/jcs-kotlin-mode.el @@ -16,15 +16,12 @@ ;; (@* "Hook" ) ;; -(defun jcs-kotlin-mode-hook () - "Kotlin mode hook." +(jcs-add-hook 'kotlin-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]kt" "[.]ktm" "[.]kts") 'jcs-insert-kotlin-template)) -(add-hook 'kotlin-mode-hook 'jcs-kotlin-mode-hook) - (provide 'jcs-kotlin-mode) ;;; jcs-kotlin-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-less-css-mode.el b/core/mode/jcs-less-css-mode.el similarity index 81% rename from .emacs.jcs/mode/jcs-less-css-mode.el rename to core/mode/jcs-less-css-mode.el index 7d8714c51..abc153b08 100644 --- a/.emacs.jcs/mode/jcs-less-css-mode.el +++ b/core/mode/jcs-less-css-mode.el @@ -17,14 +17,10 @@ ;; (@* "Hook" ) ;; -(defun jcs-less-css-mode-hook () - "LESS CSS mode hook." - +(jcs-add-hook 'less-css-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]less") 'jcs-insert-less-template)) -(add-hook 'less-css-mode-hook 'jcs-less-css-mode-hook) - (provide 'jcs-less-css-mode) ;;; jcs-less-css-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-lua-mode.el b/core/mode/jcs-lua-mode.el similarity index 90% rename from .emacs.jcs/mode/jcs-lua-mode.el rename to core/mode/jcs-lua-mode.el index 344b4dcbc..28896136f 100644 --- a/.emacs.jcs/mode/jcs-lua-mode.el +++ b/core/mode/jcs-lua-mode.el @@ -23,9 +23,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-lua-mode-hook () - "Lau mode hook." - +(jcs-add-hook 'lua-mode-hook (jcs-elec-pair-add '((?\[ . ?\]))) (setq-local electric-pair-inhibit-predicate 'jcs-lua--electric-pair-inhibit-predicate) @@ -37,7 +35,5 @@ (jcs-insert-header-if-valid '("[.]lua" "[.]luac") 'jcs-insert-lua-template)) -(add-hook 'lua-mode-hook 'jcs-lua-mode-hook) - (provide 'jcs-lua-mode) ;;; jcs-lua-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-make-mode.el b/core/mode/jcs-make-mode.el similarity index 97% rename from .emacs.jcs/mode/jcs-make-mode.el rename to core/mode/jcs-make-mode.el index d0e5ea1a8..49f32a5ad 100644 --- a/.emacs.jcs/mode/jcs-make-mode.el +++ b/core/mode/jcs-make-mode.el @@ -108,8 +108,7 @@ TYPE: type of makefile for Python." ;; (@* "Hook" ) ;; -(defun jcs-makefile-mode-hook () - "Makefile mode hook." +(jcs-add-hook 'makefile-mode-hook (electric-pair-mode nil) ;; File Header @@ -124,7 +123,5 @@ TYPE: type of makefile for Python." (jcs-bind-key (kbd "RET") #'jcs-makefile-newline) (jcs-bind-key (kbd "C-v") #'yank)) -(add-hook 'makefile-mode-hook 'jcs-makefile-mode-hook) - (provide 'jcs-make-mode) ;;; jcs-make-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-markdown-mode.el b/core/mode/jcs-markdown-mode.el similarity index 98% rename from .emacs.jcs/mode/jcs-markdown-mode.el rename to core/mode/jcs-markdown-mode.el index b0c8271b5..f2e3b5b2a 100644 --- a/.emacs.jcs/mode/jcs-markdown-mode.el +++ b/core/mode/jcs-markdown-mode.el @@ -78,8 +78,13 @@ ;; (@* "Hook" ) ;; +(add-hook 'markdown-mode-hook 'emmet-mode) + (defun jcs-markdown-mode-hook () "Markdown mode hook." + ) + +(jcs-add-hook 'markdown-mode-hook (emojify-mode 1) (jcs-safe-er/expand-list '(web-mode-mark-and-expand) t) @@ -101,8 +106,6 @@ ;; Eemmet (define-key emmet-mode-keymap (kbd "C-") #'jcs-emmet-expand-line)) -(add-hook 'markdown-mode-hook 'jcs-markdown-mode-hook) -(add-hook 'markdown-mode-hook 'emmet-mode) (provide 'jcs-markdown-mode) ;;; jcs-markdown-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-message-mode.el b/core/mode/jcs-message-mode.el similarity index 77% rename from .emacs.jcs/mode/jcs-message-mode.el rename to core/mode/jcs-message-mode.el index 53714d101..a27355c47 100644 --- a/.emacs.jcs/mode/jcs-message-mode.el +++ b/core/mode/jcs-message-mode.el @@ -8,15 +8,12 @@ ;; (@* "Hook" ) ;; -(defun jcs-message-mode-hook () - "Message mode hook." +(jcs-add-hook 'message-mode-hook (electric-pair-mode nil) ;; Normal (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'previous)) (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'next))) -(add-hook 'message-mode-hook 'jcs-message-mode-hook) - (provide 'jcs-message-mode) ;;; jcs-message-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-nginx-mode.el b/core/mode/jcs-nginx-mode.el similarity index 82% rename from .emacs.jcs/mode/jcs-nginx-mode.el rename to core/mode/jcs-nginx-mode.el index 40e1ad63f..ec2c50ea9 100644 --- a/.emacs.jcs/mode/jcs-nginx-mode.el +++ b/core/mode/jcs-nginx-mode.el @@ -16,16 +16,12 @@ ;; (@* "Hook" ) ;; -(defun jcs-nginx-mode-hook () - "Hook for `nginx-mode'." - +(jcs-add-hook 'nginx-mode-hook (jcs-company-safe-add-backend 'company-nginx) ;; File Header (jcs-insert-header-if-valid '("[.]conf") 'jcs-insert-nginx-template)) -(add-hook 'nginx-mode-hook 'jcs-nginx-mode-hook) - (provide 'jcs-nginx-mode) ;;; jcs-nginx-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-nix-mode.el b/core/mode/jcs-nix-mode.el similarity index 81% rename from .emacs.jcs/mode/jcs-nix-mode.el rename to core/mode/jcs-nix-mode.el index 71d048058..04b49a83c 100644 --- a/.emacs.jcs/mode/jcs-nix-mode.el +++ b/core/mode/jcs-nix-mode.el @@ -16,14 +16,10 @@ ;; (@* "Hook" ) ;; -(defun jcs-nix-mode-hook () - "Hook for `nix-mode'." - +(jcs-add-hook 'nix-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]nix") 'jcs-insert-nix-template)) -(add-hook 'nix-mode-hook 'jcs-nix-mode-hook) - (provide 'jcs-nix-mode) ;;; jcs-nix-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-objc-mode.el b/core/mode/jcs-objc-mode.el similarity index 93% rename from .emacs.jcs/mode/jcs-objc-mode.el rename to core/mode/jcs-objc-mode.el index 1608fd166..d39e08fea 100644 --- a/.emacs.jcs/mode/jcs-objc-mode.el +++ b/core/mode/jcs-objc-mode.el @@ -18,9 +18,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-objc-mode-hook () - "Objective-C mode hook." - +(jcs-add-hook 'objc-mode-hook (jcs-company-safe-add-backend 'company-c-headers) ;; File Header @@ -52,7 +50,5 @@ (jcs-bind-key (kbd "C-z") #'jcs-undo) (jcs-bind-key (kbd "C-y") #'jcs-redo)) -(add-hook 'objc-mode-hook 'jcs-objc-mode-hook) - (provide 'jcs-objc-mode) ;;; jcs-objc-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-opascal-mode.el b/core/mode/jcs-opascal-mode.el similarity index 85% rename from .emacs.jcs/mode/jcs-opascal-mode.el rename to core/mode/jcs-opascal-mode.el index 0fb4a41df..593485081 100644 --- a/.emacs.jcs/mode/jcs-opascal-mode.el +++ b/core/mode/jcs-opascal-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-opascal-mode-hook () - "Object Pascal mode hook." - +(jcs-add-hook 'opascal-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -30,7 +28,5 @@ ;; Normal (jcs-bind-key (kbd "M-q") #'jcs-other-window-prev)) -(add-hook 'opascal-mode-hook 'jcs-opascal-mode-hook) - (provide 'jcs-opascal-mode) ;;; jcs-opascal-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-org-mode.el b/core/mode/jcs-org-mode.el similarity index 97% rename from .emacs.jcs/mode/jcs-org-mode.el rename to core/mode/jcs-org-mode.el index 10c3a59ed..cfc8954d6 100644 --- a/.emacs.jcs/mode/jcs-org-mode.el +++ b/core/mode/jcs-org-mode.el @@ -130,8 +130,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-org-mode-hook () - "Org mode hook." +(jcs-add-hook 'org-mode-hook ;; Normal (jcs-bind-key (kbd "C-a") #'jcs-mark-whole-buffer) (jcs-bind-key [tab] #'jcs-tab-key) @@ -148,7 +147,5 @@ (jcs-bind-key (kbd "S-") #'jcs-org-table-left) (jcs-bind-key (kbd "S-") #'jcs-org-table-right)) -(add-hook 'org-mode-hook 'jcs-org-mode-hook) - (provide 'jcs-org-mode) ;;; jcs-org-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-pascal-mode.el b/core/mode/jcs-pascal-mode.el similarity index 83% rename from .emacs.jcs/mode/jcs-pascal-mode.el rename to core/mode/jcs-pascal-mode.el index 8d96f77fc..930b6e294 100644 --- a/.emacs.jcs/mode/jcs-pascal-mode.el +++ b/core/mode/jcs-pascal-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-pascal-mode-hook () - "Pascal mode hook." - +(jcs-add-hook 'pascal-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -26,7 +24,5 @@ (jcs-insert-header-if-valid '("[.]pas") 'jcs-insert-pascal-template)) -(add-hook 'pascal-mode-hook 'jcs-pascal-mode-hook) - (provide 'jcs-pascal-mode) ;;; jcs-pascal-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-perl-mode.el b/core/mode/jcs-perl-mode.el similarity index 87% rename from .emacs.jcs/mode/jcs-perl-mode.el rename to core/mode/jcs-perl-mode.el index 29ddb6673..fd65991ba 100644 --- a/.emacs.jcs/mode/jcs-perl-mode.el +++ b/core/mode/jcs-perl-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-perl-mode-hook () - "Perl mode hook." - +(jcs-add-hook 'perl-mode-hook (modify-syntax-entry ?_ "w") ;; File Header @@ -30,7 +28,5 @@ (jcs-bind-key (kbd "{") #'jcs-vs-opening-curly-bracket-key) (jcs-bind-key (kbd ";") #'jcs-vs-semicolon-key)) -(add-hook 'perl-mode-hook 'jcs-perl-mode-hook) - (provide 'jcs-perl-mode) ;;; jcs-perl-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-powershell-mode.el b/core/mode/jcs-powershell-mode.el similarity index 82% rename from .emacs.jcs/mode/jcs-powershell-mode.el rename to core/mode/jcs-powershell-mode.el index b83d3151f..d82b51031 100644 --- a/.emacs.jcs/mode/jcs-powershell-mode.el +++ b/core/mode/jcs-powershell-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-powershell-mode-hook () - "PowerShell mode hook." - +(jcs-add-hook 'powershell-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -26,7 +24,5 @@ (jcs-insert-header-if-valid '("[.]ps1") 'jcs-insert-powershell-template)) -(add-hook 'powershell-mode-hook 'jcs-powershell-mode-hook) - (provide 'jcs-powershell-mode) ;;; jcs-powershell-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-processing-mode.el b/core/mode/jcs-processing-mode.el similarity index 83% rename from .emacs.jcs/mode/jcs-processing-mode.el rename to core/mode/jcs-processing-mode.el index 952d94f9e..35da54927 100644 --- a/.emacs.jcs/mode/jcs-processing-mode.el +++ b/core/mode/jcs-processing-mode.el @@ -16,8 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-processing-mode-hook () - "Hook for processing mode." +(jcs-add-hook 'processing-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -29,7 +28,5 @@ ;; Normal (jcs-bind-key (kbd "DEL") #'jcs-electric-backspace)) -(add-hook 'processing-mode-hook 'jcs-processing-mode-hook) - (provide 'jcs-processing-mode) ;;; jcs-processing-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-properties-mode.el b/core/mode/jcs-properties-mode.el similarity index 80% rename from .emacs.jcs/mode/jcs-properties-mode.el rename to core/mode/jcs-properties-mode.el index 4be52059a..1214012c7 100644 --- a/.emacs.jcs/mode/jcs-properties-mode.el +++ b/core/mode/jcs-properties-mode.el @@ -6,8 +6,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-properties-mode-hook () - "Properties mode hook." +(jcs-add-hook 'conf-javaprop-mode-hook (abbrev-mode 1) (electric-pair-mode 1) (goto-address-mode 1) @@ -20,7 +19,5 @@ (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'previous)) (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'next))) -(add-hook 'conf-javaprop-mode-hook 'jcs-properties-mode-hook) - (provide 'jcs-properties-mode) ;;; jcs-properties-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-python-mode.el b/core/mode/jcs-python-mode.el similarity index 96% rename from .emacs.jcs/mode/jcs-python-mode.el rename to core/mode/jcs-python-mode.el index 2aecb5bba..431bf41af 100644 --- a/.emacs.jcs/mode/jcs-python-mode.el +++ b/core/mode/jcs-python-mode.el @@ -79,9 +79,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-python-mode-hook () - "Python mode hook." - +(jcs-add-hook 'python-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -107,7 +105,5 @@ (jcs-bind-key (kbd "RET") #'jcs-py-return) (jcs-bind-key (kbd "C-v") #'yank)) -(add-hook 'python-mode-hook 'jcs-python-mode-hook) - (provide 'jcs-python-mode) ;;; jcs-python-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-r-mode.el b/core/mode/jcs-r-mode.el similarity index 85% rename from .emacs.jcs/mode/jcs-r-mode.el rename to core/mode/jcs-r-mode.el index d8f5ee863..d8b8290e4 100644 --- a/.emacs.jcs/mode/jcs-r-mode.el +++ b/core/mode/jcs-r-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-r-mode-hook () - "R mode hook." - +(jcs-add-hook 'ess-r-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -26,7 +24,5 @@ (jcs-insert-header-if-valid '("[.]r") 'jcs-insert-r-template)) -(add-hook 'ess-r-mode-hook 'jcs-r-mode-hook) - (provide 'jcs-r-mode) ;;; jcs-r-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-re-builder-mode.el b/core/mode/jcs-re-builder-mode.el similarity index 84% rename from .emacs.jcs/mode/jcs-re-builder-mode.el rename to core/mode/jcs-re-builder-mode.el index e34a744e7..e22e8a84f 100644 --- a/.emacs.jcs/mode/jcs-re-builder-mode.el +++ b/core/mode/jcs-re-builder-mode.el @@ -19,16 +19,12 @@ ;; (@* "Hook" ) ;; -(defun jcs-re-builder-mode-hook () - "Mode hook for `RE-Builder-mode'." - +(jcs-add-hook 'reb-mode-hook ;; Normal (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'previous)) (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'next)) (jcs-bind-key (kbd "M-k") #'jcs-reb-maybe-kill-this-buffer)) -(add-hook 'reb-mode-hook 'jcs-re-builder-mode-hook) - (provide 'jcs-re-builder-mode) ;;; jcs-re-builder-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-ruby-mode.el b/core/mode/jcs-ruby-mode.el similarity index 84% rename from .emacs.jcs/mode/jcs-ruby-mode.el rename to core/mode/jcs-ruby-mode.el index dcb238b56..1d87cb3a2 100644 --- a/.emacs.jcs/mode/jcs-ruby-mode.el +++ b/core/mode/jcs-ruby-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-ruby-mode-hook () - "Ruby mode hook." - +(jcs-add-hook 'ruby-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?@ "w") (modify-syntax-entry ?_ "w") @@ -27,7 +25,5 @@ (jcs-insert-header-if-valid '("[.]rb") 'jcs-insert-ruby-template)) -(add-hook 'ruby-mode-hook 'jcs-ruby-mode-hook) - (provide 'jcs-ruby-mode) ;;; jcs-ruby-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-rust-mode.el b/core/mode/jcs-rust-mode.el similarity index 86% rename from .emacs.jcs/mode/jcs-rust-mode.el rename to core/mode/jcs-rust-mode.el index 3d48e2f4b..2af5deb24 100644 --- a/.emacs.jcs/mode/jcs-rust-mode.el +++ b/core/mode/jcs-rust-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-rust-mode-hook () - "Rust mode hook." - +(jcs-add-hook 'rust-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") (modify-syntax-entry ?! "w") @@ -31,7 +29,5 @@ (jcs-bind-key (kbd "{") #'jcs-vs-opening-curly-bracket-key)) -(add-hook 'rust-mode-hook 'jcs-rust-mode-hook) - (provide 'jcs-rust-mode) ;;; jcs-rust-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-sass-mode.el b/core/mode/jcs-sass-mode.el similarity index 86% rename from .emacs.jcs/mode/jcs-sass-mode.el rename to core/mode/jcs-sass-mode.el index 9e798420a..416345e28 100644 --- a/.emacs.jcs/mode/jcs-sass-mode.el +++ b/core/mode/jcs-sass-mode.el @@ -17,9 +17,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-sass-mode-hook () - "Sass mode hook." - +(jcs-add-hook 'ssass-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]sass") 'jcs-insert-sass-template) @@ -30,7 +28,5 @@ (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'previous)) (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'next))) -(add-hook 'ssass-mode-hook 'jcs-sass-mode-hook) - (provide 'jcs-sass-mode) ;;; jcs-sass-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-scala-mode.el b/core/mode/jcs-scala-mode.el similarity index 82% rename from .emacs.jcs/mode/jcs-scala-mode.el rename to core/mode/jcs-scala-mode.el index 464170e8e..395816362 100644 --- a/.emacs.jcs/mode/jcs-scala-mode.el +++ b/core/mode/jcs-scala-mode.el @@ -16,14 +16,10 @@ ;; (@* "Hook" ) ;; -(defun jcs-scala-mode-hook () - "Scala mode hook." - +(jcs-add-hook 'scala-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]scala") 'jcs-insert-scala-template)) -(add-hook 'scala-mode-hook 'jcs-scala-mode-hook) - (provide 'jcs-scala-mode) ;;; jcs-scala-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-scss-mode.el b/core/mode/jcs-scss-mode.el similarity index 87% rename from .emacs.jcs/mode/jcs-scss-mode.el rename to core/mode/jcs-scss-mode.el index ac657e25a..6a9fad539 100644 --- a/.emacs.jcs/mode/jcs-scss-mode.el +++ b/core/mode/jcs-scss-mode.el @@ -17,9 +17,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-scss-mode-hook () - "SCSS mode hook." - +(jcs-add-hook 'scss-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]scss") 'jcs-insert-scss-template) @@ -28,7 +26,5 @@ (jcs-bind-key (kbd "C-k s") #'com-css-sort-attributes-block) (jcs-bind-key (kbd "C-k d") #'com-css-sort-attributes-document)) -(add-hook 'scss-mode-hook 'jcs-scss-mode-hook) - (provide 'jcs-scss-mode) ;;; jcs-scss-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-sh-mode.el b/core/mode/jcs-sh-mode.el similarity index 95% rename from .emacs.jcs/mode/jcs-sh-mode.el rename to core/mode/jcs-sh-mode.el index e1824b6d4..e4f28b4d6 100644 --- a/.emacs.jcs/mode/jcs-sh-mode.el +++ b/core/mode/jcs-sh-mode.el @@ -58,9 +58,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-sh-script-hook() - "Shell Script mode hook." - +(jcs-add-hook 'sh-mode-hook (modify-syntax-entry ?_ "w") ;; File Header @@ -69,7 +67,5 @@ "[.]macosx") 'jcs-insert-sh-template)) -(add-hook 'sh-mode-hook 'jcs-sh-script-hook) - (provide 'jcs-sh-mode) ;;; jcs-sh-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-shader-mode.el b/core/mode/jcs-shader-mode.el similarity index 83% rename from .emacs.jcs/mode/jcs-shader-mode.el rename to core/mode/jcs-shader-mode.el index 743000962..da2c1cf2d 100644 --- a/.emacs.jcs/mode/jcs-shader-mode.el +++ b/core/mode/jcs-shader-mode.el @@ -21,8 +21,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-shader-mode-hook () - "Shader mode hook." +(jcs-add-hook 'shader-mode-hook (jcs-use-cc-mutliline-comment) (modify-syntax-entry ?_ "w") @@ -31,11 +30,7 @@ (jcs-insert-header-if-valid '("[.]shader") 'jcs-insert-shader-template)) -(add-hook 'shader-mode-hook 'jcs-shader-mode-hook) - -(defun jcs-glsl-mode-hook () - "GLSL mode hook." - +(jcs-add-hook 'glsl-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -46,7 +41,5 @@ "[.]vert") 'jcs-insert-glsl-template)) -(add-hook 'glsl-mode-hook 'jcs-glsl-mode-hook) - (provide 'jcs-shader-mode) ;;; jcs-shader-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-shell-mode.el b/core/mode/jcs-shell-mode.el similarity index 93% rename from .emacs.jcs/mode/jcs-shell-mode.el rename to core/mode/jcs-shell-mode.el index 5893586e9..186b6aded 100644 --- a/.emacs.jcs/mode/jcs-shell-mode.el +++ b/core/mode/jcs-shell-mode.el @@ -9,8 +9,10 @@ ;; (@* "Hook" ) ;; -(defun jcs-shell-mode-hook () - "Shell mode hook." +(add-hook ' 'jcs-shell-mode-hook) +(add-hook 'eshell-mode-hook 'jcs-shell-mode-hook) + +(jcs-add-hook '(shell-mode-hook eshell-mode-hook) (company-fuzzy-mode -1) ;; Normal @@ -46,8 +48,5 @@ (jcs-bind-key (kbd "C-d") #'jcs-shell-kill-whole-line) (jcs-bind-key (kbd "") #'jcs-shell-backspace)) -(add-hook 'shell-mode-hook 'jcs-shell-mode-hook) -(add-hook 'eshell-mode-hook 'jcs-shell-mode-hook) - (provide 'jcs-shell-mode) ;;; jcs-shell-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-snippet-mode.el b/core/mode/jcs-snippet-mode.el similarity index 73% rename from .emacs.jcs/mode/jcs-snippet-mode.el rename to core/mode/jcs-snippet-mode.el index a12e64e40..ffaf8b687 100644 --- a/.emacs.jcs/mode/jcs-snippet-mode.el +++ b/core/mode/jcs-snippet-mode.el @@ -8,14 +8,10 @@ ;; (@* "Hook" ) ;; -(defun jcs-snippet-mode-hook() - "Snippet mode hook." - +(jcs-add-hook 'snippet-mode-hook ;; Normal (jcs-bind-key (kbd "") #'previous-line) (jcs-bind-key (kbd "") #'next-line)) -(add-hook 'snippet-mode-hook 'jcs-snippet-mode-hook) - (provide 'jcs-snippet-mode) ;;; jcs-snippet-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-sql-mode.el b/core/mode/jcs-sql-mode.el similarity index 87% rename from .emacs.jcs/mode/jcs-sql-mode.el rename to core/mode/jcs-sql-mode.el index a45d73015..19edb3017 100644 --- a/.emacs.jcs/mode/jcs-sql-mode.el +++ b/core/mode/jcs-sql-mode.el @@ -17,8 +17,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-sql-mode-hook() - "SQL mode hook." +(jcs-add-hook 'sql-mode-hook (jcs-elec-pair-add '((?\` . ?\`))) ;; File Header @@ -29,7 +28,5 @@ (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'previous)) (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'next))) -(add-hook 'sql-mode-hook 'jcs-sql-mode-hook) - (provide 'jcs-sql-mode) ;;; jcs-sql-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-swift-mode.el b/core/mode/jcs-swift-mode.el similarity index 85% rename from .emacs.jcs/mode/jcs-swift-mode.el rename to core/mode/jcs-swift-mode.el index b79296c21..21e40ca22 100644 --- a/.emacs.jcs/mode/jcs-swift-mode.el +++ b/core/mode/jcs-swift-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-swift-mode-hook () - "Swift mode hook." - +(jcs-add-hook 'swift-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -29,7 +27,5 @@ ;; Normal (jcs-bind-key (kbd "M-k") #'jcs-maybe-kill-this-buffer)) -(add-hook 'swift-mode-hook 'jcs-swift-mode-hook) - (provide 'jcs-swift-mode) ;;; jcs-swift-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-typescript-mode.el b/core/mode/jcs-typescript-mode.el similarity index 95% rename from .emacs.jcs/mode/jcs-typescript-mode.el rename to core/mode/jcs-typescript-mode.el index e87a972a1..4257c2c4a 100644 --- a/.emacs.jcs/mode/jcs-typescript-mode.el +++ b/core/mode/jcs-typescript-mode.el @@ -56,9 +56,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-typescript-mode-hook () - "TypeScript mode hook." - +(jcs-add-hook 'typescript-mode-hook (add-hook 'docstr-before-insert-hook 'jcs-typescript--docstr-before nil t) (face-remap-add-relative 'typescript-jsdoc-tag '(:inherit docstr-faces-tag-face)) @@ -79,7 +77,5 @@ (jcs-bind-key (kbd "{") #'jcs-vs-opening-curly-bracket-key) (jcs-bind-key (kbd ";") #'jcs-vs-semicolon-key)) -(add-hook 'typescript-mode-hook 'jcs-typescript-mode-hook) - (provide 'jcs-typescript-mode) ;;; jcs-typescript-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-verilog-mode.el b/core/mode/jcs-verilog-mode.el similarity index 81% rename from .emacs.jcs/mode/jcs-verilog-mode.el rename to core/mode/jcs-verilog-mode.el index 98515be2b..f8fd39ee9 100644 --- a/.emacs.jcs/mode/jcs-verilog-mode.el +++ b/core/mode/jcs-verilog-mode.el @@ -16,14 +16,10 @@ ;; (@* "Hook" ) ;; -(defun jcs-verilog-mode-hook () - "Verilog mode hook." - +(jcs-add-hook 'verilog-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]v") 'jcs-insert-verilog-template)) -(add-hook 'verilog-mode-hook 'jcs-verilog-mode-hook) - (provide 'jcs-verilog-mode) ;;; jcs-verilog-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-vimscript-mode.el b/core/mode/jcs-vimscript-mode.el similarity index 88% rename from .emacs.jcs/mode/jcs-vimscript-mode.el rename to core/mode/jcs-vimscript-mode.el index bfdcdbdd5..376e18635 100644 --- a/.emacs.jcs/mode/jcs-vimscript-mode.el +++ b/core/mode/jcs-vimscript-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-vim-mode-hook () - "Vimrc mode hook." - +(jcs-add-hook 'vimrc-mode-hook ;; File Header (jcs-insert-header-if-valid '("[.]vim" "[.]vimrc" @@ -31,7 +29,5 @@ (jcs-bind-key (kbd "C-a") #'jcs-mark-whole-buffer)) -(add-hook 'vimrc-mode-hook 'jcs-vim-mode-hook) - (provide 'jcs-vimscript-mode) ;;; jcs-vimscript-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-vue-mode.el b/core/mode/jcs-vue-mode.el similarity index 87% rename from .emacs.jcs/mode/jcs-vue-mode.el rename to core/mode/jcs-vue-mode.el index d29cc215a..72ff14238 100644 --- a/.emacs.jcs/mode/jcs-vue-mode.el +++ b/core/mode/jcs-vue-mode.el @@ -21,8 +21,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-vue-mode-hook () - "Vue mode hook." +(jcs-add-hook 'vue-mode-hook (set-face-background 'mmm-default-submode-face "#000000") ;; Treat some character as whitespace character. @@ -32,7 +31,5 @@ (jcs-insert-header-if-valid '("[.]vue") 'jcs-insert-vue-template)) -(add-hook 'vue-mode-hook 'jcs-vue-mode-hook) - (provide 'jcs-vue-mode) ;;; jcs-vue-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-web-mode.el b/core/mode/jcs-web-mode.el similarity index 95% rename from .emacs.jcs/mode/jcs-web-mode.el rename to core/mode/jcs-web-mode.el index a25edcadd..b9b1aaefa 100644 --- a/.emacs.jcs/mode/jcs-web-mode.el +++ b/core/mode/jcs-web-mode.el @@ -2,6 +2,8 @@ ;;; Commentary: Including HTML, CSS, PHP, JavaScript, JSON. ;;; Code: +(require 'web-mode) + (require 'jcs-web) (require 'impatient-mode) (require 'auto-rename-tag) @@ -87,10 +89,9 @@ ;; (@* "Hook" ) ;; -(require 'web-mode) +(add-hook 'web-mode-hook 'emmet-mode) -(defun jcs-web-mode-hook () - "Hooks for Web mode." +(jcs-add-hook 'web-mode-hook (auto-rename-tag-mode 1) (visual-line-mode t) (impatient-mode t) @@ -134,15 +135,9 @@ (jcs-bind-key [C-backspace] #'jcs-web-backward-delete-word) (jcs-bind-key (kbd "M-") #'jcs-web-backward-delete-word-capital)) -(add-hook 'web-mode-hook 'jcs-web-mode-hook) -(add-hook 'web-mode-hook 'emmet-mode) - -(defun jcs-html-mode-hook () - "HTML mode hook." +(jcs-add-hook 'html-mode-hook (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'previous)) (jcs-bind-key (kbd "") (jcs-get-prev/next-key-type 'next))) -(add-hook 'html-mode-hook 'jcs-html-mode-hook) - (provide 'jcs-web-mode) ;;; jcs-web-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-xml-mode.el b/core/mode/jcs-xml-mode.el similarity index 83% rename from .emacs.jcs/mode/jcs-xml-mode.el rename to core/mode/jcs-xml-mode.el index 11c98f4b1..5efd16baa 100644 --- a/.emacs.jcs/mode/jcs-xml-mode.el +++ b/core/mode/jcs-xml-mode.el @@ -17,8 +17,9 @@ ;; (@* "Hook" ) ;; -(defun jcs-xml-mode-hook () - "XML mode hook." +(add-hook 'nxml-mode-hook 'emmet-mode) + +(jcs-add-hook 'nxml-mode-hook (auto-rename-tag-mode 1) (visual-line-mode t) @@ -35,10 +36,6 @@ (jcs-bind-key (kbd "SPC") #'jcs-smart-space) (jcs-bind-key (kbd "") #'jcs-smart-backspace)) -;; STUDY: they ae using nxml-mode instead of xml-mode -;; which is really weird. -(add-hook 'nxml-mode-hook 'jcs-xml-mode-hook) -(add-hook 'nxml-mode-hook 'emmet-mode) (provide 'jcs-xml-mode) ;;; jcs-xml-mode.el ends here diff --git a/.emacs.jcs/mode/jcs-yaml-mode.el b/core/mode/jcs-yaml-mode.el similarity index 89% rename from .emacs.jcs/mode/jcs-yaml-mode.el rename to core/mode/jcs-yaml-mode.el index 1c725611f..5389b690e 100644 --- a/.emacs.jcs/mode/jcs-yaml-mode.el +++ b/core/mode/jcs-yaml-mode.el @@ -16,9 +16,7 @@ ;; (@* "Hook" ) ;; -(defun jcs-yaml-mode-hook () - "YAML mode hook." - +(jcs-add-hook 'yaml-mode-hook ;; Treat underscore as word. (modify-syntax-entry ?_ "w") @@ -34,7 +32,5 @@ (jcs-bind-key (kbd "SPC") #'jcs-smart-space) (jcs-bind-key (kbd "") #'jcs-smart-backspace)) -(add-hook 'yaml-mode-hook 'jcs-yaml-mode-hook) - (provide 'jcs-yaml-mode) ;;; jcs-yaml-mode.el ends here diff --git a/etc/logo/logo-shadow.png b/docs/etc/logo/logo-shadow.png similarity index 100% rename from etc/logo/logo-shadow.png rename to docs/etc/logo/logo-shadow.png diff --git a/etc/logo/logo.png b/docs/etc/logo/logo.png similarity index 100% rename from etc/logo/logo.png rename to docs/etc/logo/logo.png diff --git a/etc/logo/logo.psd b/docs/etc/logo/logo.psd similarity index 100% rename from etc/logo/logo.psd rename to docs/etc/logo/logo.psd diff --git a/etc/screenshot/startup-dark.png b/docs/etc/screenshot/startup-dark.png similarity index 100% rename from etc/screenshot/startup-dark.png rename to docs/etc/screenshot/startup-dark.png diff --git a/etc/screenshot/startup-light.png b/docs/etc/screenshot/startup-light.png similarity index 100% rename from etc/screenshot/startup-light.png rename to docs/etc/screenshot/startup-light.png diff --git a/features/auto-install-package/README.md b/docs/features/auto-install-package/README.md similarity index 100% rename from features/auto-install-package/README.md rename to docs/features/auto-install-package/README.md diff --git a/features/better-dashboard/README.md b/docs/features/better-dashboard/README.md similarity index 100% rename from features/better-dashboard/README.md rename to docs/features/better-dashboard/README.md diff --git a/features/better-dashboard/bd-nav-blank-after.gif b/docs/features/better-dashboard/bd-nav-blank-after.gif similarity index 100% rename from features/better-dashboard/bd-nav-blank-after.gif rename to docs/features/better-dashboard/bd-nav-blank-after.gif diff --git a/features/better-dashboard/bd-nav-blank-before.gif b/docs/features/better-dashboard/bd-nav-blank-before.gif similarity index 100% rename from features/better-dashboard/bd-nav-blank-before.gif rename to docs/features/better-dashboard/bd-nav-blank-before.gif diff --git a/features/better-dashboard/bd-nav-by-num.gif b/docs/features/better-dashboard/bd-nav-by-num.gif similarity index 100% rename from features/better-dashboard/bd-nav-by-num.gif rename to docs/features/better-dashboard/bd-nav-by-num.gif diff --git a/features/buffer-menu-search/README.md b/docs/features/buffer-menu-search/README.md similarity index 100% rename from features/buffer-menu-search/README.md rename to docs/features/buffer-menu-search/README.md diff --git a/features/buffer-menu-search/bms-search.gif b/docs/features/buffer-menu-search/bms-search.gif similarity index 100% rename from features/buffer-menu-search/bms-search.gif rename to docs/features/buffer-menu-search/bms-search.gif diff --git a/features/build-run/README.md b/docs/features/build-run/README.md similarity index 100% rename from features/build-run/README.md rename to docs/features/build-run/README.md diff --git a/features/capital-word/README.md b/docs/features/capital-word/README.md similarity index 100% rename from features/capital-word/README.md rename to docs/features/capital-word/README.md diff --git a/features/capital-word/cw-kill.gif b/docs/features/capital-word/cw-kill.gif similarity index 100% rename from features/capital-word/cw-kill.gif rename to docs/features/capital-word/cw-kill.gif diff --git a/features/capital-word/cw-nav.gif b/docs/features/capital-word/cw-nav.gif similarity index 100% rename from features/capital-word/cw-nav.gif rename to docs/features/capital-word/cw-nav.gif diff --git a/features/changelog-helper/README.md b/docs/features/changelog-helper/README.md similarity index 100% rename from features/changelog-helper/README.md rename to docs/features/changelog-helper/README.md diff --git a/features/changelog-helper/changelog-helper.png b/docs/features/changelog-helper/changelog-helper.png similarity index 100% rename from features/changelog-helper/changelog-helper.png rename to docs/features/changelog-helper/changelog-helper.png diff --git a/features/consistent-key-bindings/README.md b/docs/features/consistent-key-bindings/README.md similarity index 100% rename from features/consistent-key-bindings/README.md rename to docs/features/consistent-key-bindings/README.md diff --git a/features/curly-bracket-modes/README.md b/docs/features/curly-bracket-modes/README.md similarity index 100% rename from features/curly-bracket-modes/README.md rename to docs/features/curly-bracket-modes/README.md diff --git a/features/curly-bracket-modes/cbm.gif b/docs/features/curly-bracket-modes/cbm.gif similarity index 100% rename from features/curly-bracket-modes/cbm.gif rename to docs/features/curly-bracket-modes/cbm.gif diff --git a/features/display-file/README.md b/docs/features/display-file/README.md similarity index 100% rename from features/display-file/README.md rename to docs/features/display-file/README.md diff --git a/features/display-file/charset-table/README.md b/docs/features/display-file/charset-table/README.md similarity index 100% rename from features/display-file/charset-table/README.md rename to docs/features/display-file/charset-table/README.md diff --git a/features/display-file/charset-table/alt-codes-table.png b/docs/features/display-file/charset-table/alt-codes-table.png similarity index 100% rename from features/display-file/charset-table/alt-codes-table.png rename to docs/features/display-file/charset-table/alt-codes-table.png diff --git a/features/display-file/charset-table/ascii-table.png b/docs/features/display-file/charset-table/ascii-table.png similarity index 100% rename from features/display-file/charset-table/ascii-table.png rename to docs/features/display-file/charset-table/ascii-table.png diff --git a/features/docstring-completion/README.md b/docs/features/docstring-completion/README.md similarity index 100% rename from features/docstring-completion/README.md rename to docs/features/docstring-completion/README.md diff --git a/features/docstring-completion/as-doc-demo.gif b/docs/features/docstring-completion/as-doc-demo.gif similarity index 100% rename from features/docstring-completion/as-doc-demo.gif rename to docs/features/docstring-completion/as-doc-demo.gif diff --git a/features/docstring-completion/cc-doc-demo.gif b/docs/features/docstring-completion/cc-doc-demo.gif similarity index 100% rename from features/docstring-completion/cc-doc-demo.gif rename to docs/features/docstring-completion/cc-doc-demo.gif diff --git a/features/docstring-completion/cpp-doc-demo.gif b/docs/features/docstring-completion/cpp-doc-demo.gif similarity index 100% rename from features/docstring-completion/cpp-doc-demo.gif rename to docs/features/docstring-completion/cpp-doc-demo.gif diff --git a/features/docstring-completion/csharp-doc-demo.gif b/docs/features/docstring-completion/csharp-doc-demo.gif similarity index 100% rename from features/docstring-completion/csharp-doc-demo.gif rename to docs/features/docstring-completion/csharp-doc-demo.gif diff --git a/features/docstring-completion/csharp-vs-doc-demo.gif b/docs/features/docstring-completion/csharp-vs-doc-demo.gif similarity index 100% rename from features/docstring-completion/csharp-vs-doc-demo.gif rename to docs/features/docstring-completion/csharp-vs-doc-demo.gif diff --git a/features/docstring-completion/go-doc-demo.gif b/docs/features/docstring-completion/go-doc-demo.gif similarity index 100% rename from features/docstring-completion/go-doc-demo.gif rename to docs/features/docstring-completion/go-doc-demo.gif diff --git a/features/docstring-completion/go-std-doc-demo.gif b/docs/features/docstring-completion/go-std-doc-demo.gif similarity index 100% rename from features/docstring-completion/go-std-doc-demo.gif rename to docs/features/docstring-completion/go-std-doc-demo.gif diff --git a/features/docstring-completion/java-doc-demo.gif b/docs/features/docstring-completion/java-doc-demo.gif similarity index 100% rename from features/docstring-completion/java-doc-demo.gif rename to docs/features/docstring-completion/java-doc-demo.gif diff --git a/features/docstring-completion/js-doc-demo.gif b/docs/features/docstring-completion/js-doc-demo.gif similarity index 100% rename from features/docstring-completion/js-doc-demo.gif rename to docs/features/docstring-completion/js-doc-demo.gif diff --git a/features/docstring-completion/lua-doc-demo.gif b/docs/features/docstring-completion/lua-doc-demo.gif similarity index 100% rename from features/docstring-completion/lua-doc-demo.gif rename to docs/features/docstring-completion/lua-doc-demo.gif diff --git a/features/docstring-completion/php-doc-demo.gif b/docs/features/docstring-completion/php-doc-demo.gif similarity index 100% rename from features/docstring-completion/php-doc-demo.gif rename to docs/features/docstring-completion/php-doc-demo.gif diff --git a/features/docstring-completion/python-doc-demo.gif b/docs/features/docstring-completion/python-doc-demo.gif similarity index 100% rename from features/docstring-completion/python-doc-demo.gif rename to docs/features/docstring-completion/python-doc-demo.gif diff --git a/features/docstring-completion/ts-doc-demo.gif b/docs/features/docstring-completion/ts-doc-demo.gif similarity index 100% rename from features/docstring-completion/ts-doc-demo.gif rename to docs/features/docstring-completion/ts-doc-demo.gif diff --git a/features/fast-incremental-search/README.md b/docs/features/fast-incremental-search/README.md similarity index 100% rename from features/fast-incremental-search/README.md rename to docs/features/fast-incremental-search/README.md diff --git a/features/feebleline-design/README.md b/docs/features/feebleline-design/README.md similarity index 100% rename from features/feebleline-design/README.md rename to docs/features/feebleline-design/README.md diff --git a/features/feebleline-design/fd-preview.png b/docs/features/feebleline-design/fd-preview.png similarity index 100% rename from features/feebleline-design/fd-preview.png rename to docs/features/feebleline-design/fd-preview.png diff --git a/features/indent-control/README.md b/docs/features/indent-control/README.md similarity index 100% rename from features/indent-control/README.md rename to docs/features/indent-control/README.md diff --git a/features/indent-move/README.md b/docs/features/indent-move/README.md similarity index 100% rename from features/indent-move/README.md rename to docs/features/indent-move/README.md diff --git a/features/indent-move/indent-move.gif b/docs/features/indent-move/indent-move.gif similarity index 100% rename from features/indent-move/indent-move.gif rename to docs/features/indent-move/indent-move.gif diff --git a/features/license-helper/README.md b/docs/features/license-helper/README.md similarity index 100% rename from features/license-helper/README.md rename to docs/features/license-helper/README.md diff --git a/features/license-helper/license-helper.png b/docs/features/license-helper/license-helper.png similarity index 100% rename from features/license-helper/license-helper.png rename to docs/features/license-helper/license-helper.png diff --git a/features/line-numbers-modding/README.md b/docs/features/line-numbers-modding/README.md similarity index 100% rename from features/line-numbers-modding/README.md rename to docs/features/line-numbers-modding/README.md diff --git a/features/mini-state/README.md b/docs/features/mini-state/README.md similarity index 100% rename from features/mini-state/README.md rename to docs/features/mini-state/README.md diff --git a/features/mini-state/cross-state.png b/docs/features/mini-state/cross-state.png similarity index 100% rename from features/mini-state/cross-state.png rename to docs/features/mini-state/cross-state.png diff --git a/features/mini-state/depend-state.png b/docs/features/mini-state/depend-state.png similarity index 100% rename from features/mini-state/depend-state.png rename to docs/features/mini-state/depend-state.png diff --git a/features/mini-state/explicit-states/README.md b/docs/features/mini-state/explicit-states/README.md similarity index 100% rename from features/mini-state/explicit-states/README.md rename to docs/features/mini-state/explicit-states/README.md diff --git a/features/mini-state/explicit-states/search-failed.gif b/docs/features/mini-state/explicit-states/search-failed.gif similarity index 100% rename from features/mini-state/explicit-states/search-failed.gif rename to docs/features/mini-state/explicit-states/search-failed.gif diff --git a/features/mini-state/minibuffer-state.png b/docs/features/mini-state/minibuffer-state.png similarity index 100% rename from features/mini-state/minibuffer-state.png rename to docs/features/mini-state/minibuffer-state.png diff --git a/features/mode-line-toggle/README.md b/docs/features/mode-line-toggle/README.md similarity index 100% rename from features/mode-line-toggle/README.md rename to docs/features/mode-line-toggle/README.md diff --git a/features/mode-line-toggle/mode-line-toggle.gif b/docs/features/mode-line-toggle/mode-line-toggle.gif similarity index 100% rename from features/mode-line-toggle/mode-line-toggle.gif rename to docs/features/mode-line-toggle/mode-line-toggle.gif diff --git a/features/modern-text-editor/README.md b/docs/features/modern-text-editor/README.md similarity index 100% rename from features/modern-text-editor/README.md rename to docs/features/modern-text-editor/README.md diff --git a/features/multiple-output/README.md b/docs/features/multiple-output/README.md similarity index 100% rename from features/multiple-output/README.md rename to docs/features/multiple-output/README.md diff --git a/features/navigate-blank-line/README.md b/docs/features/navigate-blank-line/README.md similarity index 100% rename from features/navigate-blank-line/README.md rename to docs/features/navigate-blank-line/README.md diff --git a/features/navigate-blank-line/navigate-blank-line.gif b/docs/features/navigate-blank-line/navigate-blank-line.gif similarity index 100% rename from features/navigate-blank-line/navigate-blank-line.gif rename to docs/features/navigate-blank-line/navigate-blank-line.gif diff --git a/features/navigate-table/README.md b/docs/features/navigate-table/README.md similarity index 100% rename from features/navigate-table/README.md rename to docs/features/navigate-table/README.md diff --git a/features/navigate-table/nav-table.gif b/docs/features/navigate-table/nav-table.gif similarity index 100% rename from features/navigate-table/nav-table.gif rename to docs/features/navigate-table/nav-table.gif diff --git a/features/preview-html/README.md b/docs/features/preview-html/README.md similarity index 100% rename from features/preview-html/README.md rename to docs/features/preview-html/README.md diff --git a/features/similar-multiple-cursors/README.md b/docs/features/similar-multiple-cursors/README.md similarity index 100% rename from features/similar-multiple-cursors/README.md rename to docs/features/similar-multiple-cursors/README.md diff --git a/features/similar-multiple-cursors/similar-mc.gif b/docs/features/similar-multiple-cursors/similar-mc.gif similarity index 100% rename from features/similar-multiple-cursors/similar-mc.gif rename to docs/features/similar-multiple-cursors/similar-mc.gif diff --git a/features/simulate-shell/README.md b/docs/features/simulate-shell/README.md similarity index 100% rename from features/simulate-shell/README.md rename to docs/features/simulate-shell/README.md diff --git a/features/smart-move/README.md b/docs/features/smart-move/README.md similarity index 100% rename from features/smart-move/README.md rename to docs/features/smart-move/README.md diff --git a/features/smart-move/smart-move.gif b/docs/features/smart-move/smart-move.gif similarity index 100% rename from features/smart-move/smart-move.gif rename to docs/features/smart-move/smart-move.gif diff --git a/features/switch-window/README.md b/docs/features/switch-window/README.md similarity index 100% rename from features/switch-window/README.md rename to docs/features/switch-window/README.md diff --git a/features/tabify-untabify-modes/README.md b/docs/features/tabify-untabify-modes/README.md similarity index 100% rename from features/tabify-untabify-modes/README.md rename to docs/features/tabify-untabify-modes/README.md diff --git a/features/tabify-untabify-modes/tabify.png b/docs/features/tabify-untabify-modes/tabify.png similarity index 100% rename from features/tabify-untabify-modes/tabify.png rename to docs/features/tabify-untabify-modes/tabify.png diff --git a/features/tabify-untabify-modes/untabify.png b/docs/features/tabify-untabify-modes/untabify.png similarity index 100% rename from features/tabify-untabify-modes/untabify.png rename to docs/features/tabify-untabify-modes/untabify.png diff --git a/features/transparent-window/README.md b/docs/features/transparent-window/README.md similarity index 100% rename from features/transparent-window/README.md rename to docs/features/transparent-window/README.md diff --git a/features/transparent-window/transparent-window.gif b/docs/features/transparent-window/transparent-window.gif similarity index 100% rename from features/transparent-window/transparent-window.gif rename to docs/features/transparent-window/transparent-window.gif diff --git a/features/trim-trailing-whitespace/README.md b/docs/features/trim-trailing-whitespace/README.md similarity index 100% rename from features/trim-trailing-whitespace/README.md rename to docs/features/trim-trailing-whitespace/README.md diff --git a/features/trim-trailing-whitespace/ttw.gif b/docs/features/trim-trailing-whitespace/ttw.gif similarity index 100% rename from features/trim-trailing-whitespace/ttw.gif rename to docs/features/trim-trailing-whitespace/ttw.gif diff --git a/features/video-player/README.md b/docs/features/video-player/README.md similarity index 100% rename from features/video-player/README.md rename to docs/features/video-player/README.md diff --git a/features/video-player/video-player.png b/docs/features/video-player/video-player.png similarity index 100% rename from features/video-player/video-player.png rename to docs/features/video-player/video-player.png diff --git a/features/visualize-undo-redo/README.md b/docs/features/visualize-undo-redo/README.md similarity index 100% rename from features/visualize-undo-redo/README.md rename to docs/features/visualize-undo-redo/README.md diff --git a/features/visualize-undo-redo/vis-undo-redo.gif b/docs/features/visualize-undo-redo/vis-undo-redo.gif similarity index 100% rename from features/visualize-undo-redo/vis-undo-redo.gif rename to docs/features/visualize-undo-redo/vis-undo-redo.gif diff --git a/features/vs-curly-bracket/README.md b/docs/features/vs-curly-bracket/README.md similarity index 100% rename from features/vs-curly-bracket/README.md rename to docs/features/vs-curly-bracket/README.md diff --git a/features/vs-curly-bracket/vs-curly-bracket.gif b/docs/features/vs-curly-bracket/vs-curly-bracket.gif similarity index 100% rename from features/vs-curly-bracket/vs-curly-bracket.gif rename to docs/features/vs-curly-bracket/vs-curly-bracket.gif diff --git a/features/vs-multiple-cursors/README.md b/docs/features/vs-multiple-cursors/README.md similarity index 100% rename from features/vs-multiple-cursors/README.md rename to docs/features/vs-multiple-cursors/README.md diff --git a/features/vs-multiple-cursors/vs-mc-emacs.gif b/docs/features/vs-multiple-cursors/vs-mc-emacs.gif similarity index 100% rename from features/vs-multiple-cursors/vs-mc-emacs.gif rename to docs/features/vs-multiple-cursors/vs-mc-emacs.gif diff --git a/features/vs-multiple-cursors/vs-mc-vscode.gif b/docs/features/vs-multiple-cursors/vs-mc-vscode.gif similarity index 100% rename from features/vs-multiple-cursors/vs-mc-vscode.gif rename to docs/features/vs-multiple-cursors/vs-mc-vscode.gif diff --git a/features/vs-multiple-terminal/README.md b/docs/features/vs-multiple-terminal/README.md similarity index 100% rename from features/vs-multiple-terminal/README.md rename to docs/features/vs-multiple-terminal/README.md diff --git a/features/vs-navigate-word/README.md b/docs/features/vs-navigate-word/README.md similarity index 100% rename from features/vs-navigate-word/README.md rename to docs/features/vs-navigate-word/README.md diff --git a/.emacs.d/early-init.el b/early-init.el similarity index 100% rename from .emacs.d/early-init.el rename to early-init.el diff --git a/.emacs.jcs/fonts/UbuntuMono-R.ttf b/fonts/UbuntuMono-R.ttf similarity index 100% rename from .emacs.jcs/fonts/UbuntuMono-R.ttf rename to fonts/UbuntuMono-R.ttf diff --git a/.emacs.jcs/fonts/clacon.ttf b/fonts/clacon.ttf similarity index 100% rename from .emacs.jcs/fonts/clacon.ttf rename to fonts/clacon.ttf diff --git a/.emacs b/init.el similarity index 95% rename from .emacs rename to init.el index e2ddaf724..6804a0487 100644 --- a/.emacs +++ b/init.el @@ -1,4 +1,4 @@ -;;; .emacs --- Load the full configuration -*- lexical-binding: t -*- +;;; init.el --- Load the full configuration -*- lexical-binding: t -*- ;;; Commentary: ;; Author: Shen, Jen-Chieh @@ -118,9 +118,9 @@ decrease this. If you experience stuttering, increase this.") ;; (@* "Load Core" ) ;; -(setq load-path (append '("~/.emacs.jcs/" - "~/.emacs.jcs/func/" - "~/.emacs.jcs/mode/") +(setq load-path (append '("~/.emacs.d/core/" + "~/.emacs.d/core/func/" + "~/.emacs.d/core/mode/") load-path)) ;;; Initialize @@ -156,4 +156,4 @@ decrease this. If you experience stuttering, increase this.") ;; coding: utf-8 ;; no-byte-compile: t ;; End: -;;; .emacs ends here +;;; init.el ends here diff --git a/scripts/copy_config.bat b/scripts/copy_config.bat deleted file mode 100644 index 6c26b3593..000000000 --- a/scripts/copy_config.bat +++ /dev/null @@ -1,19 +0,0 @@ -@echo off - -SETLOCAL EnableDelayedExpansion - -echo "Copying core files..." - -set CONFIG_PATH=%UserProfile% - -echo %CONFIG_PATH% - -move "./build.el" "%CONFIG_PATH%" -move "./.emacs" "%CONFIG_PATH%" - -mkdir "%CONFIG_PATH%/.emacs.d" -mkdir "%CONFIG_PATH%/.emacs.jcs" -robocopy /e "./.emacs.d" "%CONFIG_PATH%/.emacs.d" -robocopy /e "./.emacs.jcs" "%CONFIG_PATH%/.emacs.jcs" - -echo "Done copying configuration files" diff --git a/scripts/copy_config.sh b/scripts/copy_config.sh deleted file mode 100644 index d3d3b630a..000000000 --- a/scripts/copy_config.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -e - -echo "Copying core files..." - -mv -f ./build.el ~/build.el -mv -f ./.emacs ~/.emacs -mv -f ./.emacs.d ~/.emacs.d -mv -f ./.emacs.jcs ~/.emacs.jcs - -echo "Done copying configuration files" diff --git a/scripts/install.bat b/scripts/install.bat deleted file mode 100644 index d57b9f42f..000000000 --- a/scripts/install.bat +++ /dev/null @@ -1,27 +0,0 @@ -@echo off -:: ======================================================================== -:: $File: install.bat $ -:: $Date: 2019-03-28 21:16:32 $ -:: $Revision: $ -:: $Creator: Jen-Chieh Shen $ -:: $Notice: See LICENSE.txt for modification and distribution information -:: Copyright © 2019 by Shen, Jen-Chieh $ -:: ======================================================================== - -:: DESCRIPTION: Install this configuration onto this machine. - -set INSTALL_DIR=%userprofile%\AppData\Roaming - -:: To root directory. -cd .. - -:: copy init file to home -xcopy ".emacs" "%INSTALL_DIR%" - -:: create necessary directories. -mkdir "%INSTALL_DIR%\.emacs.d" -mkdir "%INSTALL_DIR%\.emacs.jcs" - -:: copy core directories to home -xcopy /e ".emacs.d" "%INSTALL_DIR%\.emacs.d" -xcopy /e ".emacs.jcs" "%INSTALL_DIR%\.emacs.jcs" diff --git a/scripts/install.sh b/scripts/install.sh deleted file mode 100644 index ea9cf2a43..000000000 --- a/scripts/install.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -# ======================================================================== -# $File: install.sh $ -# $Date: 2019-03-28 21:15:01 $ -# $Revision: $ -# $Creator: Jen-Chieh Shen $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © 2019 by Shen, Jen-Chieh $ -# ======================================================================== - -# DESCRIPTION: Install this configuration onto this machine. - -# To root directory. -cd .. - -# copy init file to home -cp ./.emacs ~/ - -# copy core directories to home -cp -r ./.emacs.d ~/ -cp -r ./.emacs.jcs ~/ diff --git a/scripts/open_emacs.bat b/scripts/open_emacs.bat deleted file mode 100644 index af43837b4..000000000 --- a/scripts/open_emacs.bat +++ /dev/null @@ -1,15 +0,0 @@ -@echo off -:: ======================================================================== -:: $File: open_emacs.bat $ -:: $Date: 2017-11-15 11:53:53 $ -:: $Revision: $ -:: $Creator: Jen-Chieh Shen $ -:: $Notice: See LICENSE.txt for modification and distribution information -:: Copyright (c) 2017 by Shen, Jen-Chieh $ -:: ======================================================================== - -set EMACS_INIT_PATH= -set EMACS_PROGRAM_PATH= - -:: Run emacs with initialize setting file. -%EMACS_PROGRAM_PATH% %EMACS_INIT_PATH% diff --git a/scripts/open_emacs.sh b/scripts/open_emacs.sh deleted file mode 100644 index c456bf282..000000000 --- a/scripts/open_emacs.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -# ======================================================================== -# $File: open_emacs.sh $ -# $Date: 2018-05-14 04:27:50 $ -# $Revision: $ -# $Creator: Jen-Chieh Shen $ -# $Notice: See LICENSE.txt for modification and distribution information -# Copyright © 2018 by Shen, Jen-Chieh $ -# ======================================================================== - -EMACS_INIT_PATH= -EMACS_PROGRAM_PATH= - -# Run emacs with initialize setting file. -$EMACS_PROGRAM_PATH $EMACS_INIT_PATH diff --git a/.emacs.jcs/template/__changelog/keepachangelog.txt b/template/__changelog/keepachangelog.txt similarity index 100% rename from .emacs.jcs/template/__changelog/keepachangelog.txt rename to template/__changelog/keepachangelog.txt diff --git a/.emacs.jcs/template/__header/d_colon.txt b/template/__header/d_colon.txt similarity index 100% rename from .emacs.jcs/template/__header/d_colon.txt rename to template/__header/d_colon.txt diff --git a/.emacs.jcs/template/__header/d_dash.txt b/template/__header/d_dash.txt similarity index 100% rename from .emacs.jcs/template/__header/d_dash.txt rename to template/__header/d_dash.txt diff --git a/.emacs.jcs/template/__header/d_quote.txt b/template/__header/d_quote.txt similarity index 100% rename from .emacs.jcs/template/__header/d_quote.txt rename to template/__header/d_quote.txt diff --git a/.emacs.jcs/template/__header/d_semicolon.txt b/template/__header/d_semicolon.txt similarity index 100% rename from .emacs.jcs/template/__header/d_semicolon.txt rename to template/__header/d_semicolon.txt diff --git a/.emacs.jcs/template/__header/d_slash.txt b/template/__header/d_slash.txt similarity index 100% rename from .emacs.jcs/template/__header/d_slash.txt rename to template/__header/d_slash.txt diff --git a/.emacs.jcs/template/__header/global.txt b/template/__header/global.txt similarity index 100% rename from .emacs.jcs/template/__header/global.txt rename to template/__header/global.txt diff --git a/.emacs.jcs/template/__header/semicolon.txt b/template/__header/semicolon.txt similarity index 100% rename from .emacs.jcs/template/__header/semicolon.txt rename to template/__header/semicolon.txt diff --git a/.emacs.jcs/template/__header/sharp.txt b/template/__header/sharp.txt similarity index 100% rename from .emacs.jcs/template/__header/sharp.txt rename to template/__header/sharp.txt diff --git a/.emacs.jcs/template/__header/singlequote.txt b/template/__header/singlequote.txt similarity index 100% rename from .emacs.jcs/template/__header/singlequote.txt rename to template/__header/singlequote.txt diff --git a/.emacs.jcs/template/__header/t_slash.txt b/template/__header/t_slash.txt similarity index 100% rename from .emacs.jcs/template/__header/t_slash.txt rename to template/__header/t_slash.txt diff --git a/.emacs.jcs/template/__header/tag.txt b/template/__header/tag.txt similarity index 100% rename from .emacs.jcs/template/__header/tag.txt rename to template/__header/tag.txt diff --git a/.emacs.jcs/template/actionscript/default.txt b/template/actionscript/default.txt similarity index 100% rename from .emacs.jcs/template/actionscript/default.txt rename to template/actionscript/default.txt diff --git a/.emacs.jcs/template/ada/default.txt b/template/ada/default.txt similarity index 100% rename from .emacs.jcs/template/ada/default.txt rename to template/ada/default.txt diff --git a/.emacs.jcs/template/agda/default.txt b/template/agda/default.txt similarity index 100% rename from .emacs.jcs/template/agda/default.txt rename to template/agda/default.txt diff --git a/.emacs.jcs/template/applescript/default.txt b/template/applescript/default.txt similarity index 100% rename from .emacs.jcs/template/applescript/default.txt rename to template/applescript/default.txt diff --git a/.emacs.jcs/template/assembly/masm.txt b/template/assembly/masm.txt similarity index 100% rename from .emacs.jcs/template/assembly/masm.txt rename to template/assembly/masm.txt diff --git a/.emacs.jcs/template/assembly/nasm.txt b/template/assembly/nasm.txt similarity index 100% rename from .emacs.jcs/template/assembly/nasm.txt rename to template/assembly/nasm.txt diff --git a/.emacs.jcs/template/basic/default.txt b/template/basic/default.txt similarity index 100% rename from .emacs.jcs/template/basic/default.txt rename to template/basic/default.txt diff --git a/.emacs.jcs/template/batch/default.txt b/template/batch/default.txt similarity index 100% rename from .emacs.jcs/template/batch/default.txt rename to template/batch/default.txt diff --git a/.emacs.jcs/template/c++/header.txt b/template/c++/header.txt similarity index 100% rename from .emacs.jcs/template/c++/header.txt rename to template/c++/header.txt diff --git a/.emacs.jcs/template/c++/source.txt b/template/c++/source.txt similarity index 100% rename from .emacs.jcs/template/c++/source.txt rename to template/c++/source.txt diff --git a/.emacs.jcs/template/c++/unreal/actor-component/header.txt b/template/c++/unreal/actor-component/header.txt similarity index 100% rename from .emacs.jcs/template/c++/unreal/actor-component/header.txt rename to template/c++/unreal/actor-component/header.txt diff --git a/.emacs.jcs/template/c++/unreal/actor-component/source.txt b/template/c++/unreal/actor-component/source.txt similarity index 100% rename from .emacs.jcs/template/c++/unreal/actor-component/source.txt rename to template/c++/unreal/actor-component/source.txt diff --git a/.emacs.jcs/template/c++/unreal/actor/header.txt b/template/c++/unreal/actor/header.txt similarity index 100% rename from .emacs.jcs/template/c++/unreal/actor/header.txt rename to template/c++/unreal/actor/header.txt diff --git a/.emacs.jcs/template/c++/unreal/actor/source.txt b/template/c++/unreal/actor/source.txt similarity index 100% rename from .emacs.jcs/template/c++/unreal/actor/source.txt rename to template/c++/unreal/actor/source.txt diff --git a/.emacs.jcs/template/c/header.txt b/template/c/header.txt similarity index 100% rename from .emacs.jcs/template/c/header.txt rename to template/c/header.txt diff --git a/.emacs.jcs/template/c/source.txt b/template/c/source.txt similarity index 100% rename from .emacs.jcs/template/c/source.txt rename to template/c/source.txt diff --git a/.emacs.jcs/template/clojure/default.txt b/template/clojure/default.txt similarity index 100% rename from .emacs.jcs/template/clojure/default.txt rename to template/clojure/default.txt diff --git a/.emacs.jcs/template/cmake/default.txt b/template/cmake/default.txt similarity index 100% rename from .emacs.jcs/template/cmake/default.txt rename to template/cmake/default.txt diff --git a/.emacs.jcs/template/cobol/default.txt b/template/cobol/default.txt similarity index 100% rename from .emacs.jcs/template/cobol/default.txt rename to template/cobol/default.txt diff --git a/.emacs.jcs/template/template_config.properties b/template/config.properties similarity index 100% rename from .emacs.jcs/template/template_config.properties rename to template/config.properties diff --git a/.emacs.jcs/template/csharp/default.txt b/template/csharp/default.txt similarity index 100% rename from .emacs.jcs/template/csharp/default.txt rename to template/csharp/default.txt diff --git a/.emacs.jcs/template/csharp/unity.txt b/template/csharp/unity.txt similarity index 100% rename from .emacs.jcs/template/csharp/unity.txt rename to template/csharp/unity.txt diff --git a/.emacs.jcs/template/css/default.txt b/template/css/default.txt similarity index 100% rename from .emacs.jcs/template/css/default.txt rename to template/css/default.txt diff --git a/.emacs.jcs/template/dart/default.txt b/template/dart/default.txt similarity index 100% rename from .emacs.jcs/template/dart/default.txt rename to template/dart/default.txt diff --git a/.emacs.jcs/template/elisp/default.txt b/template/elisp/default.txt similarity index 100% rename from .emacs.jcs/template/elisp/default.txt rename to template/elisp/default.txt diff --git a/.emacs.jcs/template/elixir/default.txt b/template/elixir/default.txt similarity index 100% rename from .emacs.jcs/template/elixir/default.txt rename to template/elixir/default.txt diff --git a/.emacs.jcs/template/elm/default.txt b/template/elm/default.txt similarity index 100% rename from .emacs.jcs/template/elm/default.txt rename to template/elm/default.txt diff --git a/.emacs.jcs/template/erlang/default.txt b/template/erlang/default.txt similarity index 100% rename from .emacs.jcs/template/erlang/default.txt rename to template/erlang/default.txt diff --git a/.emacs.jcs/template/fountain/default.txt b/template/fountain/default.txt similarity index 100% rename from .emacs.jcs/template/fountain/default.txt rename to template/fountain/default.txt diff --git a/.emacs.jcs/template/fsharp/default.txt b/template/fsharp/default.txt similarity index 100% rename from .emacs.jcs/template/fsharp/default.txt rename to template/fsharp/default.txt diff --git a/.emacs.jcs/template/gdscript/default.txt b/template/gdscript/default.txt similarity index 100% rename from .emacs.jcs/template/gdscript/default.txt rename to template/gdscript/default.txt diff --git a/.emacs.jcs/template/go/default.txt b/template/go/default.txt similarity index 100% rename from .emacs.jcs/template/go/default.txt rename to template/go/default.txt diff --git a/.emacs.jcs/template/groovy/default.txt b/template/groovy/default.txt similarity index 100% rename from .emacs.jcs/template/groovy/default.txt rename to template/groovy/default.txt diff --git a/.emacs.jcs/template/haskell/default.txt b/template/haskell/default.txt similarity index 100% rename from .emacs.jcs/template/haskell/default.txt rename to template/haskell/default.txt diff --git a/.emacs.jcs/template/haxe/default.txt b/template/haxe/default.txt similarity index 100% rename from .emacs.jcs/template/haxe/default.txt rename to template/haxe/default.txt diff --git a/.emacs.jcs/template/java/default.txt b/template/java/default.txt similarity index 100% rename from .emacs.jcs/template/java/default.txt rename to template/java/default.txt diff --git a/.emacs.jcs/template/jayces/default.txt b/template/jayces/default.txt similarity index 100% rename from .emacs.jcs/template/jayces/default.txt rename to template/jayces/default.txt diff --git a/.emacs.jcs/template/jenkins/default.txt b/template/jenkins/default.txt similarity index 100% rename from .emacs.jcs/template/jenkins/default.txt rename to template/jenkins/default.txt diff --git a/.emacs.jcs/template/js/default.txt b/template/js/default.txt similarity index 100% rename from .emacs.jcs/template/js/default.txt rename to template/js/default.txt diff --git a/.emacs.jcs/template/jsx/default.txt b/template/jsx/default.txt similarity index 100% rename from .emacs.jcs/template/jsx/default.txt rename to template/jsx/default.txt diff --git a/.emacs.jcs/template/jsx/react/js.txt b/template/jsx/react/js.txt similarity index 100% rename from .emacs.jcs/template/jsx/react/js.txt rename to template/jsx/react/js.txt diff --git a/.emacs.jcs/template/jsx/react/native.txt b/template/jsx/react/native.txt similarity index 100% rename from .emacs.jcs/template/jsx/react/native.txt rename to template/jsx/react/native.txt diff --git a/.emacs.jcs/template/kotlin/default.txt b/template/kotlin/default.txt similarity index 100% rename from .emacs.jcs/template/kotlin/default.txt rename to template/kotlin/default.txt diff --git a/.emacs.jcs/template/less/default.txt b/template/less/default.txt similarity index 100% rename from .emacs.jcs/template/less/default.txt rename to template/less/default.txt diff --git a/.emacs.jcs/template/lisp/default.txt b/template/lisp/default.txt similarity index 100% rename from .emacs.jcs/template/lisp/default.txt rename to template/lisp/default.txt diff --git a/.emacs.jcs/template/lua/default.txt b/template/lua/default.txt similarity index 100% rename from .emacs.jcs/template/lua/default.txt rename to template/lua/default.txt diff --git a/.emacs.jcs/template/makefile/cc/app.txt b/template/makefile/cc/app.txt similarity index 100% rename from .emacs.jcs/template/makefile/cc/app.txt rename to template/makefile/cc/app.txt diff --git a/.emacs.jcs/template/makefile/cc/lib.txt b/template/makefile/cc/lib.txt similarity index 100% rename from .emacs.jcs/template/makefile/cc/lib.txt rename to template/makefile/cc/lib.txt diff --git a/.emacs.jcs/template/makefile/java/app.txt b/template/makefile/java/app.txt similarity index 100% rename from .emacs.jcs/template/makefile/java/app.txt rename to template/makefile/java/app.txt diff --git a/.emacs.jcs/template/makefile/java/lib.txt b/template/makefile/java/lib.txt similarity index 100% rename from .emacs.jcs/template/makefile/java/lib.txt rename to template/makefile/java/lib.txt diff --git a/.emacs.jcs/template/makefile/python/app.txt b/template/makefile/python/app.txt similarity index 100% rename from .emacs.jcs/template/makefile/python/app.txt rename to template/makefile/python/app.txt diff --git a/.emacs.jcs/template/makefile/python/lib.txt b/template/makefile/python/lib.txt similarity index 100% rename from .emacs.jcs/template/makefile/python/lib.txt rename to template/makefile/python/lib.txt diff --git a/.emacs.jcs/template/markdown/default.txt b/template/markdown/default.txt similarity index 100% rename from .emacs.jcs/template/markdown/default.txt rename to template/markdown/default.txt diff --git a/.emacs.jcs/template/nginx/default.txt b/template/nginx/default.txt similarity index 100% rename from .emacs.jcs/template/nginx/default.txt rename to template/nginx/default.txt diff --git a/.emacs.jcs/template/nix/default.txt b/template/nix/default.txt similarity index 100% rename from .emacs.jcs/template/nix/default.txt rename to template/nix/default.txt diff --git a/.emacs.jcs/template/objc/header.txt b/template/objc/header.txt similarity index 100% rename from .emacs.jcs/template/objc/header.txt rename to template/objc/header.txt diff --git a/.emacs.jcs/template/objc/source.txt b/template/objc/source.txt similarity index 100% rename from .emacs.jcs/template/objc/source.txt rename to template/objc/source.txt diff --git a/.emacs.jcs/template/opascal/default.txt b/template/opascal/default.txt similarity index 100% rename from .emacs.jcs/template/opascal/default.txt rename to template/opascal/default.txt diff --git a/.emacs.jcs/template/pascal/default.txt b/template/pascal/default.txt similarity index 100% rename from .emacs.jcs/template/pascal/default.txt rename to template/pascal/default.txt diff --git a/.emacs.jcs/template/perl/default.txt b/template/perl/default.txt similarity index 100% rename from .emacs.jcs/template/perl/default.txt rename to template/perl/default.txt diff --git a/.emacs.jcs/template/powershell/default.txt b/template/powershell/default.txt similarity index 100% rename from .emacs.jcs/template/powershell/default.txt rename to template/powershell/default.txt diff --git a/.emacs.jcs/template/processing/default.txt b/template/processing/default.txt similarity index 100% rename from .emacs.jcs/template/processing/default.txt rename to template/processing/default.txt diff --git a/.emacs.jcs/template/python/class.txt b/template/python/class.txt similarity index 100% rename from .emacs.jcs/template/python/class.txt rename to template/python/class.txt diff --git a/.emacs.jcs/template/python/default.txt b/template/python/default.txt similarity index 100% rename from .emacs.jcs/template/python/default.txt rename to template/python/default.txt diff --git a/.emacs.jcs/template/r/default.txt b/template/r/default.txt similarity index 100% rename from .emacs.jcs/template/r/default.txt rename to template/r/default.txt diff --git a/.emacs.jcs/template/ruby/default.txt b/template/ruby/default.txt similarity index 100% rename from .emacs.jcs/template/ruby/default.txt rename to template/ruby/default.txt diff --git a/.emacs.jcs/template/rust/default.txt b/template/rust/default.txt similarity index 100% rename from .emacs.jcs/template/rust/default.txt rename to template/rust/default.txt diff --git a/.emacs.jcs/template/sass/default.txt b/template/sass/default.txt similarity index 100% rename from .emacs.jcs/template/sass/default.txt rename to template/sass/default.txt diff --git a/.emacs.jcs/template/scala/default.txt b/template/scala/default.txt similarity index 100% rename from .emacs.jcs/template/scala/default.txt rename to template/scala/default.txt diff --git a/.emacs.jcs/template/scss/default.txt b/template/scss/default.txt similarity index 100% rename from .emacs.jcs/template/scss/default.txt rename to template/scss/default.txt diff --git a/.emacs.jcs/template/sh/default.txt b/template/sh/default.txt similarity index 100% rename from .emacs.jcs/template/sh/default.txt rename to template/sh/default.txt diff --git a/.emacs.jcs/template/shader/default_glsl.txt b/template/shader/default_glsl.txt similarity index 100% rename from .emacs.jcs/template/shader/default_glsl.txt rename to template/shader/default_glsl.txt diff --git a/.emacs.jcs/template/shader/default_shader.txt b/template/shader/default_shader.txt similarity index 100% rename from .emacs.jcs/template/shader/default_shader.txt rename to template/shader/default_shader.txt diff --git a/.emacs.jcs/template/sql/default.txt b/template/sql/default.txt similarity index 100% rename from .emacs.jcs/template/sql/default.txt rename to template/sql/default.txt diff --git a/.emacs.jcs/template/swift/default.txt b/template/swift/default.txt similarity index 100% rename from .emacs.jcs/template/swift/default.txt rename to template/swift/default.txt diff --git a/.emacs.jcs/template/text/default.txt b/template/text/default.txt similarity index 100% rename from .emacs.jcs/template/text/default.txt rename to template/text/default.txt diff --git a/.emacs.jcs/template/typescript/cocos_creator.txt b/template/typescript/cocos_creator.txt similarity index 100% rename from .emacs.jcs/template/typescript/cocos_creator.txt rename to template/typescript/cocos_creator.txt diff --git a/.emacs.jcs/template/typescript/default.txt b/template/typescript/default.txt similarity index 100% rename from .emacs.jcs/template/typescript/default.txt rename to template/typescript/default.txt diff --git a/.emacs.jcs/template/verilog/verilog_template.txt b/template/verilog/verilog_template.txt similarity index 100% rename from .emacs.jcs/template/verilog/verilog_template.txt rename to template/verilog/verilog_template.txt diff --git a/.emacs.jcs/template/vimscript/default.txt b/template/vimscript/default.txt similarity index 100% rename from .emacs.jcs/template/vimscript/default.txt rename to template/vimscript/default.txt diff --git a/.emacs.jcs/template/vue/default.txt b/template/vue/default.txt similarity index 100% rename from .emacs.jcs/template/vue/default.txt rename to template/vue/default.txt diff --git a/.emacs.jcs/template/web/default_html.txt b/template/web/default_html.txt similarity index 100% rename from .emacs.jcs/template/web/default_html.txt rename to template/web/default_html.txt diff --git a/.emacs.jcs/template/web/default_php.txt b/template/web/default_php.txt similarity index 100% rename from .emacs.jcs/template/web/default_php.txt rename to template/web/default_php.txt diff --git a/.emacs.jcs/template/xml/default.txt b/template/xml/default.txt similarity index 100% rename from .emacs.jcs/template/xml/default.txt rename to template/xml/default.txt diff --git a/.emacs.jcs/template/yaml/default.txt b/template/yaml/default.txt similarity index 100% rename from .emacs.jcs/template/yaml/default.txt rename to template/yaml/default.txt