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
4 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
24 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
15 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
12 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
30 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
0answers
11 views

unified way of defining org-agenda-prefix for timestamps

This is a follow up question to my own question a couple of months ago. I am trying to find a more general way to having TODO timestamps with custom prefixes on the org agenda. Ideally It would work ...
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
27 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
34 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
39 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
23 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
24 views

Company mode support for org latex

Is there company mode support for inline latex in org mode?
0
votes
1answer
39 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
29 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 ...
0
votes
1answer
171 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
23 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
116 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
24 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
35 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
35 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
51 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
11 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
67 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
25 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
59 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
21 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 ...
0
votes
1answer
41 views

How can I configure `#+AUTHOR:` for LaTeX in `org-mode`?

I'm using the IEEEtran document class for LaTex in org-mode, and to define authors I need to use some IEEEtran-specific commands. My \author command should look something like this in the .tex file: \...
0
votes
1answer
18 views

org-mode caption html export cramped

If you start a blank org buffer and put in #+CAPTION: This is the caption for the next table (or link) | ... | ... | |-----+-----| then html-export it, it comes out all cramped and vertical. Table 1: ...
1
vote
1answer
42 views

How to go back within the ellipsis of a collapsed Org section?

I am using Emacs with evil-mode enabled. I would love to be able to move back using h when the cursor is exactly at the last character of a folded org file (as shown in the picture). However, when I ...
0
votes
0answers
25 views

Is it possible to :noexport: a single figure?

In org-mode, is there a way to use :noexport: on a single item such as a figure, so that it is displayed in Emacs but not in exported files (such as docx)? Below is an example code of a figure I'd ...
0
votes
0answers
32 views

Org src code block exporting even with :exports none

As in the title, If I have an org file with a python source block of the form #+BEGIN_SRC python :results none :session py-sess :exports none import numpy as np import matplotlib.pyplot as plt print(&...
0
votes
0answers
31 views

I am trying to install this into my Emacs config

I am trying to add this org-download into my Emacs config so I can paste images into my buffer. I tried following the steps but keeps telling me File is missing: Cannot open load file, No such file or ...
0
votes
1answer
38 views

Can TODO headings in org mode inherit part of the heading style, specifically fontsize?

Emacs initiate here, I've just now added different heading sizes for org-mode to my init file, according to the answer on this page: Setting for org-mode bullet font size (custom-set-faces '(org-...

1
2 3 4 5
97