Stack Exchange Network

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

1
vote
2answers
418 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)(...
3
votes
1answer
178 views

Automatically store link when org-capture is called?

I know about the %a template element, which inserts the stored link in the entry. I'd also like to automatically store a link whenever org-capture is called from within emacs (as opposed to spawning a ...
2
votes
1answer
301 views

How to capture and link code comments as org agenda items?

I often see or leave comments in code projects like: //TODO more efficient hash on keys than BASE64? Ideally, I would like to be able to highlight a comment as such and org-capture it to an org file ...
3
votes
1answer
263 views

Can I create a checklist entry using org-capture?

It seems to me that org-capture requires templates to start with a heading (*). Can I not have a template like: ("d" "Daily Tasks" entry (file+datetree+prompt "daily.org") "- [ ] %?") that does ...
3
votes
1answer
304 views

Creating templates in emacs

I need to create a weekly agenda that has the same outline. I currently have a Word template file that I use, but would like to convert it to emacs. I want the emacs "template" to pre-fill the ...
0
votes
2answers
502 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.
2
votes
1answer
283 views

How to Org Capture at current location?

I have successfully used org-capture, and have many templates. Recently I have written a new template, where I want the target to be the location from where I am calling the capture command. I have ...
5
votes
1answer
606 views

Set org-capture datetree write on top of the file

I'm using org to store a list of links, I capture the links with org-capture and a custom template, but I want to write the new entries at top of the file. how I can do this?
0
votes
0answers
89 views

Is it possible to use path expansion when specifying an org-capture template file?

I have a couple of larger org-capture templates that I store in separate files under .emacs.d. I can access the content of these templates like so: ("t" "TODO" entry (file (f-expand "todo.org" org-...
5
votes
1answer
4k views

Error message “Symbol's function definition is void: org-link-types” when I open a .org file

I tried to get the "capture"-Feature to work. I did the following things: Installation of the newest Version of the Org mode (now the version 8.2.10) To get the capture feature work i added to my ....
4
votes
1answer
383 views

Tags completion from org-capture window

If I place %^g in my capture template, org will prompt for tags, with completion. But typically, I like to brainstorm on relevant tags, after I finish writing my ideas. Is there some way to get tag ...
4
votes
1answer
74 views

org-capture notes above footnotes header?

Org-capture appends its notes to the bottom of my notes.org file. But this places them below the * Footnotes headline, which is problematic. Is there some way to configure org-capture so new notes are ...
5
votes
1answer
1k views

Org-mode: clarify the concept and practice of archiving

My current org file (e.g. work.org) has 20+ DONE tasks and Org-mode becomes extremely slow: even moving the cursor takes a 2-3 seconds sometimes. I decide I have to archive these DONE tasks, but I ...
2
votes
0answers
110 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 ...
1
vote
0answers
163 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 ...
4
votes
0answers
151 views

orgmode, capturing original document title

I have a basic capture template: ("a" "Article" entry (file+headline "~/GitLab/Reports/Bibliography/references.org" "Article") "* %^{Title} \n%?") that asks you to fill the Title field. Now, ...
4
votes
1answer
311 views

Capture template without body

I have an org-formatted file named foo.org that consists only of headings (without body). Notice the absence of blank lines. * one ** a ** b * two ** c * three I want to use capture templates to ...
4
votes
1answer
158 views

Change the time when picking a date?

I am using a %^T element in my org-capture-template. This prompts me this need calendar buffer, where I can pick a date. I can move around by using SHIFT+<arrow>. It maps to calendar-forward-...
1
vote
1answer
674 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") ...
2
votes
2answers
862 views

creating an org-capture template

I am trying to create an org-capture template for a grocery list, but there seems to be no easy way to get the result I want, and I'm pretty bad at programming. So I was hoping that maybe someone has ...
1
vote
1answer
800 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 ...
6
votes
1answer
343 views

Evil mode - How to go into Insert mode after Org-capture with %? cursor placement

After creating an org-capture with the %? to place the cursor, the cursor will be in command mode. Is there a variable for putting it into insert mode or does org-capture elisp code need to be ...
3
votes
1answer
756 views

Using org-protocol with a floating capture window?

I have recently found a way to have a floating capture window, with this setting I can create a floating capture window using: emacsclient -n -e '(make-capture-frame)' My knowledge of elisp and org-...
3
votes
0answers
63 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 ...
1
vote
1answer
411 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-...
2
votes
0answers
349 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 ...
4
votes
2answers
201 views

Capture deadline timestamp based on date in agenda view?

I want to capture things with a deadline timestamp relative to the date that is open in my agenda view. How can I do that? The %T template inserts today's date. I want a template that queries my ...
3
votes
1answer
2k views

Can' t set directory for org-mode capture

I was trying to use the capture as is explained in org-manual p. 85. This is the relevant part of my .emacs file. (setq org-default-notes-file (concat org-directory "~/Notities/org-mode/Capture.org"...
4
votes
1answer
138 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 ...
2
votes
2answers
256 views

Emacs freeze after selecting a org-capture template

I'm new to org-mode. I've tried to set up a simple TODO list by calling org-capture and when I select my [t] todo item on *Org Select*, Emacs freezes and I need to kill its process. On the mini-...
3
votes
1answer
581 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 ...
4
votes
2answers
447 views

Add line number to org-capture

Preface this by saying I program but I'm not a programmer, and I especially don't know lisp. I use org capture during code reviews, and we use line numbers as a way or organizing changes that need ...
2
votes
2answers
403 views

How to group together tags in a headlines made by org-capture?

I use the following capture code for making notes. (setq org-capture-templates '(( "n" ; key "Add a note to abc.org file " ; ...
2
votes
0answers
62 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 ...
4
votes
1answer
717 views

Capturing screenshot in org-capture buffer

I am planning to insert screenshot in org-capture buffer. I have a function that can create a screenshot image in a images subdirectory of current directory. However, since the org-capture buffer is ...
8
votes
3answers
806 views

Emacs: function to make a file with date/time as filename, and a shortcut for it

I need to generate text files with the following name format: YYYYY-MM-DD--hh-mm-ss.org. How can I use the capture funtionality for this? That is, instead of making one entry per capture in a single ...
4
votes
1answer
409 views

How to make a capture task template that stores a new task at point in the file I am in?

Org capture is a great tool for capturing notes and task when doing other things inside Emacs. The captured item is stored in a specified file for later review, and the point jumps back to the file it ...
1
vote
1answer
603 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 (...
4
votes
1answer
421 views

How to use Org Capture to add a task *and* automatically add parent's property

I'm trying to create an org-capture template that creates a task and (important part) automatically adds a parent's property to this new task. I'm comfortable creating new capture templates--I'm just ...
7
votes
1answer
833 views

Is it possible to file a capture template in a subheading of a day in a datetree?

In Org-mode, I would like to have a capture template get stored like this: * 2015 ** 2015-05 May *** 2015-05-21 Thursday <--- I can get this with file+datetree **** Todo today <-...