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-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.

10
votes
0answers
271 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
175 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 ...
9
votes
0answers
358 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 ...
8
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....
7
votes
0answers
229 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
377 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 ...
7
votes
0answers
831 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
121 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
137 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
401 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 ...
6
votes
0answers
308 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 ...
6
votes
0answers
923 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

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
68 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
91 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: ...
5
votes
0answers
233 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
74 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
589 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
104 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
67 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
262 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
146 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
150 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
98 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
174 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 ...
5
votes
0answers
79 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
67 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 ...
4
votes
0answers
378 views

src python in org-mode: IndentationError: unexpected indent

mac 10.13.4 / emacs 25.3 (9.0) / org-version 9.1.12 / python 3.5.2 I am trying to understand why C-c C-c generate an IndentationError: unexpected indent when executing a simple code like the example ...
4
votes
0answers
119 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
298 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
118 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
47 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
99 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
89 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
23 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
84 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
108 views

Org mode column view dependent columns?

I plan & track my holidays in an Org mode file. In it I use Column View to get a quick overview of what I've planned so far, so that I know how many days I've got left. I use this column setup: #+...
4
votes
0answers
51 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
440 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
354 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
132 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:...
4
votes
0answers
198 views

org-mode report with start and end time for each day of the week

I'm starting to use (a total newbie, actually) org-mode clocking commands to track time spent during the job day. I need to fill some reports on daily start and end time of my work day. This is just:...
4
votes
0answers
114 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 (...
4
votes
0answers
231 views

How to update org-mode default template?

I use C-c C-e -> # -> default to insert the default template for org-export. But some of the value of the options are not what I want. How could I modify the default template (change values or add ...
4
votes
0answers
141 views

how to get Emacs to stop saving org-agenda as a file?

In my directory I keep on winding up with dozens of files with names like these: #%2AOrg%20Agenda%2A#12182wk# #%2AOrg%20Agenda%2A#13353nN# #%2AOrg%20Agenda%2A#13568-1B# The content of which is this: ...
4
votes
0answers
120 views

Special characters (e. g. umlauts) not displayed correctly in *Org tags* fast tag selection buffer

In the "Org tags" buffer (the buffer showing the fast tag selection keys when pressing C-c C-c C-c in a headline) some fast selection keys are shown as e. g. [\212] instead of the actual key. How can ...
4
votes
0answers
139 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
259 views

How to distinguish between TODO and WAIT in org-summary-todo?

Org-Mode proposes to use the following org-summary-todo function in the org-after-todo-statistics-hook: (defun org-summary-todo (n-done n-not-done) "Switch entry to DONE when all subentries are ...
3
votes
0answers
43 views

Apply ANSI color escape sequences for Org Babel results

Feature There is a nice built-in Emacs feature to colorize strings with ANSI color escape sequences. So evaluating the following Elisp code, will insert the "Test text" at the point with proper ...
3
votes
0answers
53 views

Org-Mode Latex Preview screen-dependent size

When using the inline latex preview in org-mode, I have discovered that it seems the size of the preview images is dependent on the display size. While at work, I have my laptop connected to a dock, ...