Stack Exchange Network

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

12
votes
0answers
341 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
460 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
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
416 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
562 views

org-mode captions not supported for EXAMPLE blocks?

Please consider the following, self-contained .org file MVE, which I hope is self-explanatory: #+OPTIONS: toc:nil Figure [[captions-work-for-src-blocks]] shows that captions are correctly exported ...
8
votes
0answers
283 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
0answers
355 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
922 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
179 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 ...
6
votes
0answers
187 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 ...
6
votes
0answers
221 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
39 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
65 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
0answers
197 views

After change to org-mode 9.1.13, TAB not work when put after `<s`

Usually, TAB after <s expand to #+BEGIN_SRC in org-mode, but today I updated my org to version 9.1.13, and TAB not work this way any more. I don't know where to start to figure this out, but I C-h ...
5
votes
0answers
105 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
75 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
118 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
288 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
84 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
729 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 ...
5
votes
0answers
111 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
85 views

Is there any way to postpone or update all expired deadlines (or scheduled tasks) at once?

Is there any way to postpone or update all expired deadlines (or scheduled tasks) at once in org-agenda mode? I tend to schedule more than I can handle and need a way to quickly either (a) remove old ...
5
votes
0answers
369 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
304 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
169 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
167 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
109 views

Show a warning when there are duplicate headings in org-mode

Sometimes I have quite long org-mode documents. I tend to insert new headings and sub-headings throughout the whole document. However sometimes I think that I already used this text and begin ...
5
votes
0answers
131 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
84 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:...
4
votes
0answers
30 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
0answers
197 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
468 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
0answers
165 views

Speed up org-map-entries when matching by property

Question: Why is org-map-entries property matching so slow, and what can I do to speed it up? Background: I have a relatively simple use for org-map-entries: grab the effort (in integer minutes) from ...
4
votes
0answers
249 views

How to use org-drill to memorize org-drill?

Say I want to memorize the cloze deletion syntax of org-drill by this topic, The problem here is when the answer is revealed the text is only displayed partially like it's been interpreted as a cloze ...
4
votes
0answers
173 views

Prevent org-hide-emphasis-markers to modify headers

I am trying to set org-hide-emphasis-markers to t but when I do so the headers are messed up With org-hide-emphasis-markers disabled * A ** B *** C **** D With org-hide-emphasis-markers enabled * ...
4
votes
0answers
55 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
107 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
407 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
0answers
112 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
167 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
26 views

How to specify the (sub)directory for source and compiled files when evaluating Java codeblocks in org mode?

I use Org Mode with Java codeblocks. When I evaluate a codeblock the source files and the compiled files (*.class) are saved in the same directory as the Org file with the codeblocks. How can I ...
4
votes
0answers
97 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
212 views

Automatically create checkbox in new line

When creating a list in org-mode, one can press M-RET to create a new line which already has a list item of the same indentation as the line above it in it. How can one achieve the same thing but ...
4
votes
0answers
53 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 ...
4
votes
0answers
75 views

Exclude completed deadlines from orgmode's ical export

I have enabled the inclusion of deadlines in the ical export of orgmode by setting the preference org-icalendar-use-deadline '(todo-due event-if-todo). How can I exclude an orgmode heading from ...
4
votes
0answers
174 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
0answers
535 views

Scaling of inline SVG previews in org-mode

If I insert a jpg in my org-mode document, I can preview it and scale its width, like so: Add the following code to my init.el file: (setq org-image-actual-width nil) Then insert this code in my ...
4
votes
0answers
451 views

org-mode babel german

I am trying to export an org file to PDF via LaTeX but in German. I set #+LATEX_HEADER: \usepackage[ngerman]{babel} but when exporting org-mode adds english to the babel options. That causes all the ...
4
votes
0answers
170 views

Prevent :EXPORT_LATEX_HEADER: in a subtree from overriding all buffer #+LATEX_ lines

Possibly a bug: When using :EXPORT_LATEX_HEADER: in a subtree's :PROPERTIES: it overrides all the buffer-level #+LATEX_HEADER: commands as well as everything given in an external file with #+SETUPFILE:...