Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [org-capture]

is for capturing notes in Org mode with minimal interruption.

60 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
1 answer
2k 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" "...
doctorate's user avatar
  • 1,829
3 votes
0 answers
949 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." (...
zeltak's user avatar
  • 1,745
3 votes
0 answers
276 views

org-pomodoro - extending its function: popup windows and pomo logging

I'm using pomodoro method of focus-enhanced time allocation when I work in my tasks. In Emacs (I'm using Windows 10), here comes the org-pomodoro package for org-mode, where I can 'clock-in' an item ...
menuhin's user avatar
  • 325
2 votes
1 answer
439 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 ...
Joann Morris's user avatar
2 votes
0 answers
244 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 ...
CD86's user avatar
  • 573
2 votes
1 answer
227 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 ...
gigiair's user avatar
  • 2,186
2 votes
0 answers
81 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 ...
HelmetFace's user avatar
2 votes
0 answers
150 views

Automatically add properties based on tag in Org outlines

I'd like to be able to configure org to add properties based on specific tags which are used to describe the outline item. For instance, say we have a list item * user :person:student:. I'd like to ...
devnill's user avatar
  • 121
2 votes
0 answers
83 views

Trouble with link to position in current file when capturing

So I'm fairly competent with org-mode, and I make constant use of custom templates. I'm just now exploring the idea of integrating capture into my programming work flow so I can whip up skeletons ...
Bronze's user avatar
  • 113
2 votes
0 answers
381 views

Capture template `a': outline-show-all

After updating my Emacs packages, org capture templates fail with Capture template `a': outline-show-all, where a is the capture keystroke. Backtrace: Debugger entered--Lisp error: (error "Capture ...
Matthew Piziak's user avatar
2 votes
0 answers
119 views

How can I make Org mode's capture functionality accept tags starting with '%'?

I use org mode and its capture functionality for capturing notes and tasks on the go. My capture code looks like this: (setq org-capture-templates '(( "n" ; key ...
myotis's user avatar
  • 1,119
1 vote
0 answers
19 views

Is it possible to 're-use' the value of a timestamp prompt within an org-capture-template?

I am trying to prompt for a timestamp to be added in the properties drawer, and to re-use the value outside of the drawer so it can be visible when reading/editing the note. I am already using the %\N ...
lyndhurst's user avatar
1 vote
1 answer
63 views

Org-mode tag autocomplete with helm adds unwanted comma

When using org-capture, tags are auto-completed with a comma that is not compatible with org-mode tags (org-mode tags are separated by colons) I believe helm is assisting with the tag autocomplete ...
charliesneath's user avatar
1 vote
0 answers
106 views

How to programmatically invoke an org-capture template

Let's say I have the following template added to org-capture: (defvar my/org-todo-template "* %^{NUMBER} - %^{DESCR} [%] ** Contacts ** Fotos ** Tasks *** TODO Task a *** TODO Task b") (...
my_display_name's user avatar
1 vote
0 answers
44 views

Unwanted spacing in datetree template

I have an issue with unwanted spacing when I'm adding entries to datetree. This is the template I'm using, stripped to simplest for the purpose of testing: ("p" "Progress" entry (...
Djole's user avatar
  • 25
1 vote
0 answers
238 views

Org capture to existing file

I would like to use org-protocol to capture to an existing org file if one already exists. I am using a function to generate the file name interactively for the org file to be captured to: (defun my/...
sab hoque's user avatar
  • 135
1 vote
0 answers
146 views

Custom org-capture find headerline function error, wrong number of arguments

So, I managed to get my headline retrieval function fixed, so now the function searches and finds my header lines, but when I select the one I want to use.. it oddly throws back this apply: Wrong ...
Nova Leary's user avatar
1 vote
0 answers
47 views

spacemacs: org-capture generates point with unexpected highlight

In spacemacs, when I use org-capture to insert in an existing .org file with a template, I get an orange highlight that I don't expect, and I don't know what it means: In the image the 2021/07/16 ...
iftheshoefritz's user avatar
1 vote
0 answers
39 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: ...
chriad's user avatar
  • 396
1 vote
0 answers
148 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-...
kballou's user avatar
  • 125
1 vote
0 answers
729 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 (&...
slackline's user avatar
  • 345
1 vote
0 answers
129 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'...
Emmanuel Goldstein's user avatar
1 vote
0 answers
76 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-...
AEmacs's user avatar
  • 87
1 vote
0 answers
179 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 ...
Vaibhav's user avatar
  • 11
1 vote
0 answers
29 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"...
Unknown's user avatar
  • 11
1 vote
0 answers
257 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 ...
Johan Sandén's user avatar
1 vote
0 answers
150 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 ...
zck's user avatar
  • 9,102
1 vote
0 answers
190 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 ...
Adam's user avatar
  • 1,897
1 vote
0 answers
85 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?
Toothrot's user avatar
  • 3,264
1 vote
0 answers
341 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 ...
okintheory's user avatar
1 vote
0 answers
690 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 ...
fabee's user avatar
  • 111
0 votes
1 answer
34 views

C-c c does not activate Org Capture after upgrading to Emacs 29.2

After upgrading to Emacs 29.2 I can't activate Org capture using 'C-c c'. In the mini buffer it says 'C-c c is undefined' I can activate Org capture using 'M-x org-capture', but I preffer the 'C-c c' ...
lloowen's user avatar
0 votes
0 answers
59 views

How can I org-download-clipboard in org-capture-templates?

As org-protocol does not support images, I was thinking of calling org-download-clipboard from the org-capture-template. (add-to-list 'org-capture-templates ' ("l" "...
Jason Hunter's user avatar
0 votes
0 answers
12 views

A file I was using for org-capture has been renamed (*filename*.org -> *filename* (1).org, is this normal?

I wanted to rule out this being a feature of org-capture, maybe a result of manually editing the file or something? If anyone has any other suggestions as to what else could have caused it I would be ...
Sean's user avatar
  • 1
0 votes
0 answers
26 views

Capture to a location based on on location in org-tree

org-capture has a highly customizable set of capture locations using org-capture-templates. I've used this for doing things like capture to the current task I am working on using org-clock or to ...
Att Righ's user avatar
  • 775
0 votes
2 answers
72 views

How do you handle an error in the scope of current-buffer with condition-case?

I would like to create headings and subheadings with org-capture if they don't exist with file+olp in my templates. The problem is that I get this message Heading not found on level 1. I'm not sure ...
Rick's user avatar
  • 25
0 votes
0 answers
34 views

Org-capture: not able to copy paste image in transient buffer

Basically that: when I try to capture on the fly ideas with images, I can't paste them. Org-capture seems to only work for text. Any ideas on how to bypass this limitation? Thanks! I just noted this ...
Emmanuel Goldstein's user avatar
0 votes
1 answer
64 views

org capture auto id insert %a

When creating a capture, org capture will auto insert a link which link to the location where the capture action happens, if the capture template contains "%a". e.g: I'm in heading A, and ...
Doerthous's user avatar
  • 101
0 votes
0 answers
233 views

org-capture: use without indirect buffer

Is there a way to enter capture text without the indirect buffer after C-c c? So, after pressing C-c c the :LOGBOOK:is directly filled with - Note taken on... and I can continue capturing text in that ...
user195844's user avatar
0 votes
0 answers
362 views

Capture template for org-roam-bibtex to keep notes in single file

As the title says, I want to setup org-roam-bibtex so that I can capture notes for different papers/articles in a single file. (I've asked iterations of this on the org-roam discourse page and on the ...
nonreligious's user avatar
0 votes
1 answer
97 views

org-protocol URLs with UTF-8 (URL-encoded) characters aren't properly captured

When using org-protocol capture URLs on Windows, pages with non-ASCII titles or captured text results in a capture with incorrect values applied in the template. Despite such characters being properly ...
Chris Charabaruk's user avatar
0 votes
0 answers
124 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 ...
space_held's user avatar
0 votes
0 answers
363 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 ...
Prolle's user avatar
  • 103
0 votes
0 answers
647 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 ...
darkhelmet's user avatar
0 votes
0 answers
91 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. ...
StevenMurray's user avatar
0 votes
0 answers
63 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-...
Richard's user avatar
0 votes
0 answers
58 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!
Emmanuel Goldstein's user avatar
0 votes
0 answers
70 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.
Roman Smirnov's user avatar
0 votes
0 answers
73 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/...
emonigma's user avatar
  • 1,907
0 votes
0 answers
289 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 ...
omarali linux's user avatar