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
0answers
4 views

Org-columns error : The CLOCKSUM property cannot be set with ‘org-entry-put’

I would like to have summed up logged time with org-columns in org-mode. Apparently it works very well down to level 3 headers (i.e. headers with 3 asterisk), but when I try to log clock for level 4 ...
0
votes
0answers
17 views

Set parent task to DONE based on child conditions

I'm new to Emacs (spacemacs) and trying to get Org-Mode's TODO feature working how I'd like it to work. I am trying to have parent tasks set to DONE when all child checkboxes (or TODO's are complete)....
1
vote
1answer
15 views

Org-mode verbatim tilde (=~=) is still processed by Latex back-end

I have some verbatim text containing a tilde, =some ~ text=. Now, org-mode is supposed to leave the tilde alone. However, upon exporting with the latex backend, I get the following in my .tex: \texttt{...
0
votes
1answer
18 views

org-priority and org-insert-structure-template key binding clash

I'm using or-mode 9.2 and when I hit C-c C-, and I got the following message: Before first headline at position 480 in buffer index.org The message indicates that the key actually get translated as ...
1
vote
0answers
31 views

Regular template

On a near weekly basis, I need to create an org entry that looks something like * <TODAYS DATE> - <Person 1> - What this person did - <Person 2> - What this person did ...
0
votes
0answers
12 views

org-mode call occur not function

Since I need to search some pattern frequently, I wish to write some code there then execute it in org-mode. for example: #+begin_src elisp :results output (defun myoccur (arg) (occur (s-replace " "...
0
votes
0answers
34 views

whitespace-line-column highlight basing on the column number instead of char count

config (require 'whitespace) (setq whitespace-line-column 80) ;; limit line length (setq whitespace-style '(face tabs empty trailing lines-tail)) For first line, whitespace-mode correctly highlights ...
1
vote
0answers
18 views

org-mode : how to get more space between 'List of all TODO entries'

C-a-t is bound to `org-todo-list (i.e., "List of all TODO entries"). Is there a way to add space between each row in the *Org Agenda* output buffer when the list is displayed?
0
votes
1answer
37 views

bookmark-jump to org-mode file with collapsed headings not working as expected

I have a bookmark in one of my org files (set using the usual emacs bookmarks), but I'm finding that when I try to jump to the bookmark (with the usual C-x r b, which invokes bookmark-jump), it doesn'...
0
votes
1answer
15 views

“Run all code blocks above this point” in org-babel?

I know you can use org-babel-execute-src-block (C-c C-c) to execute individual code blocks, but is there something akin to "Run all chunks above" that RStudio has for Rmarkdown files?
0
votes
2answers
49 views

Goto line by number in folded org buffer

I looking for a way to go to the specific line by number in an org file, when the structure is folded. An ideal solution would be to unfold only necessary headings to put the cursor in the line. I was ...
0
votes
1answer
34 views

How do I run an external command on an org mode source block?

I'm writing a screenplay using Fountain mode. My org file is set up so there are multiple screenplays in a given file, for example * Number one! #+begin_src fountain INT A PARK IN SAN FRANCISCO ...
0
votes
1answer
38 views

org-agenda not showing any todos

No items are showing when I load the agenda view. When I press C-c a, the agenda view menu comes up fine. But hitting a brings up an empty list, and so does t. M-x describe-variable RET org-agenda-...
0
votes
0answers
31 views

export org to pdf not working: PDF was not produced

installed emacs and Latex ()texlive and texlive-latex-extra) on ubuntu. Exported an Org file to PDF with no success. message is : "pdf was not produced. See "Org PDF LaTEx Output" for details" This ...
0
votes
0answers
25 views

plantuml does not support mindmap

I tried mindmap in plantuml #+BEGIN_SRC plantuml :file ../images/linux-distrib.png @startmindmap + OS ++ Ubuntu +++ Linux Mint +++ Kubuntu +++ Lubuntu +++ KDE Neon ++ LMDE ++ SolydXK ++ SteamOS ++ ...
0
votes
1answer
51 views

How do I move a subtree to another file

In org-mode I frequently want to move one (top-level) tree to another file. I can do this by first calling org-cut-special (C-c C-x C-w) in the source file, then switching to the target file and ...
0
votes
0answers
21 views

Add state to an internal link

I'm using org-mode for software tasks planning. I created a discovery task and inside that I'm registering my finds, which are bugs, and should be in another headline. So I link them. However, to ...
0
votes
1answer
18 views

org-mode call python source within latex source block

I have a piece of python code that outputs latex code. I'm trying to call the python source block from within a latex source block so it will format the output as latex when I export. Any idea how ...
0
votes
1answer
25 views

can one do math on :properties:?

I would like to use column-mode to create a project rollup similar to MSProject, but much simpler and faster. I would like to have a column for :hours:, and a column for :materials_cost:. Here's the ...
0
votes
1answer
82 views

need help with very complex find and replace

I have a very complex (at least to my mind) text replacement task. ideally this would be a function or macro I could run over every org header in a buffer. I want to 1. move over any TODO state to a ...
1
vote
0answers
22 views

Preserving the space immediately after an org heading when deleting trailing whitespace

I use a hook to delete trailing whitespace on saving files: (use-package emacs :hook (before-save . delete-trailing-whitespace)) This works well in 99% of cases. However, if I am trying to create ...
0
votes
1answer
38 views

How to show trees from archive files by default (a.k.a. (org-agenda-archives-mode 'files))?

I want my default agenda view to include archived trees from .org_archive files. From the manual we learn: v a (org-agenda-archives-mode) v A (org-agenda-archives-mode 'files) Toggle ...
1
vote
0answers
26 views

Can I specify tags as a property to avoid cluttering the headline?

Having tags in the headline clutters the view and is quite distracting when the tags are not directly pertinent to it. An example of this is the noexport tag which describes what to do with the ...
0
votes
0answers
29 views

Default keybindings in org-mode and collision with other established keybindings

I don't know whether the set of emacs users falls apart so sharply that those with "normal" editing needs never use org-mode and vice versa, but I think that I am not the first to ask why the proposed ...
0
votes
0answers
10 views

Footnote link broken when converting to table.el format

Org mode footnotes within table cells are broken when converting to table.el format with C-c~. * Org Table | col1 | col2 | col3 | |-----------+------+----------------| | some text | ...
0
votes
1answer
49 views

split every single org headline in a org file to separate md/org files

I want to be able to create a function that splits or exports every single headline in a org mode file (recursively) into a separate file. Ideally that would be a .md file but I can also live with a ...
2
votes
1answer
52 views

Org is implemented on top of Outline mode

Org manual states in its beginning Org is implemented on top of Outline mode, which makes it possible to keep the content of large files well structured. I referenced 'outline-mode' by C-h f ...
1
vote
1answer
64 views

rewrite relative or absolute path from inherited tramp ssh property with org-babel

I define a global remote session for all my sh block code with properties :PROPERTIES :HEADER-ARGS:bash: :dir /ssh:xxx@myvm:/home/xxx/ :END: In my other bash blocks, I inherit this property, but ...
0
votes
1answer
40 views

How to get date+interval? (revisited)

I have a deadline that is some date in the past(such as 12/26/2019) + interval (e.g. 15d). How would I get it in Emacs? In a previous post under the same title I posted an example with interval = the ...
1
vote
1answer
35 views

Org-mode: use result from babel in another programming language

Org and babel in emacs are awesome. Is it possible to have something like this: Here is a C code #+BEGIN_SRC C :output results #include <stdio.h> int main(){ int x = 5.00; int i; ...
0
votes
1answer
15 views

org-mode capture click event within org-babel code block

I wish to run C-c C-c, then click any code line to trigger my code (print "clicked" in this demo) #+BEGIN_SRC elisp :results output (defun myclick(n) (interactive "p") (print "clicked") ) (add-...
0
votes
0answers
48 views

Org mode link in comments

Is there a way to make links work in comments? # Comment with [[link]] link Error Message: edmacro-parse-keys: C-M- must prefix a single character, not up The link would work only when ...
1
vote
1answer
98 views

org-agenda not showing missed deadlines

today I have to ask the community for some help. I used my org-agenda for a few years now. But since a few month my missed deadlines wont be shown in weekly agenda. Maybe I miss-configured something ...
0
votes
1answer
31 views

Open link of file in org mode with its defalut application rather than within spacemacs

really new to spacemacs, I want to open a link (which is a file stored somewhere on my computer and the full path is used) inserted into org-mode file of spacemacs with the default application of such ...
1
vote
1answer
50 views

Rename org buffers to org's +TITLE instead of filename

I have hundreds of org files in a single directory that I use as a personal knowledge base and use deft to quickly find and open them. Each file is automatically named based on the current time (yyyy-...
0
votes
0answers
14 views

Color of percentage [%] or task count [/] based on quantity

How can I change the color of the percentage of tasks completed (either [%] or [/]) based on the corresponding quantity? At <100%, the color is red, at 100%, the color is green. Can I make it ...
0
votes
0answers
10 views

org-mode: Convert images upon HTML export

In my org file, I export a file: [[./imgs/file.pdf]] I want to export to both Latex and HTML. I'm looking for some way to convert this file.pdf to another extension, say .svg, iff my export backend ...
0
votes
1answer
43 views

Managing path for reproductible scientific paper using session, org-babel and org-mode

I'm starting using org-mode and org-babel to support my day by day scientific work and produce reproductibles papers. Lot of people use rMarkdown/jupyter to do that, but i'm interested by investing ...
0
votes
0answers
16 views

Tell org to compile surrounding document

I have a structure of org documents as follows: ├── root.org └── subdir ├── sub-content.org └── sub.org I have a document sub that is both a standalone document and part of the root document....
0
votes
0answers
14 views

How to define functions and add `#include …` in C++ with org mode src block?

I would like to add static libraries and define functions in org mode src block, so that I can use them later. Like this: #+name: srcHeaders #+begin_src C++ includes <iostream> #+end_src #+...
1
vote
1answer
35 views

Write text between inline exported code and the result of this execution code?

After some search, i don't found example corresponding to my use case. Writing a research text, i'm interested to mix source blocks code and text with results using inline mode, for example this ...
0
votes
0answers
54 views

A few org files are not displayed as org mode

When I open file with C-x C-f (counsel-find-file &optional INITIAL-INPUT) Most of the org files are opened as org-mode automatically, yet there are a few displayed as plain text as fundamental ...
0
votes
1answer
19 views

org -captue template display a fake board

After I updated doom-emacs, the todo captuer template board displayed as It's actually a fake board because I custom them as (setq org-capture-templates '(("n" "Personal Note" entry ...
0
votes
0answers
20 views

Export org to ical Non-Scheduled TODO tasks as events of startdate of today?

I am trying to sync org file with google calendar. As VTODO item is not supported in google calendar, I have to set org-icalendar-use-todo to nil. The thing is I want a level of customization where ...
0
votes
1answer
21 views

Exporting LaTeX commands to HTML/MathJax

I am writing a document that is specifying a language with associated grammar and semantics. For this I have written the specification in Latex, using a method very similar to the one presented here. ...
3
votes
1answer
33 views

No graphic output for MATLAB src block in org-mode

In an org file, if I include a MATLAB src block that has a graphic output (a figure is plotted there), for example, the following src block: #+begin_src matlab :session :file tst.png :results ...
0
votes
0answers
14 views

shell blocks chaining with :post-processing calls and using stdin to create “filter” blocks

To increase modularisation of my emacs code blocks I'm attempting to factor out common functionality into separate function blocks. I'm running into difficulties with chaining :post calls, and using :...
0
votes
2answers
34 views

ignore dependencies when setting CANCELED todo-state

I have org-enforce-todo-dependencies set to t, and org-todo-keywords set to "TODO(t) | DONE(d) CANCELED(c)". This has the undesirable effect that until all subtasks are in done state, I would not be ...
1
vote
2answers
40 views

Org Mode link to structure blocks

Is there a way of linking to a specific structure block in org mode? I have a block of text as follows: * Heading Some text ** Subheading some text #+BEGIN_PROSE Lorem Lorem ipsum dolor sit ...
1
vote
1answer
26 views

Em dash before italic in org export

In my document, I have an em dash that needs to be followed by italics. Here's a minimal example: He was surprised—/excuse me/? The LATEX/PDF output includes the slashes and the text is not ...