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.

914 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
14
votes
0answers
427 views

Resolving duplicate ID's in org-mode

For a variety of reasons it's possible to end up with duplicate heading Id's (manually-set ID conflicts, copy pasta, duplicate files, etc.). When refiling you may get a message WARNING: 17 duplicate ...
10
votes
0answers
562 views

How to get automatic backlinks when linking files in in org-mode?

Is it possible to automatically create backlinks to org-mode links? When a link to file B is added to file A, then also a link to file A is added to file B (i.e. the links are symmetrical - going both ...
10
votes
1answer
276 views

Highlighting upcoming dates in org mode agenda

I have entries in my org file similar to: * Birthdays :PROPERTIES: :CATEGORY: birthday :END: %%(org-anniversary 1981 1 2) Harry (%d) What I would like is for these to appear in the agenda (say) 2 ...
10
votes
1answer
435 views

including archives in org-mode clock-table

I clock my time in org-mode. Because projects in my line of work can last for several years, I'd like clock reports that extend over a long period of time. The problem is that it's annoying to keep ...
10
votes
0answers
2k views

Inline SVG's in org-mode?

I can see many image formats in orgmode, but not SVG. I get the error Invalid image type 'svg' when I run org-display-inline-images. It should be possible given this question exists: https://www....
9
votes
0answers
131 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”) ...
9
votes
0answers
457 views

Edebug orgmode source code blocks with input variables

What is the standard method to debug emacs-lisp orgmode source code blocks with input variables as header arguments? I found the hacky solution to insert the following snipped in front of a source ...
8
votes
0answers
296 views

How to expand external files inline on orgmode?

I know I can use something like #+INCLUDE: "./filepath" but this has effect only when I export the file. I can also use link like [[./filepath]] but I have to type C-c C-o to go to the content. How ...
7
votes
2answers
346 views

Org mode quote block indentation (highlighting)

Can indentation of the Org mode quote block be configured? I would like to highlight quote blocks with indented margins, both left and right if possible: The example above demonstrates org-quote ...
7
votes
0answers
337 views

org-mode ODT export template

I would like to export org file to ODT. Is there any nice ready to use ODT template that can be used for exported documents? Default template is not good looking. I had the same problem with html ...
7
votes
1answer
448 views

How to get org-mode fully support Arabic language for export?

My intention is to write Arabic document using org-mode. Please consider the following MWE, given that my configuration in init.el has below code to enable writing of Arabic script from right to left (...
7
votes
0answers
389 views

How to indicate the currently clocked-in task?

I'm using org-mode's clocking functions to track the hours I spend on projects. Since my main org file is rather large and I scroll through it a lot, it would be great to have a visual cue of the task ...
7
votes
0answers
1k views

How to better align tags in Org Mode using variable-width font

I prefer using variable-width fonts in Emacs whenever I can. That said, Org Mode tags are horribly aligned when headings use variable-width fonts, even if the tags themselves use fixed-width fonts. Is ...
6
votes
0answers
221 views

How to archive an org-mode subtree along with its parent headlines

Let me start out by saying I've seen various attempts to address questions similar to mine, but none of them handle the things I'm looking for. Here is an example of what I'm looking for: Say I ...
6
votes
0answers
245 views

Emacs org-mode, agenda view, discover overlapping tasks

If I have following scheduled items in my org file: ** meeting a SCHEDULED: <2015-11-12 Thu 21:00-23:00> ** meeting b SCHEDULED: <2015-11-12 Thu 22:00-23:00> which generates ...
6
votes
0answers
1k views

Move item from org archive back into org agenda file?

Q: how does one move a project out of the org archive and back into its original spot in the agenda file? org-mode has facilities to archive projects. Every once in a while, however, I need to ...
5
votes
0answers
48 views

org-fill-paragraph in a list with checkboxes doesn't take into account the checkboxes

I'm trying to figure out a way to change the behavior of org-fill-paragraph for a list with checkboxes. I would like the indentation to take into account the checkbox, but here is what I see: - This ...
5
votes
0answers
109 views

How to schedule repeatable sequences of tasks

I've been trying to find the right approach of scheduling a repeatable sequence of tasks: first approach was to mark the parent as repeatable and children as normal tasks. * TODO This is the ...
5
votes
1answer
44 views

How to display intermediate code block results?

Here is an example to let me explain what I would like to achieve: #+NAME: heavy_computation #+BEGIN_SRC shell :results table echo -e "A\t32\nB\t17" #+END_SRC #+BEGIN_SRC python :var data=...
5
votes
0answers
141 views

Org-Mode repeating task until

Simple question here, pretty new to org mode. I have an assignemnt I want to do once a day until a specific date. How can I have it scheduled for every day, but end on a ceratin day? This is what I ...
5
votes
0answers
77 views

Any advice? - Struggling with text reuse in emacs buffer

I'm basically a level 0 emacs/orgmode user, trying to get the hang of Emacs/Orgmode. Doing this like for the 5th time already, as most Emacs beginners obviously. I have this feeling I'll like and be ...
5
votes
0answers
155 views

Calculate emacs org property from another property

I have an Emacs Org file with list of tasks with a set of properties each one. Say I have three properties called ESTIMATED, SPENT and REMAINING, which account for the number of hours that I ...
5
votes
0answers
234 views

Can body-only exports be performed by default?

I have an org file: #+TITLE: Hello! Hello world! I can perform a "body-only" export of this file to html by issuing C-c C-e C-b h h. Here, the C-b keystroke toggles the "body-only" variable from ...
5
votes
0answers
339 views

Narrow to a sparse tree?

There are times I prefer to work in a sparse tree instead of an agenda, namely ease of quick edits. However the sparse tree, even with all folds level set to on (e.g. org-show-siblings and others), ...
5
votes
0answers
109 views

Fontify (italic) text in agenda views

I have some TODO headings with italicized text. These display correctly in Org buffers, but aren't fontified and italicized (slanted) when retrieved as part of an agenda view. Is there a way to ensure ...
5
votes
0answers
118 views

Picture of sender in mu4e

How can I see a mini-picture or icon of the email sender in the headers view and email view in mu4e? Is there an easy way to achieve this using, say org-contacts?
5
votes
0answers
430 views

Org-mode inline .eps images display error. (.eps created by AI ok, .eps created by matplotlib no)

As I basically use Org to take note and export LaTeX files, I find displaying eps files as inline image to be important for me.I have my emacs compiled with ImageMagick support, and added the ...
5
votes
0answers
383 views

Inherit SCHEDULED and priority properties

What is the reasoning behind the design of not inheriting the SCHEDULED and priority properties? Any notable use cases to support this behavior? On the contrary, actually inheriting SCHEDULED (or ...
5
votes
0answers
200 views

How can I wrap org-preview-latex-fragment to be async?

Calling org-preview-latex-fragment blocks user input for a second or two depending on the size of your fragment, and with universal args, converting all fragments in buffer can take minutes. It would ...
5
votes
0answers
182 views

CLOCK timestamp field in clocktable

Given the following org data : * PROJECT NAME ** task 1 CLOCK: [2016-03-21 Mon 09:50]--[2016-03-21 Mon 10:03] => 0:13 my comment on task1 ** task 2 mycomment on ...
5
votes
0answers
136 views

How to link from parent source block to child block (included via <<noweb>>)?

When exporting the documentation (HTML or PDF) for a literate program that uses noweb references in blocks, how can I get the output to actually hyperlink the <<noweb_snippet_name>> line (...
5
votes
0answers
86 views

Get task duration from old timestamps

Assuming I have a task where I store a timestamp for every taskchange I do: * DONE Extremely important dummy task :categorywhatevs: - State "DONE" from "IN PROGRESS" [2015-06-08 Mo 14:...
5
votes
1answer
206 views

Category based clock report?

I would like to make a orgmode Clock report that groups tasks based on their category rather than file name alone. This would allow me to have fewer todo files to navigate around in. I could not find ...
4
votes
0answers
45 views

Can I have a different dictionary for flyspell in different headings?

I have an org-mode file where I use different languages. I was hoping to be able to have flyspell checking them. Something like: * Title 1 :PROPERTIES: :Language: Italian :END: This is italian text ...
4
votes
1answer
90 views

Importing table of contents from another org file?

Specific Use Case: I have two files, index.org and blog.org. I would like to include the table of contents of blog.org in index.org. The "obvious solution" to me is to use org-babel to inject html ...
4
votes
0answers
318 views

latex inside table using table.el in org mode

I am trying to achieve multicolumn cells in org-mode tables like in Multicolumn cells in org-mode tables, but with Latex inside the cells. * Minimal Example +------------+-----------+-------------...
4
votes
0answers
253 views

Attachfiles using org-mu4e

I am currently using org-mu4e with (setq org-mu4e-convert-to-html t) and (org-mu4e-compose-org-mode). When I attach files to a email I get the classical html <#part type="application/type" ...
4
votes
0answers
606 views

Hierarchical org refile support with ivy

When I enable ivy-mode in an org buffer and C-c C-w for refile, all headlines are presented as refile targets. So far so good. I relied on the org default setting (org-outline-path-complete-in-steps '...
4
votes
1answer
148 views

See total number of entries in Global TODO list

Would it be possible to list the total number of entries in a global todo agenda view? I would like to have a quick way to estimate progress daily. So instead of: Global list of TODO items of type: ...
4
votes
0answers
69 views

Using package siunitx when previewing latex fragments in org-mode

I'm using siunitx extensively in my lab reports, but I'm unable to get units to appear correctly when previewing latex fragments. This is what the latex fragment looks like: ... with preview applied:...
4
votes
0answers
155 views

Add another level to org-mode visibility cycling

The way S-TAB (org-global-cycle) switches between "top headline -> all headlines -> all content" is great for showing an outline and provide overview, but acts on the full document. Using TAB (org-...
4
votes
0answers
119 views

Add original location of refiled entries to LOGBOOK after org-refile

With this setup (setq org-log-refile 'time) I have the following notes added to my TODO entry that I refiled (already twice and it is ended up in long someday-maybe): * TASK Note on where the entry ...
4
votes
0answers
481 views

Export to multiple files according to tags

I am using org mode to build teaching presentations (through beamer export) and I have a global document containing all the slides I use. Each slide has a tag to indicate the corresponding teaching ...
4
votes
1answer
170 views

Org Mode: Difference in results when evaluating code block and evaluating called code block

I am a beginner who wants to evaluate a Call to a code block in an org-file and get the same results as when I evaluate the actual code block. Like so: #+NAME: Myblock #+BEGIN_SRC emacs-lisp :results ...
4
votes
0answers
135 views

org-mode: I can recalculate all tables, or realign, but not both

I've got a dynamic block in org-mode (e.g. a clocktable) and I want to update it on save. To do this, I have written the following function (which I'm calling in a before-save-buffer hook): (defun my/...
4
votes
0answers
185 views

Echo contents of a heading of one .org file in another

Is there a way to have contents of a heading of an .org file echoed in another .org file, so that the text in the second file would be updated automatically when the first file changes? For example, ...
4
votes
0answers
107 views

how to include remote images in org-mode export to LaTeX?

When I paste the URL of an image into an org-mode file and then export it to HTML, the remote image URL gets turned into an img tag and displayed in my HTML file without the need for me to save the ...
4
votes
0answers
852 views

How to embed external file contents in org file?

I'm creating a simple bash tool that uses various flags/arguments from the user, and I'm using an org file for the documentation. I have several examples and I'd like to include some explanation of ...
4
votes
1answer
319 views

Export pretty symbols in org source blocks?

I make substantial use of prettify-symbols in my programming buffers. A snippet of some of my python symbols: (add-hook 'python-mode-hook (lambda () (mapc (lambda (pair) (push pair ...
4
votes
0answers
55 views

How to prevent single lines from disappearing when cycle with TAB key?

Sometimes my latex commands (with #+LATEX:) get buried within my org document. Can I disable the visibility cycle behavior for single lines? A preferred behavior would be to leave non-indented lines ...