Capturing Notes Efficiently in Emacs with Org Roam

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2025

ความคิดเห็น • 53

  • @IvanToshkov
    @IvanToshkov 2 ปีที่แล้ว +5

    I am really happy I found this channel. The presentation is very clear and very focused. Thank you!

  • @guillermorojas2000
    @guillermorojas2000 3 ปีที่แล้ว +18

    a real chad of the emacs community 🐱‍👓

  • @cloudartisean
    @cloudartisean 3 ปีที่แล้ว +3

    Normally dont leave comments, but had to leave message here. THANK YOU for this video, it was amazing. I've been meaning to learn Org Roam for awhile and this video was amazing for me. Subscribed and cant wait to see more

    • @SystemCrafters
      @SystemCrafters  3 ปีที่แล้ว

      Glad you liked it, thanks a lot!

  • @johnbernier1143
    @johnbernier1143 3 ปีที่แล้ว +38

    About the tags, they are space separated but unfortunately, by default, org-roam limits the display to 10 characters max, that's why the tag following "#Project" was truncated to " #".
    You can customize the display with the org-roam-node-display-template variable.

    • @SystemCrafters
      @SystemCrafters  3 ปีที่แล้ว +7

      Excellent, thanks for the clarification!

    • @jethroksy
      @jethroksy 3 ปีที่แล้ว +12

      This has also been fixed in the master branch. They are still truncated by default, but now the truncated contents are still searchable.

  • @dorabear3030
    @dorabear3030 3 ปีที่แล้ว +3

    About searching with the tags, if set the foolowing:
    (setq org-roam-node-display-template "${directories:10} ${tags:10} ${title:100} ${backlinkscount:6}")
    It will show the directory, tags, title and backlinkcount in the search.
    Thank you for showing the file template, this makes it much easier for me to manage. I have tens of capture templates and this makes it much easier to manage.

    • @SystemCrafters
      @SystemCrafters  3 ปีที่แล้ว +1

      That's a really excellent tip, thanks!

  • @robperch
    @robperch 6 หลายเดือนก่อน

    Such a great channel! Thank you for the amazing content. I’ll become a supporter.
    P.S. were you skiing shortly before recording this video?

    • @SystemCrafters
      @SystemCrafters  6 หลายเดือนก่อน

      Thanks! Nah, probably just wearing hats and sunglasses too often

  • @abarocio80
    @abarocio80 3 ปีที่แล้ว +3

    Excellent video!
    You'll get used to the time restriction (I speak as a teacher).

  • @branquinho8444
    @branquinho8444 3 ปีที่แล้ว +1

    Great intro, Wil. Always improving, just your system craft

  • @kobbarikola
    @kobbarikola 3 ปีที่แล้ว +2

    Thanks for the videos - learning a lot from these!

  • @masondear8016
    @masondear8016 3 ปีที่แล้ว

    Big fan of the new intro style ngl

  • @changaaron
    @changaaron ปีที่แล้ว

    It's really helpful. Thanks a lot.

  • @Firefly192
    @Firefly192 2 ปีที่แล้ว

    Thank you for these great videos.

  • @Brucejuz
    @Brucejuz 2 ปีที่แล้ว +4

    Thank you for your Build a Second Brain in Emacs series! It helps a lot! Mostly, we take notes when we reading or watching videos. How can we take notes when we read PDF or epub papers or books or when we watching videos, so that in the captured notes we can automatically record the location of the files, the position of the books, or the timestamp in the videos? Thanks!

  • @z00k42
    @z00k42 ปีที่แล้ว

    Thank you for the amazing video! I am following along all your videos and I noticed today that :if-new must be substituted with :target (as per org-roam documentation if I read correctly)

    • @SystemCrafters
      @SystemCrafters  ปีที่แล้ว

      Might be true, Org Roam keeps changing things that break my instructions!

  • @techmoerror2206
    @techmoerror2206 3 ปีที่แล้ว +1

    Hi David, why is the first heading () highlighted in orange at around 12:54? Sometimes I get that behavior for some headings in org files and I don’t know what I’ve typed to make it happen or what it means….

    • @SystemCrafters
      @SystemCrafters  3 ปีที่แล้ว

      Honestly, I don't know why that happens! I see it pretty often too, I can't think of a good reason why the face would change.

  • @malcolmkahora5318
    @malcolmkahora5318 3 ปีที่แล้ว +1

    Love roam great video :)

  • @joezaino4674
    @joezaino4674 3 ปีที่แล้ว +4

    Thanks for these videos! I'd like to see you cover the capture of webpages from a bookmark in your browser using org-protocol and roam. Not sure this is even possible. I'd love to capture the website I'm on in my browser into a note with a custom bookmark-notes template using a bookmark in my browser.

    • @SystemCrafters
      @SystemCrafters  3 ปีที่แล้ว +1

      Definitely possible! I'll cover it in a video in this series

    • @algolover
      @algolover 3 ปีที่แล้ว +2

      This works for me:
      - Add new bookmark
      - Set URL to :
      javascript:location.href = 'org-protocol://roam-ref?template=r&ref=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title)
      Will open a capture buffer with ROAM_REFS set to the URL of the website and the title likewise.

  • @Mark-zk7uj
    @Mark-zk7uj 11 หลายเดือนก่อน

    is there a template for capture templates or do you have to memorize the format? I'm sure I could just create an interactive macro or an elisp function to do it

  • @skeezixcodejedi
    @skeezixcodejedi 3 ปีที่แล้ว +1

    Any talk about org-roam-server? It doesnt' seem well described on its page (or its options), but the idea is tempting.. ie: put up a VM somewhere to host an emacs session as a roam server (?), and then have multiple Emacssen (work? home? multiple VMs..) all referring to that hosted roam content? .. is that possible?

  • @kronikpillow
    @kronikpillow 2 ปีที่แล้ว +1

    how do i create nodes under a folder?
    example
    I got the org/roam folder
    then under it i have
    folder 1
    folder 2
    folder 3
    and for example, when I do org-roam-find to create a note, the folder names are displayed in the display with @folder 1 @folder 2 @folder 3 but ... if i try to create a file there, it actually creates it under the /roam folder instead, and then i have to manually move the note ... o.O

  • @adriancortes-koler8928
    @adriancortes-koler8928 3 ปีที่แล้ว

    how do you make the capture buffer to open on a window with a vertical split?

  • @TheKrister2
    @TheKrister2 3 ปีที่แล้ว +1

    Is it possible to specify a subdirectory under the org-roam directory for specific templates? E.g. a journal template that has new files created with it created under something like ~/org-roam/journal.

    • @SystemCrafters
      @SystemCrafters  3 ปีที่แล้ว

      You should be able to include a subdirectory in the template's target path, but make sure the directory exists first because I've found that capture fails when the target folder doesn't exist.

  • @Xdavidel
    @Xdavidel 3 ปีที่แล้ว +1

    Is there an immediate benefit of switching built-in captures for Roam's, or is it all a part of a bigger plan?

    • @SystemCrafters
      @SystemCrafters  3 ปีที่แล้ว

      You'd only use these if you wanted to customize how Org Roam notes get created, they don't replace the normal Org Mode capture templates that you might use in other cases

  • @juergenhesse9967
    @juergenhesse9967 3 ปีที่แล้ว +1

    Hi David! Thanks for this amazing video! I was wondering whether it would be possible to use the org-roam-directory variable in the path of the template file. Since it was defined beforehand it should be possible, or am I wrong? I was trying to do somethins like (file (concat org-roam-directory "/path/to/template.org")) but had no luck and ran into an "org-capture-get-template: Wrong type argument: stringp"-error...

  • @abarocio80
    @abarocio80 3 ปีที่แล้ว

    Is there any way to visit/find nodes by tags?

  • @MichaelDiamondMusic
    @MichaelDiamondMusic 3 ปีที่แล้ว

    4:30 I would love to learn how to create headings by default. Specifically for an org roam dailies

  • @eddas5175
    @eddas5175 3 ปีที่แล้ว +1

    Do you know if it's possible to create a file with Emacs and import a template, depending on the type of file? Like a hook, or a tag.
    I have to write a lot of stuff that requires the same kind of headers (example: General Information header, Details header, Age etc.).
    So far what I do is keep a blank file with only headers, then I create another file and copy the headers over the new file.
    Sorry if it's confusing, I will try to rephrase if that's the case.
    Thank you for the video, sir! Still learning roam, it's an awesome tool.
    Edit: I just started the video, it seems like it covers that topic heh
    Edit 2: yes! Awesome. That's exactly what I needed. That's what I get for posting before watching the video haha

    • @eddas5175
      @eddas5175 3 ปีที่แล้ว +1

      Dude this is amazing, I thought it was too much to ask, but nope, really easy to implement this functionality. Thank you very much, David, you have no idea how many hours this will save me.

    • @SystemCrafters
      @SystemCrafters  3 ปีที่แล้ว +1

      Yep, sounds like this functionality is exactly what you need!

    • @eddas5175
      @eddas5175 3 ปีที่แล้ว +1

      @@SystemCrafters sorry to bother with so many comments, I get very excited tweaking Emacs haha. But yeah, I already implemented what I needed, thanks to this tutorial!

  • @TeroMononenEU
    @TeroMononenEU 3 ปีที่แล้ว +2

    Wouldn't use of #+roam_tags make more sense in roam context? At least org-roam-tag-[add|delete] functions work with those.

    • @SystemCrafters
      @SystemCrafters  3 ปีที่แล้ว +4

      Org Roam v2 uses #+filetags for file-level tags to be consistent with general Org Mode usage, this is different than in Org Roam v1. #+roam_tags is still used for tags for the heading level nodes though.

    • @TeroMononenEU
      @TeroMononenEU 3 ปีที่แล้ว +2

      @@SystemCrafters Thanks for clarification! 😊

  • @BoyoWhoGoesPoyo
    @BoyoWhoGoesPoyo 3 ปีที่แล้ว +1

    "JavaScript is basically a scheme" ... spoken like a true LISPer.

  • @ManjaroKDE
    @ManjaroKDE 3 ปีที่แล้ว +1

    I've written a org-roam template for org-gcal - are you interested? 😉 Thank you David for your great Videos! Happy New Year! 💫

  • @AbaseenPodcast
    @AbaseenPodcast 2 ปีที่แล้ว +1

    Capture notes efficiently, after spending 7 months configuring emacs and learning org and roam on top of that... that is.

    • @ghost-user559
      @ghost-user559 ปีที่แล้ว

      Pen and paper are as efficient in as it gets. This is the opposite of efficient.

  • @viddyscene
    @viddyscene 3 ปีที่แล้ว +3

    Only if you could've made these videos last month. I recently moved out of Org-Roam and got back again on Obsidian.