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

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.

0
votes
0answers
9 views

Trigger action when countdown timer is consumed

I would like to start the countdown function, (org-timer-set-timer) (C-c C-x ;), and trigger an action once the timer is over. Any hints on how this could be achieved? Shall I just use the run-at-time ...
0
votes
0answers
18 views

find `/lisp` and `./contrib/lisp` dynamically

I work across different operating systems with a single ~/.emacs.d managed through git. I am having trouble finding where MacOS's homebrew installs orgmode's /lisp and /contrib/lisp directories, so ...
1
vote
0answers
18 views

Adding Headers to org-todo-list

Is it possible to set up org-todo-list to group TODOs under headers as they are in my org-mode file? Example org file structure: * Project Name A ** TODOs *** TODO item 1 *** TODO item 2 *** ...
1
vote
0answers
16 views

org collapses with three dots … after helm-org-in-buffer-headings jump

I use helm-org-in-buffer-headings. You can see the three dots ... in the picture. The desired result is: The three dots part is expanded.
0
votes
1answer
18 views

:anchor not working for odt export

I am trying to export images with odt export from org-mode and to change the anchor of the image (default to-paragraph) to "as-char". I tried the following code: #+ATTR_ODT: :anchor "as-char" [[./...
1
vote
1answer
29 views

A way to omit exporting comment headings in org-mode?

I'd like to be able to do the following: * A story about airplanes ** Chapter one *** # Introduce the main character Billy was a nice boy etc ... *** # Set the scene One day Billy stumbled upon a ...
0
votes
0answers
26 views

How to add CSS support for the html-export in org mode for the properties drawer?

My org version is 9.1.14. Background info: I am trying to export my notes in org-mode to html. I would like to have my notes tagged with Category and Tags. I want to apply some CSS beautification ...
0
votes
0answers
14 views

Complete from buffer's tags in org-agenda's org-tags-view (“Match a TAGS/PROP/TODO query”)

org-agenda's tag matching command, org-tags-view shows an agenda of TODO items filtered by tag. It gives me an ivy completion list because I have ivy installed, which sets completing-read-function. ...
1
vote
1answer
40 views

Org mode how to sort entries

In an Org-mode document, let's imagine that my entries are following this pattern: * TODO Note page 2 [0/1] my notes, must be at second position after sorting - [ ] todo 1 * Note page 14 ...
0
votes
2answers
46 views
+50

Org capture templates now take me to org file, not to previous buffer

All of a sudden (after changing computer but keeping same settings) my org capture templates take me to the org file where whatever is being captured will be stored, without the need for C-c C-c to ...
-5
votes
1answer
37 views

where's the source code for org mode on the web?

One of the very first results on google is this GitHub - jwiegley/org-mode: This is a very old fork of Org-mode, but it's ... https://github.com/jwiegley/org-mode but I don't think that's the one I'...
0
votes
1answer
41 views

Markdown-style block quotes in org-mode

I'm new to org-mode. I'm liking it so far. The one growing pain that I have is missing Markdown-style block quotes: I would like to start a line with > to quote it. How would I go about writing an ...
3
votes
3answers
61 views

Keyboard macros or command for quick refiling using dired or similar

I scan all the mail (not email, but good ol' mail) I receive and have these saved as PDF files into a directory, which we think of as an inbox. I would like to find a workflow to quickly refile these ...
0
votes
0answers
12 views

Don't focus on evince, when compiling pdf from org-mode

I'm using Evince as my Pdf-Viewer (In a split-screen-setup) whenever i write something in org-mode and compile it as a pdf. To achieve this, i've added (add-to-list 'org-file-apps '("pdf" . "evince %...
1
vote
0answers
7 views

Logbook clock entries as active/inactive time stamps in icalendar export

Is there a way to automatically have active/inactive timestamps updated in the body of the org node? My final goal is to have the clock entries included as events in icalendar export. Alternatively ...
0
votes
1answer
11 views

How to properly override a function like org-babel-ruby-evaluate

I'm trying to "override" a function (defun org-babel-ruby-evaluate (buffer body &optional result-type) I think it came with org mode, which came with prelude. As a first step, I paste this ...
2
votes
1answer
25 views

Is there a way to suggest label names in org-mode latex export?

In the org-mode example below, I would like to be able to specify the label name to be used by the latex export back-end. Is there such a way? I have two reasons: To be able to mix org-style ...
3
votes
0answers
28 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 ...
0
votes
0answers
7 views

Bilingual text in .org mode and xelatex

I would like to typeset bilingual (English, Hindi) in emacs .org mode using mangal font available on windows . It has to be exported using xelatex. Kindly explain step by step setup for the same . I ...
0
votes
1answer
11 views

Enable pabbrev with org-mode

I would like to enable pabbrev automatically for .org files. At the moment, I have to manually run M-x pabbrev-mode on the buffer I'm editing. My .emacs regarding pabbrev : (require 'pabbrev) ;; TAB ...
0
votes
1answer
16 views

Void Function Error

The following function is meant to call an arbitrary function at each of the immediate children of an org heading: (defun org-map-shallow-tree (funcarg) "" (save-excursion (org-back-to-...
1
vote
1answer
21 views

Is it possible to have shared #+PROPERTY: between multiple org files?

I'm working with org-mode and org-babel to query a PostgreSQL database. It's pretty cool setup and I love it. At the moment, I have multiple org files with the same database property configuration ...
0
votes
1answer
18 views

Implmentation of org-id-goto but for arbitrary properties?

Does there exist a function similar to org-id-goto, but instead one that can allow you to jump to tasks that have arbitrary property names (other than just "ID")? So for example (org-goto "ID1" "VALUE"...
0
votes
1answer
33 views

How to use org-export to export from a file in emacs

I hava an input file name like /path/to/orgfiles/file.org I have an output file name like /path/to/mdfiles/file.md This two path have been set into two variables: inputfile = "/path/to/orgfiles/...
0
votes
1answer
24 views

Adding due dates to checkbox items

This is my todo.org file: * Personal [/] - [ ] Wash car - [ ] Take out trash * Work - [ ] Call boss - [ ] Email client Which renders on (spacemacs + osx) as: I'd like to add a due date to each ...
0
votes
1answer
53 views

Using org-mode for writing. Would like text in quotes to be highlighted and also character names

I'm using org-mode to write a novel and I would like to have any text between "quotes" to be a different color, just to be able to easily see when a character is talking. Also, if I could have a ...
1
vote
0answers
13 views

Check box counter function applied to todo items in org-mode

In org-mode, is there a function to perform the [x/y] counter function on a list of "todo" items, similar to that feature which exists for checkbox? (That is, to automatically count the number of ...
2
votes
0answers
26 views

Track arbitrary progress in Org-mode

If I'm reading a book, that has 500 pages, and I'm in the page 253. I want to track that progress in Org-mode as %, is there a way to do it that is already built in (or, if is not the case, is there a ...
0
votes
0answers
15 views

Org-capture creates file after cancel

I use a custom function (originally from this post on StackExchange) to create files from org-capture (one file per entry). For some reason, if I cancel the entry with C-c C-k Emacs still creates the ...
0
votes
1answer
18 views

Matching Org Headlines against a Property Function?

How can I use elisp to search for headlines that return true against a predicate function? In particular, I already have an elisp function within-intervalp which checks whether a number num is within ...
0
votes
0answers
19 views

Org-mode sitemap not updated after re-publish

After digging around more, I found a workaround: Cache in ~/.org-timestamps somehow doesn't get updated to reflect the change in page title. Deleting everything under the folder and re-publish then ...
1
vote
1answer
37 views

orgmode - ipython output image not show in results

I use below org code to draw a graph, but the graph not show on results block: #+BEGIN_SRC ipython :results drawer :session py2session %matplotlib inline import numpy as np import matplotlib.pyplot ...
1
vote
1answer
43 views

Org: have multiple TODO sequences that terminate with DONE

So, let’s say I have two different TODO keyword sequences: TODO | DONE RESEARCHING WORKING FINISHING | DONE I want both to cycle to “DONE.” But, the Org manual says not to use duplicate TODO ...
0
votes
1answer
19 views

Apply template to files created from an org-mode link

If you click on a file: link to a document that does not exist, org-mode will create this file for you. How can I get this behavior to work with a org-capture template, so that files created in this ...
0
votes
2answers
23 views

org-latex-export: Name sections according to CUSTOM_ID rather than headline (%s)?

Problem description In org-mode's LaTeX export configuration, the %s operator can be used as a placeholder for the headline string, as can be seen in the examples at https://orgmode.org/worg/org-...
0
votes
1answer
12 views

Batch-export org-mode subtree by headline?

Pretext I am using the emacs batch mode to script the export of .org files to LaTeX via a Makefile, and I am aware of some of the customization options that exist in that regard. For example, I can (...
0
votes
0answers
25 views

Org-mode for TV show information

Let's say I'm recording some information about TV shows in an org-mode document. The properties drawer can be used to store things like season and episode number. What's a good way to represent a ...
0
votes
2answers
17 views

How can I see multiple specific todo-states in a custom agenda view without abusing org-agenda-skip-function?

I am trying to build a 'cleanup' agenda view, with a section for all tasks which are done and a review section for tasks in the HOLD or WAITING states. HOLD and WAITING are states I've defined as ...
0
votes
1answer
33 views

Track org-mode headlines separately with version control

I want to setup a personal wiki in Emacs org-mode. And I want to put this under version control, so that I can see the history of each article, as it evolves. If I use a single file for my wiki, with ...
0
votes
1answer
20 views

M-x org-beamer-export-to-pdf and C-c C-e l o give different results

The exported pdfs from M-x org-beamer-export-to-pdf and C-c C-e l o give different results. I have frames set to be created at level 1 headers (options: H1), but these headers only create frames when ...
0
votes
1answer
28 views

What's the meaning of the org-mode agenda footer?

Can anyone explain what the first characters of the footer mean and what is the date in parenthesis? How is this part of emacs really called? I'd be happy to look this up myself but couldn't find it.
0
votes
1answer
32 views

Export handout with notes using org-mode and beamer

I'm having a lot of trouble getting a nice solution to this problem. I want to export a handout for a beamer presentation using org-mode. I can write a note using \note{sample note}, which creates a ...
0
votes
2answers
28 views

How to conserve paragraph level indentation, after source code block in that paragraph, using Emacs org mode?

I'm editting the following file in emacs using org mode - paragraph 1 which is part of a list and extends to multiple lines #+BEGIN_SRC . . . <some source code here> . . . #+END_SRC ...
0
votes
0answers
47 views

org mode to tex/pdf async export not working (properly)

so i just found out about asynchronous export, but it's not working the way i want to. If I call it through the key combination C-c C-e C-a l p it works all fine, but when i execute it in a org-...
0
votes
0answers
19 views

Invert tag color in Org-Mode

I know you can change the foreground color of tags in Emacs, and this is easy enough to do... but I like how the tags change color with the header. What I would like to do is to have the tags inherit ...
1
vote
1answer
28 views

verbatim vertical bar in org table

I am trying to have a vertical bar inside a verbatim environment as part of an org-mode table. Following https://orgmode.org/manual/Built_002din-table-editor.html#FOOT20 I have tried this: | =find -...
0
votes
0answers
10 views

Is it possible to set refile targets as subheads of specific headline?

Say, I have a file with 2 top headlines: "headline a" and "headline b". I would like org-refile to show only headlines under "headline b" as targets, how could i set this up?
0
votes
1answer
27 views

Org-mode export gets weird symbols at the end of each line while exporting to HTML

I got some source blocks in my org document like this one: #+BEGIN_SRC ipython print("Hola") #+END_SRC When the org file is exported to html (and only to html) I got weird symbols at the end of each ...
2
votes
1answer
37 views

How does sorting work within habits?

I think I have a reasonable handle on agenda custom sorting, but I can't figure out how habits sort themselves within that agendas. For a certain agenda view I sort as '(time-up habit-down todo-state-...
0
votes
0answers
34 views

Generate a date tree from timestamps in org-mode

Since I was interested in doing my early capture-templates, I was tempted to go with this template below: ("j" "Reference type: Journal" entry (file+headline "~/Dropbox/orgfiles/gtd/ref.org" "...