Questions tagged [org-capture]

is for capturing notes in Org mode with minimal interruption.

Filter by
Sorted by
Tagged with
1
vote
1answer
64 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
41 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
577 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)(...
1
vote
1answer
449 views

org-capture + mu4e failures

I'm trying to get org-capture and mu4e working together nicely. Org-capture is already correctly set up; I can capture links to source code files with the following template: (setq org-capture-...
1
vote
1answer
68 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
1answer
78 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-...
1
vote
1answer
101 views

How to get the value of :ID: property of a org-contacts-entry in an org-capture-template?

Problem I want to get the value of a property of a org-contacts-db entry: \* Example Contact :MYTAG: :PROPERTIES: :ID: foobar :END: With the function call (org-contacts-filter "Example ...
1
vote
1answer
759 views

Optional prompts in org-capture template using helm?

Is there a way to bypass a prompt (set the value to nil) in an org-capture template with helm? Specifically, template looks like this: ("m" "Meeting notes" entry (file "~/Dropbox/org/meetings.org") ...
1
vote
1answer
1k views

Current time timestamp in org-capture-templates

In org-mode org-capture templates, what is the way to insert current time timestamp? I've tried %U like so: (setq org-capture-templates (quote ( ("k" "Capture an item and schedule it for ...
1
vote
1answer
654 views

How to remove the link from org-capture templates

I have the following org-mode capture template: '(org-capture-templates (quote (("t" "Task" entry (file+headline "~/org/tasks.org" "Incoming") "")))) The resulting capture buffer looks like this (...
1
vote
2answers
192 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
1answer
447 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 ...
1
vote
1answer
463 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-...
1
vote
3answers
853 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
1answer
112 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 ...
1
vote
1answer
303 views

In an org-capture template definition, how can I have dynamic insertion of content into the target element?

A complete org-capture template consists of six elements: keys, description, type, target, template, and properties. The manual explains how to use %-escapes to allow dynamic insertion of content into ...
1
vote
0answers
41 views

Sharing .org file between two users

My secretory creates a daily agenda for me by capturing task to shared org file mytodo.org. When I open the agenda or mark the task done, her ability to capture new task gets limited as the mytodo.org ...
1
vote
0answers
13 views

Changing keybinding for org-capture

I expect my reception to compile my daily agenda using .org capture. But they find using C-c C; C-c C-s; C-c C-c to capture, schedule and completion respectively difficult. Can a single function keys ...
1
vote
0answers
25 views

Org-capture template with deadline of one month from today

As it seems, org-mode capture templates mechanism maybe have changed? I'm using: Org mode version 9.2.4 (9.2.4-10-g3b006f-elpaplus) What I'm trying to do is to have a capture template that will ...
1
vote
0answers
19 views

Mandatory capturing data before every org file is modified

I have to create a list of documents I modified or created in a day. I use org-capture to create it. I use following org capture template to capture the data when I start working on the file ("c"...
1
vote
1answer
32 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 ...
1
vote
1answer
63 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
0answers
60 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 ...
1
vote
0answers
146 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
94 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
40 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
150 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" "...
1
vote
1answer
111 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 ...
1
vote
0answers
99 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
48 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
241 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
279 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
1answer
647 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
756 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/...
0
votes
1answer
58 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
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
177 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 ...
0
votes
2answers
165 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
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 ...
0
votes
1answer
124 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
1answer
70 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
1answer
86 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 ...
0
votes
1answer
91 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
85 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 ...
0
votes
0answers
21 views

org-protocol not responding

Description I use org-capture extension which had been working great for about 6 months. I have trouble making org-protocol work from Firefox since 8/1/19. When hitting the extension button in FF, ...
0
votes
0answers
25 views

Org capture datetree duplicanting entries (when using other locales)

I started using Emacs on Linux, now I moved to Mac OS and my problems began. When I use org-capture to capture stuff to a datetree, it duplicates the day entry instead of just adding a new node under ...
0
votes
0answers
21 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
25 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
22 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
27 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+...