From 9e2a5993c57ce5eb7752e3fde72d445061b45885 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Wed, 7 Jun 2023 10:17:37 -0400 Subject: [PATCH] Added Forge to emacs configuration --- emacs/config.org | 14 +++++++++++++- emacs/init.el | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/emacs/config.org b/emacs/config.org index a0cbdc4..b8bacc1 100644 --- a/emacs/config.org +++ b/emacs/config.org @@ -328,7 +328,7 @@ https://github.com/doomemacs/doomemacs/tree/master/modules/tools +docset +offline) (lsp +peek) ; M-x vscode -magit ; a git porcelain for Emacs +(magit +forge) ; a git porcelain for Emacs ;;make ; run make tasks from Emacs ;;pass ; password manager for nerds ;;pdf ; pdf enhancements @@ -342,6 +342,16 @@ tree-sitter ; syntax and parsing, sitting in a tree... #+end_src NOTE: =:leader r= is currently being used by roam. See [[id:f9ffe9df-a417-45c4-8bf2-6ee655140648][Roam Keybinds]]. This conflicts with the =upload= module. If you wish to use this module in the future you will need to updated one of the keybinds to not conflict. + + +**** Magit Forge Support +For use with Github this requires the creation of a Github Token (see [[https://github.com/settings/tokens][here]]). This will need to be appended to your =~/.authinfo.gpg= file using the format below[fn:2]. + +#+begin_src authinfo :tangle no +machine api.github.com login yourlogin^code-review password MYTOKENGOESHERE +#+end_src + +For more on Forge see [[https://magit.vc/manual/forge.html][Magit's Forge documentation]]. *** Language https://github.com/doomemacs/doomemacs/tree/master/modules/lang @@ -888,4 +898,6 @@ A large amount of the details listed here have been lifted from: - https://www.gtrun.org/custom/config.htm * Footnotes + +[fn:2] See [[https://github.com/doomemacs/doomemacs/tree/master/modules/tools/magit#i-recently-updated-and-now-i-get-deferred-error--wrong-type-argument-sequencep-code-reviewauth-token-set-whenever-i-try-to-review][Doom Magit documentation.]] [fn:1] See [[https://github.com/doomemacs/doomemacs/tree/master/modules/config/literate#change-where-src-blocks-are-tangled-or-prevent-it-entirely][Doom FAQ on this for more.]] diff --git a/emacs/init.el b/emacs/init.el index fd9ddb0..0625472 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -103,7 +103,7 @@ +docset +offline) (lsp +peek) ; M-x vscode - magit ; a git porcelain for Emacs + (magit +forge) ; a git porcelain for Emacs ;;make ; run make tasks from Emacs ;;pass ; password manager for nerds ;;pdf ; pdf enhancements