Questions tagged [org-capture]

is for capturing notes in Org mode with minimal interruption.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Trouble with org-capture for links

I'm having some trouble getting links to work. All of my other capture templates are working, but when I press "l"for link, it doesn't prompt me for the link. It instead immediately says Capture abort:...
0
votes
1answer
16 views

set fill-column in org-capture notes

I'm trying to customize the fill-column value for org-add-note when adding notes to an Org TODO (e.g., C-c C-z). I have tried to add the following to the org-add-note function (this seems reasonable ...
0
votes
0answers
19 views

How do I show org links pointing to an entry?

I have org-capture templates setup (but the default Todo template works the same way) to create a link in the resultant file to the text that was selected when org-capture was invoked. This allows me ...
0
votes
0answers
20 views

Org Version 9.2.4 Insert Template at Point Doesn't Respect :empty-lines Property

I recently upgraded to Org-mode version 9.2.4 from 9.1.9 and when I insert a capture template at point in an org-file using C-0 C-c c or C-0 M-x org-capture, it appears that properties :empty-lines, :...
0
votes
1answer
118 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 +...
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”) ...
0
votes
1answer
21 views

org-capture fails: base buffer has been killed

I am trying to set up GTD for org-mode by Nicolas Petton. I have a very simple org-capture-template: (setq org-capture-templates '(("t" "Todo [inbox]" entry (file+...
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 ...
0
votes
1answer
56 views

More detailed org-capture into org-table template?

(Disclaimer: I know this may seem like a very specific question. But: I haven't found the answers to similar questions to be close enough to what I need. I hope to get an answer that is easily ...
0
votes
1answer
65 views

Capturing data in org-file to org-table

I have a simple template in emacs org-mode: \begin{flushright} Name: Phone no: Billed amount: Date \end {flushright} Details: I export the document to PDF and print it. I create multiple ...
0
votes
0answers
26 views

How can I join these two org-templates, so that the first block can be an option between the other entries?

(use-package org :ensure org-plus-contrib) (use-package org-contacts :ensure nil :after org) (use-package org-capture :ensure nil :after org :preface (defvar my/org-...
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 ...
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 ...
0
votes
1answer
52 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 ...
1
vote
2answers
178 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
1answer
66 views

How to use org-capture in a function without killing the buffer, customize capture refile

I am trying to create a function, which captures a note and then copies the same note to another file (In my case for a google calendar synchronization). The problem ist that after giving the capture ...
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 ...
1
vote
1answer
62 views

how org-capture can insert value in an existing table line

I am diabetic and I have to take my blood glucose three times a day (morning, noon, evening) I can do in three separate tables, and I create a table to group the daily records. How could I capture all ...
0
votes
2answers
583 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
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" "...
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
60 views

Org-mode: add a deadline with minutes

In the quick capture window, I can add a deadline for 12pm today by typing C-c C-d 12pm: ** TODO test DEADLINE: <2019-03-26 Tue 12:00> If I add minutes with 12.30, it moves the date to 2030: *...
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. ...
1
vote
1answer
89 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
50 views

Monthly date tree

I'd like to use datetree with month (alternatively week) granularity. Currently the datetree looks like that: * 2019 ** 2019-03 March *** 2019-03-17 Sunday **** TODO Weekly review I'd like to drop ...
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 ...
0
votes
0answers
22 views

How to quickly add data or navgate to a heading in org-mode?

I have a calendar.org file with roughly this structure: * 2019 ** January *** 1 *** 2 *** 3 **** Event 1 Description of event 1 **** Event 2 Description of event 2 *** 4 *** 5 *** 6 ... What I do ...
0
votes
1answer
136 views

org-capture template error: Template is not a valid Org entry or tree

I am running org version: 9.1.9 and have issues setting up a template for org-capture. I have read over the documentation but cannot figure out why my template throws this error when I call it: org-...
0
votes
0answers
30 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 ...
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), ...
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 (...
0
votes
1answer
53 views

How to add font styles to org-capture templates?

I want to change the color and font style in my template. I use custom-set-variable and cannot set, for example, italic style (custom-set-variables '(org-capture-templates (backquote (("d" ...
0
votes
1answer
149 views

How to install org-mac-link on MacOS?

I am trying to install org-mac-link on my Mac. I have downloaded the file org-mac-link.el to .emacs.d and also customized the org group by typing M-x customize-group RET org RET, then expand the ...
1
vote
0answers
120 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." (...
1
vote
0answers
89 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
37 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 ...
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?
1
vote
3answers
815 views

Capture template like org-journal

I would like to setup an org-capture template for my journal entries that mimics org-journal.el. The difference is, I want my journal to live in one file. Here is an excerpt from the github page to ...
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)(...
0
votes
2answers
1k views

How to use org-protocol and org-capture in spacemacs?

I've been having some problems when using org inside spacemacs. I make use of org-protocol to capture stuff that I find interesting when I'am browsing and have it inside spacemacs. The problem is ...
0
votes
2answers
155 views

Org capture templates now take me to org file, not to previous buffer

All of a sudden (after changing computer but keeping same settings) my org capture templates take me to the org file where whatever is being captured will be stored, without the need for C-c C-c to ...
0
votes
0answers
23 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
1answer
38 views

Apply template to files created from an org-mode link

If you click on a file: link to a document that does not exist, org-mode will create this file for you. How can I get this behavior to work with a org-capture template, so that files created in this ...
1
vote
0answers
140 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
1answer
110 views

org-capture Template expansion leading whitespace: bug, feature, workaround

Emacs 26.1 org-mode: 9.1.9 I have an issue with the way org-capture expands a template when it comes to line beginnings: This template (setq org-capture-templates '(("o" "Todo" entry (file+...
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 ...
0
votes
0answers
42 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
1answer
596 views

Org capture template not working (when trying to set local notes file)

My goal is to get org-capture to store captured notes in a local "notes.org" file located in the same directory as the current working buffer. I set the template like so: (setq org-capture-templates ...
0
votes
1answer
719 views

How to specify org-capture template for a weekly journaling

This is what I used to have before: ("w" "Weekly" item (file+weektree (concat org-directory "Weekly.org"))) (where org-directory is ~/Notes) and it used to create a tree of this formatin ~/Notes/...
1
vote
1answer
101 views

Calling shell-command from org-capture-templates to scrape verb conjugations

I want to use org-capture-templates to scrape french verb conjugations from the web and insert them into an org-file to use with org-drill. I have a (functioning) scraper that gets the desired data ...