Emacs: Introduction to ORG-CAPTURE

Поділитися
Вставка
  • Опубліковано 26 жов 2024
  • A step-by-step primer on the very powerful "org-capture" function inside of Emacs. You can find my configurations here: protesilaos.co...

КОМЕНТАРІ • 52

  • @linko9670
    @linko9670 10 місяців тому +2

    You are actually goated, thank you for this!!

  • @asdfasdfasdfasdf8037
    @asdfasdfasdfasdf8037 4 роки тому +2

    You are the best orgmode teacher

    • @protesilaos
      @protesilaos  4 роки тому +1

      Thank you! My plan is to eventually cover more topics related to Org, but I have trouble finding time for them right now (my themes, which were recently added to core Emacs, take up most of my time).

  • @martinpetersen3187
    @martinpetersen3187 4 роки тому +13

    A very good introduction to the many options of org-capture. Very well done.

  • @erbernaljr
    @erbernaljr 4 роки тому +4

    Very good introduction! I like that you went from something basic to pretty complex, showing what was possible along the way. Thank you!

  • @ypuntoto845
    @ypuntoto845 2 роки тому

    Thanks to you, I am able to understand org-capture. Till now, I wasn't able using the C-h v org-capture-templates documentation

  • @AdmiralJonB
    @AdmiralJonB 4 роки тому +3

    Brilliant introduction video! Thank you. I'm going to start looking through your other videos now (new to emacs)

    • @protesilaos
      @protesilaos  4 роки тому

      Thanks! Some of my other Emacs videos assume some prior knowledge, though I generally try to keep it within everyone's reach.

  • @emmanuellazarte8904
    @emmanuellazarte8904 Рік тому

    Amazing! It's one of the best videos on youtube :D

  • @marcel948
    @marcel948 4 роки тому +1

    Excellent video, thank you very much. Love the style you present ideas. Keep up the good work.

  • @ooppitz1
    @ooppitz1 5 місяців тому

    Great introduction, thanks a lot!

  • @valegory
    @valegory 5 днів тому

    this video was excellent, very easy to follow! How do you get the prompt to come up in a popup window rather than the minibuffer, though?

  • @fzap2970
    @fzap2970 3 роки тому

    Thank you for this very good explanation - I was able to follow all the instructions and to develop a deeper understanding of the underlying structures of org-capture. Pretty cool.

  • @jokmli
    @jokmli 4 роки тому +1

    Thanks! It really helped a lot for a newbie like me

  • @gpietroiusti
    @gpietroiusti 4 роки тому +2

    Another great presentation :) Thanks

  • @xiaohu8149
    @xiaohu8149 Рік тому

    This is perfect!

  • @vychan3708
    @vychan3708 4 роки тому +2

    Thanks for the video. How do you configure your modeline to show they keys you type, and the resulting command?

    • @protesilaos
      @protesilaos  4 роки тому +1

      This is done by a package called `keycast'. You can find my configs for it in my dotemacs: protesilaos.com/dotemacs

    • @vychan3708
      @vychan3708 4 роки тому

      @@protesilaos Thanks, Prot!

    • @protesilaos
      @protesilaos  4 роки тому

      @@vychan3708 You are welcome!

  • @antonyrodriguez5621
    @antonyrodriguez5621 4 роки тому +2

    Thanks for the very clear and helpful explanantions, Protesilaos. Would it be possible for you to use a slightly larger font for your presentations?

    • @protesilaos
      @protesilaos  4 роки тому +5

      You are welcome! Yes, I will make sure to make them larger next time. I suspect the problem is not just about the font size, but also the font family. Will use something with taller glyphs.

  • @GbengaOguntuase
    @GbengaOguntuase 4 роки тому +2

    Hi, what is the smaller window in the center that pops up and how do you get that working in emacs?

    • @protesilaos
      @protesilaos  4 роки тому +3

      This is an extension to the Ivy completion framework. The package is called "ivy-posframe". You can check my dotemacs for the configurations I have about it: protesilaos.com/dotemacs. Also, I recently did a video with tips and tricks for effective use of Ivy: ua-cam.com/video/QcPenVmmQyM/v-deo.html

  • @yanyonggang3625
    @yanyonggang3625 3 роки тому

    Great. Thanks

  • @deepanshu1901
    @deepanshu1901 3 роки тому

    you the best!

  • @auntiecarol
    @auntiecarol 4 роки тому

    I had my eye on your scarf. It's not, by any chance, from a certain Cambridge (England) college is it?
    Also... that light blue box in your =modeline= that highlights what you just typed, that's very helpful for these sorts of videos, and I am petty sure I learned a couple of new key-chords from this video too. You have yourself another subscriber, FWIW.

    • @protesilaos
      @protesilaos  4 роки тому +1

      @Auntie Carol Thanks! The scarf is a commercial one I bought a while ago. The modeline indicator is produced by the `keycast' package. The theme, which renders `keycast' in blue colours is my `modus-vivendi-theme' (part of the "Modus themes" project).

    • @auntiecarol
      @auntiecarol 4 роки тому

      @@protesilaos Thank you! And also for the shameless promotion of your themes :-)
      Your /Tempus Day/ is eerily similar to that which I made for myself for TeXstudio a few years ago.

    • @protesilaos
      @protesilaos  4 роки тому

      @@auntiecarol You are welcome! The Tempus Day colours have a natural feel about them. Plus, they look a bit like the excellent Solarized theme.
      I will port them to Emacs at some point, though not anytime soon.

  • @noahjoyner8232
    @noahjoyner8232 Місяць тому

    thanks prot

  • @gregpotts5631
    @gregpotts5631 2 роки тому

    How did you get your org-capture buffer on the right?

    • @protesilaos
      @protesilaos  2 роки тому +1

      Hello! I am using the 'display-buffer-alist'. Here is the minimum you need:
      (setq display-buffer-alist
      '(("\\*Org Select\\*"
      (display-buffer-in-side-window)
      (dedicated . t)
      (side . right)
      (slot . 0))))
      You can find my actual configurations in my dotemacs. The specific section on my website is here: protesilaos.com/emacs/dotemacs#h:3d8ebbb1-f749-412e-9c72-5d65f48d5957

  • @domingogomez6999
    @domingogomez6999 4 роки тому

    Dear Prot,
    I have one question regarding capturing from mail. I am trying to capture inside message-mode the name of the recipient and, after reading your webpage. I show that you have something that I would like to use:
    ("r" "Reply to an email" entry
    (file+headline "tasks.org" "Mail correspondence")
    "* TODO [#B] %:subject
    SCHEDULED: %t
    :PROPERTIES:
    :CONTEXT: %a
    :END:

    %i %?")
    However, when I am in message-mode and try to capture it, the subject does not appear.

    • @protesilaos
      @protesilaos  4 роки тому +2

      @Domingo Gómez Maybe you need to specify the context for this template. I tried this:
      (setq org-capture-templates-contexts
      '(("r" ((in-mode . "gnus-article-mode")
      (in-mode . "message-mode") ; Work here as well
      (in-mode . "gnus-summary-mode")))))
      And then evaluated the entire `use-package org-capture' declaration that I have (putting the point right outside the last parenthesis and typing `C-x C-e'). The subject is now displayed as expected when I call `org-capture' from inside the message-mode buffer and select the template referenced by `r'.

    • @domingogomez6999
      @domingogomez6999 4 роки тому

      @@protesilaos Totally works!!! Thank you so much!

    • @protesilaos
      @protesilaos  4 роки тому

      @Domingo Gómez You are welcome!

  • @machman23
    @machman23 4 роки тому

    Wow Protesilaos Stavrou Wow Emacs

    • @protesilaos
      @protesilaos  4 роки тому

      @James Cobb Thanks for watching!

  • @SamWhitlock
    @SamWhitlock 3 роки тому

    Have you heard about doct? github.com/progfolio/doct
    I started using it after I learned about capture templates from this video a few months ago and it's a bit easier to read / write them with the assoc-list style of configuration.
    Thanks for these videos and your extraordinarily well-documented dotfiles!

    • @protesilaos
      @protesilaos  3 роки тому

      You are welcome! doct looks promising. I will need to take it for a test at some point.

  • @ThusharaRavindra
    @ThusharaRavindra 2 роки тому

    Thank you