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
0 votes
1 answer
683 views

Doom Emacs start-up problems

Running Doom Emacs 2.0.9 on Emacs 27.1. In my init.el I have org-roam enabled like so: :lang (org +roam +journal) In my config.el I also load org-habits, hide it in initial agenda view and set-up a ...
0 votes
1 answer
90 views

How to record statistics for habits with org-habit

I've started using org-habit this week. I can set my habits and see the nice colored consistency graph to track visually my habits. However, I would like to have a numeric record of this. For example, ...
10 votes
1 answer
818 views

How can I use the #+OPTIONS: broken-links: option to ignore broken links, in a specific way?

I have a very large orgmode document that has internal links to many different parts of the document. If I try to export a subtree that has an internal link that points to a part of the document ...
0 votes
0 answers
11 views

columnview sort

I would like to have that table always sorted by TODO state. In order DOING, DONE. Is it possible? Because I couldn't find anything in documentation. #+columns: %50ITEM(title) %author(author) %8TODO(...
12 votes
3 answers
10k views

How to strike-through or un-strike-through a region or line in org-mode?

Given a region or line of text in org-mode I would like to call a function that either strikes-through the region or removes the strike-through of the region or line if strike-through is already ...
0 votes
1 answer
38 views

Emacs orgmode always display inline image at startup

Somehow my Emacs always displays inline images by default, which is not what I want. I've tried the following but none of them worked: Add #+STARTUP: noinlineimages at the top of a file. Explicitly ...
0 votes
1 answer
25 views

IEEE style citations with org-cite?

I want to export from org-mode to PDF with IEEE style citations. The IEEE style is roughly this: Introduction Here is a citation [1]. Methods, Results, etc. References [1] J. Doe and J. Doe, "...
0 votes
0 answers
32 views

org mode: show TODO headings that are scheduled not for future, filtered by a tag

I really like how I can click on a tag next to a heading in an org mode file that has been added to the agenda, and org mode will generate a org-tags-view, a list of headings with same tag in a new ...
0 votes
0 answers
6 views

exclude archive subtrees from `consult-org-heading` search results

I would like to call the interactive command consult-org-heading (from the consult package) and exclude from search results all subtrees under org headings tagged ARCHIVE. consult-org-heading (source) ...
0 votes
2 answers
63 views

Add Save as button to org mode toolbar

I have been trying to add a "Save as" button to the org mode toolbar. Using the example from: https://stackoverflow.com/questions/20917411/how-to-add-item-to-toolbar-in-emacs#28326863 (defun ...
2 votes
1 answer
161 views

Org mode exporting with customized fonts in different (human) languages

I am writing Myanmar (Burmese) and English in org mode and want to export the buffer to LaTeX (PDF), HTML and ODT formats. Since Myanmar is not supported in Babel or Polyglossia packages, I am using ...
0 votes
0 answers
13 views

In Org-Agenda, how to show a complete file's summarized TODO status in one single line?

I often work in projects where all TODO items are bundled in one separate file. Often, I have quite a bit of TODO items which are then cluttering the agenda, while what I actually want is just a line ...
0 votes
1 answer
183 views

How to do date calculations in org-mode tables

I would like to enter a date (as active or inactive timestamps) in column 1 ( eg [2020-02-02 Sun] ) and a number of days in column 2 ( eg as 5d for 5 days) and then let something like: #+TBLFM: $3=$1+...
1 vote
1 answer
155 views

What's the safest way to make documents on emacs?

I lost my progress on an org document twice, and I used tons of undo-redo commands, but none of them worked, so now, even though I really like org mode and emacs, I'm kind of disappointed. Is there a ...
5 votes
3 answers
1k views

Complete path numbering of org-mode headlines and plain lists

I would like to get the complete hierarchy numbers in the plain lists of org-mode Instead of this: 1. something 1. something 2. something 1. something 2. something 1. something 2. ...
1 vote
2 answers
527 views

Fontify headline with todo keyword color

I would like to fontify headlines with the same color/weight as their TODO keywords. So for example, the default is like this: TODO Headline And I want it to look like this: TODO Headline Any ...
1 vote
2 answers
851 views

Undefined reference when exporting to latex from Org Mode with org-ref

I installed org-ref (via Melpa) to work with my bibliography entries in Org Mode. The installation seemed to be successful. I was able to add a citation with the command C-c ]. When I export to LaTeX ...
0 votes
1 answer
27 views

My Org mode capture code returns "Invalid file location: nil"

I use the following code for the org mode capture functionality, but it returns the error "Invalid file location: nil". What is wrong? Thanks in advance for any help! (setq org-capture-...
1 vote
1 answer
117 views

(Org) TikZ for exporting both LaTeX and HTML/MathJax

I'm exporting an Org Mode project both to LaTeX and to HTML (with MatJax). Now I need to add a TikZ picture which can be exported nativelly on LaTeX and must be rendered in svg for HTML. Writing the ...
1 vote
1 answer
131 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 ...
2 votes
1 answer
185 views

Align columns in Org Mode with Korean letters

When I try to make a table that has Korean character (한글) mixed with English words, the table becomes unaligned, and according to an answer about Japanese found here the the same problem with Japanese ...
1 vote
2 answers
543 views

Item not showing in agenda

In my org mode file I have: * TODO [#A] Call UPS 1 <2020-09-25 Fri> * TODO [#A] Call UPS 2 <2020-09-25 Fri> * TODO [#A] Call UPS 3 <2020-09-25 Fri .+1w> But only: TODO [#A] Call ...
0 votes
1 answer
134 views

Org-roam raises "Selecting deleted buffer" error after formatting laptop

I recently formatted my laptop's hard drive and reinstalled my OS (Manjaro in dual boot with Windows 11). I restored my entire emacs configuration on Manjaro and everything seems to work properly, ...
0 votes
0 answers
17 views

Apply :post processing to Rust/Rustic Org Mode Babel Source Block

I'm trying to setup a :post process on a rust code block. For example: #+begin_src rust :post padder(data=*this*) It works fine when I run other languages, but not with rust. The behavior I'm seeing ...
2 votes
1 answer
876 views

Cursor disappears when point is at a leading star and org-hide-leading-stars is non-nil

In non-graphic mode I set org-hide-leading-stars to t. Unfortunately, under these circumstances, whenever point is on a leading star, the cursor disappears altogether. IOW, not only the leading star ...
0 votes
0 answers
21 views

Insert Heading, One Level Above

I want to insert a heading above the current level, like org-insert-superheading I've found a few references, but for vi mode Any pointers?;)
0 votes
1 answer
82 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
0 answers
15 views

macos org-babel python with session output give __PYTHON_EL_eval

#+begin_src python :session :results output print("yes") #+end_src With org-babel-execute-src-block command, the result is: #+RESULTS: : __PYTHON_EL_eval("try:\n with open('/var/...
2 votes
1 answer
238 views

Searching for org-tags programmatically (without regexp)?

The function org-tags-view allows you to build up semi-complex searches for tags using regexp: (org-tags-view t "+PROP1={value}&+PROP2={[1-2]}") However, regexp is very limited. Is there a way ...
17 votes
1 answer
329 views

Create a “rabbit hole” task stack that can be pushed/popped?

I frequently fall into a sort of working anti-pattern involving “rabbit holes.”¹ Here’s the form it takes (with a concrete e.g. in parentheses): Start working on something (the “real task”) ...
0 votes
1 answer
34 views

org-mode: Search for properties does not work

I have a file "restaurants.org" containing: #+title: Restaurants #+author: xyz #+COLUMNS: %Where %Name * Ristorante Y :PROPERTIES: :Where: Canal Street 10 :Name: Ristorante Y I wanted to ...
5 votes
4 answers
2k views

Open org-mode links to info in different window?

I was wondering if anyone knew of a way to open links to info pages (Emacs manual) from org-mode without changing the current buffer to that info page? The reason I would like to do this is because I ...
0 votes
1 answer
44 views

Combine two commands

To create a list from sentences in org mode, I use following command string-insert-rectangle replace-regexp ^ with - How can I combine these two to form a single keyboard short-cut?
1 vote
1 answer
112 views

Maintaining consistent visual fill column under `org-indent-mode`

How can one enable org-indent-mode (or otherwise indent content to Org headings) while still maintaining a consistent visual fill column?
0 votes
1 answer
146 views

How to fold Org-mode files in VS-Code based on chapters, which do not have a closing tag?

Using Visual Studio Code with the Explicit Folding extension, I am trying to configure it so that the text is folded according to chapters, subchapters, ... in Org-mode files. The Org-mode syntax for ...
28 votes
3 answers
4k views

Extending org-mode with more markups

I want to add a markup and formatting for such markup, i.e. <kbd>...</kbd> with a box surrounds such markup. I also want the mark up to be compatible with (setq org-hide-emphasis-markers t)...
0 votes
1 answer
42 views

How to export the scheduled date to taskjuggler

Having (require 'ox-taskjuggler) in my init.el and hitting org-taskjuggler-export-process-and-open in foo.org renders the current date instead the expected scheduled date. Content of foo.org *** Foo ...
2 votes
1 answer
107 views

How do I convert scheduled recurring entries into clocked data?

I use org-mode for scheduling and logging in tasks. I clock in non-recurring tasks, however I find it strenuous to clock in recurring tasks. Is there any way I can mark the recurring task done and the ...
12 votes
0 answers
868 views

Edebug orgmode source code blocks with input variables

What is the standard method to debug emacs-lisp orgmode source code blocks with input variables as header arguments? I found the hacky solution to insert the following snipped in front of a source ...
0 votes
1 answer
108 views

How to Prevent org-global-cycle Glitch

I'm having an issue when using (org-global-cycle) from a subheading followed by (org-cycle). For example in the following org file: * Level 1 Heading 1 ** Level 2 Heading 1 ** Level 2 Heading 2 *** ...
3 votes
3 answers
2k views

org-anniversary entries not appearing in Agenda

What would prevent org-anniversary entries from appearing in the Agenda? Entries such as: %%(org-anniversary 2015 01 01) New Year's Day fail to show in the Agenda. I have toggled org-agenda-include-...
0 votes
1 answer
99 views

Can't run org-refile function in Spacemacs

I am using GNU Emacs 27.1 with Spacemacs 0.300. I am new to Emacs and Org-mode. I want to use the function org-refile with the shortcut C-c C-w. However, this is what I get: Why can't I use that ...
0 votes
1 answer
200 views

Add invisible text property in org-mode

Suppose I have a function like my-make-invisible, where my-re is some regexp: (defun my-make-invisible () (save-excursion (goto-char (point-min)) (while (re-search-forward my-re nil t) ...
2 votes
1 answer
75 views

Org-Mode : adding creation date property upon heading creation

When creating a new section in an Org-Mode document I want to automatically add a :CREATED: date property, by example: * Test :PROPERTIES: :CREATED:: 2022-06-13 11:05:59 :END: I wrote a solution (see ...
2 votes
2 answers
241 views

Org-mode verbatim tilde (=~=) is still processed by Latex back-end

I have some verbatim text containing a tilde, =some ~ text=. Now, org-mode is supposed to leave the tilde alone. However, upon exporting with the latex backend, I get the following in my .tex: \texttt{...
0 votes
1 answer
29 views

org mode footnotes both at the end of the page and a listing of all footnotes at the end of the document?

Is it possible to have org mode footnotes both at the end of the page and a listing of all footnotes at the end of the document? With #+LATEX_HEADER: \renewcommand{\footnote}{\endnote} you can create ...
3 votes
0 answers
31 views

org-mode - how to ignore link syntax inside of src blocks?

The link syntax [[link]] is parsed as an org-link inside of a source block, as shown in the code and figure below, where my mouse if placed on top of [[2]]. #+begin_src emacs-lisp [[2]] #+end_src ...
1 vote
1 answer
68 views

In org-tags-view, how can I only see headlines with non-inherited tags?

I want to search my diary folder for all items with the tag :meeting: Here's an example of one such file: 2021-01-01.org * meeting with boss :meeting: ** regarding project we're running late ** ...
1 vote
1 answer
76 views

Why is electric-indent-mode adding extra indentation after pressing return twice in org source blocks?

When I try to write code in source block in Org mode, pressing return once acts as expected while hitting it a second time increases the indentation to two levels if it's currently less than that. ...
0 votes
0 answers
11 views

Fix inconsistent background coloring of org-mode blocks with wrapped lines

When having a source block in a .org document, with line wrapping enabled, the continuation of an indented, long line, that is wrapped to the next line is naturally also indented. The problem is, that ...

1
2 3 4 5
100