Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [org-capture]

is for capturing notes in Org mode with minimal interruption.

1
vote
2answers
64 views

Capture under heading

If we have org file with datetree and repeating actions, how can I capture under last heading of some level. Let's say we have this: * 2018 ** 2018-W47 *** 2018-11-21 Wednesday **** Gym Session **...
0
votes
2answers
502 views

How to use org-capture without creating ID property?

Whenever I create org-mode entries using org-capture they automatically get an ID property. Is it possible to disable that? I'm using org mode version 9.0.5.
3
votes
1answer
579 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 ...
0
votes
1answer
39 views

Org capture template output to two files

I am currently using two separate Org files to manage my work Todos. One is a file that I edit directly and keep notes on each todo task (Work.org). The other is a schedule file which is synced with ...
3
votes
0answers
149 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
0answers
63 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
35 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
110 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
349 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
62 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
0answers
50 views

Is org-capture broken?

I use emacs-26.1 org-version 9.1.14. My templates (list) is showing up but when I choose a template I get: org-capture: Capture abort: (void-function org-eldoc-load) I can't find org-eldoc.el in my ...
1
vote
0answers
24 views

How do I end an org capture template with whitespace?

I want to make an org capture template that ends in whitespace. Specifically, I want to make TODOs that are scheduled. From emacs -Q, I'm starting with this template: (cl-pushnew '("T" "TODO ...
1
vote
0answers
29 views

In org mode, how can I make a post-capture hook run only for certain capture templates?

I have several capture templates. With one of them, I want an Elisp function to transform the contents before saving it. I know of org-capture-prepare-finalize-hook, but this will run for every ...
1
vote
0answers
66 views

org-capture prompt for headline after content

I want to create a capture template for my org-based journal. But I do not want to worry about entering a title straight away. How can I setup my capture template so that org-capture prompts me for ...
1
vote
0answers
33 views

Org-capture prompt input method

Can I make it so that an org-capture prompt "%^{greek}" automatically switches the minibuffer input method to Greek?
1
vote
0answers
94 views

Automatically add properties based on tag in Org outlines

I'd like to be able to configure org to add properties based on specific tags which are used to describe the outline item. For instance, say we have a list item * user :person:student:. I'd like to ...
1
vote
0answers
206 views

Scheduling/Refiling Trouble with org-gcal / org-agenda

I'm using org-gcal with org-agenda. Because org-gcal seems to strip entries of any TODO markers, I would like to create entries in my org-gcal synced file by using refile to copy over entries from my ...
1
vote
0answers
162 views

Select subheading for capture

Unfortunately, I am not very proficient in writing my own lisp functions. I want to create a capture template that prompts for a sub-heading of a particular heading as the capture location. E.g. for ...
0
votes
0answers
17 views

Org-capture - placing entry in user-specified subheading

I am trying to create a capture-template which will prompt the user to define a subheading so that it can place the capture as a level 3 heading under the appropriate level 2 heading within an org ...
0
votes
0answers
49 views

org-capture frame with no splits

I want to be able to launch a new emacsclient and issue org-capture in it. I have created this simple function: (defun make-orgcapture-frame () "Create a new frame and run org-capture." (...
0
votes
0answers
15 views

Org-capture creates file after cancel

I use a custom function (originally from this post on StackExchange) to create files from org-capture (one file per entry). For some reason, if I cancel the entry with C-c C-k Emacs still creates the ...
0
votes
0answers
77 views

Generate a date tree from timestamps in org-mode

Since I was interested in doing my early capture-templates, I was tempted to go with this template below: ("j" "Reference type: Journal" entry (file+headline "~/Dropbox/orgfiles/gtd/ref.org" "...
0
votes
0answers
28 views

How do you cancel an org capture for a datetree if date exists?

I have a monthly date tree and I'd prefer for the org capture shortcut to insert the template normally if that month isn't created yet, otherwise I'd like it to take me to that month. I'm not sure if ...
0
votes
0answers
43 views

Capture template using table-line

I have started using org-capture in daily work, I want to use org-capture to add elements to a table. can some one help here. I want to have below behavior. First add a row with org-capture using ...
0
votes
0answers
41 views

org-capture is not opening the capture buffer

When I try to capture a new task, org-capture doesn't open up in a capture buffer, rather it opens up the new task in the org-default-notes-file. This means I can't close/file the task using C-c C-c. ...
0
votes
0answers
61 views

Newlines swallowed by org-capture

I irregularly see that org-capture has led to the disappearance of a newline, leaving me with lines like these * meeting w/ ch. <2017-12-01 Fri 11:00>* reading group <2017-10-09 Mon 16:15 +...
0
votes
0answers
193 views

org-capture pass argument to template

I would like to write a function that scrapes the current buffer for any comments with the word "TODO" and runs org-capture, saving a link to that TODO comment in a file. The end goal would be sort ...
0
votes
0answers
89 views

Is it possible to use path expansion when specifying an org-capture template file?

I have a couple of larger org-capture templates that I store in separate files under .emacs.d. I can access the content of these templates like so: ("t" "TODO" entry (file (f-expand "todo.org" org-...