diff --git a/init.org b/init.org index b69da96..28e3043 100644 --- a/init.org +++ b/init.org @@ -1,4 +1,3 @@ - #+TITLE: My Emacs Configuration #+PROPERTY: header-args :tangle yes #+PROPERTY: header-args:emacs-lisp :lexical yes :tangle yes :comments nil :padline yes @@ -1027,35 +1026,38 @@ exporter manual.]] *** Org Jira Integration #+BEGIN_SRC emacs-lisp - ;; configure org-jira - (use-package org-jira - :ensure t ; (:host github :repo "ptillemans/org-jira" :branch "pti_fix_getUsers") - :commands (org-jira-get-issues org-jira-get-projects) - :config - (setq org-jira-users '(("Peter Tillemans". "557058:bdf83521-663b-4ae6-9b71-487bb98e2add"))) - (setq jiralib-agile-page-size 1000) - (setq org-jira-custom-jqls - '( - - - )) - (make-directory "~/.org-jira" 'parents) - (setq jiralib-url (auth-source-pass-get "url" "customer/melexis.atlassian.net")) - (setq org-jira-custom-jqls - '((:jql " assignee = currentUser() and (created > '2024-01-01' or updated > '2024-01-01') order by created DESC" - :limit 100 :filename "this-year") - (:jql " assignee = currentUser() and project = UNILRN order by priority DESC " - :limit 100 :filename "~/Projects/unifylearn/jira") - (:jql " assignee = currentUser() and project = TTRK order by priority DESC " - :limit 100 :filename "~/Projects/timetrak/jira") - ) - ) - (jiralib-login - (auth-source-pass-get "user" "customer/jira") - (auth-source-pass-get 'secret "customer/jira")) - :bind (("C-c j i g" . 'org-jira-get-issues) - ("C-c j p g" . 'org-jira-get-projects) - ("C-c j i j" . 'org-jira-get-issues-from-custom-jql))) + ;; configure org-jira + (use-package org-jira + :ensure t ; (:host github :repo "ptillemans/org-jira" :branch "pti_fix_getUsers") + :commands (org-jira-get-issues org-jira-get-projects) + :config + (setq org-jira-users '(("Peter Tillemans". "557058:bdf83521-663b-4ae6-9b71-487bb98e2add"))) + (setq jiralib-agile-page-size 1000) + (setq org-jira-custom-jqls + '( + + + )) + (make-directory "~/.org-jira" 'parents) + ;; avoid flushing the recent file list when updating jira state + (add-to-list 'recentf-exclude "~/.org-jira/.*") + + (setq jiralib-url (auth-source-pass-get "url" "customer/melexis.atlassian.net")) + (setq org-jira-custom-jqls + '((:jql " assignee = currentUser() and (created > '2024-01-01' or updated > '2024-01-01') order by created DESC" + :limit 100 :filename "this-year") + (:jql " assignee = currentUser() and project = UNILRN order by priority DESC " + :limit 100 :filename "~/Projects/unifylearn/jira") + (:jql " assignee = currentUser() and project = TTRK order by priority DESC " + :limit 100 :filename "~/Projects/timetrak/jira") + ) + ) + (jiralib-login + (auth-source-pass-get "user" "customer/melexis.atlassian.net") + (auth-source-pass-get 'secret "customer/melexis.atlassian.net")) + :bind (("C-c j i g" . 'org-jira-get-issues) + ("C-c j p g" . 'org-jira-get-projects) + ("C-c j i j" . 'org-jira-get-issues-from-custom-jql))) #+END_SRC #+RESULTS: @@ -1306,6 +1308,22 @@ templates to be generated. By default it uses #+RESULTS: : [nil 26455 5250 886750 nil elpaca-process-queues nil nil 641000 nil] +** Markdown + +#+BEGIN_SRC emacs-lisp + (use-package markdown-mode + :ensure t + :mode ("README\\.md\\'" . gfm-mode) + :init (setq markdown-command "multimarkdown") + :bind (:map markdown-mode-map + ("C-c C-e" . markdown-do))) + +#+END_SRC + +#+RESULTS: +: [nil 26789 44231 458103 nil elpaca-process-queues nil nil 912000 nil] + + * Integration with Environment #+BEGIN_SRC emacs-lisp @@ -1553,6 +1571,18 @@ Add support to edit Dockerfile files : : [nil 26557 44943 649 nil elpaca-process-queues nil nil 729000 nil] +** Kubernetes Integration + +#+BEGIN_SRC emacs-lisp + (use-package kubernetes + :ensure t + :config + (fset 'k8s 'kubernetes-overview)) +#+END_SRC + +#+RESULTS: +: [nil 26805 22780 134106 nil elpaca-process-queues nil nil 25000 nil] + ** Confluence Integration This module is advertised as being alpha quality but should allow @@ -1582,8 +1612,8 @@ importing and exporting confluence pages. (executable-find "mu"))) "share/emacs/site-lisp/mu4e"))) - (use-package mu4e - :load-path snm/mu4e-load-path + `(use-package mu4e + :load-path ,snm/mu4e-load-path ;"/usr/share/emacs/site-lisp/mu4e" :config @@ -1659,7 +1689,7 @@ importing and exporting confluence pages. #+END_SRC #+RESULTS: -: t +| use-package | mu4e | :load-path | /usr/share/emacs/site-lisp/mu4e | :config | (setq mail-user-agent 'mu4e-user-agent) | (setq mu4e-drafts-folder /[Gmail].Drafts) | (setq mu4e-sent-folder /[Gmail].Sent Mail) | (setq mu4e-trash-folder /[Gmail].Trash) | (setq mu4e-sent-messages-behavior 'delete) | (setq mu4e-maildir-shortcuts '((:maildir /INBOX :key 105) (:maildir /[Gmail].Sent Mail :key 115) (:maildir /[Gmail].Trash :key 116) (:maildir /[Gmail].All Mail :key 97))) | (add-to-list 'mu4e-bookmarks '(:query maildir:/inbox :name Inbox :key 105 :favorite t)) | (setq mu4e-get-mail-command offlineimap) | (setq user-mail-address pti@snamellit.com user-full-name Peter Tillemans message-signature (concat Peter Tillemans | * Editor Features @@ -3143,7 +3173,6 @@ integration in Emacs. *** Enable model providers #+begin_src emacs-lisp - (setq gptel-api-key openai-api-key) (gptel-make-gemini "Gemini" :key gemini-api-key :stream t) (gptel-make-anthropic "Claude" :stream t :key anthropic-api-key) @@ -3152,6 +3181,9 @@ integration in Emacs. :description "QWen 2.5 Coder 14b")) #+end_src +#+RESULTS: +: #s(gptel-ollama "Qwen Coder" "localhost:11434" nil "http" nil "/api/chat" nil (qwen2.5-coder:14b :description QWen\ 2.5\ Coder\ 14b) "http://localhost:11434/api/chat" nil nil nil) + *** Enable Tools **** File and Buffer Tools ***** Create File @@ -3621,9 +3653,9 @@ Gregg Grubbs for examples what to put here. :command "npx" :args ("-y" "graphlit-mcp-server") :env ( - :GRAPHLIT_ORGANIZATION_ID (auth-source-pass-get "organization-id" "snamellit/graphlit.dev") - :GRAPHLIT_ENVIRONMENT_ID (auth-source-pass-get "environment-id" "snamellit/graphlit.dev") - :GRAPHLIT_JWT_SECRET (auth-source-pass-get 'secret "snamellit/graphlit.dev")))) + :GRAPHLIT_ORGANIZATION_ID ,(auth-source-pass-get "organization-id" "snamellit/graphlit.dev") + :GRAPHLIT_ENVIRONMENT_ID ,(auth-source-pass-get "environment-id" "snamellit/graphlit.dev") + :GRAPHLIT_JWT_SECRET ,(auth-source-pass-get 'secret "snamellit/graphlit.dev")))) ("terminal-controller" . ( :command "uvx" :args ("terminal_controller"))))) @@ -3633,7 +3665,7 @@ Gregg Grubbs for examples what to put here. #+END_SRC #+RESULTS: -: [nil 26780 48702 422697 nil elpaca-process-queues nil nil 640000 nil] +: [nil 26781 46260 860178 nil elpaca-process-queues nil nil 420000 nil] *** Load jwiegley/gptel-prompts for prompt composability