Skip to main content

Questions tagged [org-mode]

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

How to change the formatting of current date in Org agenda

How can I change only the format of current day (using Doom Emacs). What I have: Saturday 20 April 2024 Sunday 21 April 2024 Monday 22 April 2024 W17 Tuesday 23 April 2024 What I want: ...
Random's user avatar
  • 1
3 votes
1 answer
38 views

In org-mode, can one evaluate source code blocks inside a latex equation?

I would like to do something like: \begin{equation} x = src_R{x} \enq{equation} so that the current value of x in the R session ends up in the exported document. However, org-mode does not seem to ...
Stefano's user avatar
  • 173
0 votes
1 answer
30 views

Command to fold all "properties" drawers in file

I’m looking for an interactive command that would fold / unfold all the :PROPERTIES: drawers in an org file. I’m sure this command must exist, I just can’t find it – and I’m curious to how you did ...
kotchwane's user avatar
  • 515
0 votes
0 answers
21 views

Why would this custom org-num-format-function causes a warning when org-latex-preview called?

What I'm experiencing: A custom org-num-format-function causes org-latex-preview warn when it called. Exact warning I'm getting. ⛔ Warning (org-element-cache): org-element--cache: Org parser error in ...
Garid's user avatar
  • 641
0 votes
1 answer
17 views

Doom Emacs - `custom-theme-set-faces` not working for `org-level-n` faces

I am trying to modify a few faces for a specific doom-theme in Doom Emacs. I am only interested in an emacs-lisp solution, I do not want to customize via the dedicated Emacs interface. I got the basis ...
lyndhurst's user avatar
0 votes
0 answers
27 views

Hide repeating tasks in org-agenda's "overdue section"

How would you remove from the "overdue section" (not sure the right name) headings that are scheduled to repeat, e.g. * TODO My task SCHEDULED: <2024-04-02 Fri 16:30 .+1w> this now ...
Daniel Krajnik's user avatar
0 votes
0 answers
10 views

Org-babel remote inline images with TRAMP not exporting in org export

I am trying to find a way to get the images generated in my remote server exported to a HTML locally. Orgmode of a local analysis works as expected, but if I have tramp enabled with: #+PROPERTY: ...
lf_araujo's user avatar
  • 123
0 votes
1 answer
54 views

How to evaluate python code in org-mode when only python3 is provided by the package manager?

Recently I started to use guix as my operating system. I installed python3 for my user via guix install python3. python itself is not available in the package repository, which I verified by running ...
Eldinur's user avatar
  • 13
0 votes
0 answers
16 views

Unable to modify quote and verse blocks in org-mode

Although I have set org-fontify-quote-and-verse-blocks to t, when I call describe-text-properties with point on a #+begin_quote or #+begin_verse block the value of face remains org-block: There are ...
Pablo's user avatar
  • 313
1 vote
1 answer
35 views

How can I add a link to jump to the table of contents?

I would like each chapter title to also be a link to the table of contents, so that I can quickly go back and forth from the TOC to the chapters. This is my example test.org document: #+TITLE: My doc ...
Pietro's user avatar
  • 121
0 votes
0 answers
32 views

How to have timestamp (hour:minute) as prefix to a recurring task started before but recurring in the current day in an agenda view for the current?

The current day is 2024-03-30 . I have the following sample agenda items: * Future ** A meeting non-recurring :meeting: SCHEDULED: <2024-03-30 Sat 11:00> ** Meeting recurring starting today :...
Yu Shen's user avatar
  • 471
2 votes
3 answers
101 views

How to convert an org-table to JSON?

Here is a minimal example of an org-table: #+NAME: radar |----------+------| | Variable | Val | |----------+------| | Red | 43.3 | | Blue | 83.1 | | Yellow | 86.4 | |----------+------| I ...
crocefisso's user avatar
  • 1,306
0 votes
1 answer
46 views

Org-mode: clickable heading

I would like each org-mode section to be expandable with a left mouse click anywhere in the heading (excluding tags). This answer correctly points to org-mouse. However, I must click on the section ...
unvarnished's user avatar
0 votes
1 answer
22 views

use output of python code block from other python code block

My emacs is 29.2 in linux. I try below code to use output from first python block, but the output in second block is None after press C- C-c. #+name: testblock #+begin_src python print("hello&...
beetlej's user avatar
  • 1,100
1 vote
0 answers
16 views

Org-mode+Babel: Refactor across files or code blocks

I'm refactoring my Emacs config files so that they are generated with org-babel-tangle. I am able to do everything I need but I really miss better refactoring support. As an example, after I define a ...
pgpb.padilla's user avatar
0 votes
2 answers
53 views

Is it possible to have autocompletion for properties in org-agenda?

When filtering entries in agenda buffer (including C-c m) I only get auto-completion for tags. But the first thing I want to filter by is always the value of the "Project" property. I set up ...
Reverent Lapwing's user avatar
0 votes
0 answers
11 views

Adding PS1's "user@machine" to the exported version of an org-babel shell block

I am using org-babel for running shell commands. I'd like to export the code block as if it was running from the terminal, so adding "user@machine" before each command. When I export the org ...
Peter Petigru's user avatar
0 votes
1 answer
42 views

Is it possible to do #+SETUPFILE conditionally in orgmode (with regard to included files)?

I'm working on a big text in orgmode, which is expected to be finally exported to Latex & PDF, so I made this kind of a master document in orgmode: #+SETUPFILE: exportoptions.org #+INCLUDE: "...
yury10578's user avatar
  • 121
0 votes
0 answers
41 views

Inserting a Page Break Wherever in ODT Document when Exporting from Org Mode

Is there a simple one-liner to insert a page break wherever when generating ODT from Org mode? I'd rather not dig into styles if I can avoid it. I'd like to be able to do something like #+...
user avatar
0 votes
1 answer
29 views

Tex equation block highlighting in org-mode

I would like to highlight \begin{equation} ... \end{equation} Tex environments with a different color in org-mode. Inline Tex expressions (delimited by the $ symbol) can be highlighted as follows: (...
unvarnished's user avatar
0 votes
2 answers
47 views

Hiding Headings in Doc Exported from ORG-MODE to ODT

I'm writing a short story. The end result will be a 30-page doc with zero chapters or headings, (not even a title.) However, within org mode, I would like to have a foldable outline for working with ...
user avatar
0 votes
0 answers
8 views

Error yas--advance-end-maybe-previous-fields with autoactivating yasnippets in latex environments in org mode

I get the error yas--advance-end-maybe-previous-fields: Assertion failed: (memq field (yas--snippet-fields snippet)) in org mode when I use snippets that: do not contain $1 in the snippet use auto ...
userrandrand's user avatar
0 votes
0 answers
19 views

Org Mode Code Sessions Scope

I'm trying to use sessions within an org file to keep the code workspace as I need something similar in style to the Jupyter Notebooks. The issue I'm having is this isn't restricting the session to ...
ADS_Fibonacci's user avatar
0 votes
1 answer
32 views

Zero padding numbers in org-num-mode?

I like to workingorg-num-mode enabled: ** 4 Actions *** 4.1 WAIT Lorem :visit: ▼ *** 4.2 WAIT ipsum :uni: ▼ *** 4.3 NEXT dolor :...
Garid's user avatar
  • 641
1 vote
1 answer
32 views

How to save org-mode file without results of source code block

I'm preparing a presentation in org-mode and I'd like to demonstrate live the execution of code. So I'd like to start the presentation without any result block. How can I remove (strip) the results on ...
hintze's user avatar
  • 113
0 votes
0 answers
17 views

How to turn off org-agenda-log-mode once activated?

The description of the function org-agenda-log-mode is Toggle log mode in an agenda buffer. I remember it working like that, the short cut 'l' working like an on/off switch. Currently on my system, ...
J..y B..y's user avatar
  • 158
0 votes
0 answers
16 views

Edit encrypted, compressed files fails

I've been trying to write an encrypted org document which also has images. A requirement is that the images should be bundled with the org document. I thought that the most straightforward approach ...
jthulhu's user avatar
  • 225
0 votes
0 answers
20 views

Is there a compact way to use `@I` notation in Org-Mode table / Spreadsheet?

To get all the values between the first hline and the third you'd normally do @I..@III, however I'm already in my ninth line, and it's getting longer by the time I get to others. Is there a more ...
Maxi_2601's user avatar
0 votes
1 answer
24 views

How to use the keyboard with the date picker

If I call C-c C-s, the date picker is showing up, but I can just use the mouse to pick a date. How am I able to pick a date in the date picker?
David's user avatar
  • 297
0 votes
1 answer
46 views

How to set keybindings to jump to next/previous latex math environment?

In vim (I think with vimtex) one can jump to the next or previous math zone (inline or display mode) with a keybinding. Using auctex or org mode (preferably org mode), how could one do that in emacs ? ...
userrandrand's user avatar
0 votes
1 answer
65 views

org-mode: per-exporter #+SELECT_TAGS & #+EXCLUDE_TAGS?

Problem statement In Emacs org-mode, I am looking for a way to define #+EXPORT_EXCLUDE_TAGS (which defaults to :noexport) and #+EXPORT_SELECT_TAGS on a per-exporter basis, such that they apply only to ...
Florian H.'s user avatar
0 votes
1 answer
33 views

org capture to bibtex file

I want to org-capture (or something like it) to a non org file, in particular a bibtex file. In more detail If point is in an org-file in a link of the shape [myurl][mydescription] And I call org-...
Rusi's user avatar
  • 331
0 votes
1 answer
26 views

In Elisp, how can I jump to the next org-heading, when the heading is folded?

I only find org-next-visible-heading. If I want to jump to the next sub heading, but the heading is folded, what function to run, then?;)
Jason Hunter's user avatar
0 votes
1 answer
30 views

How to change the color of superscripts and subscripts in latex in org mode?

Changing emacs themes, it seems that there is a variable that determines the color of the superscript ^ and subscript _ symbols in latex math environments in org mode (in the source code not the ...
userrandrand's user avatar
0 votes
0 answers
30 views

org-mode: exporting a subtree to latex still parses latex header commands defined in other subtrees

I have an org-mode file made of several headings whose structure can be summarized as follows: #+LATEX_HEADER: <some global latex commands> * Heading A #+LATEX_HEADER: <some latex ...
Laurent Jacques's user avatar
0 votes
1 answer
47 views

Modify how task list percentages (% cookie) display in an org-mode document?

I want to modify emacs/org-mode to make percentages display evenly: Default behavior: + [75%] List#0... + [76%] List#1... + [100%] List#2... + [86%] List#3... + [100%] List#4... + [4%] List#5... ...
01AutoMonkey's user avatar
0 votes
0 answers
17 views

Define custom behavior for meta tags in org-mode?

For example, there is a tag called startup: #+STARTUP: overview This tag has an effect of the org environment. Is there a way to modify or define these tags like startup? Another example is #+title in ...
Vinn's user avatar
  • 293
1 vote
1 answer
29 views

Should org-meta-return leave cursor on new empty headline?

I'm observing the follow behavior, and I wonder if my Emacs is mis-configured, or this is normal. The | is the cursor. * Test ** apples ** |bananas ** pizza With my cursor before the "b" in ...
Rob N's user avatar
  • 649
0 votes
0 answers
24 views

org-mode latex preview with png file not work

I would like to preview a latex output as png file and show it in emacs 27.1. My os is ubuntu22.04 and texlive2023. I try code below: #+header: :file ./demo.png :results file drawer :fit yes :border 0....
lucky1928's user avatar
  • 1,666
0 votes
0 answers
25 views

install emacs on ubuntu which support imagk

I would like to install a emacs which support imagemagick by default. I try the default one with sudo apt install emacs but it do not support imagemagick. I run below command and found the output is ...
lucky1928's user avatar
  • 1,666
0 votes
2 answers
31 views

Emacs org-mode: how to create link to a certain search agenda?

In 'Emacs org-mode' i can create links to headings and other things where I want to jump quickly. How can I create a link in 'Emacs org-mode' which opens a certain search agenda? At the moment I have ...
MostlyHarmless's user avatar
0 votes
1 answer
25 views

Link org-mode to external file with "[" or "]" in the path

I have a "file name.txt" file whose full path is "G:/path1/[TAG] path2/file name.txt" How do I write the link to the external file "file name.txt" in org-mode? If I use [[...
Paolo's user avatar
  • 21
0 votes
0 answers
24 views

MetaPost figures in Org-mode?

I use org-mode to write reports and export them to LaTeX (and later to PDF). I am looking for a way to write MetaPost in the same file as the rest of the text, to preview them (preferably the same way ...
Carl's user avatar
  • 1
0 votes
2 answers
47 views

What to do when a major mode overides keybindings set in doom emacs?

[Edit: I should specify that there are many keybindings in the major mode that overide the desired keybinding. They all start with a whereas I would like a to do something else. I already thought ...
userrandrand's user avatar
0 votes
2 answers
24 views

disappearing function

I've got a standard function that seems to disappear on launch. After about a half an hour to an hour of use the function becomes available again. (avy-org-refile-as-child) The function appears to be ...
cochrane12's user avatar
0 votes
0 answers
32 views

Org mode LaTeX block fails to invoke gnuplot for pgfplots?

I've copied a configuration from the internet that allows me to generate images from LaTeX code blocks in Org mode. Here's the setup: #+PROPERTY: header-args:latex :results file raw drawer :headers '(&...
Fangquan Shi's user avatar
0 votes
0 answers
38 views

Weird org parser error on non org-files?

I have annoying org-mode warnings popping out as soon as I open LaTeX or lisp files and browsing them. Here are the typical error I get: Warning (org-element-cache): org-element--cache: Org parser ...
Laurent Jacques's user avatar
0 votes
1 answer
33 views

org-agenda-prefix-format change file name

Can you change categories based on their files? For example there is a file todo.org in an orgzly folder and another todo.org in a local folder. Could you change org-agenda-prefix-format (or something ...
Daniel Krajnik's user avatar
0 votes
0 answers
27 views

How to synchronize org-agenda in emacs with changes on the file system (org-agenda-files)?

I'm trying to synchronize orgzly on android with org-mode/org-agenda setup in emacs on a linux desktop. They are synchronizing via rclone on desktop and RSAF on android. Right now org-agenda doesn't ...
Daniel Krajnik's user avatar
0 votes
1 answer
31 views

What do you call these labels on the left of org-agenda (filenames)?

I'm trying to rename these "entries" on the left in my org-agenda view, but not sure what they are called, so not sure how to search for them. Could anyone nudge me in the right direction? ...
Daniel Krajnik's user avatar

1
2 3 4 5
115