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-attach doesn't create :Attachments: property

I've been using org-attach for a while but I recently changed org-attach-method from cp to mv andorg-attach no longer creates :Attachments: property. Rather, it gives an :ID: property (and moves the ...
12
votes
4answers
3k views

How can I escape the * in org-mode to prevent bold fontification

If I write something like *shrug* in org mode, it will be automatically fontified as bold text. How can I prevent that, i.e. actually having *shrug* appear verbatim when exported? Edit: I still ...
0
votes
0answers
5 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 ...
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
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
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 ...
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)....
0
votes
1answer
11 views

In which variable are past sparse tree queries saved

I'm executing sparse tree queries programmatically, and I'd like to save the search queries in the same history variable that org-mode uses by default. I'm guessing I can/should do this with add-to-...
0
votes
1answer
97 views

`org-re-reveal` custom slide keyboard bindings

Per the reveal.js docs on keyboard bindings, I'd like to find a way to configure the keyboard bindings in the following way: Reveal.configure({ keyboard: { // left, down -> next 40: '...
4
votes
1answer
202 views

Is it possible to have shared #+PROPERTY: between multiple org files?

I'm working with org-mode and org-babel to query a PostgreSQL database. It's pretty cool setup and I love it. At the moment, I have multiple org files with the same database property configuration ...
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 ...
2
votes
1answer
151 views

Prevent org source block face from bleeding out in fold

The problem is that when there is one line in between folded headings with source blocks the text properties of the #end-src line bleeds out. You can see the lines bleeding on the right in the image. ...
4
votes
1answer
115 views

how to include remote images in org-mode export to LaTeX?

When I paste the URL of an image into an org-mode file and then export it to HTML, the remote image URL gets turned into an img tag and displayed in my HTML file without the need for me to save the ...
0
votes
1answer
52 views

spacemacs and org-log-done

In org-mode for emacs I used to get a prompt while closing a recurring task. This gave the ability to leave a note. Trying to configure this with org-log-done hasn't worked out. Anyone an idea how ...
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
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
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
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
3answers
132 views

How to programmatically export org buffer to html ( mimic the org mode sequence `C-c C-e h o` )?

In brief: I would like to programmatically mimic the org mode sequence C-c C-e h o to export a buffer to HTML and open the web browser. My scenario: I have a written a shell-command (in my code ...
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 " "...
1
vote
0answers
29 views

LaTeX fragment preview includes font name in Org-mode

Since I have to export some CJK characters in LaTeX, I have the following two lines in an .org file : #+LATEX_HEADER: \usepackage[BoldFont,SlantFont]{xeCJK} #+LATEX_HEADER: \setCJKmainfont{HanaMinA} ...
-1
votes
1answer
98 views

ob-async issue, seq-random-elt not defined

I would like to asynchronously run code blocks in org mode. My org mode version (org-version output) is: Org mode version 9.2.1 (9.2.1-23-g126a37-elpa @ /home/user/.emacs.d/elpa/org-9.2.2/) I ...
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
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-...
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
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

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 ...
0
votes
1answer
102 views

Add timestamp to repeating task when marked DONE

Say I have this task: * TODO Task SCHEDULED: <2019-12-21 Sat 13:00 +1w> and I mark it done the day after. Then, the timestamp becomes <2019-12-28 Sat +1w> and I lose the previous entry,...
0
votes
1answer
101 views

org-mac-iCal not working

I am trying to setup org-mac-iCal See https://orgmode.org/worg/org-contrib/org-mac-iCal.html. Nothing happens when Emacs loads. Even when I run the specific function org-mac-iCal, nothing happens ...
0
votes
2answers
278 views

ledger in org-babel blocks uses incorrect path data in Windows 10

I am trying to include a ledger data file from an org-babel block. I am using Windows10 and the SciMax emacs distribution. #+begin_src ledger :cmdline bal :results output :exports results !include d:/...
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
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
1answer
31 views

specify time of day for org-resolve-clocks, not number of minutes

I can use org-resolve-clocks if I've been away from a task but kept the clock for the task running -- but when I do that and select K ("keeps however many minutes you request and then immediately ...
0
votes
1answer
56 views

org-mode search in headline gives a three dots line

certainly something I misunderstand, but I cannot find an answer. When I search in an org-mode file (with C-s) and find a result in a headline, if I press TAB to expand the headline where I found ...
2
votes
1answer
741 views

Show inactive timestamps in Agenda

SCHEDULED or DEADLINE TODO items with active timestamps correctly appear in my Agenda View (day/week/fortnight) under Org 9.0.4. After making a timestamp inactive, such entries do not appear in the ...
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
56 views

Prioritize color of emphasis faces in Org headers

Observe the following Org buffer, tested on Emacs with no configuration (emacs -q): Note that bold, italic, and underline are all distinctly fontified in the header. However verbatim and code are not....
0
votes
1answer
59 views

Control depth level of table of contents with org-mode and beamer

I have the following in my org-mode file that I am exporting to beamer on the basis of this simple template: * Introduction * More ** etc * Still more ** Some a ** Some b ** Some c However, my TOC ...
1
vote
1answer
52 views

Improving org-block-begin-line, splitting in several faces

The face org-block-begin-line allows to customize the first line of the following block #+BEGIN_SRC lang :var arg1=1 arg2=2 ... #+END_SRC However, I would like to customize the faces within the line,...
1
vote
1answer
123 views

Issue archiving when maintaining org-mode subtree structure

I'm trying to archive DONE org-mode tasks while maintaining the subtree structure. There's a partial solution for what I'm trying to attempt at https://gist.github.com/edgimar/...
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 ...
3
votes
2answers
273 views

how to make org-mode section numbers start counting from 0 instead of 1?

org-mode section numbers (when exported to html) by default starts count from 1, however it is traditional in computer science to start counting from zero. How to make org-mode section numbers start ...
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
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 ...
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 ...
19
votes
1answer
2k views

How does one use flyspell in org buffers without flyspell triggering on tangled code blocks?

Imagine an org buffer in Emacs like: * Title Some text describing the title and the codew (sic) and whatnot. #+BEGIN_SRC emacs_lisp (setq backup-by-copying t) #+END_SRC I want flyspell to check ...
3
votes
2answers
112 views

Skip flyspell checking of ~code~ and =verbatim= regions in Org mode

First some disambiguation: This Endless Parentheses page demonstrates how to use ispell-skip-region-alist to skip =code= and =verbatim= blocks with ispell… (defun endless/org-ispell () "...