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.

5
votes
1answer
150 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 ...
5
votes
2answers
633 views

How do I insert resizebox code in org-mode tables when exporting to latex?

I'm trying to figure out how to insert a resize command inside a table environment in org-mode that exports to latex, Here is my minimal example of raw latex source vs org-mode tables: #+LATEX_CLASS:...
2
votes
2answers
182 views

How center #+BEGIN_EXAMPLE on org-mode LaTeX export?

I have a verbatim/monospaced block that way: #+BEGIN_EXAMPLE _ / \ T H ...
0
votes
3answers
38 views

Invoke minor mode upon visiting an org file (on a per-file basis)

I have certain org files (scientific manuscripts) that I want to automatically show in Olivetti mode with a specified width upon opening. Is it possible to enable Olivetti (or generally, any minor ...
0
votes
1answer
27 views

Hide leading stars in helm-org-in-buffer-headings

Currently, when I run helm-org-in-buffer-headings in see something like this: * main topic 1 ** Subtopic 1.1 ** Subtopic 1.2 *** Sub-subtopic 1.2.1 * main topic 2 I would like to hide the leading ...
0
votes
0answers
14 views

Jump to org-mode heading from external application

I want to create a URL that uses org-id to jump to its associated heading in Emacs org-mode. I tried using: org-protocol://org-id-goto?id=DC6BC674-8CE1-451D-A45F-05E09F1F743D But this only opens ...
0
votes
0answers
9 views

Org mode column view does not convert the entire tree

I have a fairly longish org tree --- about a thousand entries with seven properties for each node. When I try to convert to column view using C-c C-x C-c with default settings, all goes well. But ...
1
vote
0answers
15 views

What's the recommended way for clocking and archiving with org-mode

I recently started clocking my tasks with org-mode and it's great. I now know how much time I spend on each project I am working on. Each project has multiple subtasks, but by setting "maxlevel:1" I ...
1
vote
1answer
21 views

Writing “recall_score()” breaks org-mode export

After writing the expression recall_score() in one of my org-mode files I was no longer able to export into html (or other formats), and I got the following error Reference ‘score’ not found in this ...
0
votes
0answers
13 views

How to quickly add data or navgate to a heading in org-mode?

I have a calendar.org file with roughly this structure: * 2019 ** January *** 1 *** 2 *** 3 **** Event 1 Description of event 1 **** Event 2 Description of event 2 *** 4 *** 5 *** 6 ... What I do ...
0
votes
1answer
23 views

Marking a TODO item DONE does not create a CLOSING timestamp in org-mode

I'm following this tutorial: https://orgmode.org/worg/org-tutorials/orgtutorial_dto.html * Tasks ** DONE start a new org file for tutorial C-c C-t modifies the second to line ** DONE start a new ...
0
votes
0answers
7 views

Make helm-org-in-buffer-headings more like Deft

I would like to implement a notational velocity-like search, using helm. Basically, I want to have similar functionality to helm-org-in-buffer-headings but I want the body text of each heading to be ...
1
vote
0answers
9 views

Hide extra stars when narrowed to subtree

I have an outline with many levels of indentation. When I narrow to a particular subtree, I would like to hide the extra stars (and indentation) so that It looks like I am working on a top-level ...
5
votes
1answer
234 views

Is it possible to add templates other than #+BEGIN_ #+END_ to org-structure-template-alist?

I've noticed that org-structure-template-alist changed (I'm using org-mode version 9.2) to automatically expand to #+BEGIN_<some block tag> #+END_<some block tag>. I wonder if it's ...
1
vote
0answers
18 views

Loading new agenda keywords (org-todo-keywords) is broken for me - bug in Emacs?

Objective I decided to add custom agenda keywords (I'm still setting up the environment, don't have any agenda files yet) and I used this example code from some tutorial: (setq org-todo-keywords ...
3
votes
1answer
22 views

Filter tasks on agenda file

I have specified two source Org files for Org-mode to search when creating an agenda. In the agenda view, how do I filter (view) tasks from only one of the files?
10
votes
2answers
1k views

How to automatically adjust an Org task state with its children checkboxes

I have several tasks in my Org file, one of which has items starting with a checkbox (but only those). They all have a statistic cookie at their end ([n/m]). I'm looking for a way to automatically ...
0
votes
2answers
32 views

Orgmode tables: Insert row within column

I would like to know, how to add a new line in a column without changing the other columns. Alternatively, how to move up a cell in a column without changing the other columns. Here is an example (...
0
votes
0answers
7 views

Listings' morekeywords attribute doesn't work in Org mode

I have defined a custom listings style in the header of my org mode file: #+LATEX_HEADER: \usepackage{listings} #+LATEX_HEADER: \usepackage{color} #+LATEX_HEADER: \definecolor{codegreen}{rgb}{0,0.6,0}...
0
votes
0answers
11 views

org-mode HTML export and “user agent stylesheet”

I tried this and when I tried tweaking the h2, I see in the Chrome dev tools Inspect how something called "user agent stylesheet" overrides anything I try with the headings' h2 in the custom ...
0
votes
0answers
22 views

org-brain-visualize alignment issue on Mac OS

I am having trouble getting the Picture art in org-brain-visualize to align properly. I have tried this with several versions of Emacs, both run as a Mac app and from the Terminal: Org-brain version ...
2
votes
1answer
24 views

Implementing (org-agenda) sort comparison function in terms of presence of list items

I want to implement an org-agenda-cmp-user-defined for use with org-agenda-sorting-strategy and user-defined-up / user-defined-down. In order to do that, I have two lists of tags I need to compare, ...
1
vote
1answer
41 views

Error enabling flyspell mode in Emacs

I use flyspell hunspell for checking my spelling mistakes in Emacs. Recently, when I run M-x flyspell-mode in .org or .tex files I got the following error: Error enabling Flyspell mode: (hunspell ...
2
votes
1answer
30 views

Org Mode. Set separation length between elements of a list

I have noticed there is a big gap between the elements of a list when exporting to PDF. Is there a way to modify it?
0
votes
1answer
31 views

'No such file or directory' when I install 'org-bullets'

I'm trying to install the org-bullets mode and after pasting the install code given in the GitHub's site in .emacs, and paste the .el file into the home directory, I get this result.: Warning (...
2
votes
1answer
53 views

Prevent * from bolding text when creating a headline

When I start typing several stars to create a new headline, like ***, emacs starts bolding some of them, making the first and the last invisible. This makes it hard to know what headline level I am at,...
2
votes
1answer
28 views

How to set the local dictionary in a *Org Note* buffer?

I am using different flyspell/ispell dictionaries for different buffers/files setting the file local variable ispell-local-dictionary, respectively. But if I want to log e.g. a TODO state change a *...
0
votes
0answers
19 views

Helm + Org-Goto + Narrow to Subtree + Follow Mode

I am using org-goto with helm and my init file has the following config: (setq org-goto-interface 'outline-path-completion) (setq org-outline-path-complete-in-steps nil) This works fine but I ...
1
vote
2answers
53 views

Org-mode: How to display current time record in another color?

I'm still very new to emacs and currently use it on the terminal to track my work time in org-mode. ** Save the world :LOGBOOK: CLOCK: [2019-02-14 Do 10:24] CLOCK: [2019-02-14 Do 08:51]--[2019-02-14 ...
0
votes
1answer
20 views

Emacs org-mode error in empo tags

I'm using emacs with org mode tempo tags, based on this questions and answers Q and A 1 Q and A 2 I get the feeling that I need to require org-tempo, but I get the following error: Debugger entered-...
2
votes
1answer
39 views

Org-Mode Archiving: Create containing headings

I've started using org-mode and am now at the point where I really need archiving. However, I often have sub-projects which are hard to understand without the containing project (i.e., the ancestors ...
1
vote
1answer
58 views

org-mode document structure / templates

Suppose you had a large org document of recipes, with hundreds of entries like this: * Tasty Pudding ** Ingredients - Milk - Sugar - Eggs - Flavorings ** Process 1. Mix the eggs and sugar 2. Heat up ...
0
votes
0answers
22 views

Retrieve all entries with active or inactive timestamp

I wonder if there is a way to find all entries in active / inactive timestamp state (without DEADLINE or SCHEDULED). It seems I have had such entries unacted upon in the past, and the only way I have ...
1
vote
2answers
66 views

Babel + Python function definition with for loop causes IndentationError

I am using orgmode and Babel to run Python source code blocks. I noticed that if I define a function that returns a value, and if this function has a for loop inside it, then evaluating it with Babel ...
2
votes
2answers
98 views

Update target of internal org-mode link

I have a document full of internal org-mode links of the form: * Target Heading ... [[Target Heading][Description]] However, these break whenever I edit the heading that they link to, so I want to ...
2
votes
2answers
192 views

Can I have separate tags lists for journal and todo/notes?

I use fixed tags for tasks and notes. These are tags either represent different physical places where I do my tasks (e.g. @home or @errands), or represent different areas of responsibility for me (e.g....
0
votes
0answers
22 views

Merge org-mode headings without breaking links

I have a large collection of notes in org-mode, each with it's own heading and org-id. For example * Note one :PROPERTIES: :ID: 403847B2-3D4C-4EFB-96DE-E0C5C52A02B5 :END: * Note two :...
4
votes
1answer
128 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: #+...
0
votes
0answers
15 views

Partial table fold in `org-mode`

I wonder whether it is possible to fold (as in code folding) part of a long table in org-mode.
1
vote
1answer
32 views

Getting the CLOSED timestamp of the current subtree

To get the current date and time, I can use (current-time). But instead, I want to get the CLOSED timestamp of the current subtree and store it in a variable, so that I can pass it to format-time-...
2
votes
1answer
79 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
0answers
33 views

Mark heading done when all checkboxes are checked [duplicate]

I want to mark heading done when all items in the checklist are checked. In this example : * TODO Heading [2/3] - [X] Stuff 1 - [ ] Stuff 2 - [X] Stuff 3 When toggling Stuff 2 (C-c C-c) I want ...
1
vote
1answer
194 views

Unmap C-c from org-latex-preview-fragment

I don't like that C-c C-c is untoggle the org-latex-preview fragment because it's the "magic key" in org and whenever I press it it untoggle my latex-fragment so I have to toggle it again manually. I ...
0
votes
1answer
169 views

How to reuse org-tree indirect buffer windows?

So I would like to use the function below. The problem is that if I call this multiple times another window opens instead of the window that already exists. All the buffers that are created look like ...
4
votes
1answer
73 views

org-mode 9 too slow with long code blocks

Emacs gets extremely slow when one code block in an org-mode file becomes of reasonable size -- say > 2000 lines (Emacs 26.1 & org-mode 9.1.9). Pointed out in this thread of 2015, the problem ...
3
votes
1answer
34 views

How do I make markdown or org mode hide formatting characters until I edit?

I'd like to hide markdown / org-mode markup characters when viewing a file, so I set org-hide-emphasis-markers and markdown-hide-markup to t. However, when editing a section of text, I'd like to see ...
1
vote
2answers
56 views

Org latex exports $ … $ math as \( … \) : can this be avoided?

As the title says, inline math snippets such as $x+1$ are replaced during org latex export by \(x+1\). But, no one is writing inline math in LaTex files like this. Is there a way to tell Org to leave ...
1
vote
1answer
44 views

comment causes [package error]

I want to export an org file containing a tikz diagram to pdf. I've read the manual. This is the most minimal example I could come up with: #+LATEX_HEADER: \usepackage{tikz} #+begin_src emacs-lisp :...
0
votes
1answer
36 views

How do I display current cell address of an org-mode table?

I am trying to write some formulas in my tables and having a bit of a hard time figuring out the current cell's address (@row:$col). It would be awesome if I could display the cell location in the ...
0
votes
1answer
16 views

How to change org-babel interpreter location

Say I have my ditaa interpreter pointed to at /home/user/.emacs.d/elpa/contrib/scripts/ditaa.jar, how would I set it so it points to a different location?