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.

2
votes
0answers
40 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
82 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
65 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
28 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
38 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
35 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
26 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
46 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
54 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
33 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 ...
2
votes
1answer
48 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
91 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
33 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 ...
1
vote
1answer
42 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
1answer
31 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
79 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
62 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" "...
0
votes
0answers
11 views

Ending plain list item after a single empty line

When in a plain list, the first two M-RET will create a new line and indent, and the 3rd M-RET will not indent (ie. will indent to the level of the plain list bullet). That is, new lines will be ...
0
votes
0answers
8 views

Generating a Table of Children from Point (Org-Mode)

Suppose we have * Parent <---- point is here ** Child1 :PROPERTIES: :P: 0.1 :END: ** Child2 :PROPERTIES: :P: 0.2 :END: *** Grandchild1 How can one use elisp (or some other trickery) to generate ...
0
votes
1answer
25 views

org-caldav/oauth2/plstore asking for passphrase many times

I have been struggling to set up org-caldav with (multiple) google calendar(s) for some time. Syncing works, but one remaining annoying problem is that I am asked for the passphrase many (5-many) ...
1
vote
1answer
98 views

Generate different markup for not-tangled code blocks in org-mode

Is there a way in org-mode's HTML export to make it so that code blocks that have :tangle no will appear differently? Even adding a different HTML class will do, as one can then probably add some CSS ...
0
votes
0answers
36 views

Why does previewing org latex fragments take so long (compared to StackExchange)?

Previewing latex fragments take several seconds in emacs. Yet rendering on sites like StackExchange (example: math.stackexchange) is immediate. Is there any way of speeding up org-mode latex ...
0
votes
0answers
28 views

Improper syntax highlighting of LaTeX expressions wrapped by $..$

I have set the following option: (setq org-highlight-latex-and-related '(latex script entities)) Yet: All of these expressions should be syntax highlighted, yet they are exhibiting weird coloring. ...
1
vote
1answer
70 views

$\mathscr{..}$ Expressions Fail to Render Properly in Org-Mode

Consider the expression \mathscr{APPLE}. This should render as follows: Yet in org-mode (using latex fragment previews), it renders as: Moreover, when exporting, matscr renders properly in ...
1
vote
0answers
43 views

C-c ' for editing all code blocks (to handle imports and variables)?

The Org manual says: C-c ' for editing the current code block. It opens a new major-mode edit buffer containing the body of the ‘src’ code block, ready for any edits. This feature is sweet. ...
0
votes
2answers
99 views

(orgmode) Coloring the line for the whole heading

I want the entire line containing a heading in orgmode to be the background color of that heading. So for instance right now I have is what is shown in Heading 1 and 2, but what I want looks like ...
1
vote
1answer
48 views

Cannot modify an area being edited in a dedicated buffer

When I use C-c' (org-edit-special) to edit an org-mode code block, I am running into an error. After I open the code block and edit it, then exit with C-c' again, the code block is locked (I think ...
3
votes
1answer
60 views

Custom org-ellipsis is underlined

This is rather strange though it seems merely an aesthetic issue. I use something like (setq org-ellipsis " ") to customize the ellipsis. However, whatever characters I choose, there is always a ...
2
votes
1answer
92 views

How can I get a custom agenda habits only view with history chart?

I have included in my org-agenda-custom-commands the following: (setq org-agenda-custom-commands '( ... ("h" "Habits" tags-todo "STYLE=\"habit\"" ((org-agenda-overriding-header "Habits") ...
3
votes
1answer
187 views

`org-bullets` - No longer needed

For a while, I've been getting the message Package menu: Operationfinished. 1 package no longer needed, type 'M-x package-autoremove' to remove them The package is org-bullets, very spread package ...
0
votes
0answers
61 views

Kanban-style org file window layout

I would like to create an elisp function to set up a window layout for a single org file, similar to a Kanban layout (Trello, etc). For each top-line headline, I want to create a separate clone (...
1
vote
1answer
37 views

Org Mode Agenda: Trees whose sub-trees don't contain a specific tag

I want to make an org-agenda-custom-command that searches for all top-level trees that don't have a sub-tree with a "NEXT" tag. I'm trying to set up a search that I can do at the beginning of the week ...
1
vote
1answer
51 views

How do I enable the ODT item in the export dispatcher permanently?

I'm using Emacs 24.5.1, and my org-export-dispatch doesn't show "Export to ODT" by default. However, if I use M-x org-odt-export-to-odt, it works fine and the option is shown on the next dispatch. ...
1
vote
0answers
29 views

Org-mode export to text: exporting citation to plain text

I am trying to generate text files from org files(originally intended for latex>PDF outputs), for submissions that require plain text. org-file: #+TITLE: Foo #+latex_class: article-no-defaults #+...
0
votes
1answer
51 views

Folding headers containing source code blocks in an org file?

I always refer to org mode when I want to document anything, but what I am struggling with right now is how to make folding mechanism work when my headers contain source code blocks under a list ...
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, ...
0
votes
0answers
46 views

Org-export scope subtree: ignore multiple trees with a single tag

I use orgmode to export to latex using the subtree export command C-c C-e C-s l l. Suppose I have a .org file like below: * My main project ** Chapter 1 - Done ** Chapter 2 - Partially Done ** ...
0
votes
0answers
31 views

Count my done tasks of today become very slow after update orgmode to version 9

I was counting my done tasks of today using this function: (length (org-map-entries t "+CLOSED={2018-08-13}" 'agenda)) But when I updated org-mode from version 8 to 9.1.13 this function was terribly ...
0
votes
1answer
32 views

setting default columns in org column mode into init file

Trying to set preferred columns in ORG column mode. this works perfectly if I put it on head of the file: #+COLUMNS: %45ITEM %TAGS %PRIORITY %TODO %CLOSED %SCHEDULED But I avoid to repeat it for ...
0
votes
2answers
118 views

How to tweak `org-emphasis-alist' to put, e.g., neon-yellow over bold (or italic, underscole…) text?

I read here that I could colorize the markup in my org-mode configuration, so I searched, and here I found an example. The problem is when I append this code, as the answer suggests, to my .emacs: (...
2
votes
1answer
145 views

Update to emacs 26 broken my orgmode habits

Every time that I mark my habits as DONE I got this error in *Messages* buffer: TODO state changed to DONE TODO state changed to NEXT setq: Invalid time zone specification: (nil nil nil) Note stored ...
0
votes
1answer
28 views

Aliases for org-mode property values?

I'm doing time logging with Org, and I want to associate a numeric code with each entry -- the code says which project the entry is associated with. But I'm awful at remembering the numbers, so I'd ...
0
votes
1answer
45 views

org-capture Template expansion leading whitespace: bug, feature, workaround

Emacs 26.1 org-mode: 9.1.9 I have an issue with the way org-capture expands a template when it comes to line beginnings: This template (setq org-capture-templates '(("o" "Todo" entry (file+...
2
votes
1answer
65 views

Concat in Org Easy Templates [duplicate]

I have a variety of org easy templates. I have a new file template which includes a #+DATE header that I'd like to populate with the current date [at the time the template is called]. The ...
0
votes
1answer
29 views

Orgmode #+INCLUDE: -— Ignore text from included file, but not configuration lines

Is it possible to #+INCLUDE: config.org when exporting and have only the lines in config.org that start with # be included? Say you have a file config.org like this: Formats the style of captions. ...
4
votes
1answer
41 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 ...
1
vote
1answer
53 views

Limit emacs skeleton pairs

I have the following skeleton pair setup to quickly insert LaTeX fragents into org-mode documents: (setq skeleton-pair t) (global-set-key (kbd "$") 'skeleton-pair-insert-maybe) This works. But the ...
1
vote
0answers
70 views

Import CSV into org-mode table, but preserve quotes around strings

I really like the ability to quickly go between CSV tables like this: a, b, c this, TRUE, 5, that, FALSE, 8 ...and org mode tables, that look like this: | a | b | c | | this | TRUE | 5 | | ...
1
vote
0answers
51 views

Org Mode Python block evaluation cannot print result in the shell session

I have a python source block in org mode as below #+BEGIN_SRC python :session print('hello world') #+END_SRC and I have a Python shell already run, so when i press C-c C-c, the code gets ...
1
vote
0answers
32 views

How do you get the LOGBOOK information from the current heading at point?

Given a TODO that looks like this: *** DONE put into spacemacs file CLOSED: [2018-08-04 Sat 21:18] :LOGBOOK: CLOCK: [2018-08-04 Sat 21:16]--[2018-08-04 Sat 12:18] => 0:02 :END: ...