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
2
votes
1answer
98 views

Error when loading new version of org mode

I upgraded Org-mode to the latest version on the master branch (according to How to install latest version of org mode?) and now I get this error every few seconds: Error running timer ‘org-indent-...
2
votes
1answer
588 views

Org-mode agenda: Show list of tasks done in the past, and not those clocked

Similar to this thread and this one, I want to show an agenda view with all items marked as "DONE" in the last two weeks, but without the lines Clocked: (1:00) DONE Some task (because for that I only ...
2
votes
0answers
60 views

How to get date+interval?

I have a deadline that is 12/12/2019+15d+1m. How would I get it in Emacs? This should be straightforward but have not found it. The right answer is 01/27. UPDATE: The question is not about combining ...
2
votes
1answer
194 views

Does org-babel for groovy take arguments?

I am trying to pass an argument to a groovy babel block but I'm not sure it accepts arguments? The documentation says that it is language-specific but I didn't find any documentation for ob-groovy. ...
2
votes
1answer
817 views

Default key binding is lost, how to restore it?

I have been recently fiddling a lot with Emacs org-mode. In this process suddenly my key-binding for showing the agenda menu is lost, so I have to access it with M-x org-agenda. The error I get when ...
2
votes
1answer
320 views

How can I extend org symbols table?

I use org UTF8 character substitution all the time, for example to go from \beta to β (enabled with the org-pretty-entities variable). However some standard symbols are missing and I'd like to add ...
2
votes
1answer
181 views

Reorganize timestamps into drawers

I just learned about the following org-mode option, which ensures newly entered timestamps end up in the LOGBOOK drawer: (setq org-log-into-drawer t) How can I automatically move existing timestamps ...
2
votes
1answer
240 views

Strange encodings in ORG mode with German umlaute

I have a few org files encoded in UTF-8. Everything works fine, also with German umlaute (ä, ö, ü, ß). These files I sync with Git between different PCs (mostly running Debian). When I synced one of ...
2
votes
1answer
201 views

Hide export option names (#+TITLE, etc) in org mode without hiding value

Where it says #+TITLE: my title I want it to just say my title, same with author and date and then I want to hide the other attributes... How would I do this?
2
votes
1answer
231 views

Go to item that links to id of current item?

I'm setting up something similar to org-depend, but more plain-text. I have a sub item with an id: * TODO my sub task :PROPERTIES: :ID: b988fcc3-5f73-4f4c-8b90-38c63d3ee72c :END: task ...
2
votes
1answer
1k views

org-edit-src-code Do not pop a new window, use the current one

When I call org-edit-src-code to edit a SRC code on a buffer with the proper major mode, I get a new window configuration. For example, if I have windows 1|2, org-edit-src-code will delete window 2 ...
2
votes
0answers
512 views

org-publish-project-alist: :latex-header

Context When exporting Org-Mode documents to LaTeX it is possible to specifcy additional LaTeX header commands: #+LaTeX_HEADER: \subtitle{This is a subtitle} Using org-publish it is possible to ...
2
votes
3answers
1k views

Background color of LaTeX fragments in Org mode

How can I control the background color of my LaTex fragments in Org-mode? I am using the badwolf-theme package, and this is what I get: I would like the background color of my formulas to match the ...
2
votes
1answer
1k views

Display multi-file org agenda as a sparse tree?

org-sparse-tree function lists selected information with the headline structure above it. This is useful when the meaning of org headings depends on context: SPC m T (org-show-todo-tree) org-agenda ...
2
votes
2answers
268 views

How to <mark> code fragments in org-export

In this HTML source: <html> <head> <title>mark test</title> </head> <body> <h1>mark test</h1> <pre> <code data-trim> def add(a,b): ...
2
votes
1answer
319 views

Force org to use `:` instead of `begin_example` for source block output

When executing a source block in org mode with the output set to verbatim, it will sometimes wrap the results in an #begin_example block, and sometimes it uses : symbols at the beginning of the line. ...
2
votes
2answers
1k views

Org repeated task doesn't repeat when DONE

Following the documentation, I set to DONE a repeated task with C-- 1 C-c C-t but this actually closes the task definitevely. ** TODO Things DEADLINE: <2016-01-17 Sun +1m> After typing C-- ...
1
vote
1answer
130 views

Failed to add wikinodes to ‘org-font-lock-extra-keywords

I want to use org-wikinodes (http://orgmode.org/worg/org-contrib/org-wikinodes.html) Org wikinode is activated : (setq org-modules (quote (org-wikinodes))) I can follow wikinodes links with C-c C-o. ...
1
vote
2answers
527 views

Changing the way org-links behave on clicking only when it's a text file

I'd like to change the way org-links behave on clicking only when it's a text file etc. i.e. I'd like to have org-links opens up a new frame with the buffer of the link in it only when it's the link ...
1
vote
1answer
2k views

No org-babel-execute function for calc?

In org-mode: #+BEGIN_SRC calc :var x=5 :var y=2 2+a*x**y #+END_SRC returns No org-babel-execute function for calc! How do I enable calc for org-babel-execute?
1
vote
1answer
127 views

How can we convert a range of table types (latex,org) to html when org-exporting to html?

Suppose that I have 3 types of tables in an org file, A latex table, an org-table, and a html-table. How can we to export these table as html tables when org-exporting to html? # #+BEGIN_LaTeX # \...
1
vote
0answers
66 views

A way to auto have entries in the property drawer to to track header creation and last change of the header?

is there a way to auto have entries in the property drawer for tracking header creation and last change of the header? anyone using something like this?
1
vote
1answer
957 views

How can I get the tags for a headline in a clock report formula?

I'd like to understand how to retrieve the tags for a headline that is being processed by a clock mode report formula. Suppose I have a clock report table defined like this. #+BEGIN: clocktable :...
1
vote
1answer
49 views

Org mode monospaces more than it should

Org mode lets you monospace text by enclosing it within = signs. However, I don't think the regex actually considers if it is a "starting" = or a "closing" =. Example: =s[=$i$=]= renders not only ...
1
vote
1answer
50 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 ...
1
vote
1answer
887 views

Match data clobbered by buffer modification hooks

I want to setup a Journal entry template that prompts for a date/time, so that I can process current entries, as well as older ones. This is what I have so far: ;;; Org-capture settings (setq org-...
1
vote
1answer
196 views

Org agenda view: how to express OR when filtering tags?

In org-mode, I want to make an agenda view showing all notes tagged with "NOTE" or "LOGG". The following code does not produce the result I want: (setq org-agenda-custom-commands '(("o" "NOTES" tags "...
1
vote
0answers
138 views

New version of Org mode throws dbus-call-method: peculiar error: “Emacs not compiled with dbus support”

I upgraded Org from the built-in 9.1.9 to the maint branch 9.3.3 (directions here). I now get this error when I clock in or out: Debugger entered--Lisp error: (dbus-error "Emacs not compiled with ...
1
vote
1answer
641 views

Org-mode hide tags in outline view

Can anyone think of a way to hide org-mode tags, perhaps something along the lines of this solution to completely hide the properties drawer? I would love to hide tags but still have them searchable ...
1
vote
1answer
472 views

org-mode table-formula and code-blocks: function parameter is cut off on whitespace

In Org-mode working with 'src' code blocks and table formulas together, org-mode cuts of the cell strings at the first whitespace character. I.e.: having a cell with Hello World the 'src' code block ...
1
vote
1answer
100 views

How to promote or demote multiple marked headings in Org Mode

The Problem Jump down to Update 1 below for my thoughts as to the chosen answer to this question. I'm using Emacs version 26.3 with Org Mode version 9.3.6 installed from Melpa. In the Org manual ...
1
vote
1answer
328 views

org-mode agenda: sort items with plain time stamp before scheduled tasks

I have an org-file which might look like the following: * Appointments ** Meet someone important <2018-02-15 Thu 08:00-09:00> * Discussions ** TODO Discuss something with someone SCHEDULED:...
1
vote
1answer
27 views

Can org-babel filter code blocks?

I have a general emacs.org file that I load at init time with org-babel. It's made for desktop use, and I load a bunch of IDE features, face customizations, powerline and so on. However, I also ...
1
vote
1answer
529 views

Calculating with timestamps in org-mode tables

Emacs 26.1 | | Start date | End date | State | Task | Duration (hours) | |---+------------------------+------------------------+-------+----------+------------------| |...
1
vote
2answers
58 views

How to output an octave array as a org-mode table?

I am trying to output a matlab/octave array as an org-mode table. So for an array/matrix like a =[ 1 2; 3 4; 5 6]; I'd like to have a 3 by 2 org-mode table. I tried to just echo the array a as if ...
1
vote
0answers
106 views

Using auto-insert and yasnippet to insert variables into template

I've been reading this and this, trying to figure out how to have an org-mode in-buffer settings template such as this: # # -*- mode: org -*- # # -*- coding: utf-8 -*- #+TITLE: $1 #+AUTHOR: `(user-...
1
vote
1answer
389 views

visibility cycling - org mode - save and restore folding state of sub trees

Is it possible to have a SAVED visibility in Org mode ? Something like: ,-> FOLDED -> SAVED -> CHILDREN -> SUBTREE --. '--------------------------------------------' akin to this....
1
vote
1answer
284 views

How to cycle between specified states in org mode?

By default, S-tab cycles between OVERVIEW, CONTENTS and SHOW ALL these three states. But I want it to just cycle between CONTENTS and SHOW ALL. How can I realize it?
1
vote
1answer
50 views

Active Timestamps with org-add-note

If you add a Note to a TODO task with C-c C-z it adds an inactive timestamp to the note. This way it does not show up in the agenda view. - Note taken on [2019-11-05 Di 09:32] \\ I want org-add-note ...
1
vote
0answers
268 views

Export a particular org heading with elisp?

I'd like to specify a heading (using either link or agenda syntax) and export just that heading as a file, using elisp. I'm not trying to do this - since this specifies the file to export to in the ...
1
vote
2answers
983 views

How to a create keybinding to open a particular file?

How to change the SPC m c (org-capture) keybinding to open the ~/capture.org file instead? F-5 opens file when this is in .spacemacs file: (global-set-key (kbd "<f5>") (lambda() (interactive)(...
1
vote
1answer
76 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: [...
1
vote
1answer
159 views

org-mode table layout

hi i'm new to emacs and i'm really amazed about the org-mode. But i have some problems with the tables. i want a nice looking table but i get always a strange format example: But i want it like ...
1
vote
1answer
137 views

Config easy template src code in 0rg 9.2

I read org mode - Easy Templates in Org 9.2 - Emacs Stack Exchange, which instruct to get back org 9.1 by adding (require 'org-tempo) to your init file or by adding org-tempo to the list org-...
1
vote
1answer
204 views

Org subtree from yasnippet

Can yasnippet be used to insert an org subtree of the same level as the last? For example, if one often writes ***** $1 #+BEGIN_SRC latex \paragraph{$1.} $0 #+END_SRC how might one avoid ...
1
vote
0answers
24 views

How do I insert code block header :var in exported code block in org-mode for SQL

I cannot repeat solution mentioned in 27610 for SQL. Seems there is no org-babel-variable-assignments:sql function in org.el.
1
vote
0answers
311 views

How is #+BEGIN_SRC sh :results drawer different to #+BEGIN_SRC sh

While reading http://www.howardism.org/Technical/Emacs/literate-devops.html I saw the author recommending #+BEGIN_SRC sh :results drawer for "time-consuming and verbose" commands. (I do a ...
1
vote
1answer
303 views

Org Weekly Agenda filter tags with logical OR

Background information to motivate my question: With the agenda open, I can press "\" then "+" to show only results containing a certain tag, say A. I can then press "\" and "+" again to show ...
1
vote
0answers
51 views

org-fill-paragraph leaves a comma at end of C style comment

In a src block when there is a C style comment /* ... */ doing an org-fill-paragraph would always put a comma just before the last star, like this: /* Some comment ,*/ Is there a way to stop it from ...
1
vote
2answers
328 views

How to export babel source blocks with syntax highlighting to ODT in org-mode in Emacs 27?

In Emacs 27, babel source blocks do not export syntax highlighting to ODT format. The same org document is exported as expected in Emacs 25. Versions: GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-...

1
5 6 7
8
9