Giter Site home page Giter Site logo

d12frosted / environment Goto Github PK

View Code? Open in Web Editor NEW
123.0 10.0 10.0 27.86 MB

dotfiles

License: Other

Emacs Lisp 78.50% Shell 6.67% Haskell 9.19% Python 0.08% CSS 0.28% YASnippet 0.67% Makefile 0.12% Dockerfile 0.11% Scala 0.02% Nix 4.36%
emacs-lisp fish-shell dotfiles nix nix-home-manager nix-darwin

environment's Introduction

Boris Buliga / Technical Blog / Barberry Garden

Stand With Ukraine

  • I'm an engineering manager from Chișinău, Moldova; based in Kyiv, Ukraine. My time is often consumed by work, tinkering with Emacs, delving into the world of wine, and embarking on quests in Final Fantasy XIV (or other video games).
  • I share much of my Emacs journey on GitHub, alongside musings on my technical blog.
  • I also detail my experiences with wine and the various tasting events I partake in or organise on 🍇 Barberry Garden 🦄.

If you appreciate my content, consider supporting me through Buy Me A Coffee or Payoneer.

environment's People

Contributors

d12frosted avatar d12golem avatar dependabot[bot] avatar gitter-badger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

environment's Issues

deprecated org-roam commands and a typo

Hi Boris,
Thanks for your excellent ideas on Task Management with Org-roam, from which I benefit a lot.

I forked your emacs config and has been using it for a short period, seems that there are two small issues in case you wanna know:

  1. According to org-roam issue #1284, org-roam--get-title-or-slug has been deprecated:

    org-roam--get-title-or-slug)

  2. According to org-roam manual for completion, org-roam-completions-everywhere should be org-roam-completion-everywhere:

    org-roam-completions-everywhere t)

Correct me if I'm wrong.

Best
Qingshui

Broken images.

Was browsing through GitHub for NixOS repositories and noticed that the images displayed in the README.org of this repository are unfortunately broken.

vulpea-project-p issue saving buffers containing no TODO entries

I have been using your work as an inspiration for building my own configuration. Building upon the work you shared about building a dynamic agenda, I made use of the updated vulpea-project-p function in lib-vulpea.el. I think I found a bug.

I have also made use of your ensure-file-tags function and hooked it into the pre-save-hook for org-roam-files (I am not making full use of the vulpea library, at least not yet). However, when vulpea-project-p is called by ensure-file-tags in an org-roam-buffer that lacks any TODO entries and consists only of headlines without any body text then the line goto-char (org-element-property :contents-begin h)) returns an error. In my use case, I am incorporating a calendar.org file into my agenda files that at the moment only consists of headline items without body text.

Autoloading and Providing Lib Files

This isn't an issue so much as a clarifying question. I hope that is okay. Let me know if there is a better place for me to ask!

I've noted that in your lib files in the emacs/lisp folder you autoload many of those functions and then you also provide those files. It's my understanding that autoloading is a way of providing files that don't need to be directly loaded. I also see that you don't require those lib files in any of the files where those autoloaded functions are used, so why do you provide them?

Non-existent agenda file when changing org-roam file names

Hello,
When I change the name of an org-roam file that is building org-agenda and then rebuild the agenda I encounter the following error in the minibuffer

Non-existent agenda file ~/.../file.org. [R]emove from list or [A]bort?

which I have to respond to before my agenda builds. I find that if I use org-roam-db-sync then this is taken care of.

I am curious if you have run into this, and if you have how you deal with it? If you haven't, what would you suggest? I was contemplating just adding org-roam-db-sync into the post-save-hook, but after looking through your code in both vulpea and in your environment, I don't see any such thing.

Elpaca and Setup.el

I noticed that you migrated from straight.el to elpaca. I have been contemplating trying elpaca for a while, so I will probably use your usage as a guide, so thank you for that! I was wondering if you have any thoughts on using setup.el in place of use-package? It looks like you've opted to just use elpaca-use-package instead. Do you have any thoughts on elpaca's built-in functionality vs. setup.el?

Insert installation instructions and info

Hi, it would be nice to detail in your Readme what this layer can and cannot do: I don't mean how to install the layer, but what options are configurable, and, for example, how to get this layer working with ghc-mod.

Another nice add-on would be to explain how this layer differs from the haskell layer spacemacs already has.

Moreover, if you have tips on how to get a working installation of stack+spacemacs+ghc-mod, feel free to tell me :)

(emacs) org-roam upstream updated and causes error

Hi Boris,

Currently using your great emacs configs and change as per my need. Love the way you use emacs.
It's been working well until 2 days ago org-roam upstream changed org-roam--org-roam-file-p to org-roam-file-p, see here: make some more functions public, then my org-roam broke down:

After running eru.sh install emacs, the compiler, linter are happy with everything, but got this at the end:

`[00:03.083] Linter has no complaints
[00:03.083] Finished successfully on Mon Jun 21 14:00:56 2021
eldev exec "(progn (run-hooks 'after-init-hook) (vulpea-db-build))"
Loading /Users/z/.config/emacs/init.el (source)...
Clearing removed files...
Clearing removed files...done
Processing modified files...

Symbol’s function definition is void: org-roam--org-roam-file-p
Run with ‘--debug’ (‘-d’) option to see error backtrace
make: *** [vulpea] Error 1`

Got this when I try to run most commands related to org-roam:

Debugger entered--Lisp error: (void-function org-roam--org-roam-file-p) (org-roam--org-roam-file-p) (if (org-roam--org-roam-file-p) (progn (add-hook 'after-save-hook #'vino-db-update-file nil 'local))) vino-db--update-on-save-h() run-hooks(find-file-hook) after-find-file(nil t) find-file-noselect-1(#<buffer inbox-qingshuis-mbp.lan.org> "~/Dropbox/vulpea/inbox-qingshuis-mbp.lan.org" nil nil "~/Dropbox/vulpea/inbox-qingshuis-mbp.lan.org" (43145720 16777221)) find-file-noselect("/Users/z/Dropbox/vulpea/inbox-qingshuis-mbp.lan.or...") (let ((buf (find-file-noselect (progn (or (progn (and ... t)) (signal 'wrong-type-argument (list ... node))) (aref node 1))))) (save-current-buffer (set-buffer buf) (goto-char (progn (or (progn (and (memq ... cl-struct-org-roam-node-tags) t)) (signal 'wrong-type-argument (list 'org-roam-node node))) (aref node 7)))) buf) org-roam-node--find(#s(org-roam-node :file "/Users/z/Dropbox/vulpea/inbox-qingshuis-mbp.lan.or..." :file-hash nil :file-atime nil :file-mtime nil :id "a2e17783-830c-4d6a-8940-7b4c5c083187" :level 0 :point 1 :todo nil :priority nil :scheduled nil :deadline nil :title "LIFE" :properties (("CATEGORY" . "inbox-qingshuis-mbp.lan") ("ID" . "a2e17783-830c-4d6a-8940-7b4c5c083187") ("BLOCKED" . "") ("FILE" . "/Users/z/Dropbox/vulpea/inbox-qingshuis-mbp.lan.or...") ("PRIORITY" . "B")) :olp nil :tags ("project") :aliases nil :refs nil)) (let ((buf (org-roam-node--find node))) (funcall (if other-window #'switch-to-buffer-other-window #'pop-to-buffer-same-window) buf)) org-roam-node-visit(#s(org-roam-node :file "/Users/z/Dropbox/vulpea/inbox-qingshuis-mbp.lan.or..." :file-hash nil :file-atime nil :file-mtime nil :id "a2e17783-830c-4d6a-8940-7b4c5c083187" :level 0 :point 1 :todo nil :priority nil :scheduled nil :deadline nil :title "LIFE" :properties (("CATEGORY" . "inbox-qingshuis-mbp.lan") ("ID" . "a2e17783-830c-4d6a-8940-7b4c5c083187") ("BLOCKED" . "") ("FILE" . "/Users/z/Dropbox/vulpea/inbox-qingshuis-mbp.lan.or...") ("PRIORITY" . "B")) :olp nil :tags ("project") :aliases nil :refs nil) nil) (if (progn (or (progn (and (memq (type-of note) cl-struct-vulpea-note-tags) t)) (signal 'wrong-type-argument (list 'vulpea-note note))) (aref note 1)) (org-roam-node-visit (org-roam-node-from-id (progn (or (progn (and (memq ... cl-struct-vulpea-note-tags) t)) (signal 'wrong-type-argument (list 'vulpea-note note))) (aref note 1))) other-window) (if (not require-match) (progn (org-roam-capture- :node (record 'org-roam-node nil nil nil nil nil nil nil nil nil nil nil (progn (or (progn ...) (signal ... ...)) (aref note 4)) nil nil nil nil nil) :props '(:finalize find-file))))) (let* ((region-text (if (region-active-p) (progn (org-link-display-format (buffer-substring-no-properties (set-marker ... ...) (set-marker ... ...)))))) (note (vulpea-select "Note" :filter-fn (or filter-fn vulpea-find-default-filter) :require-match require-match :initial-prompt region-text))) (if (progn (or (progn (and (memq (type-of note) cl-struct-vulpea-note-tags) t)) (signal 'wrong-type-argument (list 'vulpea-note note))) (aref note 1)) (org-roam-node-visit (org-roam-node-from-id (progn (or (progn (and ... t)) (signal 'wrong-type-argument (list ... note))) (aref note 1))) other-window) (if (not require-match) (progn (org-roam-capture- :node (record 'org-roam-node nil nil nil nil nil nil nil nil nil nil nil (progn (or ... ...) (aref note 4)) nil nil nil nil nil) :props '(:finalize find-file)))))) vulpea-find() funcall-interactively(vulpea-find) call-interactively(vulpea-find nil nil) command-execute(vulpea-find)

Not sure whether you have this situation or not.
If you need any information let me know.

Best,
Qingshui

Arch Setup Clarification

I am currently working on a script based on Eru to deploy my system. I'm currently just working on Arch, so I don't have to worry about Mac or Nix. You have a folder containing configuration details for Arch, and you mention that some files like Aurfile and Pacmanfile are processed by Eru, but I don't immediately see at what point in Eru these get processed. Could you elaborate on what the control flow is for using Eru to deploy an arch system?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.