move everything from Dropbox to Nextcloud

This commit is contained in:
Peter Tillemans 2024-10-26 21:10:54 +02:00
parent 72819450bf
commit 356d933236

View file

@ -354,6 +354,33 @@ It provides a minor-mode
#+RESULTS:
: [nil 26285 20099 685413 nil elpaca-process-queues nil nil 626000 nil]
** Enable editing textareas in browsers with Emacs
#+BEGIN_SRC emacs-lisp
(use-package edit-server
:ensure t
:commands edit-server-start
:init (if after-init-time
(edit-server-start)
(add-hook 'after-init-hook
#'(lambda() (edit-server-start))))
:config (setq edit-server-new-frame-alist
'((name . "Edit with Emacs FRAME")
(top . 200)
(left . 200)
(width . 80)
(height . 25)
(minibuffer . t)
(menu-bar-lines . t)
(window-system . x))))
#+END_SRC
#+RESULTS:
: [nil 26383 36877 803383 nil elpaca-process-queues nil nil 768000 nil]
* Editor Features
#+BEGIN_SRC emacs-lisp
@ -543,6 +570,10 @@ screen.
*** Set Theme
#+BEGIN_SRC emacs-lisp
;; Set theme
(use-package catppuccin-theme
:ensure t
:demand t)
(use-package modus-themes
:ensure t
:demand t
@ -653,7 +684,7 @@ whether to put it under writing, comms or programming as it is equally
:key (auth-source-pass-get 'secret "snamellit/openai-api-key")
:chat-model "gpt-4o"
))
(ellama-sessions-directory (expand-file-name "~/Dropbox/ellama-sessions"))
(ellama-sessions-directory (expand-file-name "~/Nextcloud/ellama-sessions"))
:config
(report-time-since-load "Ellama is available"))
#+END_SRC
@ -803,7 +834,7 @@ Currently already loaded by crafted emacs
(left-margin-width 2)
(right-margin-width 2)
(org-hide-emphasis-markers t)
(org-agenda-files (list "~/Dropbox/org/" "~/org/snamellit/" "~/org/customer/" "~/org/personal/"))
(org-agenda-files (list "~/Nextcloud/org/" "~/org/snamellit/" "~/org/customer/" "~/org/personal/"))
(org-refile-targets '(
(org-agenda-files . (:level . 1))
("~/org/personal/bijen.org" . (:level . 1))
@ -811,10 +842,10 @@ Currently already loaded by crafted emacs
))
:config
;; set files for agenda views
(setq +org-capture-todo-file "~/Dropbox/org/inbox.org"
+org-capture-notes-file "~/Dropbox/org/inbox.org"
+org-capture-journal-file "~/Dropbox/org/journal.org"
+org-capture-projects-file "~/Dropbox/org/projects.org")
(setq +org-capture-todo-file "~/Nextcloud/org/inbox.org"
+org-capture-notes-file "~/Nextcloud/org/inbox.org"
+org-capture-journal-file "~/Nextcloud/org/journal.org"
+org-capture-projects-file "~/Nextcloud/org/projects.org")
:hook
(org-mode . pti-org-mode-config)
:bind (
@ -1412,12 +1443,12 @@ We can add a list of queries
#+BEGIN_SRC emacs-lisp
(setq org-agenda-custom-commands
'(("i" "Inbox" ((todo ".*"
((org-agenda-files '("~/Dropbox/org/inbox.org"))
((org-agenda-files '("~/Nextcloud/org/inbox.org"))
(org-agenda-overriding-header "Unprocessed Inbox Items")))))))
#+END_SRC
#+RESULTS:
| i | Inbox | ((todo .* ((org-agenda-files '(~/Dropbox/org/inbox.org)) (org-agenda-overriding-header Unprocessed Inbox Items)))) |
| i | Inbox | ((todo .* ((org-agenda-files '(~/Nextcloud/org/inbox.org)) (org-agenda-overriding-header Unprocessed Inbox Items)))) |
**** Daily Agenda
@ -1465,7 +1496,7 @@ We can add a list of queries
(use-package denote
:ensure t
:init
(setq denote-directory (file-name-concat (expand-file-name "~") "Dropbox/denote"))
(setq denote-directory (file-name-concat (expand-file-name "~") "Nextcloud/denote"))
(setq denote-dired-directories
(list denote-directory
(expand-file-name "~/Documents/denote")))
@ -1538,6 +1569,7 @@ We can add a list of queries
(rust-ts-mode . eglot-ensure)
(java-ts-mode . eglot-ensure)
(python-ts-mode . eglot-ensure)
(zig-mode . eglot-ensure)
)
#+END_SRC
@ -1874,6 +1906,18 @@ Configure Geiser and Scheme
Map the keymap consistently to the eglot mappings.
*** Zig Support
#+BEGIN_SRC emacs-lisp
;; configure zig support
(use-package zig-mode
:ensure t
:hook
(zig-mode . eglot-ensure))
#+END_SRC
** Debugger Support
#+BEGIN_SRC emacs-lisp
(report-time-since-load "Programming - Debugger Support")