Questions tagged [org-capture]

is for capturing notes in Org mode with minimal interruption.

Filter by
Sorted by
Tagged with
1
vote
0answers
12 views

How can I use the current org-mode buffer as a Target in an org-capture template?

I want to design an org-capture definition that targets the current org file. Looking at the list of available targets it's not clear to me what I should use. Considering using (current-buffer) as ...
0
votes
0answers
7 views

Org-capture template containing a date relative to when an email was received

As the title describes, I want to be able to create an org-capture template which allows me to specify a relative date (say, 2 days) from when an email was received and print it out. The solution ...
0
votes
0answers
28 views

org-capture datetree inside current buffer not working

i want to capture into a datetree inside the current buffer. Below is my snippet. But unfortunately it doesn't work. Always an error: org-capture-expand-file: Invalid file location: nil I use emacs 28 ...
1
vote
1answer
21 views

Weird error on org-capture

I got my command for Ctrl+C - c - t (i.e. invoke org-capture) slightly wrong (i.e. missed a key or something when trying to type it). I know I got it wrong because it didn't work but instead changed ...
0
votes
1answer
24 views

org-capture with reference to file in which it was invoked

Is there a way to configure org-capture so that, if I create a note from within a certain file, it will include a link to that file?
0
votes
0answers
17 views

org-capture templates: how to fetch name of file during capture-template creation to be used as variable

I aim to replace "* TODO" with "* %name of the file I am creating". Is this possible? This is my code for the capture template: I would like the * TODO be replaces by the name ...
0
votes
0answers
13 views

How can I tell emacs to choose the 'right' link function from `org-store-link-functions` based on the mode it was triggered in

Whenever I want to capture a link from a PDFView buffer with org-store-link, I get prompted for the link type I wish to apply ("Which function for creating the link? "), with two choices: ...
0
votes
0answers
113 views

Recommended Emacs for ORG-Mode (vanilla, emacs plus, doom, spacemacs)? Getting Things Done (GTD) Method?

This is just a general question in relation to emacs and it's specific use for ORG mode. I have always been miserable at planning and organization in daily life (keeping TODO list, general time ...
0
votes
0answers
29 views

How to remove spurious whitespace in `org-add-note` LOGBOOK drawer

When using org-add-note (C-c C-z) in Org, I'm unable to automatically remove whitespace that is inserted when finalizing the note and the text is filed into the LOGBOOK drawer. global-whitespace-...
0
votes
1answer
60 views

Creating a new text file in a directory using org-capture

Following this response: Org-Mode - How do I create a new file with org-capture https://stackoverflow.com/questions/11902620/org-mode-how-do-i-create-a-new-file-with-org-capture? I am trying to make ...
0
votes
1answer
31 views

How to create a function to lauch org-capture with a selected template?

Let's say my capture template is bound to 't': (defun my/captureTemplate () (interactive) (org-capture "r") This won't work as it will show me the whole list of potential templates to ...
0
votes
1answer
49 views

Dynamic name for org-capture template file [duplicate]

I am new to org-mode (and to Emacs in general) and am trying to set up org-capture. I would like to define a todo capture item whose template is located in the file ~/.emacs.d/org-templates/todo.tmpl....
0
votes
0answers
107 views

org-capture: Capture abort: Wrong type argument: stringp, org-main-file

I know this error has come up here before, but none of the answers thus far have been able to help me and no amount of googling has got me anywhere. I've been using org-capture-templates for quite a ...
0
votes
1answer
34 views

Pull from git before applying org-capture?

I'm using org-capture to take project-specific notes by having a notes file in each of several git repositories. Looking forward, however, I can see danger here: if I'm working on project (1) and I ...
0
votes
0answers
39 views

org-capture buffer not showing schedule/deadline/time

If I use org-capture via C-c c t, I type in my headline (eg. "a new task") and press Enter, it takes me to a capture buffer, as expected. I can change the priority of the item there (eg. ...
0
votes
0answers
139 views

org-capture-templates stopped working

I have org-capture-templates defined as below and until today could capture and log my runs fine, but as of today they've stopped working... (setq org-capture-templates '(;; Computing (&...
0
votes
0answers
34 views

What org capture hook to use for saving an attachment in mu4e

I often need to capture a file attachment from mu4e (pdf invoice), which currently involves multiple manual steps: In mu4e email view buffer Save attachment to e.g. ~/filename.pdf Navigate to ~/...
1
vote
1answer
86 views

Org mode capture template for repeat tasks

I want to capture several tasks that will repeat annually from the date on which they are captured. So, I did: (setq org-capture-templates '(("a" "TODO Item that repeats annually&...
0
votes
0answers
36 views

Using org-capture in batch mode?

I'm trying to build an Alfred workflow to bookmark pages from my browser using org-capture. Ideally I would not need to present the emacs UX at all but rather I could capture all the info I need in ...
0
votes
0answers
17 views

Cannot capture notes into separate org file when entering reference into Bibtex with ivy

I am using emacs 27.1-4.1 with Spacemacs v.o.200.13 Ivy and vims. I am relatively new to emacs and am expanding into bibtex with ivy-bibtex. in my .spacemacs file is: (autoload 'ivy-bibtex "ivy-...
0
votes
1answer
161 views

org-capture to a heading within a date-tree

been using org-mode for a little over a year, but still have a ton to learn. Here's the setup and question: i've got a straightforward date-tree daily notes / tasks setup, and i'm trying to figure out ...
0
votes
0answers
34 views

Insert TODOs and SCHEDULE items in calendar view

We can do this with 'k' in agenda. How to insert / capture tasks at Calendar in Emacs? It would be very useful. Thanks!
0
votes
0answers
25 views

org-mode file-level agenda scheduling and searching

My current org workflow involves creating a new org file for each meeting I have, which I find very useful for grouping, scheduling and organising my TODOs from any given meeting. I use org-capture to ...
0
votes
1answer
51 views

Error replacing %n escapes with nth %^{…} string in emacs org capture

I am trying to write a custom org-capture template, but I get an error if I try to use the %\N functionality to insert the N-th prompt. The relevant excerpt of my org-capture-templates variable is (&...
1
vote
1answer
37 views

How to pass the current scopes function symbol as an argument to an elisp function

I am trying to create an org-capture template which works with yankpad and yasnippets to such that if I am working with some c code like this: example.c static int somefunc(int a) { if (a ==5) { ...
0
votes
0answers
28 views

Emacs on Windows. Dired - no sorting. Unrecognized symbols

Set up Doom Emacs on windows. Works fine but in Dired i have unrecognized symbols and also in org-capture. Sorting in dired does not work either. Any ideas? Latest Emacs.
0
votes
0answers
32 views

Why is Org mode converting spaces in links to HTML entities?

I store a link such as [[file:~/path/to/dir/some file.txt::# heading]], either manually or through org-capture. A few days later, Org has converted all spaces to the HTML entity %20: [[file:~/path/to/...
0
votes
0answers
85 views

org capture: Store new file name or use an existing file name as a variable

I'm looking for a way to use a fuzzy finder menu to store a new file name or select an existing file name as ${title} or %ˆ{Name} string variable. I use the zettelkasten system and my workflow ...
1
vote
1answer
92 views

Weekly org-capture-template without days?

I'm hoping to replicate my manual weekly capture template using the more baked-in functionality. Given this org-capture-template: ("z" "Test" entry (file+olp+datetree "~/docs/...
0
votes
0answers
20 views

Update DEADLINE: time and to do state on parent header after org-capture finishes

I have a couple of org-capture templates that insert tasks/notes under a header called re-organize, I'm looking to update the to do state and deadline of that re-organize header after org-capture ...
0
votes
0answers
128 views

Org-journal file template vs new-entry

My goal is to have a file template (header + daily review), and then have further entries as is from the package (bulletpoint + timestamp). Meaning the first thing in the morning I would open the ...
0
votes
0answers
30 views

emacs org capture mode not creating link with “%a”?

my org capture template is (setq org-capture-templates '( ("i" "Idea" entry (file+datetree "~/Dropbox/org_mode/ideas.org") "* %?\n Idea: %U\n ...
2
votes
1answer
141 views

org capture at point as sibling of heading

org 9.2 used to support this feature. when (org-capture 0), it used to place the selected template entry as a sibling of heading at point. in org 9.3 however, it fully respects the heading level ...
0
votes
0answers
49 views

skip org-capture prompt (deadline)

Is it possible to skip prompts in org-capture-templates? Examlple: I would like to prompt for a DEADLLINE but sometimes there is no hard deadline or it is not yet known. I would like to just skip over ...
0
votes
0answers
99 views

org-capture-template “:created” property

Studying the variable org-capture-template I found several configurations where a certain :created t property is used. One example is here In my help buffer (help:org-capture-templates) I could not ...
0
votes
1answer
262 views

mu4e: Refiling email while making an org-todo

Background: I read my email through mu4e in (Doom) emacs. I set up an org-capture template that stores a TODO with a link to the current email I'm viewing, all working great. Typically I do this from ...
1
vote
0answers
37 views

Do not require tags when doing org-capture

 I have this org-capture template: ("a" "Appointment or call" entry (file+headline "~/todo.org" "Tasks") "* %? %^G \n %^t \n %i") It asks for a tag. Sometimes I insert tags, sometimes I don'...
1
vote
0answers
21 views

Org-capture menu, how I go back after selecting a template group?

When defining template groups like so: (add-to-list 'org-capture-templates '("a" "Group A")) (add-to-list 'org-capture-templates '("aa" "Group A, Sub-group A")) (add-to-list 'org-capture-...
3
votes
1answer
113 views

Is it possible to organize the capture templates selection screen?

As it can be seen above, I have around fifteen capture templates. I think this list may grow or shrink, but in the case that it grows, is there any way to make it more segmented? Like dividing it ...
0
votes
1answer
239 views

How do I automatically clock-in for SCHEDULED items with org-capture?

I would like to setup my org-capture template for meetings so that I get automatically clocked into the meeting header on the day and time of the meeting. So given: * Meeting with client SCHEDULED:...
1
vote
2answers
406 views

File org-capture entry under current headline at point

Let's say that I have a tree of tasks like so: * TODO Launch website ** TODO Get database running *** TODO Select MySQL vs. PostgreSQL Let's say I'm looking at the "Select MySQL vs. PostgreSQL" and ...
2
votes
0answers
157 views

Symbol’s function definition is void: org-mks

Im on Org-mode 9.3.6 with Emacs 26 and upon pressing C-c cfor capture templates, I get org-capture-select-template: Symbol’s function definition is void: org-mks the stacktrace says Debugger ...
1
vote
1answer
181 views

Org (and org-capture) uses English for calendar dates, no matter what I do

The problem: When I use org-capture to write on my journal, it writes the month as April and the day as Friday. But everything in my system is in Portuguese, so it should be "abril" for the month, ...
0
votes
0answers
198 views

in org capture the clipboard expansion (%x) does not work with daemon?

I have this org capture template saved in a tpl-quote.txt file: * a title :PROPERTIES: :TIME: %U :END: %x ;; contents in clipboard And the org-capture-templates is (setq org-capture-...
0
votes
0answers
26 views

calendar date selector not displaying date in capture mode

I am having trouble with inserting dates in Capture mode. The problem: I invoke Capture mode (C-c c for me). I type my task ** TODO some task. I invoke calendar to schedule C-c C-s. I pick a date ...
0
votes
2answers
86 views

org-capture scheduled for next Tuesday (or Friday)

I'd like to create a capture template that automatically schedules the date for the upcoming Friday (if today is a Tuesday, Wednesday, Thursday) or for the upcoming Tuesday (if today is a Friday, ...
0
votes
1answer
378 views

Include elisp function in org-capture template

I've tried following some of the other answered questions here regarding this topic but can't seem to get my head around this particular part of the problem. I have the following function, which ...
1
vote
1answer
43 views

Capture at an arbitrary date

In this example I changed the date for Entered to 12/07/2019 at the capture editing stage. Yet it gets filed under today's date. How can file it under the right date, that is 12/07/2019? Ideally in ...
0
votes
1answer
74 views

org -captue template display a fake board

After I updated doom-emacs, the todo captuer template board displayed as It's actually a fake board because I custom them as (setq org-capture-templates '(("n" "Personal Note" entry ...
2
votes
2answers
614 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, ...