Questions tagged [org-capture]
is for capturing notes in Org mode with minimal interruption.
117
questions
2
votes
1answer
51 views
org-capture: prompt for a target file
Starting from the existing customization associated with key j, is there a way to view and modify the target file? In other words,
by default, captured notes would go to */journal/inbox.org,
...
1
vote
2answers
174 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 +...
3
votes
1answer
32 views
Eliminate org capture message
How can I disable the persistent message on an org capture buffer that says?
Capture buffer. Finish `C-c', Refile `C-w', abort `C-k'.
A similar message is displayed when entering a source block. ...
0
votes
1answer
24 views
org-mode capture template prompt directly to agenda without opening file
I defined a template like so
("g" "Godo"
entry
(file+headline "~/mega/org/gcal.org" "Tasks")
"* TODO %^{description}%?\n %T %i\n %a")))
and when pressing C-c c g I am ...
4
votes
2answers
712 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
2answers
38 views
How to set schedule and deadline for entires being inserted via org-capture template file?
I'm trying to leverage the power of org capture templates. There are a few tasks I know I will be scheduling on particular dates of the month.
Setting their schedule and deadline in the capture ...
0
votes
0answers
21 views
Elisp function to get path to file link target
With the cursor on a file link, I'd like to set up an org-capture template which inserts the template into the target of the link.
I guess I add something like
(setq org-capture-templates
'(("m" ...
2
votes
1answer
36 views
Org Capture - prepend after org header/config block?
One of my org capture templates (in my init.el) looks like the following:
("n" "Note" plain
(file "/path/to/file.org")
"* %^{Title} %U \n%? \n"
:prepend t)
I'd like ...
0
votes
1answer
66 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, ...
2
votes
1answer
55 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 ...
0
votes
0answers
62 views
Using org-capture to record an appointment with a time range
I would like to use org-capture to quickly store appointments in a journal file, and add a timestamp so that the appointment appears in my agenda. I'm using the following template:
;; excerpted from ...
0
votes
1answer
82 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
1answer
81 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 ...
3
votes
2answers
175 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
1answer
69 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
663 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.
1
vote
1answer
39 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
34 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 ...
1
vote
0answers
45 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
36 views
Changing keybinding for org-capture [closed]
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 ...
3
votes
1answer
62 views
How can I capture selected text in a pdf-view buffer with org-capture?
I would like to capture the selected text (selected with the mouse) in a PDF document (opened in PDFView Mode) with an org capture template.
When I evaluate the expression (car (pdf-view-active-...
0
votes
1answer
35 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
0answers
20 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"...
0
votes
0answers
26 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
32 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
23 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, :...
10
votes
0answers
133 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”)
...
1
vote
1answer
59 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
74 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
76 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
31 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
184 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
80 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
2answers
246 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
**...
2
votes
2answers
83 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 ...
4
votes
2answers
389 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
277 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
88 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:
*...
2
votes
3answers
94 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
0answers
98 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
367 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
23 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
241 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
32 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
270 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), ...
7
votes
1answer
369 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
60 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
1answer
255 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
215 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
118 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 ...