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
3
votes
2answers
498 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 ...
18
votes
3answers
2k 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
95 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
216 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
786 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 ...
14
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
2k 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
430 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 ...
12
votes
4answers
2k 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 ...
16
votes
2answers
9k 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 ...
24
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
319 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 ...
4
votes
1answer
522 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 *...
10
votes
3answers
991 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 ...
6
votes
2answers
2k 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
3k 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
5k 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
970 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
433 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
3k 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:...
48
votes
6answers
15k 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
288 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
483 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
445 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 ...
13
votes
1answer
2k 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 ...
13
votes
2answers
3k 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
3k 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
581 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
353 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
222 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 '("...
38
votes
9answers
14k 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 ...
6
votes
1answer
215 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
2k 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
3k 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
784 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 ...
9
votes
3answers
2k 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
335 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
4answers
1k 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
523 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 ...
7
votes
2answers
2k views

Relative path link to .xls file from org-mode

I want to be able to link to an .xls file from org-mode. Reading up online this seems to be the way to get the links to open correctly, however even if I change the link type to `file+sys' the file ...
7
votes
2answers
1k views

How to remove 'SCHEDULED' timestamp when changing TODO state to WAITING

I have some item in an org buffer marked as TODO and having a scheduled timestamp: * TODO do something SCHEDULED: <2014-11-02 Sun> How do I cause the SCHEDULED timestamp to be removed when I ...
1
vote
1answer
657 views

Is there a way to set the global agenda sorting?

I know that I can setup custom agenda commands with sorting specified using: (org-agenda-sorting-strategy '(priority-down todo-state-up)) Is there a way to set the global agenda sorting somehow?
7
votes
2answers
429 views

Controlling the order of output with Org-Babel

Consider the following Org file: #+PROPERTY: tangle "init.el" #+PROPERTY: noweb yes * A #+begin_src elisp ; initialization code ; this *must* come first #+end_src * B #+begin_src emacs-lisp <<...
15
votes
1answer
2k views

syntax highlighting in source blocks

I thought that org-mode highlighted source blocks with the relevant mode. So for example: #+BEGIN_SRC clojure (defn plus [a b] (+ a b)) #+END_SRC This would show up with the syntax highlighting ...
11
votes
3answers
10k views

How should I write inline equations in Org Mode so they export to LaTeX properly?

I have a sentence with the words 42 m s^{-1}. When this is exported to LaTeX it exports as 42 m s$^{\text{-1}}$. How should I write it, or what flags should I set in the #+OPTIONS: line, so that it ...
6
votes
1answer
176 views

Don't reposition Org Agenda buffer when starting TODO

When I change the state of a TODO item in Org-Agenda (i.e., by hitting t), it repositions the buffer so that that item is at the top of the screen. I don't want it to do that — I'd rather just keep ...