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
7 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
7 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
20 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
18 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
11 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
  • 987
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
  • 987
0 votes
2 answers
29 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
  • 830
0 votes
1 answer
20 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
  • 830
0 votes
0 answers
27 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
26 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
30 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
71 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
0 votes
1 answer
29 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
21 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
1 answer
30 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
22 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
33 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
27 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
27 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
0 votes
1 answer
129 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
19 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
13 views

org-babel-code-evaluate: Print custom table header for org mode's awk source execute

There is a table of savings account balances in my org file as follows: #+NAME: accounts | Person | Balance | |----------+---------| | Babur | 1000 | | Humayun | 2000 | | Akbar | ...
Madhavan's user avatar
  • 1,977
1 vote
0 answers
22 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
1 answer
27 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
0 votes
1 answer
33 views

How to unindent after Org list

GNU Emacs v29.2 Doom core v3.0.0-pre Doom modules v23.12.0-pre So I want to RET/return after some bullet point lists and no longer be indented, but this is my current issue and I don't know ...
sgript's user avatar
  • 103
0 votes
0 answers
27 views

Python Code executes, but result screen shows a long line of characters

So my professor is obsessed with emacs and has encouraged us to set it up on our personal devices. Under his guidance I downloaded it, and he gave us some homework in a .org file. Inside this file, we ...
Timothy's user avatar
0 votes
2 answers
32 views

how to move past a drawer when point is on an org mode headline?

In org mode, say I'm on a headline, and just below that is a PROPERTIES drawer: *** this is my headline, I want to move past the closed PROPERTIES drawer :PROPERTIES: :CREATED: [2024-01-31T10:54:33-...
Dan Drake's user avatar
  • 593
0 votes
0 answers
34 views

Internal link to a headline by it's number in org-mode

I'm using dynamic headline numbering in my org file and I want to use those numbers as a internal link targets. For example within a org file structured like this: * 1 section ** 1.1 subsection I can ...
Bazinevis's user avatar
0 votes
1 answer
43 views

How can M-x locate results be shown in Dired?

I'm not really sure what's the best approach. What I'm trying to do is use org-attach-dired-to-subtree when I find something I'm looking for with M-x locate. That doesn't work, cause M-x locate ...
Jason Hunter's user avatar
0 votes
1 answer
16 views

org-preview-latex permission issues

I have used live latex previews in org mode for some time. Without changing my setup, the following error has started appearing in *Org Preview LaTeX Output*: ERROR: can't open file '../private/var/...
user615536's user avatar
0 votes
1 answer
36 views

org-sort not working properly

Given this org-file as an example: org syntax example ​ * header #+TITLE: Tasks :PROPERTIES: :TMP01: Azat :ID: 123 :END: ​ * hh.2 ** hh.2.1 another date [2019-01-25 Fri] more date <2019-01-25 Fri ...
Alexander Mirnyy's user avatar
0 votes
1 answer
38 views

How can I attach a PDF in gnus, when I have the PDF attached with org-attach and I view it with PDFView?

The PDF is attached like so: ***** Model :ATTACH: :PROPERTIES: :ID: f1e5fc57-b85d-4a2c-b064-32523dd11901 :ORG_ATTACH_FILES: patience.RWaR....
Jason Hunter's user avatar
0 votes
0 answers
41 views

Indentation in org num mode

When working with both org indent mode and org num mode turned on, I observe that text lines are aligned with the outline numbering, like so which looks cluttered to me. Instead I'd prefer an ...
user42469's user avatar
0 votes
0 answers
26 views

Why is sudo not working in org babel tramp?

I have this code here. I also tried adding sudo touch. The only thing that seems to work is if I run it as a normal bash org code and use the SUDO_ASKPASS variable. #+begin_src bash :results output :...
ritchie's user avatar
  • 149
0 votes
1 answer
51 views

How to fold text to header above in org-mode?

Q: how do I fold the current org-mode block where my cursor is inside of it? I want to fold block under the current heading only. I know that I can use org-hide-block-all to fold all blocks in the ...
ReneFroger's user avatar
  • 3,830
0 votes
0 answers
32 views

org-refile and separator lines

To improve readability I keep some headlines separated by blank lines: * headline 1 * headline 2 * headline 3 While refiling to a headline immediately above a blank line using org-refile the refiled ...
cochrane12's user avatar
1 vote
1 answer
84 views

Is it possible to do conditional formatting on an org-table?

Here is an example of a table to format, the first row represents how often a task is done per year, the first column represents how long a task takes in seconds |-------+------------+-----------+---...
crocefisso's user avatar
  • 1,244
0 votes
0 answers
23 views

Weekly appointments for a fixed number of weeks with some exceptions

Level 1 Let's say I have an appointment on Monday each week for the next 3 weeks. If I include <2024-01-01 Mon +1w> I get an appointment in my agenda that occurs each Monday indefinitely until I ...
Nika's user avatar
  • 121
1 vote
0 answers
21 views

org-babel :results header-arg, graphics vs file

The org manual describes how to evaluate a src block and capture the results, using :results <collection> <type> <format> <handling> # i prefer to use this terminology for the ...
user615536's user avatar
0 votes
1 answer
45 views

How to get org mode attached images visible with 'org-toggle-inline-images'?

org-attach-method 'cp Tryed org-attach-store-link-p 'attached [[attachment:picture.jpg][picture.jpg]] and org-attach-store-link-p 'file [[file:data/xx/xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/picture.jpg][...
Herman's user avatar
  • 27
0 votes
1 answer
30 views

Linking from notmuch emails to org with date in the link description?

I am using org-mode to, well, organize information, and I often find it useful to link to email, where I use notmuch. I can do C-c l in a notmuch buffer to store a link, and then C-c C-l in an org-...
Ketil Malde's user avatar
0 votes
0 answers
21 views

Auto insert TODO statistics to a parent heading

Example, given a sub-heading if I issue org-todo on task 1 ** my tasks *** task 1 How can I get the statistics to auto insert? ** [0/1] my tasks *** TODO task 1
phoxd's user avatar
  • 231
0 votes
0 answers
14 views

prettify-symbols-mode text search requirements when combined with org-mode

In a fundamental-mode buffer, I run the following (setq-local prettify-symbols-alist '(("\\(" . ?⟦) ("\\)" . ?⟧))) The purpose of this is to ...
user615536's user avatar
0 votes
0 answers
28 views

Opening org mode link with ENTER [duplicate]

If I press ENTER on an org mode link, it enters CR in the link. Is there anything I can do to define ENTER as 'org-open-at-point' when on an org mode link?
balanga's user avatar
  • 125
0 votes
0 answers
42 views

Using .org to create init.el

I've recently learnt about using a .org file to create init.el and would like to move to this construct to better document my setup. One thing I have thought about is trying to compartmentalise this ...
balanga's user avatar
  • 125
0 votes
1 answer
56 views

evil-delete-line deletes hidden children in org-mode

Calling evil-delete-line from a headline is deleting hidden children. Same behavior with evil-change-line. On a collapsed outline tree how can I delete from the cursor to the end of line while keeping ...
cochrane12's user avatar
0 votes
0 answers
83 views

org-mode: Why do my images look pixelated?

Why do my images look pixelated? My guess is the problem is with the resizing algorithm. It needs more antialiasing or more DPI or something. Is there any way I can improve that? org-mode: Original: ...
HappyFace's user avatar
  • 830
0 votes
1 answer
22 views

org-return modified - paste contents below the heading, indepentently from the cursor position

In the following interesting config https://www.gtrun.org/post/config/#alphapapa-unpackaged-dot-el-a-collection-of-useful-emacs-lisp-code-that-isn-t-substantial-enough-to-be-packaged I found the ...
Rareform's user avatar
  • 269
0 votes
1 answer
12 views

customization of org-agenda-custom-commands not seen on next emacs instantiation

GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2022.70 Version 11.7.6 (Build 20G1231)) of 2023-05-30 Org mode version 9.6.12 ( @ /Users/brucer42/.emacs.d/elpa/org-9.6.12/) I ...
brucer42's user avatar

1
2 3 4 5
114