2022 Developer Survey is open! Take survey.

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

C-c C-c on #+PROPERTY: keyword line changes the mode from Org to TeX

Context Linux Mageia 8 GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-04-01 Issue With: this (rather long) org-mode file, open with emacs -Q, C-c ...
user avatar
0 votes
0 answers
13 views

Replicating Doom's Tab Key Behavior Using Evil in Org-Mode

When I'm editing an Org file using Doom Emacs in insert mode and my cursor is on the line of a heading, the Tab key seems to demote the heading while Shift-Tab seems to promote the heading. On the ...
user avatar
0 votes
0 answers
10 views

Diff SQL in Literal Examples

I need to store a diff of two SQL files in an org-mode note as a Literal Example. Part of that diff looks like this: +INSERT INTO `foo` VALUES (64,99,1,4,64); -INSERT INTO `bar` VALUES (1,1,'2022-04-...
user avatar
1 vote
2 answers
43 views

How to generate well-aligned Equal Signs?

There are many project description files using a quite neat structure like this: Introduction ============ ......bla..bla..... Details ======= ......bla..bla..... My question is: Is there any ...
user avatar
  • 11
0 votes
0 answers
21 views

Writing elements of directory to file

I am trying to set up my own system for a personal wiki using my org-mode files. I currently have my notes organized into directories for different classes/topics that are all contained in a single ...
user avatar
  • 1
0 votes
1 answer
28 views

Org mode: Open more than one level for a certain heading?

Org mode: Open more than one level for a certain heading? For example * test... * test2... If i open test... it should open all levels, but test2 should stay the same. * test ** testa *** testb * ...
user avatar
  • 217
1 vote
1 answer
40 views

How to export bibliographies with Org-Mode?

Org-Mode can now handle citations through #+bibliography: biblio.bib and org-cite-insert. For example, [cite:@ref1; @ref2] in an org file, will show @ref1 and @ref2 short content contained in biblio....
user avatar
0 votes
1 answer
30 views

Specifying a subdirectory in the argument of :tangle: effect only non-interactively

Recently, I added to this answer to the question “How to specify a directory to tangle all code blocks into”, the following comment: “AFAICS, specifying a subdirectory in the argument of :tangle ...
user avatar
0 votes
0 answers
35 views

How to update org mode?

I have emacs 28.1 (released on Apr 4, 2022) installed through snapcraft. When I do M-x org-version it says Org-mode version 9.3.4 (which is more than two years old), when the latest version is 9.5 (7 ...
user avatar
1 vote
1 answer
30 views

How to use an org mode document's title in the LaTeX export headers?

I'm using org mode to write letters using a custom LaTeX class provided by my employer. With this class I have to define the title of the document in the LaTeX header like this: \def\subject{This is ...
user avatar
  • 2,420
0 votes
1 answer
23 views

Pass default value to org-set-property

The documentation says: (org-set-property PROPERTY VALUE) When called interactively, this will prompt for a property name, offering completion on existing and default properties. And then it will ...
user avatar
  • 224
1 vote
1 answer
28 views

org-publish: Wrong number of arguments: plist-get

I tried to configure org-publish with some html variables, but I'm getting this error let: Wrong number of arguments: plist-get, 3. I've debug-on-error enabled but doesn't show up the minibuffer. This ...
user avatar
0 votes
1 answer
18 views

How do i get org mode inside balanced comments in source file?

I know the reverse is possible. You can insert source code blocks in org files. But how do I do the opposite? I have figured out a way where I can insert a link to a line in a file in my source file ...
user avatar
0 votes
1 answer
59 views

Breaking an org-mode headline into two

I'd like to break the following headline into two headlines, where ‸ is my text cursor: * An item‸Another item I can hit M-RET or C-RET, but that will just produce * An item Another item * ‸ To end ...
user avatar
  • 103
0 votes
0 answers
32 views

orgmode - expand babel results after execution

I have installed latest orgmode (release_9.5.3-480-g0b07b3), after run C-c C-c to execute a babel code, the results block has been folded by default. How can I config it to expand the results block by ...
user avatar
  • 1,466
0 votes
3 answers
66 views

Checkbox statistics in nested headings

I would like to see a summary of checkbox statistics in next items within subheadings. In the following example the subheadings update when I check or uncheck a checkbox. However, the top heading ...
user avatar
  • 256
0 votes
1 answer
21 views

Org-Ref LaTeX citation (v3) export not working correctly

I am writing my dissertation in org-mode with org-ref to handle citations. I can not get a multi-source multi-note citation to export correctly. Here is the org-mode code: [[cite:On Van Tillian ...
user avatar
0 votes
1 answer
26 views

How do I define default language for org-mode source code blocks?

I want to do literate programming. Entering language after every code block is prone to errors and distracting. To make matters worse, I do not know how to verify if all my blocks were tangled. I can ...
user avatar
1 vote
1 answer
30 views

How to export captions from org-mode into LaTex with subscripts or citations

I'm trying to create a caption but the TOC caption doesn't display properly when there are subscripts, or citations with additional text in the main caption. Having them in the TOC caption seems to ...
user avatar
  • 11
0 votes
1 answer
19 views

use org properties as variables in c or python source code

I'm using org-mode to control some charges, using c++ code to balance. But I have to assign the values by hand. And I would like to assign the values via org properties or some other form of ...
user avatar
  • 11
1 vote
1 answer
47 views

orgtbl-toggle-comment freeze in one line table

For example, write only one line in foo.org. | a | So if execute M-x orgtbl-toggle-comment, it will freeze. (can stop with C-g) Is there a way to solve this? environment: org-version is a variable ...
user avatar
  • 27
2 votes
0 answers
10 views

directory specific org-download-link-format not working

I want a separate saving of my personal static images in a sub-directory: ~/org/static/personal instead of ~/org/static. Hence I'm trying to add a .dir-locals.el file in my personal subdirectory ~/org/...
user avatar
  • 21
1 vote
1 answer
40 views

Is there a way to use orgtbl-mode in the source code comment?

For example, I would like to use orgtbl-mode in the comments instead of org-mode as follows, even in ruby-mode, etc. # |----+--------| # | id | name | # |----+--------| # | 1 | alice | # | 2 | ...
user avatar
  • 27
0 votes
1 answer
30 views

How to change appearance of inline comment in org mode?

I use inline comments in org mode using: @@comment: this is a comment@@ (see method here). I'd like to make @@comment: and @@ disappear and the text within appear greyed out. I set (setq org-hide-...
user avatar
  • 154
0 votes
0 answers
23 views

Org-mode theorem with automatic numbering, label, and caption (export to HTML and LaTeX)

This question is related to a previous SE post: Org export theorem with caption and number in HTML, and a doc page org-special-blocks.el. Another SE post covers this issue, but the solution also doesn'...
user avatar
  • 103
0 votes
0 answers
25 views

Multiple matrices side-by-side in org-mode (export to LaTeX and HTML)

How do I display multiple matrices side-by-side in an org-mode document so that they are exported nicely to LaTeX and HTML documents? Currently, I'm using the following but the result is not what I ...
user avatar
  • 103
0 votes
1 answer
20 views

Quoting HTML tags for padding

I've got this working fine @@html:<font color = "#4715b3">@@ $0$ is a natural number. @@html:</font>@@ and this too @@html:<b>@@bold text@@html:</b>@@ but this, my ...
user avatar
  • 2,717
0 votes
1 answer
24 views

Org mode: Need to create date range with time interval and weekly repeat under a headline

I want a series of appointments to include in the org-mode agenda. I want the first occurrence of appointment to start from <2022-04-26 Tue 12:00-13:00> and ending occurrence on <2022-05-28 ...
user avatar
0 votes
2 answers
37 views

Capturing output scheme when executing a code block in org-mode

I cannot find a way to intercept the output when I evaluate a scheme code block as below (I'm trying with Geiser): #+NAME: test #+BEGIN_SRC scheme :session sicp :lexical t :results output verbatim ...
user avatar
  • 101
0 votes
0 answers
18 views

Evil: Edit mode on new Org mode heading

When using Evil in Org mode, Ctrl-Enter properly starts a new heading. However, it leaves the cursor in Normal mode. How could one configure Emacs to enter Insert mode when pressing Ctrl-Enter?
user avatar
1 vote
1 answer
22 views

How to enable task dependencies in org mode?

The org mode readme says that task dependencies can be enabled by using: (setq-default dotspacemacs-configuration-layers '( (org :variables org-todo-dependencies-strategy 'naive-auto))) I ...
user avatar
  • 11
1 vote
1 answer
46 views

Extract org heading title without task count e. g. [0/0]

I would like to extract just the plain name of an org heading: I tried with (nth 4 (org-heading-components)) Example: * Some Heading Title [0/1] ;; cursor in this line when executing ** ...
user avatar
0 votes
1 answer
24 views

Function to clone and rename buffer and narrow to subtree

This is a continuation of another question of mine which stated: I would like to go to an org heading * [A] HeadingTitle :sometag:, then clone a buffer, rename it to "HeadingTitle" and ...
user avatar
0 votes
1 answer
30 views

Function to clone buffer, narrow it and rename it to the name of the current heading

I would like to go to an org heading * [A] HeadingTitle :sometag:, then clone a buffer, rename it to "HeadingTitle" and narrow it to this heading - all in one function. I know how to add the ...
user avatar
0 votes
5 answers
88 views

Devanagari script in org-table

Org-table works as expected when it comes to English characters. | a | b | c | d | e | | f | g | h | i | j | | k | l | m | n | o | | p | q | r | s | t | | u | v | w | x | y | | z | | | | | ...
user avatar
  • 365
0 votes
0 answers
21 views

Specifying TODO formatting in a theme file

I have just created my first custom theme for Emacs using autothemer. In my theme file, I specify all the faces I'd like to use, including those used by org-mode. I notice now that my theming is split ...
user avatar
  • 191
0 votes
1 answer
19 views

Sprint Board and org-super-agenda : problems with DONE tasks

I am constructing a sprint board using a custom agenda view using org-super-agenda. It works really quite well with a couple exceptions, namely: Dates: I want to use variables (or constants) for the ...
user avatar
2 votes
1 answer
20 views

Org Mode Structure Templates with emacs-lisp

I can insert a src structure template with C-c C-, s , but do I have to write the language every time? Is there some expansion or completion mode that can show the available languages?;)
user avatar
2 votes
1 answer
30 views

Is there a way to show the sum of org-clock sprints in a marked region?

I have been using clocking features of org-mode prefixed as org-clock. As shown by the picture below, it is possible to see the total time under a specific heading after executing org-clock-display. ...
user avatar
1 vote
1 answer
23 views

How to get content of CDATA section (and strip all HTML tags from it)

I am trying to parse an RSS feed element returned by org-feed-parse-rss-feed with a custom version of org-feed-parse-rss-entry. (defun aleneum/org-feed-parse-rss-entry (entry) "Parse the `:item-...
user avatar
  • 111
0 votes
1 answer
42 views

Why does org see this source block as having "unbalanced parentheses"?

Here is a terse snippet with which you can recreate the issue, I hope: #+begin_src sh for x in $(for y in $(cmdA '"'); do cmdB $y; done); do cmdC $x; done #+end_src Here if I try to operate with ...
user avatar
  • 103
1 vote
0 answers
19 views

Display single blank lines in collapsed sections if they are followed by a higher-level heading

I format my Org mode files with a blank line before and after headings, and two blank lines before top-level headings: * Bands ** 60s *** Beatles - John - Paul - George - Ringo *** Cream - Eric - ...
user avatar
2 votes
1 answer
51 views

How to define key-combinations involving multiple `C-u`s

I wanted to define a short key combination for preview all latex fragments in a org file. Per this answer: To preview all latex fragments in the buffer pass C-u twice before calling org-latex-preview....
user avatar
  • 902
1 vote
0 answers
24 views

Org-mode column view: align values right or center

When I use org column view with my custom price property the numbers are aligned left which looks weird. How can I make them align right in column view? Example #+COLUMNS: %25ITEM %TODO %TAGS %PRICE *...
user avatar
0 votes
1 answer
46 views

org-mode batch export hangs when using a python session

I have developed a workflow for batch-export of org-mode files, and have come across an issue in which execution halts when using a python session. I'm using emacs 28.1 on MacOS 11.6.5 with Python 3.9....
user avatar
4 votes
1 answer
102 views

How can I link to Emacs *Help* from Org mode?

I am writing documentation for some emacs-lisp code. The code has docstrings, but I am writing a manual using org-mode. It would be cool if I could embed links to the code within this manual. Click on ...
user avatar
1 vote
0 answers
16 views

Checking if org header has overlapping clock entries

Is there a way to check if an org header has overlapping clock entries, as here: * Header with overlapping clock entries :LOGBOOK: CLOCK: [2018-05-08 Tue 01:12]--[2018-05-08 Tue 02:00] => 0:48 ...
user avatar
  • 785
0 votes
1 answer
30 views

Why org-mode related settings aren't applied on desktop.el restored .org files?

When my emacs start, previously visited buffers/files are restored with desktop.el. So far so good. But my settings related to org-mode files are somehow not applied. If I open a new org file or if I ...
user avatar
  • 11
0 votes
0 answers
15 views

helm-org-rifle-directories: how to add many directories

I read the instructions of this package (helm-org-rifle), but I couldn't manage how to select more than one directory interactively. Is this possible?
user avatar
2 votes
1 answer
37 views

Strange autoindentation in org mode source blocks

I try to use org-mode as a replacement for jupyter notebook, and I was faced with a problem: when I edit a python src block, newlines don't indent properly, so I have to press space 4 times after ...
user avatar

1
2 3 4 5
100