Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
8 views

How can I join these two org-templates, so that the first block can be an option between the other entries?

(use-package org :ensure org-plus-contrib) (use-package org-contacts :ensure nil :after org) (use-package org-capture :ensure nil :after org :preface (defvar my/org-...
0
votes
0answers
19 views

org-agenda-stuck project' levels

The docs describe the stuck project's level in The Org Manual: Stuck projects The built-in default assumes that all your projects are level-2 headlines, and that a project is not stuck if it has ...
0
votes
0answers
14 views

org-babel results with accented characters

I have a problem with the output of org-babel code blocks when this output contains accented characters. For example, if I execute this code block: #+name: test_accented #+begin_src python :results ...
1
vote
1answer
32 views

Search across tags / titles in org mode

I keep some files in RST and rst-mode has C-c C-t C-t runs the command rst-toc which open all section titles in separate buffer. I can search ignoring actual document content which tends to have ...
1
vote
1answer
45 views

Insert date using a calendar - where other language rather than english is desired

I am interested in inserting custom dates using the calendar, I found Insert date using a calendar which turned out to be quite useful. Org calendar : change date language? seems to have no effect (I ...
0
votes
0answers
8 views

How to prevent org-resolve-clocks from exiting on wrong key/Non-character input-event?

I use org-clock-idle-time to automatically resolve on idle time. When I get back to my computer, Emacs runs org-resolve-clocks-if-idle which runs org-resolve-clocks with the idle time. This is great,...
1
vote
0answers
21 views

unbind ALL C-x and C-c shortcuts in org-mode with CUA-mode

For a special purpose application of emacs with org-mode I want to dramatically simplify the shortcuts. I'm already quite satisfied with my config based on CUA mode. The one thing that bothers me ...
0
votes
0answers
6 views

Obtaining the results of babel evaluation of docker-compose commands

this is an odd behavior which seems to happen for some docker-compose commands but not others. If I try to evaluate certain commands like #+BEGIN_SRC sh dir: . docker-compose exec app rspec #...
1
vote
0answers
19 views

Customize org-mode state change logging text

How can I edit the format of the org-mode state change logging text? Specifically I'd like to be able to log with a timestamp excluding the time like - State "DONE" from "TODO" [2019-05-...
0
votes
1answer
36 views

org-mode datetree forward one day in the future

At work we do standups about what we did yesterday, I'm using datetree for my org-capture but the date recorded is by default today's date, I would like to change this so the date is of tomorrow ...
0
votes
0answers
13 views

Cannot refile to last subtree in narrowed buffer

In org mode, evaluate the expression and narrow the buffer to the first subtree (C-x n s). * one (setq org-refile-targets '((nil . (:maxlevel . 3)))) ** two ** three * four Now put point on the ...
0
votes
1answer
15 views

how to use link path to set the background face?

I would like to use a custom link, i.e. [[h:blue][blue highlighted text]], to create highlighted text. The background color of the highlighted text is specified by the path. I have (org-link-set-...
0
votes
1answer
23 views

Retrieving a view of org-mode tasks completed within a range and that have a non-nil property

How can I retrieve, over an elisp list of files list-of-files, a view of all org-mode headers that (i) were CLOSED in between start and end such that (ii) these headers have a property P defined (that ...
1
vote
0answers
15 views

Insert the same item in multiple rows in orgmode

I would like to be able to insert the same string in consecutive rows of some column of an org-table. I am using spacemacs and there is a vim way to insert the same instances in all visually selected ...
2
votes
1answer
49 views

Org export to html

I tried exporting several org files to HTML without success. That came as a surprise, since I've done that tons of times. The message I was getting on the minibuffer shed some light. End of file ...
0
votes
1answer
37 views

Retrieve the total time CLOCKED over a given interval

Question: How can I retrieve, over a set of files S (in particular: over my agenda files + their archive files) the total time clocked (as the return value of an elisp function; not as a clock table)? ...
0
votes
1answer
9 views

Org mode: Issue with export using HTML template with #+SETUPFILE

I have download two HTML themes from this git to my home directory. Following the instruction I have put the following line on top of my .org file: #+SETUPFILE: "/home/myusername/org-html-themes/...
1
vote
0answers
17 views

Leave noweb references in Org-Babel unevaluated with variables

I'm currently getting into Literate Programming with org-mode in Emacs. One of the key features to make it tractable as a programming style is macros. I would like to be able to do something like this:...
0
votes
1answer
45 views

Retrieving All Tasks “CLOSED” Inside a Time Interval

Question: How can I retrieve, over a set of files S (in particular: over my agenda files + their archive files) all org-mode headers that are marked "CLOSED" (i.e., have a "CLOSED" stamp like CLOSED: [...
0
votes
0answers
18 views

How to indent truncated lines?

For me it seems like a really ruff edge that default spacemacs comes without an option to give my lines a correct indentation, when they are wrapped. (Click the first link if you want to see the issue ...
0
votes
0answers
16 views

Insert a node at a specific place in org-mode

I'd like to insert a node into a specific place. Each day, I log in, expand the following nodes: "Engineering worklog" > "2019" > "Q2" > "week 20" > "05/20/15". I'd love to have a single command to ...
1
vote
0answers
28 views

Make a call to katex to render LaTeX from Org to HTML

This would allow the resulting HTML buffer to be viewed in eww, then allowing org-preview-html to work with LaTeX equations. Any inline LaTeX equations in the Org document ($eq$ and etc) can be ...
0
votes
0answers
26 views

Change in org-ctrl-c-ret?

I use spacemacs only for an org-mode todo file. I recently re-installed spacemacs and emacs and noticed a behavior change. Let's say I have a file like: * TODO Header - List item 1 - List ...
0
votes
2answers
26 views

How to suppress output of link with elisp function in org-mode?

When using elisp function in the link in org-mode, like [[elisp:(func)][text]] after clicking the link, the function itself will be printed in *Message* buffer. How should I prevent it from being ...
0
votes
0answers
18 views

`org` mode filtering on `TAGS` containing the @ character

I use the format @User as a TAG in some TODO lines in my org files. I've just noticed that, when calling the sparse-tree function, with C-u / m (so that it only acts on TODO items), or equivalently I ...
2
votes
2answers
59 views

How can I insert org-capture-templates into a document I'm editing

I have a capture template for TODO items defined as follows ("t" "todo" entry (file "~/org/refile.org") "* TODO %?\n%U\n%a\n" :clock-in t :clock-resume t) While editing a document, I ...
0
votes
0answers
28 views

org-mode table/matrix in latex export

I have an issue when exporting a table using *matrix environments. The align string appears in the cell content, whatever it is specified or not #+CAPTION: my matrix #+ATTR_LATEX: :mode displaymath :...
0
votes
0answers
13 views

Refiling a subtree with footnotes

I found that refiling a subtree to another file does not move footnotes. Does that have to be done manually, or is there a feature that has to be turned on?
2
votes
1answer
61 views

org export processes code blocks even if located in noexport headline

EDIT 1 : a more simple use case For this org file content: * Headline 1 - Something to export * Headline 2 :noexport: #+begin_src python :results none :exports none def foo(): ...
1
vote
1answer
29 views

Automating Org Export

I find myself pressing C-c C-e l o yes RET quite often in org-mode because I want to view the file I'm working on as a PDF. My simplistic attempts of automating this by feeding "lo" to org-export-...
0
votes
0answers
11 views

Automatically replace link text with predefined value

Is it possible to place an overlay on link text that will show a specific value? I want to write a manual where I refer to test points by predefined names such as TP_POWER_3V3, ie "Measure the voltage ...
0
votes
0answers
12 views

`(setq org-latex-listings 'minted)` file local

After trying quite a bit I could not find a way to set (setq org-latex-listings 'minted) file local. I tried putting it in a source block and as a file local variable, both did not work. The only ...
0
votes
0answers
37 views

Change org-priority faces when DONE

Is there a way to change the color of org-priority face once the item is marked as DONE? Currently, the entire line aside from the item's priority gets grayed out once the item is marked as DONE.
0
votes
1answer
21 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: '...
0
votes
1answer
136 views

How to jump to a heading in a date tree

What's the easiest way to jump to a heading in a datetree programmatically? I basically want: whenever I open my org file with file+olp+datetree structure to jump to a current day, if there's no ...
0
votes
0answers
20 views

How can i prevent current clocked task from showing in modeline?

Is there any way to disable clocked task from being shown in modeline? I tried searching for variables, but i couldn't find any that turns it off.
2
votes
1answer
49 views

How to use org headers as filenames in tangle

In org mode, how can I tangle to files equally named as the org header? Referring to the examples below, I'd expect two files foo.sh and bar.sh as tangle result: * foo #+BEGIN_SRC sh :tangle yes ls #...
0
votes
1answer
26 views

org links inside source code blocks

In my org file I have something like: #+NAME: fig:figure \begin{figure} \includegraphics{figure} \end{figure} and then I want to reference that figure inside a code block: #+BEGIN_SRC r # ...
1
vote
0answers
18 views

Performantly filter against a custom time-like property

My agenda view processes many items with SCHEDULED and DEADLINE fields, and fully generates from scratch in about 0.3s. However, if I append CUSTOM_SCHEDULED<"<now>" to my agenda view ...
0
votes
0answers
45 views

org-mode code block parentheses mismatch

Here's some emacs-lisp code in a babel block: #+begin_src emacs-lisp (defun factor (number) (labels ((*factor (divisor number) (if (> (* divisor divisor) number) (list ...
0
votes
0answers
17 views

Electric pair hyper-aggression in org-mode file

I've got this section in my init: (setq electric-pair-pairs '( (?\{ . ?\}) (?\( . ?\)) (?\[ . ?\]) ...
0
votes
0answers
10 views

hideshowvis text shown in Org mode source code

I am using in Org-mode to document inherited Java code. Here is shown an enum: However, when I export to HTML, the document is rendered like this: Which incorrectly shows a *hideshowvis* text. I ...
0
votes
0answers
29 views

Custom Org mode agenda with multiple daily agenda blocks that are synced

I want to have a block agenda which contains multiple agenda blocks that show the current day. This is easy to achieve as such: (setq org-agenda-custom-commands '(("T" "Test agenda" ((agenda "...
0
votes
0answers
14 views

List mode for project-wide ispell-buffer?

I'm currently correcting a large amount of org files by using ispell-buffer. However, I was wondering if there was a better way of doing so, by having: - A separate buffer with, on each line, the ...
0
votes
0answers
12 views

How can we separate folder for .org~ temp file into separate folder [duplicate]

Is it possible to store temp file .org~ file in a separate folder preferably C:\temp. I am using emacs on windows 7 .
2
votes
1answer
83 views

Show Apple Calendar events in org-mode

Is there a way to show Apple Calendars in org-mode? All I need is to be able to see them in org-mode, I am not (currently) interested in syncing or anything like that. Ideally, the Apple Calendars ...
0
votes
0answers
30 views

org-babel-tangle gives error function definition is void

Using the MWE example.org below, M-x org-babel-tangle returns: helm-M-x: Symbol’s function definition is void: mu4e-message-at-point $ cat /home/example.org #+begin_src sh :tangle example.sh ls #+...
0
votes
1answer
24 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
0answers
14 views

Can org-publish-project-alist follow symlinks?

I use org-publish-project-alist to maintain my personal webpage. On my local machine, I have dozens of git-repos where I develop files I want to share on my webpage. Currently, I'm using hardlinks to ...
3
votes
1answer
42 views

Is possible to have alternate table rows in another color in org-mode tables?

I would want something like this, for some specific tables with many rows (so columns are easier to read): I know about stripes mode (and sometimes I resort to using it), but that changes format for ...