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
1 answer
42 views

Emacs is trying to initialize an unknown mode

After starting Emacs I see in messages buffer Ignoring unknown mode ‘org-mode-mode’ Where can I find the culprit ? I think you should just use "org" instead of "org-mode" ...
  • 5
0 votes
0 answers
30 views

Unwanted spacing in datetree template

I have an issue with unwanted spacing when I'm adding entries to datetree. This is the template I'm using, stripped to simplest for the purpose of testing: ("p" "Progress" entry (...
  • 15
0 votes
0 answers
81 views

emacs 28.1 'parse-time-weekdays' - weekdays configuration doesn't working

Before Emacs 28.1 (Linux) I used: (eval-after-load 'parse-time '(progn (setq parse-time-weekdays (nconc parse-time-weekdays '(("so" . 0) ("mo" . 1) ("di" . 2)...
1 vote
1 answer
141 views

How can I permit evaluation of code blocks in Org mode?

I'm trying to allow for evaluation of code blocks within a trusted Org mode document (following instructions at https://orgmode.org/manual/Evaluating-Code-Blocks.html) but can't seem to dodge the ...
1 vote
1 answer
49 views

org mode - suppress export to ascii

I've looked through the manual but can't seem to find the answer. Is it possible to suppress the TOC when exporting to ascii, but have it export to html?
  • 123
0 votes
0 answers
24 views

When using URLs then alignment is breaks

Given: Ubunut 22.04 LTS Emacs 28.1 Here my org file: As you can see then in the column "Task" has text then alignment is good. But when has a hyper link (URL) then alignment breaks. Why? P....
  • 3,738
0 votes
1 answer
15 views

org-narrow-to-subtree with auto-fill-mode

I'm not sure it's right approach but I would like to turn on auto-fill-mode after org-narrow-to-subtree. I have tried with: (advice-add 'org-narrow-to-subtree :after 'auto-fill-mode) But gives ...
  • 451
0 votes
0 answers
68 views

Custom export fields in org mode?

Linux Mint 20 Emacs 28.1 In my org file I use the next standard export fields: #+TITLE: here some descriptions #+DATE: <2022-11-08 Tue 11:12> #+AUTHOR: My name #+EMAIL: my@email.com #+OPTIONS: ...
  • 3,738
0 votes
2 answers
46 views

Hyperbole mode overrides org mode C-c / binding

I'm trying to use Hyperbole mode while also using Org mode. Org mode has a C-c / binding which is what I wish to do, but Hyperbole mode wants to redefine it. From reading of the hyperbole mode code, ...
  • 319
0 votes
0 answers
44 views

How do I parse Atom feeds using org-feed?

I recently discovered that org comes with org-feed which can be used to read RSS feeds and load their contents into an org document. It looks like it supports Atom feeds too, but I can't seem to get ...
  • 1,026
2 votes
1 answer
38 views

exporting org-mode tags in latex in separated boxes

Sorry for this elisp newbie question but I'd like to rewrite org-latex-format-headline-function in order to have each tag of a headline surrounded by a box (with \framebox) at export. However, I don't ...
0 votes
0 answers
19 views

HTML export of Babel source block only results?

I'm reading this, but I'm not seeing how to export just the results of a Babel source block. Every other combination seems possible but just results, i.e., suppress the code, show the results. My ...
  • 2,857
1 vote
1 answer
54 views

How do I disable grammar checking in orgmode code blocks

I installed this package https://github.com/emacs-languagetool/flycheck-languagetool to use languagetool with emacs. However, I am getting languagetool errors at my org documents' code blocks too. How ...
  • 11
2 votes
2 answers
51 views

Disable Fontification in Org-Mode while Keeping Color Highlighting

I would like to ask a question about org-mode and font-lock-mode. I just started using Emacs and, since I am not a programmer, I use it mostly for writing and handling texts. And, I am quite ...
  • 43
1 vote
0 answers
16 views

Open links in the nearby window (no splits)

I have a 24 inch display and usually have 2 windows open: |-------+----------------| | Links | Working window | | (30%) | (70%) | | | | |-------+----------------| When I ...
  • 957
0 votes
0 answers
25 views

Refile to any headline with of given TODO item types

My org file structure is as follows: * JOB Major Project 1 ** PROJECT Mini Project p ** PROJECT Mini Project q * JOB Major Project 2 ** PROJECT Mini Project x ** PROJECT Mini Project y JOB and ...
  • 111
0 votes
1 answer
41 views

command output not captured with org-babel bash

Try the source block below with android device connected, the output is empty: #+begin_src bash :results output out=$(adb shell date) echo $out #+end_src But if I change bash to sh, it outputs ...
  • 1,580
0 votes
0 answers
26 views

bash script fail execute in org-babel block

Below bash script works as a bash script but if execute it in org-babel block as below, it report error: sh: 2: Bad substitution code: #+begin_src sh :results output str="toto.titi.12.tata.2.abc....
  • 1,580
0 votes
1 answer
36 views

How can I fill a column with relative indexing in org-mode?

It turns out that ses-mode (Simple Emacs Spreadsheet) is not yet ready for doing operations on rows/columns. And so I'm turning my attention to org-mode. I store the following data in a .org file | ...
  • 205
0 votes
0 answers
44 views

Error in org-mode exported docx when shell command link contains two inverted commas

I have stored a link to a shell command, which contains inverted commas ", and I would like to export it to odt. For example, if I try to export the following link [[shell:TDIR="/home/...
  • 632
1 vote
5 answers
343 views

How do I switch a .txt table to a .org table?

I already have the following table in a file elite_cyclists.txt Name Height Weight BMI Nairo Quintana 167 59 21.2 Chris Froome 186 68 19.9 Robert ...
  • 205
0 votes
1 answer
34 views

Remove empty line between source code and results block in org babel automatically

Is there a variable in org I can use to specify the number of empty lines before the results block; it defaults to 1, but I want to set it to 0.
  • 892
0 votes
0 answers
15 views

How to tangle a ditaa code block in org mode?

I use org-mode to tangle code blocks in programming languages such as python into their respective code files. But I am not sure how to tangle ditaa code blocks and execute them to generate figures ...
  • 1,222
0 votes
1 answer
36 views

Orgmode, Export HTML in One Shell Command

When using Orgmode, we can generate/export HTML file or TXT file from ORG file, using C-c C-e(or M-x org-export), as described in https://orgmode.org/manual/The-Export-Dispatcher.html. I wonder if ...
  • 129
1 vote
1 answer
51 views

Add a blank line between headings in the Global TODO list

My Global TODO list shows headings one after another, without any spacing between headings. To me this looks a little crowded, and it would be easier to see the end of one heading and the start of the ...
  • 149
0 votes
1 answer
39 views

Change behavior of citation link when clicked

When I click on a citation like this: cite:Thompson_CalculusMadeEasy2014 I get to choose from a list of citation actions which include adding notes. When I follow the link below, it only brings up a ...
  • 755
1 vote
1 answer
42 views

How to set color of all DONE type TODO's

If I eg define the following in an .org file: #+TODO: TODO(t) ACTIVE(v) NEXT(x) WAITING(w) PROCESS(p) CONSIDER(c) USE(u) GOOD(g) ISSUE(i) CURRENT(4) ONHOLD(h) LATER(l) SOMEDAY(8) | DONE(d) ABANDONED(...
  • 149
0 votes
0 answers
27 views

Define separate file for org-custom variables

I would like to create more separation between the custom variables generated through the Customize UI that are generated for org-mode, and non-org mode features. I have already broken out my primary ...
0 votes
1 answer
34 views

Scheduled timestamp inside of tables

I am creating a table for the upcoming winter season of anime and when I try to insert scheduled timestamps into the table for release dates it automatically pushes the timestamp under the nearest ...
0 votes
1 answer
28 views

Buggy :comments link when tangling babel src blocks?

I am using org-mode version 9.5.5 When I tangle code C-c C-v t of this org-mode file: #+title: Demo #+property: header-args:sh :tangle example.sh :comments link * Part A ** source #+begin_src sh ...
4 votes
1 answer
67 views

How can I "refresh" org-cite's bibliography?

Note: I'm using org-cite, not org-ref. As I'm writing, I sometimes add a new citation to my references.bib file. But org-mode can't always find it. Instead, org highlights the new citation as an ...
1 vote
2 answers
137 views

Search in all Org mode headings within a folder

Is there in Emacs such a function to search within all headings of all Org mode files within a folder or group of folders?
  • 145
0 votes
0 answers
39 views

In org-babel, when and why does `:tangle yes` prevent preceeding code blocks from being executed?

I wonder if it's just me or an org-mode bug. Often, but unfortunately not always, when I set a code block's tangle property in org-mode to yes, the tangled file gets truncated just above this code ...
  • 38
1 vote
0 answers
26 views

Place caption at bottom of table?

I found this which would seemingly indicate that you just run (setq org-html-table-caption-above nil) if you want the caption to appear below the table. But it doesn't. How can I make the caption ...
  • 2,857
0 votes
1 answer
53 views

Search for org-mode headings across all projects

Is there a function to search for a heading in all org-mode files in all known Projectile projects? I see that I can search for a string, but can I restrict it to an org-mode heading?;)
3 votes
2 answers
106 views

Programmaticaly get header-args property value

In my org mode file, I have defined some header-args. In an emacs-lisp code I use org-entry-get-with-inheritanceto retrieve them. By example (org-entry-get-with-inheritance "header-args:julia&...
1 vote
1 answer
55 views

How do I create a buffer with a list of org-id links for TODO items across all my org-agenda files?

The basic pattern I'm looking for is how to loop across org-agenda files, select headings that are both TODOs and that have an :ID: property and not a :LISTED: property, and create a buffer just ...
1 vote
1 answer
51 views

orgmode spreadsheet: using an column formula but only between two hline separators

I'm currently keeping track of expenses using an org table; some are billed annually and some monthly and I'd like to eyeball the total monthly number. I used to use something like this: | Bill ...
  • 115
0 votes
1 answer
60 views

Use existing LaTeX fragments after updating Emacs

I use LaTeX in a lot of org files, in particular my notes in org-roam. As such I have generated a lot of LaTeX preview images/fragments via C-c C-x C-l/org-latex-preview when creating these notes, ...
0 votes
1 answer
51 views

Why LaTeX preview doesn't work in org-mode for mhchem snippets?

I'm facing a very similar issue as per question Make "org-latex-preview" load package so that it properly renders "tcolorbox" environments, using the mhchem latex package (version ...
  • 1
0 votes
1 answer
28 views

Publish link to literal orgmode file

How can you publish an Org-mode file main.org to main.html which contains a link to a literal Org-mode file sample.org? If you put [[file:sample.org][This is a sample Org-mode file]] in main.org then ...
1 vote
1 answer
52 views

How can I change the org mode TAB behavior?

Let's say I have the following org file: * level 1 ** level 2.1 *** level 3.1.1 **** level 4.1.1.1 **** level 4.1.1.2 *** level 3.1.2 **** level 4.1.2.1 **** level 4.1.2.2 ** level 2.2 *** level 3.2.1 ...
  • 193
0 votes
2 answers
41 views

Orgmode: opening linked file with dedicated application (on mac)

In my org file I've got a link to my file.docx file defined like that: [[file:///Users/aaa/file.docx][file.docx]] When I click on the link file.docx instead word opening, in the Messages buffer I'm ...
3 votes
1 answer
141 views

How to change formatting TODO in Org-mode's Latex PDF output

I want to change font of TODO/DONE in PDF output of my Org-mode. Is there any way to change font of TODO/DONE keywords (also perhaps also change colors)? UPDATE: Using dalanicolai reply below, I ...
  • 357
0 votes
1 answer
50 views

Problem with compiling PDF with ox-groff

M-x org-groff-export-to-groff works fine (exports .groff file for the org-file) However, when I try to compile pdf from org-file with (M-x org-groff-export-to-pdf) following error show: Saving file /...
  • 357
0 votes
1 answer
21 views

Error when including ox-groff to init file

I'm just trying to use ox-groff package as instructed in here in orgmode.org/worg. As written on the web page, I added (require 'ox-groff) to my init.el, and executed. Then following error comes up: ...
  • 357
0 votes
0 answers
21 views

org-agenda-switch-to places point incorrectly when viewing org source file

I often run org-agenda-list to view my org agenda. Then, when I press Enter (org-agenda-switch-to) on an item in the agenda, the org file (todo.org) with the item is opened, as expected. I also run ...
1 vote
3 answers
73 views

How can I use org mode's folding mode in markdown-mode?

I am using markdown-mode on a git-commit message. At the bottom of a git-commit I append some lines to remind me what to take care. Example: My commit message... # * # 1. `Separate subject from body ...
  • 1,092
0 votes
1 answer
48 views

Is there any way of not displaying the results of a code on the current file with org mode (spacemacs)?

Let's say I have an org file with the following content on Spacemacs: #+begin_src bash counter=0 while [ $counter -lt 10 ] do echo $counter let counter=counter+1 done #+end_src ...
  • 193
1 vote
1 answer
104 views

Correct alignment of in-buffer settings (and properties) when using variable-width font in org-mode

on the left side I'm using a variable-pitch font "Charis SIL Compact" and on the right side a fixed-pitch monospace font "Hack Regular." As expected, the monospace "Hack"...
  • 253