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.

1,057 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
55 views

Programmatic access to a heading's todo state changes

Is there a mechanism in org-mode to programmatically extract all TODO keyword/state change information from a heading? For example with the following: * DONE Test - State "DONE" from "CANCELED"...
2
votes
0answers
285 views

org-mode: Can I use a custom mode for org-src-lang-modes and still get syntax highlighting?

I'm trying to get syntax highlighting with org-mode source blocks using a custom language mode for editing JavaScript. I use js2-mode with a bunch of minor modes, rather than js-mode, which is what ...
2
votes
0answers
228 views

Separating state change log entries from other notes

Following Rainer König's example in this video, I've customized org-log-into-drawer to be LOGBOOK. I've also added timestamps for various state changes such as from DOING to DONE, so that when these ...
2
votes
0answers
183 views

Does `@` in a tag have a special meaning?

I see that the only allowed characters in tags are letters, numbers, _, and @. While _ apparently serves to visually separate words, why is @ included? Does it have any special meaning, or a typical ...
2
votes
1answer
50 views

Random href ids in Org 9 exported HTML?

Something seems to have changed in the way HTML is exported from org mode between the 8 and 9 versions.One example, in the Table of Contents, I get entries with anchors like this: a href="#orgfaf035e"...
2
votes
0answers
340 views

Org-mode properties to list or structured content

I love the way org-mode allows to input easily resuable data through Properties. Later on you can export it to CSV thanks to column-view, and it is very userful. But what if I would like to export it ...
2
votes
0answers
30 views

how to support custom ATTR_?

I maintain a backend for a custom file export format for org-mode and I would like to add support for custom ATTR_LEANPUB comments (much as LaTeX supports ATTR_LATEX) for tweaking visual display of ...
2
votes
0answers
124 views

Automatically add properties based on tag in Org outlines

I'd like to be able to configure org to add properties based on specific tags which are used to describe the outline item. For instance, say we have a list item * user :person:student:. I'd like to ...
2
votes
0answers
119 views

Copy/Paste relative links between buffers

How can I copy (relative) links and regions with (relative) links between buffers? Buffer c:\path\to\a\a.org contains links of the form * A section with links This is a link to another org-file [[...
2
votes
0answers
200 views

How to use italic in quoted text in org-mode

Let us say I have the following code in an org file that I want to export to LaTeX and pdf. #+BEGIN_QUOTE These kinds of models show that coalition building might be important.\\ [[citep:Pamp2015]...
2
votes
0answers
114 views

Parenthesis-like effect for sparse tree queries

I'm trying to define queries for sparse trees that combine different conditions, for instance. (DEADLINE or SCHEDULED closer to one year), and (TODO keyword is NEXT or TODO or WAITING, or tagged as ...
2
votes
0answers
222 views

org-mode render latex fragments without using cache

How do I disable caching behavior when using C-c C-x C-l and C-u C-u C-c C-x C-l? I want the ability to force org-mode -> pdfTex to rerender everything in the current file from scratch. Here's ...
2
votes
0answers
50 views

Is it possible to sort todos by completion?

Is it possible to sort todos by completion? * Bar [0%] ** TODO Bar1 ** TODO Bar2 * Foo [100%] ** DONE Foo1 CLOSED: [2017-06-18 So 17:51] ** DONE Foo2 CLOSED: [2017-06-18 So 17:51] * Foo1 [0%] **...
2
votes
0answers
290 views

org-mode babel progress indicator?

When I run a process in the Mac Terminal, it gives me an indication of its progress. Here we see that I am 31% complete on downloading the latest org-mode: How can I get this same sort of progress ...
2
votes
0answers
505 views

ox-pandoc table and image export formatting. ATTR_LATEX and ATTR_HTML not behaving as expected

I have been using ox-pandoc to export my org-mode files (generally to pdf using pandoc and xelatex) but I am having a lot of trouble formatting images and tables. #+ATTR_LATEX commands for images is ...
2
votes
0answers
318 views

Wedding anniversaries with org-contacts

I successfully managed to add birthdays with org-contacts using the :BIRTHDAY: property, but what about some other kind of anniversaries such as wedding anniversaries? How can I set them? Can I use ...
2
votes
0answers
478 views

Org mode blog post with Jekyll

I saw many post about use org mode to post blog with Jekyll. one method is use emacs to export html with some modified publish function, another method is use a Jekyll plugin to call Org mode API do ...
2
votes
0answers
450 views

Shift dates in bulk using org-mode

I have a large set of tagged tasks in an org file and I want to shift all their dates by one week. Dates could be scheduled, deadlines, or plain dates. What is the easiest way to do this? I attempted ...
2
votes
0answers
131 views

Archive TODO by completion date, not archive date

Just spinning up on emacs and org-mode. Apologies if this is a trivial question, but haven't come across an answer yet after a fair amount of searching. I have my #+SEQ_TODO set up to record ...
2
votes
0answers
102 views

noweb reference aware org-edit-special

Is there a way of splitting a src block into several blocks while keeping them together with noweb reference syntax and editing them using org-edit-special in such a way that would take into account ...
2
votes
0answers
186 views

How to exclude several tags from view blocks?

I'm building my composite agenda view in org-mode. I want to exclude some entries shown in the lower block from the upper block since they are redundant. This is what I got: (setf org-agenda-custom-...
2
votes
0answers
805 views

orgmode export - skip/ignore first headline level

In orgmode, is there an easy way to tell the exporter to ignore the first heading level and start exporting at the second level? I imagine something like this: in org: * Toplevel ** Head_1 content ...
2
votes
0answers
87 views

In Org Mode, how to get path of an attachment - given its ID - in a string format?

In Org Mode I have an attachment associated with some task * Some task :ATTACH: :PROPERTIES: :Attachments: some_file.png :ID: ...
2
votes
0answers
144 views

Prevent fill-paragraph from breaking Org Mode inline source block

The fill-paragraph function isn't aware of the inline Org Mode source block syntax and is able to destroy it. For instance the following paragraph Lorem ipsum dolor sit amet, consectetur src_emacs-...
2
votes
0answers
81 views

How can we use a specific command from LaTeX package while exporting to html?

I can add LaTeX equation in my org file using for instance. \begin{equation} x^2 + y^2 = z^2 \end{equation} In this case when I export to html everything works fine. However, when I try to use a ...
2
votes
0answers
823 views

use local tikz library in org-mode

would like to use a custom tikz library with org-mode. https://github.com/jluttine/tikz-bayesnet The following example works fine. :) #+begin_src latex :file fsa.pdf :packages '(("" "tikz")) :border ...
2
votes
0answers
441 views

What is the emacs theme that is used on org-mode site?

What is the emacs theme that is used on org-mode site? http://orgmode.org/img/main.jpg
2
votes
0answers
69 views

how can I debug or fix slowness in org-cycle?

running org-cycle appears to hang sometimes. I've run M-x profiler-start <tab> ;; bound to org-cycle C-g ;; to cancel apparently-hung command M-x profiler-report and I see that a bunch of time ...
2
votes
0answers
786 views

How to configure org-plus-contrib?

I was trying to use org-drill, so I installed org-plus-contrib. That caused me a lot of problems, which I finally resolved by finding out that if emacs loads org related stuff, the installation doesn'...
2
votes
0answers
340 views

Show effort and *all* clocked time for completed tasks within the last week

How can I show all the time spent on org-mode tasks completed within the last week? The clocktable doesn't include time logged outside the block time. For a task that's spread over many weeks, the ...
2
votes
0answers
142 views

Links inside org-mode tables are not typeset in monospaced font

While the default is a proportional font, I told org-mode to use a monospaced font in tables: (add-hook 'org-mode-hook (lambda () (variable-pitch-mode t))) (with-eval-after-load 'org (set-face-...
2
votes
0answers
40 views

Fulfil task if clocked more than X amount of time

I want to spend 1hr per day, totalling 21hr per week, doing each of my types of homework. (note: +6d/1w is there to give me a day of lee-way a week). Ideally I'd like to use org-clock to record how ...
2
votes
0answers
142 views

order agenda so all-day and multi-day duration items appear on top

My problem is with two of my main use-cases for time-stamped items (essentially events). Consider these two org-mode items: * Clojure Dojo at uSwitch <2016-11-14 Mon 19:00> * Trip to Jamaica &...
2
votes
1answer
464 views

org-agenda-files not setting after update?

I recently upgraded to emacs 25.1.1 and noticed my org setup wasn't working as usual. in my init.el I have: (setq org-directory "~/Dropbox (Personal)/org") (setq org-archive-location "~/Dropbox (...
2
votes
0answers
563 views

Tracking effort and time spent on task for project management

I would like to use org-mode for project management. With the :Effort: property, I can already track estimates of how much time a certain task will take, and displaying an %Effort{:} column is a great ...
2
votes
0answers
173 views

org-pomodoro - extending its function: popup windows and pomo logging

I'm using pomodoro method of focus-enhanced time allocation when I work in my tasks. In Emacs (I'm using Windows 10), here comes the org-pomodoro package for org-mode, where I can 'clock-in' an item ...
2
votes
0answers
1k views

preview math formula in org-mode

I would to include and preview some math formula inside an org-mode buffer, but can't find any way. I've read about auctex but how can I enable it in a non tex-mode ? Don't know really from where to ...
2
votes
0answers
236 views

Highlight indent guides in org-mode src blocks

is it possible to show indentation guides in org-mode source code blocks? I use highlight-indent-guides-mode for highlighting indention and it does not work in org-mode (I think this is because the ...
2
votes
0answers
337 views

Orgmode checkbox-list progress in column-view

I would like to have a Progress Column in Column view that shows the Checkbox count for headlines / subtasks . I can make the count show after the subtask / headline by adding the [/] cookie, but I ...
2
votes
0answers
53 views

Can I reuse Org's syntax highlighting in LaTeX mode?

Org-mode has a magical org-src-fontify-natively setting. With this on, org highlights each code snippet using the corresponding mode's font-locking support. Can I use this in LaTeX-mode? It would ...
2
votes
1answer
61 views

How do I convert scheduled recurring entries into clocked data?

I use org-mode for scheduling and logging in tasks. I clock in non-recurring tasks, however I find it strenuous to clock in recurring tasks. Is there any way I can mark the recurring task done and the ...
2
votes
0answers
42 views

Org-babel `set` src-block-info?

We have org-babel-get-src-block-info and org-babel-view-src-block-info. Is there anything similar to programatically (or preferably interactively) changing the choices from the src-block-info? If ...
2
votes
0answers
694 views

Embed a youtube video in org-mode buffer

I would like to display a youtube (or locally hosted) video inside an org-mode buffer, similar to how org-toggle-inline-images will preview an image file. How can I do this?
2
votes
0answers
39 views

How can I avoid escaping quotes when I export an org file to markdown?

"foo" becomes &ldquo;foo&rdquo; when I run org-md-export-as-markdown I just want it to export to "foo". How can I fix this?
2
votes
0answers
595 views

Customize text after task in custom org-agenda view

I've been writing my own custom org-agenda views lately, and I've had good luck playing around with org-agenda-prefix-format for customizing the format for my different tasks. I occasionally would ...
2
votes
0answers
241 views

Add org-mode clocktable column that is the product of a constant and the Time column

Here's a snippet from an optimistic org-mode file #+CONSTANTS: rate=100000.0 #+BEGIN: clocktable :maxlevel 2 :scope file :narrow 60! :header "#+NAME: billed #+attr_latex: :align l|r|r|r|r :...
2
votes
0answers
402 views

Using a function as an org-babel header argument

Say I am using org-babel to tangle code blocks from an org document. I have several blocks with random code in them. My goal is to dynamically tangle (or not) individual blocks following a condition, ...
2
votes
1answer
301 views

TBLFM insert new row with current time

I want to insert a new row at line 2 in a table (preferably using TBLFM), and I want it to be prefilled with the current date (col 1) and time (col 2). How do I insert a new row (something like #+...
2
votes
0answers
298 views

eldoc error: (error Variable binding depth exceeds max-specpdl-size)

I am editing org-mode files with a lot of source code blocks. These blocks contain my own pseudo code that looks like this: (A) {B} (C) (D) {F} (Z) When moving within these blocks there is a pause ...
2
votes
0answers
725 views

Column view in org-mode custom agenda command

I am trying to define a custom agenda view that includes two agenda commands: The first will list all unscheduled tasks with tag A (using standard view). The second will list all scheduled tasks with ...

1
3 4
5
6 7
22