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
0answers
10 views

Unified tag-based modification of org-clock-report

I have a single org-clocktable that displays entries from a variety of different contexts. I would like the indentation style of the report to be based on a combination of the sub-tree hierarchy and ...
1
vote
1answer
8 views

execute all org-mode code blocks in a region?

Is there a way to highlight a region of a org file and execute all code blocks in the region? What I was looking for is basically to execute all code blocks up to a certain point, where I am writing ...
0
votes
1answer
14 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, ...
0
votes
1answer
22 views

Make minimal working example for org-ref (Version 3)?

My .emacs includes these lines: (package-initialize) (require 'org-ref) I have a file called orgcite.bib which includes: @article{OrgCitations, author={org, mode and Syntax, Citation and ...
0
votes
0answers
16 views

CDLatex math-modify, parenthesis completion for orgmode outside of explicit environment

I would like to use CDLatex not just in specific Latex environments but anywhere. For example to quickly add emphasis or curly brackets for lesser used commands. Currently when typing a'e nothing ...
0
votes
1answer
20 views

HTML publish latex block images

I am trying to export a latex tikzpicture, like the following to html: #+begin_src latex :exports results :results raw file :file ex.png :output-dir ../img/ \begin{tikzpicture} \draw node[circle,...
0
votes
0answers
17 views

LaTeX equations in org-mode file missing when it's converted to word docx using pandoc?

I am trying to export org-mode files to docx using pandoc. One issue is that some equations involving external LaTeX packages do not show up in the exported word document. For example, the following ...
0
votes
1answer
23 views

Why does org-mode not indent content under headings when I press tab?

In a buffer like this: * Heading ** Sub-heading content| pressing <tab> should result in this: * Heading ** Sub-heading content| Instead, nothing happens.
0
votes
0answers
8 views

Can an agenda deadline warning be temporarily dismissed w/o editing org-deadline-warning-days?

I have many repeating tasks with deadline warnings. Sometimes I just want to see the reminder and dismiss it until the next day, i.e. remove it from that day's agenda. Currently, I manually subtract 1 ...
0
votes
1answer
35 views

How to avoid this question: "Non-existent agenda file. [R]emove from list or [A]bort?"

When I create an .org file (C-x C-f, find-file), the following appears in the mini-buffer: "Non-existent agenda file. [R]emove from list or [A]bort?". The question is not asked when creating ...
0
votes
0answers
8 views

How do I make org-indent-mode put me at the right indent when I make a new line?

This is the current situation: * Heading ** Sub-heading *** Sub-headings content1<return> | I entered that text and now want to add a second line to the content by pressing return. My ...
0
votes
0answers
30 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
0answers
14 views

Can org-provide-todo-statistics be set locally for a specific tree?

Sometimes I would like a tree's statistics cookie, for example "[1/3]", to be calculated differently than what is specified in the global value for org-provide-todo-statistics. For example, ...
0
votes
1answer
35 views

How to export a table containing multi-lined cells from an org-table?

Consider the following table: |-------------+------------------------| | Definiendum | Definiens | |-------------+------------------------| | first term | - bullet point one | | ...
0
votes
1answer
21 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 ...
0
votes
0answers
32 views

Emacs hangs on org-babel-execute-src-block for Haskell blocks

I have a minimal org file with a Haskell code block: #+begin_src haskell putStrLn "Hello World" #+end_src When I do M-x org-babel-execute-src-block, Emacs hangs with minibuffer saying: ...
1
vote
1answer
35 views

Specify arbitrary attributes for code blocks and keep them when converting with pandoc

Markdown and its different flavours have a number of interesting extensions, notably the [hl_lines attribute][0], which allows to highlight specific lines in a fenced code block, as illustrated here ...
0
votes
0answers
27 views

Making org to beamer example work [duplicate]

Tried running the example in here: #+TITLE: Example Presentation #+AUTHOR: Carsten Dominik #+OPTIONS: H:2 toc:t num:t #+LATEX_CLASS: beamer #+LATEX_CLASS_OPTIONS: [presentation] #+BEAMER_THEME: Madrid ...
0
votes
1answer
41 views

How can I create a link to an outline attachment in Org mode?

I am trying to create links within the body of an outline to files that are attached to that outline using the guidance in the documentation ***** Test outline ...
0
votes
1answer
20 views

Is there a command to start logging time on closest parent with previous logs?

Under a "topic" org entry I sometimes make daily sub-entries while working on the topic. Is there a command to start logging time on the top level topic instead of the daily entry?
0
votes
1answer
16 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 ** ...
0
votes
0answers
26 views

View org-mode tags (with group tag) as a tree structure

I use Emacs org-mode tags with the "group tag" Tags Hierarchy and groups with #+TAGS: syntax for a specific file, without overriding org-tag-alist/org-tag-persistent-alist. List of tags can ...
0
votes
0answers
25 views

Company mode support for org latex

Is there company mode support for inline latex in org mode?
0
votes
1answer
40 views

Date selection for org-add-note

I want to add notes to a heading but instead of using org-add-note, it should be possible to choose any date I want to have as time stamp. I use notes partly as Diary so I want to be able to create ...
4
votes
1answer
32 views

Variable for line-wide colouring in emacs org-mode source blocks

What org-mode variable determines whether or not the org-mode block-background applies line wide like so: instead of like so: I am using the gruvbox-dark theme. I will attach the defface as soon as ...
2
votes
1answer
31 views

Resolving idle time after forced closing (crash)

In this manual page I read that idle time can be resolved both when one got distracted from the task at hand, and when the session unexpectedly crashed. The latter is what happened to me (no hamsters ...
1
vote
2answers
242 views

How to deal with this message : IMPORTANT: please install Org from GNU ELPA as Org ELPA will close before Org 9.6

This message occur when I open an org file. I've put this in my init file : (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/...
1
vote
1answer
35 views

Add human readable modification time to org file

Currently I add the creation time to my org files with +date: %U in the template string. Works fine and is human readable. I also would like to have that for the modification time, too. I know org-...
1
vote
0answers
31 views

import source code file into org-mode file?

I'd like to import a source code file (for a language such as e.g. python) into an org-mode file so that the comments in the source file become org-mode text (markdown) and the codes between comments ...
1
vote
1answer
24 views

How do I correctly use org-entry-put with "DEADLINE" in a capture

I want to set the deadline of every org-capture per some considerations and I want to do this after the capture rather than in the capture template. Given the following example code: (defun post-...
0
votes
0answers
29 views

How to indent Org Babel list output with multiline text correctly?

I'm using Babel to generate some text in an Org file. I'm using :results value list header switch described here to format the output in Org's list structure. It doesn't quite format multiline text ...
1
vote
0answers
17 views

Exporting properties with links doesn't work

I have a small problem when I export links that are included in properties. The goal of my approach is simple: use the properties of Org mode, then export them to html. The export of these properties ...
0
votes
0answers
50 views

References does not appear using org mode and latex [SOLVED]

I am totally new using Emacs. I want to generate a Pdf file using Org mode with LaTeX. I know how to use LaTeX but I dont know how to handle my situation in Org mode. The problem is that the ...
0
votes
1answer
22 views

M-h not working on Mac (minimizes window instead of org-mark-element)

Using Mac OS Big Sur, org-mode 9.2.6 with GNU Emacs 27.2. I am trying to mark the whole item under the point. But when I use the M-h keystroke, the Emacs windows disappears and I need to click its ...
0
votes
1answer
25 views

Org mode inline display (epa) encrypted image

I've tried to link an image in org-mode ([[image.jpg]] and [[file:image.jpg]]), then C-xC-cC-v to toggle displaying it. That works fine for normal images. Then I encrypt the same image with epa-dired-...
0
votes
1answer
29 views

org mode table: calculate sums between all pairs of adjacent hlines

I am curious as to whether it's possible to automate the TBLFM in a particular way. This example illustrates the problem I am asking about: |------------------------------------------------------------...
0
votes
1answer
117 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) ...
1
vote
0answers
26 views

Make org-mode ToC dependent on export format

I would like to only have a ToC in TeX/PDF export, but not when exporting to Markdown. Is there a way to configure it like this, if need be through a LaTeX-specific command?
0
votes
1answer
33 views

How do I group by and aggregate orgtable more efficiently?

I have the following org table where I actively record columns 1,2,3,4 and the remaining columns are calculated from the first four. Using this I calculate the aggregate from the last three columns ...
2
votes
0answers
36 views

How can I **completely** migrate a LaTeX template to an Org file?

I've written my own LaTeX class file that deals with page layouts, title styles, subheading styles and uses fancyhdr so that each page has the section name and document title in the header, and so ...
0
votes
1answer
36 views

Use org-babel table results as input to another org-babel snippet

I have a snippet of Python code that outputs an Org mode formatted table. After I'm satisfied with the table, I would like to generate the LaTeX markup via orgtbl-to-latex function. For example, I ...
0
votes
0answers
60 views

org-roam + ox-hugo exporting results in broken links

I've been following this setup to export my org-roam notes with ox-hugo, but I get the following kind of errors when exporting. ERROR 2022/01/03 09:27:37 [en] REF_NOT_FOUND: Ref "../../../../../...
2
votes
1answer
48 views

Fontify shell commands in org example

I'd like to write examples of shell commands in an Org document: Here's an inlined ~if~ statement: #+begin_example $ if true; then echo hello; fi hello #+end_example I wish for the command part, ...
0
votes
0answers
12 views

Indent Headers in outline-minor-mode

In org mode, we can use the org-indent-mode hook to indent each header level, making a document with an outline more readable. However, with outline-minor-mode, we the org-indent hook doesn't seem to ...
0
votes
0answers
68 views

Broken links in Org mode

I'm stuck with a broken link problem. I installed Manjaro Linux and Emacs 27.2. I use org mode for my every day planning at work. I have a lot of internal links to open PDF, ODT, PNG files, etc. Since ...
1
vote
0answers
48 views

How to archive DONE tasks while keeping their tree structure with org-agenda-bulk-action?

I am able to select the tasks that I want to archive by doing: C-c a T DONE|CANCELLED RET * B But then none of the bulk options match my needs. $ remove the selected tasks and put them flatly into ...
0
votes
0answers
26 views

org-babel code block wrong type argument

I'm stumped as to why I can no longer export an org-babel file with R code chunks and can not work out where the error is cropping up. A simple example that doesn't include the graph... #+STARTUP: ...
0
votes
1answer
21 views

How to run a custom function after scheduling an entry in org-mode?

Is there an org-mode hook that would allow me to run a custom function after scheduling an entry (i.e. running C-c C-s/org-schedule in an Org buffer)? I've checked https://orgmode.org/worg/doc.html, ...
2
votes
1answer
60 views

Count words under subtree ignoring the properties drawer and the subheading

How can we count the number of words inside a heading? (excluding the properties drawer and the actual heading title) An example: **Answer :PROPERTIES: :ID: <guid> :END: This is some text here ...
0
votes
0answers
22 views

Can emacs use window system on terminal frame? (doom-emacs, iTerm)

I'm trying to set org-level-* height(font size) differently for each level(doom emacs, config.el): (after! org (set-face-attribute 'org-level-1 nil :height 1.75)) But it displays different ...

1
2 3 4 5
97