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
8
votes
2answers
1k views

Embed Image as Base64 on HTML export from Orgmode

The goal is to make a self-contained html file when exporting from orgmode so that the images are intrinsic to the file and a single html file will can be distributed (I am trying to do this for a ...
8
votes
2answers
425 views

Hide items with a certain tag in agenda based on time of day

Is it possible to hide items with a certain tag after at specific time of the day? For example, I'd like that after 5pm and on weekends, :WORK: items don't appear in the agenda. EDIT: I am dealing ...
8
votes
1answer
2k views

How can I use helm with org-refile?

I'd like use org-refile and select the heading with helm with an interface like helm-org-in-buffer-headings. I know I can use helm-org-in-buffer-headings to do this using f2, but is there a way to ...
8
votes
2answers
651 views

How to automatically tangle another source block to file when evaluate a source block in org-mode?

The source block what I want to evaluate (src2) need to source a file which should be the tangle result of another source block (src1). How could it make the tangle to file automatically everything ...
8
votes
2answers
2k views

org-habit graph on todo list agenda view

I'm using org-habit, and the habit graphs show up nicely on the normal agenda view. However, I'd like to use the todo list with tag filtering, and there the habits look like normal todo items, ...
8
votes
2answers
1k views

Using both fixed-width and variable-width font in org-mode

I would like to have an org-mode file with the following content: #+TITLE: My awesome Emacs file * My Header Here's some information under the header #+BEGIN_SRC sh echo "this is some code" #+...
8
votes
1answer
606 views

Automatically run org-lint through flycheck

I've got a heap of org-mode files which I publish into HTML for a knowledge base, sometimes the publishing crashes out due to a broken link or something and it's hard to find the problem. I've been ...
8
votes
2answers
1k views

Exploring org-mode outlines without Emacs

I'm looking for a way to share org-mode outlines such that it is accessible to non-Emacs users; preserves as much of org-mode's expand/collapse functionality as possible. I know that one can export *...
8
votes
2answers
1k views

Integrating jupyter notebook (ipython) into org-mode notebook

is there a way I can link in jupyter notebooks (ipython) into the org-mode notebook? The same way other files (images) can be brought in? If it is possible will the outputs are also seen in the note (...
8
votes
1answer
672 views

Is there a way to make tags work well with line wrapping in emacs org mode?

If the buffer is too narrow, if I make a tag for a heading, the amount of whitespace before the tag causes the tag to wrap past the end of the line onto a new line (I have visual-line-mode turned on). ...
8
votes
1answer
314 views

Underlining in org-mode links with multiline descriptions?

Q: How can I stop underlining through the left "margin" in links that extend over more than one line? The face org-link inherits from the face link, which has the underline attribute set to t (or at ...
8
votes
1answer
288 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 ...
8
votes
1answer
805 views

Org calendar : change date language?

I am able to set the date language with (setq system-time-locale "LOCALE") but it doesn't affect the calendar. How can I change the language of calendar?
8
votes
1answer
232 views

Formulas in plain text export

I am trying to find a way to export an Org document with lots of formulas in plain text, but the results aren't great so far. What I tried: pandoc - basically keeps all math in LaTeX unchanged, ...
8
votes
1answer
707 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
1answer
590 views

How to export svg images as <img …> in html export

Normally, when I export to html an org-mode buffer that contains a link to an image, the link is coverted to a proper html <img...>. However, if that image has a .svg extension, it is exported ...
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
4answers
3k views

how to use org-mode speed commands (speed keys)?

This keybinding was working on my Spacemacs with evil mode, org-mode, and ivy: t org-todo and is listed in the Spacemacs bindings: http://spacemacs.org/layers/+emacs/org/README.html#key-bindings ...
7
votes
2answers
2k views

In Org-Mode, is there a way to narrow the buffer to just the text under a heading?

For example, say I have a buffer that looks like this: * Org-Mode This is a document written in Org-Mode ** This is a subheading below that Would it be possible to narrow the buffer to just "This ...
7
votes
5answers
2k views

org-mode ignore heading when exporting to latex

I have a problem where I want to structure my document visually with a heading but do not want it to actually execute a \section{Fake Heading} for the latex export. I imagine this would be ...
7
votes
4answers
3k views

Converting an xls file to org-mode?

Is it possible to convert convert an xls file into an org table? I found this article on the emacs wiki but wasn't able to get it to work.
7
votes
2answers
2k views

How do I view all org-mode TODOs that are not recurring, or not scheduled?

Weekly, I try to make sure that there are no TODOs I want to have scheduled that I've missed. So I look through the list of all TODO entries (C-c a t). This is great; it shows only open TODOs, so I ...
7
votes
3answers
862 views

How to add new markup to org-mode HTML export?

I would like to add a markup to org-mode, to simplify adding <audio> HTML tags. Like other inline markup: In Thai, /sabai dee mai/ is pronounced as [audio:assets/sabai.mp3] Which would export ...
7
votes
2answers
2k views

Can org-babel replace code with code output on html export?

I'm using org-mode to generate web pages of my notes. Can I embed code to generate additional HTML, etc? org-babel will generate results but it seems to show the results in addition to the code. I ...
7
votes
1answer
3k views

How to fix “Symbol's function definition is void: org-babel-get-header”

How do you trouble shoot this? (trying to run a sh block async) #+BEGIN_SRC sh /tmp/7.sh ...
7
votes
2answers
780 views

Counting the number of days that have passed since a certain date

I have an org-mode document in which I wish to keep track of the number of days that have passed since a certain date. Is there a built in function for this, or will I be forced to write a custom ...
7
votes
2answers
570 views

What to do to make orgmode faster?

I have org-mode file with more than 10k lines of notes and traversing through the tree (just basic up/down movements) is very slow (to the point that it's unusable). What can i do to make it work ...
7
votes
2answers
1k views

Relative path link to .xls file from org-mode

I want to be able to link to an .xls file from org-mode. Reading up online this seems to be the way to get the links to open correctly, however even if I change the link type to `file+sys' the file ...
7
votes
3answers
170 views

Tracking when variables get updated

I have a problem with org-mode's agenda view. While I've set org-agenda-files to '("~/org/") invariably when I finally spin up M-x org-agenda I find that org-agenda-files just points to one org-file. ...
7
votes
2answers
471 views

Prevent folding org files opened by ediff

Folding gets in the way when merging two org files using ediff, so I'm trying to disable all folding in org-mode buffers created by ediff. Non-ediff folding behavior should remain unaffected. ...
7
votes
2answers
385 views

Controlling the order of output with Org-Babel

Consider the following Org file: #+PROPERTY: tangle "init.el" #+PROPERTY: noweb yes * A #+begin_src elisp ; initialization code ; this *must* come first #+end_src * B #+begin_src emacs-lisp <<...
7
votes
3answers
115 views

Idiomatic way to count org-mode subtrees?

Is there an idiomatic way to count org-mode subtrees? I searched here on emacs.sx and other search engines, but I could not find an answer. I know one could easily count subtrees with a regex, but I ...
7
votes
2answers
359 views

Make org-mode table formulas use common arithmetic precedence

Given this org-mode document: | 4 | ? | #+TBLFM: $2=$1/2*2 Evaluating the formulas produces (in the second cell) the surprising result 1, instead of (4/2*2=) 4. Apparently, multiplication has a ...
7
votes
4answers
1k views

Cleanup org-mode export intermediary file

I use org-mode to export PDF. It does it through LaTeX ; fine. So I get .pdf file and .tex files. Only the PDF is interesting to me. Any setting/way that org-mode cleanup the .tex files by itself (...
7
votes
2answers
4k views

A search interface for org mode files

I use org-mode to take notes. Currently I have a root directory, say, "Notes", and there are several subdirectories inside it, for example, "Linux", "Programming", etc. The notes taken using org-mode ...
7
votes
1answer
711 views

Creating permalinks for sections in HTML exported from org-mode

By default when org-mode documents are exported to HTML, the section and sub-section links look like file:///path/to/export/location/doc.html#sec-1-1 The problem is that the above link won't point ...
7
votes
1answer
496 views

In Org Mode, how do I link to internal documentation?

I want to create a clickable-link in my Org file directly to documentation built into Emacs. Is this possible to do? The documentation I want to link to are: Emacs Lisp Intro The GNU Emacs Lisp ...
7
votes
1answer
577 views

Org-mode code blocks do not inherit variable properties from enclosing nodes

When playing with the literate aspects of Org-mode I found a description here of how you can set up a var property of a node and how this would then be inherited by enclosed code blocks as a variable ...
7
votes
2answers
2k views

How to get the headline title using org-entry-get

Q:  How can org-mode be configured so that (org-entry-get nil "title") returns the headline title? I have seen three variations of org-entry-get where the string argument title is in all lowercase, ...
7
votes
2answers
2k views

Is there org-mode gantt view feature/package?

Is there some sort of gantt chart view package/feature for org-mode? I want to view my headings in the gantt chart (rather then as we see it in agenda), and at least interactively modify those ...
7
votes
1answer
527 views

org-mode : in a table, calculate a person's age based on their birthday

Let's say I have the following table: | Name | Age | Date of Birth | Income | |--------+------------------+------------------+--------| | Joe | | <1984-02-20 ...
7
votes
1answer
637 views

How can I prevent empty lines between lists from causing org-mode to insert blank lines before new items?

Here is an illustration of the problem: - First item. Pressing M-RET... - Another item at the correct position. Now a blank line: - Next item after blank line. Now press M-RET again... - .. but ...
7
votes
1answer
2k views

Programmatically add birthdays/holidays to agenda view in org-mode

org-mode offers a few built-in options to add birthdays/holidays to the agenda view in org-mode; however, there is no built-in support to add those dates entirely programmatically -- without manually ...
7
votes
1answer
791 views

How to make ordered lists collapsed by default in org mode

Suppose, we have this org file: * Header1 ** Header1-1 ** Header1-2 * Header2 1. Item 1 1. Item 1-1 2. Item 1-2 2. Item 2 When I open it by default it looks like this: * ...
7
votes
1answer
839 views

Listing SCHEDULED headlines from an org file ordered by date

A few months ago, I converted my init file into an org file, and I’ve since been using it as a way to organize my blog posts. I won’t go into too much detail here, suffice to say that this is a huge ...
7
votes
1answer
1k views

How to have org-publish automatically publish generated images?

I use org-publish to publish HTML exports of org-mode files quite often to share documents with my coworkers, however, I generate a lot of diagrams with plantuml and gnuplot. These diagrams aren't ...
7
votes
1answer
2k views

Outlook Calendar in org agenda

I would like to integrate the calendar from my outlook into my orgmode agenda. I am looking for a solution with the following features Should be implemented in elisp only, so that I can run this on ...
7
votes
1answer
2k views

Org tables: Wrap all fields in column to a given size

In org it is possible to set a column width like follows: |---+------------------------------| |---+----------------| | | | | | <14>...
7
votes
1answer
1k views

Emacs is asking me for a coding system on each save

I consolidated many text files (win, mac, unix) into a single orgmode file. For some characters I was seeing numbers instead of the right characters. Things like \314\203. I used "revert-buffer-with-...
7
votes
2answers
442 views

How to disable plain footnote references?

I want to write some text including sequences like [123] in an org-mode text file, but this is automatically turned into a footnote reference. This plain numeric footnote is not recommended anyway. ...