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.

1
vote
1answer
41 views

helm narrow to subtree

I am using helm-org-in-buffer-headings to search headings in the current buffer. I am using this script (provided by jagra here) to activate follow mode: (with-eval-after-load "helm-org" (cl-...
5
votes
2answers
87 views

How to copy org-table to postgresql database?

With sqlite one can easily populate a table in a database via a org-table like so: [EDIT](using only one sqlite-scr-block with org-table variable parameter)[/EDIT] #+NAME: A | val1 | val2 | |------+...
2
votes
0answers
35 views

Use org-ref to add citations in theorem titles

I am experimenting with writing a manuscript in org-mode and wondering if this is something org-ref can do In org-mode I have #+ATTR_LATEX: :options [Homeslice's Theorem] #+BEGIN_theorem latex blah ...
0
votes
0answers
24 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
10 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
34 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 ...
0
votes
3answers
51 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
0answers
22 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 ...
1
vote
1answer
23 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
1answer
66 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
17 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
1answer
46 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 ...
1
vote
0answers
14 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 ...
1
vote
0answers
39 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
34 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?
0
votes
0answers
15 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}...
1
vote
2answers
63 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
36 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
38 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?
1
vote
2answers
71 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 ...
2
votes
1answer
45 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
30 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
0answers
29 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 ...
0
votes
0answers
26 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 :...
2
votes
1answer
59 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,...
0
votes
0answers
17 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
126 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 ...
1
vote
0answers
34 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 ...
2
votes
2answers
111 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 ...
1
vote
2answers
82 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 ...
0
votes
1answer
42 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
25 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?
0
votes
0answers
39 views

Org mode convert to ODT

After conversion, there is an empty OrgSubtitle in the newly created ODT file even if just plain text was converted. How is that and where could this be turned off? Thank you.
2
votes
1answer
31 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, ...
0
votes
0answers
22 views

How can I show an agenda view with different tags for different days?

I'd like to have an agenda view that showed different tags in different days (eg. :work: Mon-Fri and :fun: on Saturday and Sunday). For scheduled headers in the future (that potentially can show for ...
1
vote
1answer
44 views

How to move cursor to my first todo entry

Is there any way to move the cursor (point) to the first todo entry in my org file? Is there any built-in function in org-mode? if no, any elisp code that can do that is welcome. I had tried this ...
2
votes
0answers
52 views

Print output from org code block immediately

I have an org mode file I use to run some moderately long analyses. Evaluating individual blocks may take 15 minutes to an hour or so. I usually wrap longer bits with calls to date, so I can later ...
1
vote
1answer
51 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 :...
1
vote
1answer
56 views

How to hide items after refiling to a collapsed target in org-mode?

When an item is refiled to a target which is collapsed and contains other items, the refiled items are visible beneath the collapsed target. I would like these refiled items to instead be hidden along ...
0
votes
0answers
57 views

Any way to display clock time in the modeline for both the current clock and all accumulated clocks simultaneously?

The variable org-clock-mode-line-total controls whether to show the clocked time of only the current clock or of all accumulated clocks of the current task. However, I'd actually like to show both. ...
2
votes
1answer
50 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 ...
3
votes
2answers
93 views

How to convert the emacs manual to org format?

I like to read the Emacs manual on a hard copy but I would like to have a copy in org format to kill parts that I have understood and so to only keep what's important to remember (titles, functions ...
1
vote
1answer
53 views

how to auto scale images to fit into a slide in org mode export to beamer?

When I insert an image into the slide it gets cropped to fit into the slide. How do make an image to scale to fit in without cropping or padding? To include an image I use: #+LaTeX:\...
3
votes
1answer
50 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
1answer
29 views

Setting An Org Heading Property From Yasnippet

I have a yasnippet snippet for adding the boilerplate to my "daily review" org document. Here's what it looks like: # key: ndr # name: newdailyreview # -- * Accomplishments :PROPERTIES: :CUSTOM_ID:...
0
votes
1answer
22 views

How to get error messages for org-preview-latex-fragment?

(This took a long time to research, so I'm answering my own question, hoping to save others some time) Let's say I have a file like this: one by two is $\froc1{2}$ When I run M-x org-preview-latex-...
0
votes
1answer
40 views

Save excursion in an Org Agenda buffer?

I have a function that executes save-excursion from within an Org Agenda buffer, but it doesn't return the point to the agenda buffer once the body of the excursion finishes executing. Here is the ...
1
vote
0answers
19 views

Convert list to subtree without eating newline before next tree item

Say we have this file: * A - L1 - L2 * B If we execute org-list-make-subtree on any position within the list (the two lines with L1/L2), we get * A ** L1 ** L2* B So the conversion "eats" the ...
1
vote
0answers
46 views

org-attach from a Dired buffer

I want to be able to attach files to a sub-tree from a Dired buffer. The org-mode manual gives instructions on how to do this in the link below: https://orgmode.org/manual/Attachments.html At the ...
0
votes
0answers
23 views

Interactive 'TAGS/PROP/TODO' query limited to particular level of tree?

I want to do a search where I interactively specify a tag (ideally with counsel-org-tag-style tag completion) and get an agenda buffer listing matching items at a particular level of the hierarchy (...