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

Using org-goto across multiple files

Is there a way to use org-goto with opened buffer files (and maybe agenda files), just like org-refile does through org-refile-targets? I have configured org-refile to show the options to choose with ...
NandKN's user avatar
  • 73
0 votes
0 answers
34 views

Is there a way to hide link prefixes in org-mode?

For some link types it would be nice to hide the link prefix automatically. This post does this with text properties, but I'd prefer if it was possible to do with something like prettify-symbols or ...
user41177's user avatar
  • 121
0 votes
0 answers
13 views

Bulk rescheduling agenda items without altering time of day or DEADLINE?

I currently bulk reschedule agenda items using: (setq org-agenda-bulk-custom-functions '((?D (lambda () (call-interactively 'org-agenda-date-later))))) This command can be used without a prefix ...
Max Pfleger's user avatar
0 votes
2 answers
37 views

is it possible org style doc (as comment) in c++ or any other programming language?

can you use org style document in c++'s comment region? I could open up an org doc and type there and copy the contents as a comment block inside /* */ I wonder if it can be done without leaving the ...
eugene's user avatar
  • 489
0 votes
1 answer
58 views

How to collapse the output of code evaluation in org mode?

I would like to evaluate the code blocks in org-mode. However, when the output is lengthy, I want the output result to be collapsed. When I export the org file to the html, I want to see the result. ...
virtual_mind's user avatar
2 votes
1 answer
93 views

Calculating overtime in org tables

I enter my daily work hours in a spreadsheet. My daily target working time is 8 hours. In the first line my overtime is calculated with this: | Overtime | 2.5 | |----------+------| | Day 1 | 8 |...
ontheair's user avatar
0 votes
0 answers
10 views

How to prevent org-exporter from prepending "file://" to the beginning of absolute file paths when exporting to HTML?

I use org-mode to write HTML pages for a website. When I use relative links for navigating the website's directory structure in my org-mode files and I export the org files to HTML, the links work as ...
Blender's user avatar
  • 25
1 vote
1 answer
81 views

How to express time inside an org-table formula?

Consider the following org-table, where the first 3 columns are inputs: |----------+-------+-------+----------+------+--------| | Date | Start | End | H. slept | | Delta | |----------+-----...
crocefisso's user avatar
  • 1,220
0 votes
1 answer
18 views

Calling function with string argument containing strings

I'm trying to call a function with an argument string, where the string should contain a string inside: (org-ql-sparse-tree "(tags \"week4\")") If I just do M-: and type (org-ql-...
Ivan Perez's user avatar
1 vote
0 answers
37 views

clickable buttons on headings

Emacs shows clickable buttons when visiting NEWS (C-h n): This is controlled by outline-minor-mode-use-buttons. How to make Org do the same thing?
shynur's user avatar
  • 4,638
0 votes
1 answer
28 views

Prevent temporary buffer from overwriting main buffer

I am encountering a strange behavior where any temporary buffer overwrites the main buffer content. Using org time-stamp for example; the expected behavior is: Invoke org time-stamp from within an ...
David Cooper's user avatar
0 votes
0 answers
18 views

Repeat an hourly task in org-agenda grid

Why an hourly scheduled (repeating) task would appear only once in org-agenda grid? I assumed that this entry should appear again (at 17:09, 18:09, 19:09...). This org-agenda is generated with: (...
Daniel Krajnik's user avatar
0 votes
1 answer
31 views

Show repeated tasks in org-agenda grid?

Is there any way to get repeated tasks to appear in org-agenda grid? Right now they are always shown at the bottom. In this example the tasks was scheduled to repeat every day at 12:00.
Daniel Krajnik's user avatar
0 votes
0 answers
83 views

How do I get org-mode to add yaml frontmatter to the top of the exported .html output?

I use org-mode to generate webpages for github pages, but now I want org-mode to add the following text (yaml frontmatter) to the top of every .html file that it creates when exporting to HTML: --- ...
Blender's user avatar
  • 25
0 votes
0 answers
9 views

Does `get-char-property-and-overlay(nil org-image-overlay)` mean that the first argument was nil or `org-image-overlay`?

I've spent over 20 hours trying to solve an issue with org-mode loading. I've stepped through the code until it reached a function that stack trace indicates fails due to one of the arguments being ...
Daniel Krajnik's user avatar
0 votes
0 answers
27 views

Timestamp ranges not showing in Org Agenda: org-duration-to-minutes defined as void

Version: GNU Emacs 28.2 I'm having trouble displaying timestamp ranges on the Org Agenda. For example, if I have * Event <2023-07-29 Sat 08:00> The Week-agenda correctly displays the event as ...
Exercise To The Reader's user avatar
0 votes
0 answers
47 views

Orgmode clocking export "additional notes"

I'm clocking my worktime using orgmode, for the manual see here: https://orgmode.org/manual/Clocking-commands.html After finishing a task, you have to "clock out". From the manual: C-c C-x ...
Keks Dose's user avatar
  • 508
0 votes
1 answer
119 views

inline images stop working- wrong-type-argument. (setq org-startup-with-inline-images t) causes errors on start

Adding (setq org-startup-with-inline-images t) trips debugger when opening an .org file with inline images. I've tested it both on Wayland and X11 and both on Mesa EGL and Nvidia. Same behavior in all ...
Daniel Krajnik's user avatar
0 votes
0 answers
59 views

How can I truncate lines in org-mode buffers?

I'm unable to make org-mode buffers truncate lines by default. This is my entire init.el (setq-default truncate-lines t) I launch Emacs emacs -nw test.org , but it won't start up with lines ...
Jason Hunter's user avatar
0 votes
1 answer
50 views

org-notifications doesn't work

There has been many reports of org-notifications failing to work. Has anyone managed to set it up in the latest emacs?
Daniel Krajnik's user avatar
0 votes
0 answers
20 views

Prevent deletion of blank lines when tangling code blocks

The Python style guide asks for two blank lines surrounding class and function definitions (see PEP 8). When those blank lines are added in Org-Mode source blocks, they are removed during tangling. ...
Ben Bkhdt's user avatar
0 votes
0 answers
24 views

`:output-dir` is buggy and what is the usage difference between `:dir` and `:output-dir` header arguments?

The manual says :dir is working directory and :output-dir is output directory. It is a a bit confusing. If I don't set output dir, shouldn't it generate output files in the working directory? For ...
RNA's user avatar
  • 368
0 votes
1 answer
46 views

org-clock-report: Add line and calculate average working hours

I am using org-clock-report to keep track of my daily working hours. Example: #+BEGIN: clocktable :scope file :maxlevel 2 #+CAPTION: Clock summary at [2023-07-26 Mi 06:04] | Headline | Time | |--...
ontheair's user avatar
0 votes
1 answer
31 views

How to hide the "Contents" header in the pdf output

Every time I would export the org doc as a PDF I would get this random "Contents" tag before the table and I am not sure how to remove it. I attached below an image of what I mean There's ...
Taken's user avatar
  • 3
0 votes
0 answers
12 views

Habit in org to trigger by another task?

I'm trying to create a unique habit and as usual, I'm over complicating things. I'll try to explain: Let's say my mom always nags me about coming to see her, and as soon as I leave, she's asking when ...
Emax2020's user avatar
0 votes
0 answers
22 views

Removing certain LaTeX preview matchers from Org mode?

Is there a way to make certain matchers be ignored when I run org-latex-preview? For example, I don't want the TeX dollar signs to be rendered, nor \begin environments. My reason for this is because I ...
daedsidog's user avatar
  • 157
0 votes
1 answer
34 views

What causes org-open-at-point command to fail?

For some reason doom emacs fails to open links that point to a local file ([[file:firejail.html][file]]). It's X11 KDE Arch doom emacs and if opened with xdg-open default application to open .html ...
Daniel Krajnik's user avatar
0 votes
0 answers
33 views

Why is org-cite style not working?

I'm currently trying to manage my bibliography with org-cite and I'm checking both the documentation (1 and 2) together with the blog post to introduce the feature (3). There, they claim that you can ...
egomezcana's user avatar
0 votes
0 answers
23 views

How can I find out that an Org Agenda file had been opened with 'inhibited startup'?

My Emacs is opening the Agenda file in the background with org-agenda-inhibit-startup locally bound to t. When I switch to such a file, all trees are therefore displayed open (no folding). I would ...
Public Image Ltd.'s user avatar
0 votes
1 answer
39 views

Using numpy array with Org Babel

I want to pass in 2 arrays and have python process them. The babel block works when I put the arrays directly in but if I try to pass them in via headers, they don't appear as arrays to numpy. My ...
user1625344's user avatar
0 votes
1 answer
43 views

Suppress empty lines around `align` in latex export from `org-mode` [duplicate]

Is there an elegant way to visually set apart an align environment in org-mode but have no newlines around the environment in the LaTeX output? The naive attempt Some text. # \begin{align} 1=1 \...
Christoph90's user avatar
0 votes
1 answer
28 views

Org mode: Scheduling irregular, yet rigid procedures

The Problem What's the best way to schedule complicated time-based procedures that are repeated on irregular dates? E.g., say I signed up to do night watch on a set of arbitrary dates. The night watch ...
Johnny Sasaki's user avatar
0 votes
0 answers
36 views

Org Babel generated graphics and GitHub display

I'd like to build README.org files with graphics that properly render on GitHub. Currently I find that, for example, emacs-jupyter babel blocks render images locally via file:./path/to/file.png. ...
mankoff's user avatar
  • 4,138
1 vote
1 answer
64 views

How to start a terminal program in vterm from org mode?

I'm currently using xterm using following line below to open data.csv with visidata from xterm. How can I achieve similar behaviour though with vterm instead? example.org: [[elisp:(start-process "...
jjk's user avatar
  • 721
2 votes
1 answer
76 views

Extract pdf information from papers into org

I like to use org to take notes on PDFs. I find Zotero a bit "scattered" and too linked to the papers themselves rather than just being notes. However, manually extracting information from ...
Att Righ's user avatar
  • 745
1 vote
0 answers
35 views

Previewing latex in cc-mode

I'm trying to write c/c++ code with comments in LaTeX. My .emacs file has the single line (require 'org) My source c/c++ file has the single line \[ \int x \] If I'm in python mode, fortran mode, ...
user3856370's user avatar
1 vote
1 answer
124 views

Key binding to set specific property value in PROPERTIES drawer

I store a property MyValue, in property drawers for a lot of headlines and need to update it regularly. Instead of typing C-c C-x p MyValue 0 <RET> on each heading, I would like to have a custom ...
GNUmon's user avatar
  • 122
2 votes
1 answer
46 views

Key binding to generate a sparse tree from the kill-ring

I want to set a key binding that creates a sparse tree of all headlines containing the string currently on the kill-ring. Currently, I mark the text I want and save it to the kill-ring, then call org-...
NandKN's user avatar
  • 73
0 votes
1 answer
38 views

Copy the value of a property in the properties drawer

I want to copy the value of a property in the properties drawer to the kill ring, so I can paste (yank) it with org-yank (for example). Something similar to what kill-ring-save does. Currently, I have ...
NandKN's user avatar
  • 73
0 votes
1 answer
94 views

(wrong-type-argument stringp nil) error when calling tangle

As the title says, I get this error whenever I, or the function I'll show below, call org-babel-tangle. I'm using a org file to configure emacs, which tangles every time it is saved to my init.el. The ...
Felipe Canteiro's user avatar
0 votes
1 answer
71 views

Adding some padding for LaTeX fragments in Org mode

When writing in Org mode, I have a minor pet peeve where the Org document becomes too "cramped", and so I like to add newlines separating the equations from the text, like this: * Very ...
daedsidog's user avatar
  • 157
0 votes
0 answers
29 views

org-meta-up, on normal text

I've found the move-text package, which does what I want; moving lines up and down with M-UP. This however, is the same keybinding as org-meta-up, which moves org-headings up and down. I don't want to ...
Jason Hunter's user avatar
0 votes
1 answer
61 views

how to repeat same alert on calendar N days

It's a lot of times that I do not use emacs (org mode) can someone remember me how can I set a statement to be shown in calendar for N days? I remember it's like this, but I do not remember the right ...
RenatoP's user avatar
  • 121
0 votes
0 answers
12 views

How to make agenda bulk tag actions respect exclusive tag groups?

For example, suppose I have the following tags in an exclusive group: (setq org-tag-alist '((:startgroup) ("work" . ?w) ("home" . ?h) ...
Max Pfleger's user avatar
0 votes
1 answer
27 views

How to hide later siblings of TODO items in Agenda TODO list view

In my global TODO list (M-x org-agenda t), items are grayed out when a parent is marked as ordered and they have a previous sibling that is not DONE. For example: * TODO Bake Cookies :PROPERTIES: :...
Rob N's user avatar
  • 587
0 votes
1 answer
57 views

How can I play asciinema screen-recording inside org-mode?

I was wondering, is it possible to play asciinema.org screen recordings inside org-mode using embed the player? Here is an example link of a screen recording: https://asciinema.org/a/418574. Note that ...
alper's user avatar
  • 1,300
1 vote
1 answer
43 views

Calling org-indent-mode from org-mode hook causes infinite recursion?

I have the following code in my emacs init files, and it is causing an infinite recursion, which eventually bottoms out and throws an error. (defun robs-org-mode-hook () (org-indent-mode) ...) (...
Rob N's user avatar
  • 587
7 votes
1 answer
277 views

code vs verbatim

I'm new to Org. Seems that it provides 2 ways to mark text as monospace: ~code~ =verbatim= What are the differences between them? IOW, how to choose them?
shynur's user avatar
  • 4,638
0 votes
1 answer
110 views

Org Roam Capture Today Hook

I've been trying to find a solution for this for a few days, and I keep running into questions I can't seem to answer. My eventual goal is to capture a daily note in org roam, either with a custom ...
Christian Johnson's user avatar
0 votes
1 answer
44 views

Pointing Emacs to LaTeX under zsh (for org-latex-export-to-pdf)

After moving to zsh and installing MacTeX, I can run pdflatex fine from the Terminal. $ which pdflatex /Library/TeX/texbin/pdflatex I copy that location, itself a soft link /Library/tex/texbin: ...
Sam7919's user avatar
  • 349