From 2507aee550d7f9f49a08fdfc4e948d519acf2a7d Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 21 Jun 2016 14:50:16 -0700 Subject: [PATCH] Group github packages together --- dotfiles/emacs.d/README.org | 80 ++++++++++++++++++++----------------- 1 file changed, 43 insertions(+), 37 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index a1b92917..ac22ff94 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -1804,32 +1804,6 @@ I use helm for almost all emacs completion :config :init (add-hook 'magit-status-mode-hook 'magit-filenotify-mode)))) #+END_SRC -*** github-search -#+BEGIN_SRC emacs-lisp - (imalison:use-package github-search - :commands (github-search-clone-repo github-search-user-clone-repo) - :preface - (progn - (defun imalison:get-projects-directory-target-from-repo (repo) - (let ((prospective-path - (imalison:join-paths imalison:projects-directory (oref repo :name)))) - (if (file-exists-p prospective-path) - (funcall 'github-search-prompt-for-target-directory repo) - prospective-path)))) - :config - (progn - (setq github-search-get-target-directory-for-repo-function - 'imalison:get-projects-directory-target-from-repo))) -#+END_SRC -*** github-clone -#+BEGIN_SRC emacs-lisp - (imalison:use-package* github-clone "~/Projects/github-clone.el" - :commands (github-clone-add-parent-remote - github-clone-add-source-remote - github-clone-fork-remote - github-clone-add-existing-remote - github-clone)) -#+END_SRC *** git-link #+BEGIN_SRC emacs-lisp (use-package git-link @@ -1837,15 +1811,6 @@ I use helm for almost all emacs completion (progn (setq git-link-use-commit t))) #+END_SRC -*** magit-gh-pulls -#+BEGIN_SRC emacs-lisp - (use-package magit-gh-pulls - :diminish magit-gh-pull-mode - :after magit - :config - (progn - (add-hook 'magit-mode-hook 'turn-on-magit-gh-pulls))) -#+END_SRC *** magit-gitflow #+BEGIN_SRC emacs-lisp (use-package magit-gitflow @@ -1877,13 +1842,54 @@ I use helm for almost all emacs completion (interactive) (gitolite-clone-get-projects nil nil t)))) #+END_SRC -*** github-notifier +*** github +**** github-search +#+BEGIN_SRC emacs-lisp + (imalison:use-package github-search + :commands (github-search-clone-repo github-search-user-clone-repo) + :preface + (progn + (defun imalison:get-projects-directory-target-from-repo (repo) + (let ((prospective-path + (imalison:join-paths imalison:projects-directory (oref repo :name)))) + (if (file-exists-p prospective-path) + (funcall 'github-search-prompt-for-target-directory repo) + prospective-path)))) + :config + (progn + (setq github-search-get-target-directory-for-repo-function + 'imalison:get-projects-directory-target-from-repo))) +#+END_SRC +**** github-clone +#+BEGIN_SRC emacs-lisp + (imalison:use-package* github-clone "~/Projects/github-clone.el" + :commands (github-clone-add-parent-remote + github-clone-add-source-remote + github-clone-fork-remote + github-clone-add-existing-remote + github-clone)) +#+END_SRC +**** github-notifier #+BEGIN_SRC emacs-lisp (use-package github-notifier :disabled t :config (github-notifier-mode)) #+END_SRC -*** gist +**** github-browse-file +#+BEGIN_SRC emacs-lisp + (use-package github-browse-file + :commands github-browse-file) +#+END_SRC +**** magit-gh-pulls +#+BEGIN_SRC emacs-lisp + (use-package magit-gh-pulls + :diminish magit-gh-pull-mode + :after magit + :config + (progn + (add-hook 'magit-mode-hook 'turn-on-magit-gh-pulls))) +#+END_SRC +**** gist #+BEGIN_SRC emacs-lisp (use-package gist :commands (gist-region gist-region-private gist-buffer gist-buffer-private