From bb3696fe64d1092b45664eec424a05cae754ee33 Mon Sep 17 00:00:00 2001 From: Armin Darvish Date: Sun, 22 Dec 2024 21:58:23 -0800 Subject: [PATCH 1/3] some clean up --- consult-gh-embark.el | 2 -- consult-gh.org | 2 -- 2 files changed, 4 deletions(-) diff --git a/consult-gh-embark.el b/consult-gh-embark.el index 54d90bf..bea4b6e 100644 --- a/consult-gh-embark.el +++ b/consult-gh-embark.el @@ -579,8 +579,6 @@ CAND can be a repo, issue, PR, file path, ..." "g P" #'consult-gh-embark-toggle-issue-pin "g T" #'consult-gh-embark-transfer-issue) - - (defvar-keymap consult-gh-embark-prs-actions-map :doc "Keymap for consult-gh-embark-repos" :parent consult-gh-embark-general-actions-map diff --git a/consult-gh.org b/consult-gh.org index b90dd11..dcce9e2 100644 --- a/consult-gh.org +++ b/consult-gh.org @@ -11684,8 +11684,6 @@ CAND can be a repo, issue, PR, file path, ..." "g P" #'consult-gh-embark-toggle-issue-pin "g T" #'consult-gh-embark-transfer-issue) - - (defvar-keymap consult-gh-embark-prs-actions-map :doc "Keymap for consult-gh-embark-repos" :parent consult-gh-embark-general-actions-map From d6c69fe5968e214b02c85874eb88d58e90c0553d Mon Sep 17 00:00:00 2001 From: Armin Darvish Date: Tue, 24 Dec 2024 11:27:59 -0800 Subject: [PATCH 2/3] remove consult-gh-default-org-list from README --- README.org | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.org b/README.org index 32e4879..c9dbbd4 100644 --- a/README.org +++ b/README.org @@ -240,12 +240,9 @@ In the screenshots below, I am generally using vanilla Emacs and a minimal conf (consult-gh-dashboard-action #'consult-gh--dashboard-action) ;;open dashbaord items using default actions for issue/pr (consult-gh-default-interactive-command #'consult-gh-transient) :config - ;; set default org list - (setq consult-gh-default-orgs-list (consult-gh--get-current-orgs t)) - ;; add a hook to update default org ist after switching accounts - (add-hook 'consult-gh-auth-post-switch-hook (lambda (&rest args) - (setq consult-gh-default-orgs-list - (consult-gh--get-current-orgs t)))) + ;; optionally set favorite orgs + ;; (setq consult-gh-favorite-orgs-list '("minad" "oantolin" "karthink" "alphapapa" "systemcrafters")) + (add-to-list 'savehist-additional-variables 'consult-gh--known-orgs-list) ;;keep record of searched orgs (add-to-list 'savehist-additional-variables 'consult-gh--known-repos-list) ;;keep record of searched repos ) @@ -362,7 +359,7 @@ Here is a screenshot showing making anew repository from scratch: [[https://github.com/armindarvish/consult-gh/blob/screenshots/screenshots/consult-gh-repo-create.gif]] -*Pro Tip*: Consider using =consult-gh-repo-create= as your default function for defining new projects in other workflows for example with =projectile= or =project.el=. I personally use [[https://github.com/armindarvish/consult-omni][consult-omni]]'s =consult-omni-projects= for finding and switching to projects and I have customized that package to =consult-gh-repo-create= for making new projects. This way every time I make a new package it automatically is put on my GitHub as well without me having to think about it! +*Pro Tip*: Consider using =consult-gh-repo-create= as your default function for defining new projects in other workflows for example with =projectile= or =project.el=. I personally use [[https://github.com/armindarvish/consult-omni][consult-omni]]'s =consult-omni-projects= for finding and switching to projects and I have customized that package to use =consult-gh-repo-create= for making new projects. This way every time I make a new package it is automatically put on my GitHub as well without me having to think about it! Similarly you can use =consult-gh-issue-create= or =consult-gh-pr-create= to create new issues or pull requests. From 392d6e3dcc09fbb3b2e9c9aa1b8161ea599dacd2 Mon Sep 17 00:00:00 2001 From: Armin Darvish Date: Tue, 24 Dec 2024 11:28:47 -0800 Subject: [PATCH 3/3] fix typo in CHANGELOG --- CHANGELOG.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.org b/CHANGELOG.org index 8e550de..818a55e 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -1,5 +1,5 @@ #+title: consult-gh - Changelog -#+author: Armin DArvish +#+author: Armin Darvish #+language: en * Development