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
6
votes
4answers
3k views

org mode logbook note entry without logbook drawer?

Is there a way to make a logbook-like note without it always being stuck in a :LOGBOOK drawer? For example: - [2015-09-02 Wed 18:03] \\ * 12.3 Export settings :om:htmlexport: - ...
4
votes
1answer
1k views

org-mode different latex document class

I am trying to use tufte-book document class in org-mode. But for some reason, org-mode doesn't let me use it and says it is unrecognized. So I am going to the resulting .tex file and manually ...
11
votes
2answers
1k views

Get org link to insert link description automatically?

Q: How can I get a custom org link function to insert a description automatically? I'd like to store org links to files in a dired buffer, but would prefer that the link description be the file name ...
10
votes
2answers
1k views

How to automatically adjust an Org task state with its children checkboxes

I have several tasks in my Org file, one of which has items starting with a checkbox (but only those). They all have a statistic cookie at their end ([n/m]). I'm looking for a way to automatically ...
8
votes
2answers
673 views

Is it possible to add templates other than #+BEGIN_ #+END_ to org-structure-template-alist?

I've noticed that org-structure-template-alist changed (I'm using org-mode version 9.2) to automatically expand to #+BEGIN_<some block tag> #+END_<some block tag>. I wonder if it's ...
7
votes
3answers
168 views

Tracking when variables get updated

I have a problem with org-mode's agenda view. While I've set org-agenda-files to '("~/org/") invariably when I finally spin up M-x org-agenda I find that org-agenda-files just points to one org-file. ...
7
votes
1answer
914 views

Specify timezone in Org date format

When I write something like this: <2015-07-05 Sun 20:00 GMT+0>, and then try to edit it by pressing C-c ., Org removes the GMT+0 part. So, I think it's in a wrong format. Note: I don't want to ...
4
votes
1answer
519 views

any tools for making UI-based or email-based DEADLINE notifications in org-mode?

Are there any tools for making UI-based or email-based DEADLINE notifications in org-mode? It'd be nice to convert org-mode's pull-based DEADLINE access (via C-c a a) into a push-based system :)
4
votes
3answers
1k views

How to change Org-mode babel tangle write to file way as append instead of override by default?

By default, Org-mode will override current babel src block content on file original content (when the file already has content). For example, I have an org-mode file content as the bellowing block: #...
2
votes
1answer
2k views

Exporting code blocks to pdf via LaTeX

I am writing a report in org mode and would like to show some code blocks as seen in so many tutorials. Here is some official documentation, however it was written for org-mode 6.xx back in 2011. I ...
12
votes
3answers
1k views

Divider lines in org agenda?

Q: can I put divider lines in my org agenda view? My agenda buffer can get a little busy when I have a lot of things due. This busyness has the counterproductive effect of making me avoid looking at ...
8
votes
2answers
2k views

org-habit graph on todo list agenda view

I'm using org-habit, and the habit graphs show up nicely on the normal agenda view. However, I'd like to use the todo list with tag filtering, and there the habits look like normal todo items, ...
6
votes
1answer
248 views

Unwanted concatenation of multiple #+TITLE and #+AUTHOR when using #+INCLUDE

I have 2 documents, one of which I'd like to include in the other. The first is an assignment sheet, and the second the rubric I'm going to use to grade the assignment. I want to #+INCLUDE the rubric ...
5
votes
1answer
994 views

Make org-mode export to Beamer keep temporary files out of the current directory

Exporting to Beamer from org-mode creates a myriad of temporary files (the .tex file + files ending in .aux, .log, .toc, .fls, .nav, .vrb, etc.). Most LaTeX implementations now have an option (-...
4
votes
1answer
990 views

Display property value of each section in table like in clocktable

Context As far as I know it is possible to define properties for a section in a PROPERTIES drawer like this: * Introduction :PROPERTIES: :PlannedPages: 0.5 :ActualPages: 0.5 :END: You can see that ...
4
votes
2answers
587 views

Color-code a new generic character combination

I'm new to Emacs and Org-mode, this is a very basic question. Unfortunately the keywords are too common for me to find the answer. I would like to create a custom pattern to colour my writing input. ...
4
votes
0answers
821 views

How to embed external file contents in org file?

I'm creating a simple bash tool that uses various flags/arguments from the user, and I'm using an org file for the documentation. I have several examples and I'd like to include some explanation of ...
4
votes
3answers
966 views

How to type Org Mode's `M-` bindings in Emacs for Mac?

I'm having a hell of a time with getting Org Mode's key bindings to work. I thought that maybe the difficulties I was having had to do with what this page describes, since I was using Emacs text-mode ...
3
votes
1answer
695 views

How to make my own org-mode text emphasis work again?

This might be interersting: For quite some time I used the code block below in my custom.el to make my own emphasis definitions. This worked up to org 9, I think. Then all of a sudden when I needed it ...
3
votes
1answer
499 views

Using user prompted file name for org-capture in template

With the help of these questions, I managed to prompt the user for a file name in org-capture and combine it with a timestamp. (defun my/generate-org-note-name () (let ((name (read-string "Name: ")...
2
votes
1answer
403 views

Have short comments at bottom of table in org mode (beamer/latex export)

I'm trying to make a table like so: | | x | y | | a | 12 | 354 | | b | 45 | 65 | Then when I export it to pdf via beamer/latex I'd like to have a short comment below it (like Souce: www.google....
1
vote
1answer
115 views

How to pass newline (“\n”) string to noweb <<call>>

Trying to pass multiline argument to Org code block. If make direct call of block then it's Ok. But when call it through noweb ref then Error raised #+NAME: pr #+BEGIN_SRC elisp :results value :var n=...
10
votes
2answers
421 views

What's the relationship between ~foo~ and =foo= in org-mode?

Both =foo= and ~foo~ seem to be used in org for inline bits of code. How do they differ? Which should I use, and when? For example, from the ORG-NEWS file: If you want to exclude a headline from ...
8
votes
1answer
788 views

Use formula in agenda clockreport to convert time? (pomodoro count in Agenda)

I'm trying to make the Agenda Clockreport show how many pomodoros I've invested in a task. A Pomodoro is 25 minutes. For example, 1:15 hours of work is 3 pomodoros. I'm trying to customize org-agenda-...
6
votes
1answer
300 views

How to make org-mode understand alternate day/month abbreviations?

Q: How can I make org-mode understand alternate day/month abbreviations? org-mode uses the function org-read-date when entering timestamps, scheduling dates, and creating deadlines. One may enter ...
5
votes
1answer
806 views

How to debug org-mode export to Beamer?

When using org-mode to create Beamer slides, sometimes the error shown is "Pdf file ... wasn't produced" or the previous PDF file generated is opened (without the changes made) when the command C-...
5
votes
1answer
2k views

How do I configure class options for latex export in my .emacs?

By default org mode seems to configure 8x11 as the paper type when I export to latex. I always print to A4, so I would like all of my exports to specify a4 as the paper type -- e.g.: \documentclass[...
4
votes
2answers
290 views

How can I paste paragraph not to interrupt numbers in list org mode?

In list environment, after I copy several paragraphs, the next item number will change into number 1, How can I deal with that? For example, 1. aaa 2. aaa 3. aaa bbb <---this is what I copied ...
3
votes
1answer
503 views

Speedbar and org-mode only shows subheadings, but not 3rd level+ subheadings?

I'm toying around with Org-mode and Speedbar/Sr-speedbar. I like that it shows Task and subtasks. But it doesn't show anything lower, e.g: * Task (shown) ** subtask (shown) *** Sub-sub task (not ...
3
votes
1answer
871 views

Symbol's function definition is void: org-mobile-files-alist

EDIT: Now I can see the error only happens if I include certain code to do an automatic push, adopted from https://gist.github.com/3111823. It seems that this block of code wants to use org-mobile-...
3
votes
1answer
772 views

Custom sorting for agenda

I'm trying to build custom agenda block which would sort completed tasks by CLOSED property. org-agenda-sorting-strategy only supports ordering by SCHEDULED and DEADLINE properties, so I guess only ...
3
votes
3answers
260 views

Automatically installing the available version of org

Based on this reply, my code has the following function that installs its dependencies: (defun literef-install-packages() "Install any missing packages. The code is taken from `https://...
3
votes
3answers
1k views

Change the asterisk (heading identifier) to some other symbol in Org mode

I know that outline mode works like this in Emacs org mode * Heading 1 ** Heading 2 Is it possible to configure Emacs to take a different identifier than the *to identify headings? I have a ...
3
votes
1answer
240 views

Can org tables cooperate with my customized dates?

I have my time stamps customized as follows (setq-default org-display-custom-times t) (setq org-time-stamp-custom-formats '("<%a %d-%b %Y>" . "<%a %d-%b %Y %H:%M>")) My issue is that my ...
2
votes
1answer
273 views

Org-mode don't change relative URLs

How can I prevent Org from exporting [[/][site root]] as <a href="file:///">site root</a>?
2
votes
1answer
2k views

How to show org-clock (and org-pomodoro) timer in mode-line?

I tried the following methods in my custom mode-line, but they all failed. (setq mode-line-format (:propertize ;; TODO: concatenate the long string. ;; global-mode-string ;;...
2
votes
1answer
530 views

color specific days in different background in org agenda

a weird question. I want to be able to color specific days in different background in the Org-agenda buffer (created with org-agenda-list). I want it to be lets say every Monday and Wednesday. The aim ...
2
votes
1answer
551 views

Separate fill-column value for org-mode

I've set fill-column value to be 80. But, especially for org-mode I want a bit higher fill-column value. Is it possible for org-mode to have a separate fill-column value of say 100?
0
votes
1answer
58 views

Debugger entered--Lisp error: (wrong-type-argument wholenump -47) when press 'enter' in orgorg

Every time, I press 'Enter' in org docs it prompts Debugger entered--Lisp error: (wrong-type-argument wholenump -47) make-list(-47 nil) lisp-indent-initial-state() indent-sexp() paredit-...
38
votes
2answers
5k views

Intelligent spell-checking in org-mode

By default, the results of running M-x ispell-buffer in org-mode are very disappointing. Ispell looks inside :PROPERTY: drawers, which commonly contain things like :ID: 797495bd-581b-4a42-...
35
votes
9answers
12k views

Keeping my .org files in sync across multiple computers

How can I keep my .org files up to date across several computers, perhaps across multiple platforms(linux/windows)? I could keep all the .org files in git for example, but that would require me to ...
21
votes
4answers
5k views

Understanding SCHEDULED in Org mode

I've read the various manual pages about DEADLINE and SCHEDULED, and have used them both. I understand that DEADLINE is used in the Agenda to alert in advance about an upcoming deadline, and to ...
23
votes
4answers
5k views

org: How to sort headings by TODO and then by priority?

I often have a list like this: * Main heading ** TODO [#A] Make world better ** TODO [#B] Make Emacs better ** TODO [#B] Customize emacs ** DONE [#C] some task ** TODO [#A] Launch rocket to mars I ...
14
votes
4answers
3k views

Change table of contents title in Org mode according to document language

Is there an option which changes default title of table of contents in Org mode? My document is not in English so I want to translate table of content's title. Answer As JeanPierre said, It's about ...
12
votes
2answers
838 views

Syncing changes on a tangled file back to the original org file

I am using org-mode with fountain mode to write a screenplay. Org for organization and fountain for screenplay formatting. This is the code I use for this purpose : Settings for working with (...
10
votes
6answers
4k views

How to set a short-cut for #+BEGIN_SRC #+END_SRC?

I read the org-mode manual but did not find a short cut to insert: #+BEGIN_SRC #+END_SRC I guess I need to create a configuration in ~/.emacs to set a shortcut? Or, is there a shortcut but I did ...
17
votes
1answer
6k views

Can I export a specific table in an org file to csv from the command line?

I have an org file with multiple tables $ cat ~/foo.org #+Title: hello world * section 1 lorem ipsum #+TBLNAME: first-table | i | want | to | | export | this | table | #+TBLNAME: second-...
15
votes
1answer
682 views

Org-mode headings in multiple places at once? (transclusion)

I'd like to organize my headings in multiple ways at once. (with the same degree of flexibility that I have when organizing things in any one place - e.g. more than the Agenda provides) Ideally I'd ...
10
votes
3answers
385 views

Editing multiple source blocks in one buffer

I've got multiple source blocks which are all tangled to the same file. When I invoke C-c ' inside one block, only this specific block is shown in a new buffer. Is there a possibility to show all ...
8
votes
2answers
1k views

org-block-background font not having effect

I use variable-pitch-mode with org buffers. Normally I set org-block to fixed-pitch and the code between #+BEGIN_SRC and #+END_SRC are properly rendered as fixed width fonts, also with proper syntax ...