Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
0answers
20 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-...
0
votes
1answer
40 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 ...
2
votes
2answers
61 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 ...
0
votes
1answer
62 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 ...
1
vote
1answer
55 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 ...
1
vote
1answer
47 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: *...
1
vote
0answers
37 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
3answers
67 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. ...
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
93 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
153 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
199 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
49 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" ...
1
vote
3answers
113 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!
0
votes
1answer
118 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
2answers
136 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 **...
1
vote
0answers
79 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
75 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
34 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
162 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
1answer
68 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 ...
0
votes
2answers
142 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
22 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
112 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
93 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+...
0
votes
0answers
39 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
493 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 ...
3
votes
2answers
188 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 ...
1
vote
1answer
92 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 ...
0
votes
1answer
47 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 ...
0
votes
2answers
979 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 ...
1
vote
1answer
389 views

capture template for org-projectile?

Is there a way to define a capture template for org-projectile/capture (SPC a o p)? The default capture template creates a todo in root and I'd rather have it under Tasks (/Project Name/Tasks/<the ...
3
votes
1answer
395 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: ")...
0
votes
1answer
640 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
387 views

Match data clobbered by buffer modification hooks

I want to setup a Journal entry template that prompts for a date/time, so that I can process current entries, as well as older ones. This is what I have so far: ;;; Org-capture settings (setq org-...
3
votes
2answers
281 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
755 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 ...
2
votes
1answer
481 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
1answer
80 views

How do I pre-process capture buffer before saving to target?

There are times I am given a list of names of people that I need to schedule appointments for in our organization. The names are typically given first, and then details come later. I would like to ...
1
vote
0answers
87 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 ...
2
votes
0answers
41 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 ...
1
vote
1answer
103 views

Quickly switch to an existing task using an org-mode (similar to org-capture)

I use org-mode to keep track of time on tasks and also use org-capture to switch to new tasks that interrupt my current task. Is it possible to do something similar, to switch to an already existing ...
0
votes
1answer
86 views

Disable org-log-refile note on Capture

I have org-log-refile set to 'note which works great when moving tasks around. However, when I'm capturing, I'd like this behavior disabled. I tried the following with org-capture-mode-hook, org-...
0
votes
1answer
74 views

Show a checklist when capturing a task

I have a checklist to do when adding new tasks for myself in org-mode. I would like to see it when capturing a task via org-capture, but I don't want it to be among the text I am adding because I ...
1
vote
0answers
41 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?
0
votes
0answers
76 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 +...
1
vote
1answer
69 views

org-capture link description too long

I configured org-capture with below elisp in init.el: (define-key global-map "\C-cc" 'org-capture) (setq my-org-capture-file (concat org-directory "/capture.org")) (setq my/line "%(with-current-...
2
votes
1answer
189 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-...