Questions tagged [org-mode]

is an Emacs major mode for keeping notes, maintaining TODO lists, planning projects, and authoring documents with a fast and effective plain-text system. Because Org mode is a vast subject area, other tags must accompany the `org-mode` tag.

Filter by
Sorted by
Tagged with
0
votes
0answers
45 views

How to automatically change TODO priority in Org-mode based on number of days to a deadline?

Is there a way to automatically specify a TODO items' priority based on the number of days to a given deadline? For example, if the deadline for the TODO is <2021-01-22 Fri>, I would like the ...
1
vote
1answer
66 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
1answer
30 views

Forcing Inheritance of Specific Properties in OrgMode

I am working on an OrgMode Scrum workflow that works well for me. One thing that would make it easier is the ability to designate specific properties as inheritable. This is because in my scheme ...
0
votes
0answers
32 views

Leuven (and some other themes) show wrong code block background

Using emacs on Windows 10. The background colors of the begin, end, and code blocks don't continue to the ends of their lines. Since my .emacs file is rather short, I'll include it, too. Here's a ...
0
votes
0answers
18 views

org-pomodoro How can I record break times also?

How can I record the pomodoro break times in a separate heading? Every time a pomodoro ends, I would like the break to be automatically recorded under ** Breaks in my org file. * Work ** Actual Work :...
0
votes
1answer
22 views

sending the results of org-mode block execution to another buffer

I'd like to be emulate something similar to using a repl with clojure/cider using org-mode where the results of the evaluation are not put in directly into the document but sent to the repl buffer. ...
0
votes
0answers
39 views

Getting a speedbar to display a tree for org-mode headings

Is there a way I can get speedbar to give a complete top level tree and click through to lower levels? treemacs does it (but doesn't have buffer, info, etc minor modes) ... speedbar can produce a tree ...
0
votes
1answer
41 views

Hook to run on completion of exporting org to html

I've defined a custom command with shell-interpreter to rsync files to my VPS... (defun rsync_html () (interactive) (with-shell-interpreter :path "~/org" :interpreter "bash&...
0
votes
0answers
20 views

How to extend the org koma letter script for cv/resume generation

I'm quite happy writing a letter in org mode using the koma[0] script for org mode[1]. I create a new header and body, hit C-c C-e k(for koma). Done. However I don't know where to start in order to ...
0
votes
0answers
14 views

org mode auto-format document function

Is there a function like org-fill-paragraph but can be run for the entire document excluding the SRC and EXAMPLE blocks (for some reason, running org-fill-paragraph in blocks makes emacs quit)? I ...
0
votes
0answers
82 views

How can I tangle a specific org mode header from commandline?

$ cat foo.org * A #+begin_src text :tangle a.txt 123 #+end_src * B #+begin_src text :tangle b.txt 456 #+end_src Now I change 123 to 1234 and save foo.org $ cat foo.org * A #+begin_src text :tangle ...
0
votes
1answer
19 views

Emacs org mode entitiespretty not complete

This #+STARTUP: entitiespretty in my org mode buffer allows Latex/MathJax symbols to render in situ . . . almost. I type, e.g., $\le$ and instantly the markup is replaced by the actual symbol. There ...
0
votes
0answers
29 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 ...
1
vote
2answers
95 views

Start an org file with all headers collapsed

Whenever I open an org file, I want to see only the outline, so I want to have all the headers collapsed. I'm using doom emacs, this is what I have in my config.org file: (setq org-startup-folded &...
0
votes
0answers
48 views

Org-Mode export table to latex with word wrap

I'm trying to export a table from org-mode to latex and have dynamic line-breaks/word-wrapping, so whenever a cell exceeds a certain length, it should wrap to the next line. This is what the latex ...
0
votes
0answers
42 views

Why does my org-link-beautify extension generate many timers?

I wrote an extension org-link-beautify. It uses text properties to display all-the-icons icon for links. When I use list-timers, I found many timers like this: UPDATED of command list-timers (show ...
1
vote
1answer
20 views

how to add time information to an evaluated org-mode code block?

I'd like to be able to add additional information of when a block was run to the result: ie. #+BEGIN_SRC js var a = 4 var b = 3 return a + b #+END_SRC #+RESULTS: : 7 @ Thurs 8th Dec 2:00pm EST is ...
0
votes
1answer
22 views

The `org-set-effort` fn has changed behavior on Emacs 28? How to select an effort by index typing 1, 2, 3 etc.? instead type the entire value?

I was using Emacs 26 and put this line on top of my org-mode file: #+PROPERTY: Effort_ALL 0:25 0:50 1:15 1:40 2:05 2:30 2:55 3:20 3:45 4:10 4:35 5:00 5:25 5:50 6:15 6:40 7:05 7:30 7:55 8:20 This ...
0
votes
1answer
44 views

Cannot evaluate matplotlib in Python code block

These are my first attempts to plot graph in Python. Following this example , I tried a very simple graph import matplotlib.pyplot as plt import matplotlib as mpl import numpy as np x = np.linspace(0,...
0
votes
1answer
27 views

Helm-find-files on org link

When we call helm-find-files on an org link or path, helm is smart enough to autocomplete the path, making it easy for us to navigate from there. Unfortunately, if the link starts with [[file:./this/...
0
votes
0answers
22 views

Conflict with TAB keybinding for Yasnippet and Orgmode heading

I tried to use Yasnippet to create a template for org-drill "flashcard" # -*- mode: snippet -*- # name: Orgdrill twosided card # key: drill2 # -- * ${1:Write title here} ...
0
votes
0answers
15 views

Aggregate tag lists for completion in orgmode

I would like that the tag completion mini-window aggregates : buffer tags defined in #+TAGS header (LOCAL_TAG_1, LOCAL_TAG_2) tags set in the previous headings (ANOTHER_NEW_TAG) tags coming from the ...
0
votes
0answers
38 views

org-id-find unable to find existing ID

After having moved to an upgraded machine, I am now facing problems with my org-mode setup, specifically that org-id-find now returns nil for IDs that do exists in my org files. This breaks some of my ...
1
vote
1answer
50 views

library for code execution for markdown via org-babel

Are there any libraries out there that can take the markdown code fence block and execute it via org babel? Ie, something like '''js var a = 1 var b = 2 return a + b ''' Reasoning: I don't see not ...
1
vote
1answer
39 views

Find org babel header arguments documentation for shell language

The org manual specifies in the this link: https://orgmode.org/manual/Languages.html#Languages the language it supports (including shell). It mentions this: Additional documentation for some ...
0
votes
0answers
44 views

How to make orgmode decorate quotes?

Org mode decorates some parts of text (like section headers with yellow), but I'd like to add other ones such as double quotes (such as strings when I am editing Lisp code).
0
votes
1answer
35 views

Running code after org-deadline

I want to run code after adding a deadline, for example to move it forward by one day in case the deadline is early in the day, or by a few hours in case it's on a different time zone. This attempt ...
0
votes
0answers
16 views

Snippet Works with `yas-expand-from-trigger-key` but not `yas-expand`

Emacs: 27.1 Doom: 2.0.9 Yasnippet: 0.14.0 I have the following snippet that I have been using for a while to record "mood" notes in my journal: # -*- mode: snippet -*- # name: New Mood Note ...
0
votes
0answers
41 views

Problem with org-agenda view when going forward 1 week

I have my org-agenda to start on a Sunday. Hence I have this code in my .emacs file: (setq org-agenda-start-on-weekday 0) org-agenda opens with the cursor on the current day of the week. If I press &...
0
votes
1answer
58 views

Org-mode Latex export opens pdf with GIMP

Not sure why this is, but I just tried an org-mode Latex export (C-c C-e l o), but it opened GIMP to display my resulting pdf file. I'm on 27.1 and 9.4. My system is Ubuntu 20.04 with Gnome. I went to ...
0
votes
0answers
42 views

Org Mode reviewing project tasks

I tag projects with :agenda: tag and use for various agenda reviews, the top level task then having the various project stages (READY, ACTIVE, etc.) In my weekly review process I want to review the ...
1
vote
1answer
54 views

Org-mode set a global configuration variable for `#+OPTIONS: ^:{}`

I add #+OPTIONS: ^:{} to all of my org-mode documents so _ is not interpreted and displayed directly as a LaTeX subscript unless I use write thing_{subscript}. How do I set this globally in my emacs ...
1
vote
0answers
34 views

How to convert an org-mode outline into a Microsoft Word outline?

The title of this post says it all: I have an outline in an org-mode file, and I want to convert it to a Microsoft Word document that I can open in "outline view"1. Unfortunately, the ...
1
vote
0answers
29 views

How to achieve automatic, relative re-scheduling of child tasks after TODO state change?

I would like to do something in Org-Mode, but I'm not sure how to achieve it in the best way. I basically want to be able to have an item in my agenda every few days that reminds me every few days to ...
0
votes
1answer
22 views

Any way to invoke vim from within an org file and on closing vim, the result is copied back at parent org file cursor?

This is a specific use case and I understand that not a lot of folks will have use (or prefer) this. But I'd still like to understand whether this is possible. While editing an org file, I want to ...
0
votes
0answers
36 views

Delete similar lines in an Emacs Org-Agenda file

I would like to clean up entrees in my org-agenda files. I have had many duplicate lines which I have removed using delete-duplicate-lines. However, I also have many similar lines which I would also ...
0
votes
1answer
45 views

org-babel: define commands for all named source blocks in given set of files

This answer shows how to define a command that executes a named org-babel source block. If you want to do this for all named source blocks in a file, you could define one command per block. That's ...
0
votes
0answers
38 views

Unfold org subtree containing a special keyword

Consider the following org file: * Heading 1 ** Subheading 1.1 ** Subheading 1.2 containing Keyword bar *** foo foo *** bar **** foo ** Subheading 1.3 * Heading 2 ** Subheading 2.1 ** Subheading 2.2 * ...
0
votes
1answer
59 views

Is there a way to call M-x my-org-babel-block?

I have a named org-babel source block like this: #+NAME: my-org-babel-block #+BEGIN_SRC elisp :results output (print org-babel-load-languages) #+END_SRC Is there any way to call this block with M-x ...
0
votes
0answers
26 views

Org-mode initial visibility: show each top heading's direct children only

I'm trying to achieve this visibility on startup: * Top 1 ** Sub 1.1... ** Sub 1.2 * Top 2 ** Sub 2.1 ** Sub 2.2... ** Sub 2.3 * Top 3 ** Sub 3.1 That is, all top level headings should show their ...
0
votes
0answers
35 views

org-export: asynchronously export AND open/reread the pdf?

I tried C-c C-e C-a l o to asynchronously export an .org doc as LaTeX file, convert it to PDF, then open the PDF, but it won't be opened or reread (using pdf-tools). Is there a way to asynchronously ...
0
votes
0answers
53 views

tangle to specific section in org file

I was wondering if anyone already wrote a function to tangle an org-chunck to an org-file section. Maybe not even as a code chunck but rather as a org-chunck itself. I am trying to construct a not ...
1
vote
1answer
29 views

Is there any way to search in the current narrowed subtree in org mode?

I can use C-x n s (org-narrow-to-subtree) to narrow the content to the current subtree, which is great. After doing that, I want to search a keyword in the current narrowed subtree(instead of the ...
0
votes
1answer
71 views

Executing init.el file to load journal

I have this configuration init.el file: ;; for org-journal (setq org-journal-dir "~/Desktop/doctorado") (setq org-journal-date-format "%A, %d %B %Y") (setq org-...
1
vote
1answer
71 views

Define new keywords in orgmode

I am trying to define new keywords for org-mode in order to highlight text in buffer. I followed this tutorial and this one which leads me to the following code : (defface ex-face '((t (:foreground &...
0
votes
0answers
21 views

org mode evaluate code blocks up to the current cursor?

Is there a way to execute all code blocks in an org file up to the current cursor point? I know that there is C-c C-v C-b for evaluating all code blocks. But often times, I'd like to resume from a ...
0
votes
1answer
53 views

command run in docker-tramp running on the host rather than remote

The setup: I have a docker container connected with a mounted volume containing an org file. The docker container has both texlive and emacs (configured exactly the way it is on my host) installed. I ...
1
vote
0answers
69 views

Pasting images into Org

I'd like to paste images from the system clipboard into an Org file. Emacs should write the clipboard content to a suitable file (likely an attachment) and insert a suitable link (see https://orgmode....
0
votes
1answer
43 views

org verse blocks: indentation not preserved on export to odt

the org manual says "To preserve the line breaks, indentation and blank lines in a region, but otherwise use normal formatting" you can use #+begin_verse #+end_verse block. if i run emacs -Q,...
0
votes
1answer
56 views

How can I sort Org headings by value in :properties:

My org file structure is this: * Heading 1 :PROPERTIES: :EVENT_CREATED: [2016-11-28] :END: * Heading 2 :PROPERTIES: :EVENT_CREATED: [2016-10-27] :END: * Heading 3 :PROPERTIES: :EVENT_CREATED: [2019-02-...

1 2 3
4
5
88