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
16
votes
2answers
2k views

Using Org Babel to tangle to a variable file name

If I have a code snippet that I tangle to a file, but I expect the file name to change over time, Is there a cleaner way to change the filename than Query-replace? For example, say I tangle code to ~/...
16
votes
1answer
642 views

I want to have the <kbd> tags for my blog written in org-mode

I write and publish my blog with org-mode and org-page. The thing is that I want to write about Emacs and, I would like to have the keystrokes highlighted as Stack Exchange does with the <kbd> ...
16
votes
2answers
2k views

org-mode with bug tracker jira

i am keen on using jira with org-mode . org-jira-mode looks like a potential candidate but i use HTTP REST in most scenarios, and i don't want to break my head with soap protocol for the sake of org-...
16
votes
1answer
3k views

Org-mode calendar integration?

Calendar (invoked by M-x calendar) has diary integration feature. By this, one can view any special date on the calendar buffer (the day will be colored if there is diary entry for that day), and view ...
15
votes
2answers
2k views

Python org-mode source block output is always ': None'

This is my source block: #+BEGIN_SRC python print "hello" #+END_SRC The output is always: #+RESULTS: : None This is my org-babel configuration: (org-babel-do-load-languages 'org-babel-load-...
15
votes
4answers
3k views

How can I specify the filename for org-mode export in Emacs?

My org file is named README.org and I want to export to Markdown into a file named README. Every time I run the export it writes to README.md. Here is my org file: #+PROPERTY: EXPORT_FILE_NAME thing ...
15
votes
2answers
8k 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 ...
15
votes
1answer
6k views

How do I use org-mode's checkboxes?

I'm unsure how to use checkboxes in Emacs. I'm using Emacs 24.3. The documentation suggests the use of org-toggle-checkbox as "With a single prefix argument, add an empty checkbox..." I've tried ...
15
votes
2answers
2k views

Is there a possibility to have multiple agenda views open at once?

I have a custom agenda view which shows the Items I did last week and the items I have to do in this week. This view is based on a filter of TODO items. However, it would be good to see scheduled ...
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 ...
15
votes
3answers
3k views

Exporting unicode characters to pdf using latex from org mode

Hello Good people of Emacs! I'm having trouble exporting unicode math symbols from buffer (org-mode) to pdf file. 1. Problem Description: Symbols are inserted to the buffer as unicode characters (...
15
votes
3answers
607 views

Correcting and maintaining org-mode hyperlinks

This is a two part question having to do with link rot. Does org-mode provide any functionality for validating hyperlinks, especially local ones? This could be used to combat link rot after the fact. ...
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 ...
15
votes
2answers
2k views

How to bind a key to a specific agenda command/list in org mode

I've added a custom key for the org agenda to show all unscheduled TODO items following Sacha Chua: (defun sacha/org-agenda-skip-scheduled () (org-agenda-skip-entry-if 'scheduled 'deadline 'regexp "...
15
votes
2answers
7k views

how to use org-plus-contrib?

I would like to use org-mode's contributed packages: http://orgmode.org/worg/org-contrib/ [EDIT] SOLUTION: As per answer below: 1) First one should have the elpa packages added. (require 'package)...
15
votes
2answers
961 views

Orgmode export: how to prevent a new line for comment lines

Currently my orgmode (v8.3.4), when exporting to LaTeX (and maybe other formats but I haven't checked), generates a new line for a comment line or a block of consecutive comment lines. This is ...
15
votes
1answer
2k views

Birthday in org-contacts

I am a beginner in org-mode (and Emacs, for that matter), but I thought that org-mode would be a good place/format to store my contacts. One thing I like to do is to add birthdays to contacts. I found ...
15
votes
1answer
784 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 ...
14
votes
3answers
2k views

Changing the appearance of org-mode “hidden contents” ellipsis

In org-mode, when the contents of a subtree are hidden you see something like * Some tree :PROPERTIES:... ** Another One... Is there a way to change those ... to something else? I'd like to use ...
14
votes
2answers
8k views

Hide \author, \date, and \title when exporting to pdf with org-latex-export-to-pdf

I am very new to LaTeX and exporting org-mode files to pdf. When I run the command org-latex-export-to-pdf it adds a title, author name, and date to the top of the exported pdf. Looking at the ...
14
votes
3answers
6k views

Label and reference LaTeX equations in org-mode

This is similar to Org export to latex and HTML references, but for equations. I like to use LaTeX math snippets in my org-files, as in * The Quadratic Equation The roots of $ax^2 + bx + c$ are ...
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 ...
14
votes
1answer
1k views

Make Org report: “Bob's 21st birthday” like imported diary entries do

When you have: (setq org-agenda-include-diary t) set, then an entry in the ~/diary file like this: %%(org-anniversary 1950 02 14) Bob's %d%s birthday displays as: Diary: Bob's 65th birthday ...
14
votes
1answer
502 views

Generating output in a different language with org mode

Given the following is intended to generate C++ code: #+BEGIN_SRC python :exports both :results output code print "struct Whatever{};" #+END_SRC The result is inserted as follows: #+RESULTS: #+...
14
votes
4answers
1k views

do not keep org-agenda-files open after generating agenda

Generating today's agenda in Org-Mode (C-c a a) opens the files in org-agenda-files. I don't want Emacs to open these extra buffers. Is there an easy way to tell Emacs not to open these buffers? (or ...
14
votes
3answers
3k views

How to copy links OUT of org-mode?

There's lots of documentation about inserting or storing org-mode-links, but apparently none about copying them to buffers in other formats. How do you copy the URL of an org-mode-link from an org ...
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 ...
14
votes
0answers
451 views

Resolving duplicate ID's in org-mode

For a variety of reasons it's possible to end up with duplicate heading Id's (manually-set ID conflicts, copy pasta, duplicate files, etc.). When refiling you may get a message WARNING: 17 duplicate ...
13
votes
8answers
4k views

how to jump directly to an org-headline?

If I'm in an org file, I want a command that narrows a candidate list, in ivy/helm style, comprised of all org headlines in the file and lets me choose the headline, through fuzzy searching, to which ...
13
votes
4answers
2k views

Is it possible to create an org-mode *scratch* buffer?

While working on a document in emacs I often find myself opening a new buffer, doing something in org-mode, copying the org-mode content, and pasting it into my document. I used to create a new org-...
13
votes
2answers
2k views

practical limits on org-mode file size?

I have an org-mode file that's running around 6,000 lines with a hundred or so top-level headlines. It's started to take around a minute to load or save, and occasionally it sends emacs into the weeds ...
13
votes
1answer
1k views

Make org-mode markup symbols invisible?

In Emacs, one can use asterisks * to achieve bold font, for example, *bold*. My question is can I make the asterisks invisible? i.e. bold instead of *bold*. Same question for strike through, italics, ...
13
votes
1answer
3k views

Get a timeline of clocked time in org-mode

In an attempt to figure out how I've been spending my time, I've started logging my time spent on different tasks with org-clock-in and org-clock-out. I often find myself editing clock entries by ...
13
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 ...
13
votes
3answers
2k views

Code-block specific interpreter in Org Babel

Is it possible to have, in the same org file, two code blocks in the same language that are run in different interpreters by specifying different options at the top of the code block?
13
votes
1answer
1k views

Flexible org TODO dependencies?

I'd like to have org-mode do what OmniFocus does; when the bottom task in a sequential list is completed, the next task in the list becomes visible in an Agenda. Any thoughts on how I might try to ...
13
votes
1answer
1k views

Text alignment in org-mode numbered lists?

Q: Is there a way to prepend zeros to org-mode numbered lists? Text alignment in numbered lists starts to look unpleasant when numbers get into the double digits: * A numbered list 1. Item 1 2. ...
13
votes
1answer
605 views

Is it possible to have the entire org-table use math environment?

I have an org-mode table that needs to have some math text in each cell. Wrapping every cell with $ both looks ugly and takes much more space than it deserves. Is there any way to somehow put the ...
13
votes
1answer
791 views

How to control in which window a buffer is displayed?

Q: how can I control which window org-deadline uses to display the calendar? org-deadline temporarily pops up the calendar buffer in a window when setting a deadline, and then closes it again after ...
13
votes
1answer
641 views

Set default language for code-blocks in orgmode

Is there a way to define a default language for org-mode code blocks in the docuement header? Usually, within one org document, I only use one programming language, so it's getting tiresome to always ...
13
votes
1answer
1k views

How to Strike out DONE items in org-mode?

I saw some folks have a way to strike out DONE items in org-mode. How do you do that?
13
votes
2answers
2k views

Can I make links in Org Mode that contain brackets, [ or ]?

Is there someway to escape brackets ([ and ]) so that they can be included in the description of an Org mode link? The following link doesn't work, for example: [[http://mathoverflow.net/questions/...
12
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 ...
12
votes
3answers
3k views

in org-mode, how to view TODO items for current buffer only?

In org-mode, I like to run org-todo-list, which displays the global todo list including all my org-agenda files. How do I view a TODO list for only the current buffer, ignoring my other org-agenda ...
12
votes
3answers
971 views

Prevent org-mode from swallowing file-local variables

It is sometimes convenient to define file local variables with comments such as the following, which must be at the end of a file. # Local Variables: # fill-column: 80 # End: However, in org-mode ...
12
votes
3answers
575 views

Can I have two views on a file - one narrowed one not?

I am editing some file, abc.org, and call org-narrow-to-block to narrow to a code block that I want to edit. For the editing process I have to access another part of abc.org and just want to show it ...
12
votes
2answers
3k views

How to put TODO faces in the file?

I have defined the following TODO states in a org-mode file: #+SEQ_TODO: TODO(t) WAIT(w) | DONE(d) And I have customized the colors for the TODO states: Hide Org Todo Keyword Faces: INS DEL Cons-...
12
votes
4answers
610 views

Reducing LATEX_HEADER clutter at the top of my org files

I often write notes in org mode and export them to latex. However, because some documents are complex I need to include many latex packages at the top like so: #+LATEX_HEADER: \usepackage[margin=1....
12
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 ...
12
votes
4answers
3k views

How can I escape the * in org-mode to prevent bold fontification

If I write something like *shrug* in org mode, it will be automatically fontified as bold text. How can I prevent that, i.e. actually having *shrug* appear verbatim when exported? Edit: I still ...