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

HTML Export and "org block"

Using EmacsMac 28.1 (OSX) (started as emacs -q), I'm trying to export a simple org document that contains an org source block: #+begin_src org *Hello* /world/ #+end_src When I export this to a buffer ...
user avatar
0 votes
1 answer
15 views

emacs org mode how to learn syntax and a tool-bar-add-item-from-menu syntax question

Thru another post: Add Save as button to org mode toolbar I was happy to get a solution: (tool-bar-add-item-from-menu 'write-file "save" nil :label "Save As") And ...
user avatar
0 votes
0 answers
13 views

Org-mode lists and org-babel "shortcuts" are not working properly

I started using Emacs about a month, and I began to make my configuration yesterday. Everything works fine, but I have some problems with org-mode lists. When I create a new list and then press RET or ...
user avatar
1 vote
0 answers
11 views

Why does C-u C-c C-c place the vsum() in current row of an org-mode table instead of the row mentioned in #+TBLFM?

I have this org-mode table in a file named 1.org: | . | A | B | C | |---+----+-----+------| | X | 10 | 100 | 1000 | | Y | 20 | 200 | 2000 | | Z | 30 | 300 | 3000 | |---+----+-----+------| | T | ...
user avatar
  • 11
0 votes
1 answer
18 views

Face properties fail to apply to parts of org-mode buffer

Parts of certain file-visiting org-mode buffers fail to display properly. Specifically, the text is not displayed with the faces appropriate for this mode. The issue usually disappears when I invoke ...
user avatar
  • 191
0 votes
0 answers
24 views

org mode fold lists like headers

I would like my org mode lists to behave like headers. That is, cycling (exploding) a header containing a list will result in a list of folded items, each which can be cycled. I figured out how to do ...
user avatar
0 votes
2 answers
33 views

Is there a way to check if code is run durring org export

When exporting org to pdf (LaTeX) I want to export plots as pdf, while the preview inside emacs should be exported to png. I am currently using a function for generating the export path already. This ...
user avatar
1 vote
0 answers
18 views

Org Mode: Produce Result Block when indirectly calling src block as dependency

Consider the following org mode document: #+NAME: source #+BEGIN_SRC python :cache yes import random return random.randint(3, 300) #+END_SRC #+RESULTS[2314024a531aeb3c9e51cd69e45adf654927e9fa]: ...
user avatar
  • 111
0 votes
1 answer
29 views

Org Koma Letter export return args-out-of-range error

After updating my system I get the error at the bottom when exporting C-c C-e C-s (cursor on My Subject). Can someone explain me the error message in order to solve the problem? my_letters.org: * My ...
user avatar
  • 617
0 votes
0 answers
16 views

columnview sort

I would like to have that table always sorted by TODO state. In order DOING, DONE. Is it possible? Because I couldn't find anything in documentation. #+columns: %50ITEM(title) %author(author) %8TODO(...
user avatar
  • 357
0 votes
0 answers
12 views

exclude archive subtrees from `consult-org-heading` search results

I would like to call the interactive command consult-org-heading (from the consult package) and exclude from search results all subtrees under org headings tagged ARCHIVE. consult-org-heading (source) ...
user avatar
  • 191
0 votes
0 answers
13 views

In Org-Agenda, how to show a complete file's summarized TODO status in one single line?

I often work in projects where all TODO items are bundled in one separate file. Often, I have quite a bit of TODO items which are then cluttering the agenda, while what I actually want is just a line ...
user avatar
0 votes
2 answers
82 views

Add Save as button to org mode toolbar

I have been trying to add a "Save as" button to the org mode toolbar. Using the example from: https://stackoverflow.com/questions/20917411/how-to-add-item-to-toolbar-in-emacs#28326863 (defun ...
user avatar
0 votes
0 answers
46 views

org mode: show TODO headings that are scheduled not for future, filtered by a tag

I really like how I can click on a tag next to a heading in an org mode file that has been added to the agenda, and org mode will generate a org-tags-view, a list of headings with same tag in a new ...
user avatar
0 votes
1 answer
40 views

Emacs orgmode always display inline image at startup

Somehow my Emacs always displays inline images by default, which is not what I want. I've tried the following but none of them worked: Add #+STARTUP: noinlineimages at the top of a file. Explicitly ...
user avatar
0 votes
1 answer
28 views

IEEE style citations with org-cite?

I want to export from org-mode to PDF with IEEE style citations. The IEEE style is roughly this: Introduction Here is a citation [1]. Methods, Results, etc. References [1] J. Doe and J. Doe, "...
user avatar
0 votes
0 answers
20 views

Apply :post processing to Rust/Rustic Org Mode Babel Source Block

I'm trying to setup a :post process on a rust code block. For example: #+begin_src rust :post padder(data=*this*) It works fine when I run other languages, but not with rust. The behavior I'm seeing ...
user avatar
0 votes
1 answer
34 views

My Org mode capture code returns "Invalid file location: nil"

I use the following code for the org mode capture functionality, but it returns the error "Invalid file location: nil". What is wrong? Thanks in advance for any help! (setq org-capture-...
user avatar
  • 1,029
0 votes
0 answers
24 views

Insert Heading, One Level Above

I want to insert a heading above the current level, like org-insert-superheading I've found a few references, but for vi mode Any pointers?;)
user avatar
0 votes
0 answers
17 views

macos org-babel python with session output give __PYTHON_EL_eval

#+begin_src python :session :results output print("yes") #+end_src With org-babel-execute-src-block command, the result is: #+RESULTS: : __PYTHON_EL_eval("try:\n with open('/var/...
user avatar
0 votes
1 answer
37 views

org-mode: Search for properties does not work

I have a file "restaurants.org" containing: #+title: Restaurants #+author: xyz #+COLUMNS: %Where %Name * Ristorante Y :PROPERTIES: :Where: Canal Street 10 :Name: Ristorante Y I wanted to ...
user avatar
  • 3
0 votes
1 answer
44 views

Combine two commands

To create a list from sentences in org mode, I use following command string-insert-rectangle replace-regexp ^ with - How can I combine these two to form a single keyboard short-cut?
user avatar
  • 523
2 votes
1 answer
80 views

Org-Mode : adding creation date property upon heading creation

When creating a new section in an Org-Mode document I want to automatically add a :CREATED: date property, by example: * Test :PROPERTIES: :CREATED:: 2022-06-13 11:05:59 :END: I wrote a solution (see ...
user avatar
3 votes
0 answers
32 views

org-mode - how to ignore link syntax inside of src blocks?

The link syntax [[link]] is parsed as an org-link inside of a source block, as shown in the code and figure below, where my mouse if placed on top of [[2]]. #+begin_src emacs-lisp [[2]] #+end_src ...
user avatar
  • 3,373
0 votes
1 answer
29 views

org mode footnotes both at the end of the page and a listing of all footnotes at the end of the document?

Is it possible to have org mode footnotes both at the end of the page and a listing of all footnotes at the end of the document? With #+LATEX_HEADER: \renewcommand{\footnote}{\endnote} you can create ...
user avatar
0 votes
0 answers
11 views

Fix inconsistent background coloring of org-mode blocks with wrapped lines

When having a source block in a .org document, with line wrapping enabled, the continuation of an indented, long line, that is wrapped to the next line is naturally also indented. The problem is, that ...
user avatar
0 votes
0 answers
21 views

Include a section of current document without specifying the file name

I have a document (let's say myfile.org) in which I use copies of a same section in several places. In order to avoid text duplication, I use the following syntax: #+include: "./myfile.org::#...
user avatar
  • 1,340
0 votes
0 answers
12 views

org-agenda-todo not working correctly for tasks with repeat

My habits and tasks with repeaters (e.g. tasks with this below the task name DEADLINE: <2022-05-17 mar +1m>) stopped working, in the sense that when I do C-c C-t and I select DONE the task state ...
user avatar
  • 285
0 votes
0 answers
28 views

How to delete an extra space after the title in Org mode?

Currently I have it like this: And as you can see, there is 1 extra space after the word "Titletest". I didn't put it there, it can't be deleted in the file. Emacs does that automatically ...
user avatar
  • 3
0 votes
1 answer
25 views

How to make hte title and headers the same size as the text in Org mode?

I have this in my Emacs: I want the title and headers to be the same as the normal text. What should I put into my .spacemacs file?
user avatar
  • 3
1 vote
1 answer
166 views

What's the safest way to make documents on emacs?

I lost my progress on an org document twice, and I used tons of undo-redo commands, but none of them worked, so now, even though I really like org mode and emacs, I'm kind of disappointed. Is there a ...
user avatar
0 votes
1 answer
27 views

How to interactively remove properties drawer under point

Currently when I need to remove a property drawer under an entry: I have move to either the beginning (:PROPERTIES) or the end (:END:) Then press Tab to fold (hide) the drawer. And finally delete the ...
user avatar
0 votes
1 answer
35 views

Underline heading in org mode

I would like to customise the appearance of headings in org mode. The goal is to reduce the need for so many different colours. I used the function below to set colours for the headings. (custom-theme-...
user avatar
0 votes
1 answer
24 views

Org HTML exporter: do not use section numbers in links?

When linking to a heading containing <<foo>> using the syntax [[foo]], M-x org-html-export-to-html generates a link using section number as the link text: <a href="#org6bfafed"...
user avatar
0 votes
0 answers
19 views

org mode table cell alignment for HTML export

I've got this all by itself in an org file #+NAME: coinfliptable #+ATTR_HTML: :border 2 :rules all :frame border | <c10> | <c10> | <c10> | <c10> | <c10> | <c10> | | ...
user avatar
  • 2,717
0 votes
0 answers
20 views

Org attachment : how to attach a directory?

the main question is in the title Also: if it is impossible, why? Can we solve the problem? if it is possible, how? I made some tests by adding directly a folder in the attachment folder, then I ...
user avatar
1 vote
0 answers
28 views

Org-mode expands org-special-block-extras incorrectly

I've been using org-special-block-extras to insert special blocks in org-mode which I then export to PDF through LaTeX, things such as margin notes or colored blocks. It used to work until recently (...
user avatar
0 votes
0 answers
18 views

Reference env variable in org babel source block headers

I am setting up an org-mode document to connect to a postgreSQL database and execute+show the results of some queries. I don't want the database password visible in the org document (regardless of ...
user avatar
  • 101
0 votes
0 answers
14 views

Org-mode troubleshooting navigate heading jump C-c C-J

I've been trying to use org-mode over a year and still get stuck on seemingly simple questions. When I search/navigate jump and type in text after C-c C-j I can RET and C-g but cannot [Up]/[Down] or [/...
user avatar
1 vote
0 answers
25 views

How can I convert Org to reStructuredText extension for Sphinx Doc

Initially I was writing my documentation in README.md file as a markdown format. I can than convert the markdown file into reStructuredText(rst) extension for Sphinx Doc using pandoc --from=markdown --...
user avatar
  • 1,084
0 votes
0 answers
9 views

How to populate org table with org citations generated by R scr

I am trying to generate a table of org citations with the following R source block (emacs 28.1, org 9.5.3) #+name: test-citation-table #+BEGIN_SRC R :results replace :colnames yes data.frame(...
user avatar
  • 181
0 votes
1 answer
28 views

How can I have different Emacs `org-mode` date time format for a heading and sub-heading?

I'd like to tidy my current workflow practice on org-mode. Each day I check out my org-mode agenda which lists appointments Then I jot down/write a time boxed plan which can then merge with the org-...
user avatar
0 votes
0 answers
34 views

How can I add a horizontal line (`\hline`) above the first table row when exporting to latex?

I want a table in org mode to meet two needs: When it is exported as latex, the result table in latex has the top horizontal line. like this: Can be used as input variable for R code blocks But it ...
user avatar
0 votes
1 answer
47 views

Org mode Global To do list shows eg file:TODO instead of TODO

Usually any TODO items show up in my Global TODO list as eg: [Filename of org file] TODO Buy milk I had copied some headings from another org mode file into the current org mode file and now the ...
user avatar
2 votes
0 answers
23 views

org-mode still indents content while I try to set it up not to

I set org-adapt-indentation to headline-data When I select a region under a headline (separated by a blank line) and press TAB, the paragraph gets indented at the same level as the headline title, as ...
user avatar
0 votes
2 answers
36 views

org-link: create a link to marked region of text

I want to create links to marked regions of text inside org files. if I use C-c l the active region is ignored; only the heading is stored. How can I create a link to a region of text? I use org-mode ...
user avatar
0 votes
1 answer
21 views

How to code this dynamic table from a web application called omni calculator (on salary conversions) as an org table in Emacs?

I like this application. I would like to build something similar but as a table inside a .org file. This is an interesting and easy-to-understand particular case. But I would use this kind of approach ...
user avatar
1 vote
0 answers
87 views

How can I automate rescheduling overdue daily habit tasks?

I have a number of "habit" tasks which repeat daily. If I forget to mark each habit as DONE, it is removed from the timeline, and appears as an overdue item at the top of the agenda. For ...
user avatar
0 votes
1 answer
27 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
19 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

1
2 3 4 5
101