Questions tagged [org-capture]

is for capturing notes in Org mode with minimal interruption.

Filter by
Sorted by
Tagged with
8
votes
1answer
901 views

Is it possible to file a capture template in a subheading of a day in a datetree?

In Org-mode, I would like to have a capture template get stored like this: * 2015 ** 2015-05 May *** 2015-05-21 Thursday <--- I can get this with file+datetree **** Todo today <-...
8
votes
3answers
906 views

Emacs: function to make a file with date/time as filename, and a shortcut for it

I need to generate text files with the following name format: YYYYY-MM-DD--hh-mm-ss.org. How can I use the capture funtionality for this? That is, instead of making one entry per capture in a single ...
8
votes
0answers
111 views

Create a “rabbit hole” task stack that can be pushed/popped?

I frequently fall into a sort of working anti-pattern involving “rabbit holes.”¹ Here’s the form it takes (with a concrete e.g. in parentheses): Start working on something (the “real task”) ...
6
votes
1answer
417 views

Evil mode - How to go into Insert mode after Org-capture with %? cursor placement

After creating an org-capture with the %? to place the cursor, the cursor will be in command mode. Is there a variable for putting it into insert mode or does org-capture elisp code need to be ...
6
votes
1answer
225 views

where is default org mode capture template for tasks located

I was configuring some capture templates for org mode but when adding any new template to init file, the default TASK template disappeared. (setq org-capture-templates '(("t" "Todo" entry (...
6
votes
1answer
5k views

Error message “Symbol's function definition is void: org-link-types” when I open a .org file

I tried to get the "capture"-Feature to work. I did the following things: Installation of the newest Version of the Org mode (now the version 8.2.10) To get the capture feature work i added to my ....
5
votes
1answer
830 views

Set org-capture datetree write on top of the file

I'm using org to store a list of links, I capture the links with org-capture and a custom template, but I want to write the new entries at top of the file. how I can do this?
5
votes
1answer
3k views

org-mode: how to generate clock report for hours worked each day?

org-clock-report is awesome; however, it reports time spent on each task. Is there any custom command that you use to generate a clock report showing hours worked, across tasks, for each day? The ...
5
votes
2answers
162 views

Org-refile locks up file when used from org capture

I like to use org-refile to refile notes during the capture process. But, since org-refile does not saves the file after the refiling is done, the file ends up being locked up and I need to visit the ...
5
votes
1answer
2k views

Org-mode: clarify the concept and practice of archiving

My current org file (e.g. work.org) has 20+ DONE tasks and Org-mode becomes extremely slow: even moving the cursor takes a 2-3 seconds sometimes. I decide I have to archive these DONE tasks, but I ...
4
votes
1answer
187 views

Change the time when picking a date?

I am using a %^T element in my org-capture-template. This prompts me this need calendar buffer, where I can pick a date. I can move around by using SHIFT+<arrow>. It maps to calendar-forward-...
4
votes
1answer
454 views

How to make a capture task template that stores a new task at point in the file I am in?

Org capture is a great tool for capturing notes and task when doing other things inside Emacs. The captured item is stored in a specified file for later review, and the point jumps back to the file it ...
4
votes
2answers
499 views

Add line number to org-capture

Preface this by saying I program but I'm not a programmer, and I especially don't know lisp. I use org capture during code reviews, and we use line numbers as a way or organizing changes that need ...
4
votes
1answer
348 views

Capture template without body

I have an org-formatted file named foo.org that consists only of headings (without body). Notice the absence of blank lines. * one ** a ** b * two ** c * three I want to use capture templates to ...
4
votes
1answer
894 views

Using org-protocol with a floating capture window?

I have recently found a way to have a floating capture window, with this setting I can create a floating capture window using: emacsclient -n -e '(make-capture-frame)' My knowledge of elisp and org-...
4
votes
2answers
257 views

Capture deadline timestamp based on date in agenda view?

I want to capture things with a deadline timestamp relative to the date that is open in my agenda view. How can I do that? The %T template inserts today's date. I want a template that queries my ...
4
votes
1answer
853 views

Capturing screenshot in org-capture buffer

I am planning to insert screenshot in org-capture buffer. I have a function that can create a screenshot image in a images subdirectory of current directory. However, since the org-capture buffer is ...
4
votes
1answer
465 views

How to use Org Capture to add a task *and* automatically add parent's property

I'm trying to create an org-capture template that creates a task and (important part) automatically adds a parent's property to this new task. I'm comfortable creating new capture templates--I'm just ...
4
votes
1answer
348 views

Dynamic Org-capture Templates

I've read the org-capture template documentation and searched for "Dynamic org-capture templates" but cannot seem to find out how to create the following: C-c c "a" Activity: math (<-...
3
votes
1answer
3k views

Can' t set directory for org-mode capture

I was trying to use the capture as is explained in org-manual p. 85. This is the relevant part of my .emacs file. (setq org-default-notes-file (concat org-directory "~/Notities/org-mode/Capture.org"...
3
votes
2answers
307 views

Cannot use concat within org-capture template

I am trying to use concat from within an org-capture template. But I keep getting an "Invalid template" error, so something's not right. Here is my code: (setq org-capture-templates '(("j" "...
3
votes
1answer
342 views

Can I create a checklist entry using org-capture?

It seems to me that org-capture requires templates to start with a heading (*). Can I not have a template like: ("d" "Daily Tasks" entry (file+datetree+prompt "daily.org") "- [ ] %?") that does ...
3
votes
1answer
344 views

Creating templates in emacs

I need to create a weekly agenda that has the same outline. I currently have a Word template file that I use, but would like to convert it to emacs. I want the emacs "template" to pre-fill the ...
3
votes
2answers
181 views

Capture org notes to a new file

I would like to improve my notes capture flow to do the following: Use C-c c then n to create a note. Get a minibuffer that searches for an existing file to add the note to (ie. probably with helm), ...
3
votes
1answer
523 views

Tags completion from org-capture window

If I place %^g in my capture template, org will prompt for tags, with completion. But typically, I like to brainstorm on relevant tags, after I finish writing my ideas. Is there some way to get tag ...
3
votes
1answer
81 views

org-capture notes above footnotes header?

Org-capture appends its notes to the bottom of my notes.org file. But this places them below the * Footnotes headline, which is problematic. Is there some way to configure org-capture so new notes are ...
3
votes
3answers
71 views

Org-capture menu from within helm

I have started using org-capture extensively, and now have capture lists for just about everything: books to read, movies to rent, articles to write, research topics, business ideas – you name it. ...
3
votes
1answer
443 views

Using user prompted file name for org-capture in template

With the help of these questions, I managed to prompt the user for a file name in org-capture and combine it with a timestamp. (defun my/generate-org-note-name () (let ((name (read-string "Name: ")...
3
votes
2answers
229 views

Send org-capture tasks to different files, depending on which file org-capture is called from

I am beginning to use org-mode as an electronic lab notebook, which is working very well. I work on a number of different projects, each of which has its own directory. When I use org-capture, I want ...
3
votes
0answers
178 views

orgmode, capturing original document title

I have a basic capture template: ("a" "Article" entry (file+headline "~/GitLab/Reports/Bibliography/references.org" "Article") "* %^{Title} \n%?") that asks you to fill the Title field. Now, ...
3
votes
1answer
661 views

file org-capture item under existing heading if it exists

I have the following org-template set up: ("mw" "Note" entry (file+headline "~/org/mathematica.org" "WIA") "* %f code review \n ** %T \n%? \n%a \n%i") So that the heading name is determined by ...
2
votes
1answer
206 views

Org capture into org table

Normally org-capture lets one insert a templated subtree somewhere into an existing Org file or tree node. Is it possible to use org-capture to instead add a row to an existing Org-mode table?
2
votes
1answer
276 views

Automatically store link when org-capture is called?

I know about the %a template element, which inserts the stored link in the entry. I'd also like to automatically store a link whenever org-capture is called from within emacs (as opposed to spawning a ...
2
votes
1answer
368 views

How to capture and link code comments as org agenda items?

I often see or leave comments in code projects like: //TODO more efficient hash on keys than BASE64? Ideally, I would like to be able to highlight a comment as such and org-capture it to an org file ...
2
votes
1answer
425 views

How to Org Capture at current location?

I have successfully used org-capture, and have many templates. Recently I have written a new template, where I want the target to be the location from where I am calling the capture command. I have ...
2
votes
2answers
997 views

creating an org-capture template

I am trying to create an org-capture template for a grocery list, but there seems to be no easy way to get the result I want, and I'm pretty bad at programming. So I was hoping that maybe someone has ...
2
votes
2answers
272 views

Emacs freeze after selecting a org-capture template

I'm new to org-mode. I've tried to set up a simple TODO list by calling org-capture and when I select my [t] todo item on *Org Select*, Emacs freezes and I need to kill its process. On the mini-...
2
votes
2answers
453 views

How to group together tags in a headlines made by org-capture?

I use the following capture code for making notes. (setq org-capture-templates '(( "n" ; key "Add a note to abc.org file " ; ...
2
votes
2answers
67 views

How can I insert org-capture-templates into a document I'm editing

I have a capture template for TODO items defined as follows ("t" "todo" entry (file "~/org/refile.org") "* TODO %?\n%U\n%a\n" :clock-in t :clock-resume t) While editing a document, I ...
2
votes
1answer
568 views

json-readtable-error during org-capture

This problem only arose today and I haven't really changed anything substantial in my init.el so I am sure what the source of the error is. Essentially, when running org-capture (and also during ...
2
votes
1answer
208 views

How to display only the pop-up capture frame

During (org-capture) invoked from any other app on OSX, Emacs displays the non-capture frame as well (behind the capture frame). Is there a way to get Emacs display the capture window only when (org-...
2
votes
0answers
42 views

Org-mode adding statistic cookie to date-tree lines in capture

In this video(timestamped to relevant section), I see this guy's org file in a date-tree with the [/] statistic cookie next to each YYYY-MM-DD headline. https://youtu.be/-2RXhPV_zgc?t=12m51s I'd ...
2
votes
0answers
140 views

org-pomodoro - extending its function: popup windows and pomo logging

I'm using pomodoro method of focus-enhanced time allocation when I work in my tasks. In Emacs (I'm using Windows 10), here comes the org-pomodoro package for org-mode, where I can 'clock-in' an item ...
2
votes
0answers
71 views

Trouble with link to position in current file when capturing

So I'm fairly competent with org-mode, and I make constant use of custom templates. I'm just now exploring the idea of integrating capture into my programming work flow so I can whip up skeletons ...
2
votes
0answers
362 views

Capture template `a': outline-show-all

After updating my Emacs packages, org capture templates fail with Capture template `a': outline-show-all, where a is the capture keystroke. Backtrace: Debugger entered--Lisp error: (error "Capture ...
2
votes
0answers
65 views

How can I make Org mode's capture functionality accept tags starting with '%'?

I use org mode and its capture functionality for capturing notes and tasks on the go. My capture code looks like this: (setq org-capture-templates '(( "n" ; key ...
1
vote
3answers
156 views

after org-capture, how to go to the content that I saved?

I just wondering if there is a way to go to the content which saved by doing org-capture I couldn't find any customizable variable so far :-/ Thanks in advance!
1
vote
1answer
59 views

org-mode datetree forward one day in the future

At work we do standups about what we did yesterday, I'm using datetree for my org-capture but the date recorded is by default today's date, I would like to change this so the date is of tomorrow ...
1
vote
1answer
36 views

How to use a org-capture template expansion several times in a captured note

I am trying to create a org-capture template that re-uses some text given with the ‘%^{PROMPT}’ expansion along several points of the created note. I have looked in this link and in stack overflow ...
1
vote
2answers
555 views

How to a create keybinding to open a particular file?

How to change the SPC m c (org-capture) keybinding to open the ~/capture.org file instead? F-5 opens file when this is in .spacemacs file: (global-set-key (kbd "<f5>") (lambda() (interactive)(...