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
0 answers
29 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
39 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
  • 686
2 votes
1 answer
55 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
  • 123
0 votes
0 answers
21 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
17 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
25 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
47 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
  • 309
0 votes
1 answer
47 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
79 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
41 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
  • 345
0 votes
1 answer
29 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
38 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
36 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
58 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
18 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
30 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
  • 671
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,678
0 votes
0 answers
46 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,678
0 votes
2 answers
50 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
26 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
36 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
109 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
25 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
1 answer
60 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
67 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
66 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
39 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
33 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
0 votes
0 answers
24 views

Add tag automatically when composing a note via C-c C-z (org-add-note)

I want to give headings to which I add a note (via C-c C-z / org-add-note) a tag "note". Similar to the ATTACH tag, I would like to use the following function to toggle the tag "on"...
grszkthfr's user avatar
0 votes
1 answer
26 views

In org-mode, undo the effects of :results pp

In my org-files I usually always enable pretty-printing at the top because I find it preferrable to Org's default of trying to fit output into tables and whatnot. But I have now hit a snag. In a clean ...
Rovanion's user avatar
  • 997
0 votes
0 answers
10 views

Reference a header-arg :var from within a header argument?

As the title states, is it possible to reference header argument variables in the value part of other header arguments? Something along the lines of #+PROPERTY: header-args :var session-name="The ...
Rovanion's user avatar
  • 997
0 votes
2 answers
126 views

org-mode: example blocks are no longer syntax highlighted in emacs

After upgrading to emacs 29.2 and org 9.7, my example blocks are no longer syntax highlighted in emacs. They used to be syntax highlighted when I specified the block's language. Any ideas? I use Doom, ...
HappyFace's user avatar
  • 860
0 votes
1 answer
59 views

Is there something like `org-blank-after-new-entry` for org mode headings?

There is org-blank-before-new-entry to insert a blank line before a new entry. But is there a similar variable for adding a blank line after a new entry? It would be useful when inserting an entry ...
HappyFace's user avatar
  • 860
0 votes
0 answers
224 views

Error: "Warning (unlock-file): Unlocking file: Invalid argument, .emacs.d/.org-id-locations, ignored"

I'm using Emacs with org-mode and the org-id option under Microsoft Windows 10. GNU Emacs 29.2 (build 2, x86_64-w64-mingw32) of 2024-01-18 Org mode version 9.6.15 (release_9.6.15 @ c:/Program Files/...
MostlyHarmless's user avatar
0 votes
0 answers
35 views

Org Table Sum IFs

I have two tables, 'tbl1', where I keep adding entries, and 'tbl2' where i get the totals. What I'm looking for, is to ADD up all values that match both the 1st row and 1st column ,returning empty or ...
MoLov2069's user avatar
0 votes
1 answer
33 views

my TRAMP connection (?error) to org file has duplicated my org entries

now I have a file of a lot of such structure: * one :PROPERTIES: :CUSTOM_ID: one :END: * one :PROPERTIES: :CUSTOM_ID: one :END: * one :PROPERTIES: :CUSTOM_ID: one :END: * one :PROPERTIES: :CUSTOM_ID: ...
Alexander Mirnyy's user avatar
1 vote
2 answers
122 views

Create table with circles around words and hiding some of the grid lines in Emacs Org-mode

I am new to Emacs. Is there any way to create a table in Org mode like in the example table below. Particularly I'd need to be able to circle some of the words and hide some of the grid lines. The end ...
Tiberius's user avatar
  • 113
1 vote
1 answer
140 views

Why am I getting the following error: Symbol’s value as variable is void: org-latex-classes

This is a new error, and I haven't really changed anything in my config. The relevant portion is below (use-package org :config (setf (cdr (assoc 'file org-link-frame-setup)) 'find-file) (setq ...
Dargscisyhp's user avatar
0 votes
1 answer
42 views

C-c c does not activate Org Capture after upgrading to Emacs 29.2

After upgrading to Emacs 29.2 I can't activate Org capture using 'C-c c'. In the mini buffer it says 'C-c c is undefined' I can activate Org capture using 'M-x org-capture', but I preffer the 'C-c c' ...
lloowen's user avatar
0 votes
2 answers
42 views

How can I open the TODO with the highest value of a property?

How can I open the TODO with the highest value of the property SWAY (integer) in org-agenda-files and that is tagged with "foobar" The reason I ask is because the TODO with the highest SWAY ...
Jason Hunter's user avatar
1 vote
1 answer
37 views

In org mode source block, how to prevent lines starting with asterisk being folded?

I want to have a block of verbatim text like output line 0. * info 0. a53qpb199pb output line 1. * info 1. 1iq01a58b39 in an org file. I tried putting the text inside #+BEGIN_SRC and #+END_SRC, but ...
norio's user avatar
  • 203
1 vote
0 answers
49 views

How to Sort Org-Mode Headings Without Losing Metadata in Emacs?

I am trying to write an elisp function that can sort org headings and move the subtree with the headings while preserving the file metadata. Here is the version information for Emacs and Org and the ...
jwl's user avatar
  • 11
0 votes
0 answers
48 views

Org mode org-schedule command

How do I change the date when org brings up the Emacs calendar? For example C-c C-s (org-schedule) Emacs calendar shows but the calendar motion commands C-f, C-b do not work. Motion is in the ...
tkf's user avatar
  • 113
0 votes
1 answer
71 views

Org mode shell blocks output with "raw" and "replace"

In Org Babel, in a bash code block, it seems impossible to get both :results header arg with both raw and replace. Is that expected? The docs for shell Babel seem to suggest the only options for :...
Eric Auld's user avatar
  • 103
0 votes
1 answer
137 views

Play sound when changing checkbox state in Org Mode?

Context: Org Mode. I want to play a unique audio file when entering each of these three checkbox states: [ ] [-] [X]. So one audio file when entering [ ] state, a different one for [-], etc. Example ...
01AutoMonkey's user avatar
0 votes
1 answer
29 views

export temporary files to another folder in org to latex export

In this thread you will find the following code. What I would like to change is that the pdf and html will not go to that folder. Place only service files such as tex files there. (defun org-export-...
Levo's user avatar
  • 47
0 votes
0 answers
34 views

Org code evaluate: Preserve table headers when evaluating awk code

There is a table of savings account balances in my org file as follows: #+NAME: accounts | Person | Balance | |----------+---------| | Babur | 1000 | | Humayun | 2000 | | Akbar | ...
Saravana's user avatar
  • 2,081
1 vote
0 answers
29 views

org-mode completions within latex fragment

Problem In org-mode 9.6.6 when not in a LaTeX fragment, inserting \ and invoking completion-at-point produces a multitude of LaTeX completions. Doing the same thing when in a LaTeX fragment, I would ...
user615536's user avatar
0 votes
0 answers
38 views

Is there a package or functionality to alias some text into org-mode (not for export) and continuous editing?

Is there a package or a feature in emacs that will let me use an alias for a slug of text? The way I'd like to use it is to make an alias and everywhere in the text the alias is placed the value of ...
lucidquiet's user avatar
0 votes
0 answers
26 views

emacs org: how to set alarm to appointment [duplicate]

I'm wondering how can I set a sound alarm 'n' hour before an appointment. Today, I've lost my second appointment. I saw it just the time the appointment is set thank you Renato yes!!! I've finaly ...
RenatoP's user avatar
  • 121