Stack Exchange Network

Stack Exchange network consists of 174 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.

34
votes
3answers
7k views

Good methods for setting up alarms (audio + visual) triggered by org-mode events?

I would like to have alarms set off based on org-mode events associated with specific times (or start times). Ideally these would be audio and visual, and able to be customised to some extent. I ...
5
votes
1answer
1k views

Org code block receives table without header

I'm trying to send an Org table as a lisp object to a code block for further processing with an elisp function. For testing I set up two code blocks, one that generates the table and another that ...
3
votes
1answer
910 views

Indented multi-tiered lists (and headings), with org-indent-mode?

I am new to Emacs, using it to structure text/ideas. After enabling word wrap from the menu and doing M-x org-indent-mode, I would like my document to look like this (the returns in the middle of ...
16
votes
1answer
2k views

How to specify default header arguments in orgmode code blocks

I'm tying to set default header arguments to the code blocks within my org file, like this: #+PROPERTY: header-args :session *my_python_session* #+PROPERTY: header-args :results silent #+PROPERTY: ...
2
votes
1answer
468 views

Org's Capture: annoying duplicated date tree outlines

(Environment: Emacs 24.4 stable with built-in org-mode.) I want to have a file+datetree for Org-mode's Capture, so I set like this: (setq org-capture-templates '(("D" "Diary + Timer" entry ...
0
votes
1answer
453 views

org-capture files entry under wrong datetree

My org-capture setup: (setq org-capture-templates '(("t" "Todo" entry (file+headline "~/org/gtd.org" "@computer") "* TODO %?\n %i\n") ("j" "Journal" entry (file+datetree "~/org/gtd.org" "...
4
votes
1answer
449 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 :)
3
votes
2answers
327 views

How to make org-mode timestamps understand a new abbreviation for “tomorrow”?

Q: How can I make org-read-date understand an abbreviation that calls a function that returns tomorrow's day of the week? The super-short version: I'm trying to get the timestamp functionality of +1d ...
17
votes
3answers
1k views

What's the point of delaying SCHEDULED items from displaying in org-mode Agenda?

One may set org-deadline-warning-days to have DEADLINE items show up a default number of days before the deadline in the agenda, or one may do it on a case-by-case basis by adding, e.g., -3d to the ...
2
votes
1answer
90 views

How to know the first and second level heading above the cursor?

I'm editing a 4.7M pure-text document, the task is simple, every book have chapters, and every chapter have each of its lines enumerated at the begin of the line, what I'm doing it putting the name of ...
1
vote
0answers
178 views

org :PROPERTY: “read only” and “no spell check”?

I have a very long document inside one org file, I plan to add more documents to it making many top level headers in it. I was wondering if there is a way to set a property to an org section making ...
9
votes
2answers
683 views

Can I set a particular file to automatically and silently accept changes?

That is, can I specify for a particular file that I don't want Emacs to notify me that the file has changed on disk and prompt me about whether I want to accept changes or not? I don't want to do ...
4
votes
3answers
1k views

File mode specification error: How to find syntax problem: Missing :END: line in org-mode properties?

When I launch my emacs software (Aquamacs.app) I see a message File mode specification error: (error ":END: line missing at position 23740") Unfortunately, I do not know in which file this problem ...
12
votes
1answer
2k views

Org-mode: Exclude specific headlines from TOC when exporting

Q: How can I tell org-mode to exclude specific headlines from the table of contents when exporting? For example, exporting * Headline 1: Put me in TOC * Headline 2: Put me in TOC * Headline 3: DO ...
6
votes
1answer
1k views

In org mode, how to export slide with bibliography?

I have been trying to include citations in the org file which I then export to beamer and using biblatex. It seems that slide of bibliography needs specifying environment like fragile or ...
1
vote
1answer
323 views

How to comment options in org-mode export to beamer?

Generally in the LaTeX or beamer preamble, we add some packages and options for reference and enable them if required. %\usepackage{someusefulpackage} In Org mode export to LaTeX or beamer, when I ...
11
votes
2answers
1k views

How to enlarge latex fragments in org mode at the same time as the buffer text?

I'm using org-mode in emacs, but I think the question is also relevant for auctex users. In org-mode you can show latex fragments, as the manual demonstrates. But: these fragments (mostly math ...
15
votes
2answers
7k views

Loading bibtex file in org-mode file

I'm trying to use org-mode to do almost everything. In my scientific writing activity, I would like to sketch a whole paper in an .org file and then export in LaTeX. I don't want to load the .bib ...
22
votes
1answer
3k views

Set the background of org-exported <code> blocks according to theme

I export org-mode files quite often, and almost all of them have code in them. When I do export code, it ends up coloring the text depending on my theme, however, I switch between a dark theme and a ...
2
votes
0answers
289 views

How do I get comments in a noweb expansion?

Given the org-mode file * File Description :PROPERTIES: :comments: org :tangle: file.sh :noweb: yes :END: ** A function call This is foo #+BEGIN_SRC sh :noweb-ref myfunction :tangle no ...
3
votes
1answer
356 views

org-mode skip to next headline?

How can I skip to next heading in org-mode? Say This is my org-file, pipe indicates the cursor: * Top ** Apple| ** Banana ** Cherry I'd like to run a command and have my cursor now be here: * Top *...
8
votes
3answers
666 views

org-mode goto last heading?

org-mode goto last heading in the current tree. Say This is my org-file, pipe indicates the cursor: * Top| ** Apple ** Banana ** Cherry * Middle ** Ape ** Bear ** Cat I'd like to run a command and ...
4
votes
1answer
1k views

live refresh of inline images with org-display-inline-images

Recently I've noticed the function I had been using to do refresh had stopped working and I had to change to a simpler call. I used to have: (defun k/org-babel-refresh-inline-images () (org-...
9
votes
3answers
2k views

Orgmode insert link from clipboard?

Is there a simple way to insert an org-mode link directly from the system clipboard? I'm thinking of selecting an URL in Safari, and inserting that link directly in an org-mode document.
12
votes
1answer
4k views

How to include the output of a shell command in org-mode source code block?

For example, I got a demo to show a command and its output, and I want to insert them into an .org file like a source code snippet of C or something. I then want to be able to export the file to an ...
7
votes
1answer
913 views

Org-mode: Can't display inline images when openwith-mode is turned on

I use openwith to open images and a number of other types of files in external applications. It works a treat, but gets in the way of displaying inline images in org-mode buffers: When I do C-c C-x C-...
6
votes
1answer
327 views

How to make org-mode DWIM when it reads times in timestamps?

Q: how can I make org-mode read the time in timestamps intelligently? org-mode uses org-read-date (which in turn relies on parse-time-string) to create/modify timestamps, scheduled items, and ...
6
votes
1answer
2k views

Clock Table Details in Org Mode

When I press C-cC-xC-r to print the clock report I get something like the following: Clock summary at [2014-11-05 Wed 13:33] | Headline | Time | |--------------+--------| | *Total time* | *0:...
47
votes
5answers
10k views

Can I use org-mode to structure my .emacs or other .el configuration file?

My .emacs configuration file gets bigger and bigger and I'd like to get a better overview and structuring by adding headings, subheadings and being able to hide or show them like I can do with Emacs ...
6
votes
2answers
2k views

Simple project management---org-mode, or another tool?

I'm a beginning emacs and org-mode user interested in the mode for personal project management. For example, I have a database of photo images: 2014-10-steven-and-his-cats.jpg 2014-10-steven-author-...
3
votes
0answers
262 views

How to get sauron-org to work for org-mode events?

For some reason I can't get Sauron to see my org-mode events. I can see that the sauron-org module has started though. Is there something else I need to enable/turn on to get Sauron to see org-mode ...
4
votes
2answers
422 views

apostrophe in org-babel export to latex and beamer

How can I get org-babel to properly render ' and not ’ when exporting to LaTeX and to Beamer? I didn't find any good solution yet, and I would like the code to be copy-pasteable.
4
votes
2answers
359 views

Greek characters in graphs produced by org-babel and gnuplot

I can generate plots using gnuplot source blocks with org-babel like the following: #+begin_src gnuplot :file plot.png plot x w l t "$\epsilon$ = 1", \ 1-x w l t "ε = 0.1" #+end_src which ...
8
votes
1answer
1k views

Display errors and warnings in an org-mode code block

I would like to be able to report warnings and errors when evaluating a Python code block in an Org file. When a code block has Python syntax errors, Org helpfully pops them up in a separate ...
11
votes
2answers
2k views

Can I include a common code block in two different code blocks in Org mode?

I have an org-mode file containing a table of data and two Python code blocks to extract different summaries from it. I would like to share some common constants and functions between these two code ...
3
votes
2answers
2k views

org babel eval with no confirmation is explicit: :eval yes

According to fniessen's babel reference I should be able to set :eval yes on a babel header line to make a source block evaluate without confirmation. However, this doesn't seem to work for me on ...
2
votes
1answer
478 views

Calling the calc stack from babel: displaying percentages

Calc supports displaying results as percentages with c %. How can I make babel return this? I tried: #+BEGIN_SRC calc 1 2 '/ 'c% #+END_SRC But this just gives an error. I also tried with a space ...
1
vote
1answer
309 views

Babel doesn't wrap results in verbatim

Here's an example: #+NAME: sys5 #+HEADER: :exports both #+BEGIN_SRC maxima :results raw programmode: false; solution: triangularize(coefmatrix( [ -3*x - 11*y + 7*z = 0, ...
1
vote
1answer
212 views

org-mode and reftex giving this error: reftex-using-biblatex-p: Stack overflow in regexp matcher

I'm trying to set upt org-mode and reftex-mode but I'm getting some troubles. Here is my init.el file: ;; ORG-MODE (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (setq org-agenda-files '("...
32
votes
9answers
10k 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 ...
5
votes
1answer
187 views

How to control SCHEDULED indenting

Org mode indents scheduling by default even though I don't indent my text. Can I configure it so that org-schedule doesn't indent?
15
votes
2answers
1k views

Turn a list or data structure into an org document

I'm writting a package which dowloads a list of healines, contents, and some other properties, which are to be displayed to the user. For the moment, an org-mode buffer seems like a good way of ...
14
votes
3answers
2k views

How to configure org-mode to respect system-specific default applications for external links?

In org-mode I can define external links for example as [[file+sys:path/to/document.pdf]] The file document.pdf is then opened with an external pdf viewer. The org-mode documentation claims that this ...
5
votes
2answers
605 views

org-mode: task sequence by categories

In an org file, is it possible to customize the task sequence by category? For instance, if I have a meeting, I would like to have it evolving through the states TODO and DONE, while if I'm tracking ...
8
votes
2answers
1k views

Using both fixed-width and variable-width font in org-mode

I would like to have an org-mode file with the following content: #+TITLE: My awesome Emacs file * My Header Here's some information under the header #+BEGIN_SRC sh echo "this is some code" #+...
3
votes
1answer
301 views

Promoting and demoting headers in orgstruct mode

It looks as if the promotion and demotion of headers using M-Right, M-S-Right, M-Left, M-S-Left is disabled in orgstruct-mode as per this emacs-orgmode GNU thread. Also, making direct function calls ...
4
votes
3answers
820 views

Trouble sorting customized priorities in org-mode

I'm trying to setup priorities other than A, B, C. (I want to do U, I, O; short for Urgent, Important, Other). Previously, I had set up custom agenda commands that sorted priority-down. I ...
7
votes
1answer
1k views

Sorting an org-mode table with horizontal lines

I have a table in org-mode which has the following format: | Name | email | number | |------------+-----------------+--------| | Doe, John | jod@example.org | 7 | | Doe, Jane | ...
8
votes
2answers
2k views

How to format/fill poorly-formatted bullet items in org-mode?

Q: how can I format/fill poorly-formatted items in an org-mode bulleted list? I'm trying to figure out how to make fill-paragraph work on poorly formatted bulleted items in an org-mode list. By "...
4
votes
2answers
429 views

How can I draft an mu4e message using the contents of an org subtree?

I keep track of my activity in an org-file. The latest status is always under the heading "Current" which I usually just cut and paste into IRC for our weekly meetings. However we are now asked to ...