Stack Exchange Network

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

2
votes
0answers
759 views

Editing odf - libreoffice/word documents in emacs

Does emacs support editing odf.odt, that is open document format files? There are some odf2org convertors available like python odt2org.py. On running the command python odt2org.py xyz.odf.odt, it ...
11
votes
2answers
424 views

How to change faces of org-mode links depending on the link type?

Org-mode offers a variety of different link types ([http], [file], [bibtex], [magit]...). However, they all get the same look defined by the face value for org-link. Is it possible to e.g. change ...
1
vote
1answer
485 views

How to exclude TODO state change messages from export?

Org-Mode can automatically track TODO state changes as described in the docs. It also allows the option todo: nil option, as mentioned here, so that TODO keywords will not appear in an export. It ...
7
votes
1answer
2k views

Programmatically add birthdays/holidays to agenda view in org-mode

org-mode offers a few built-in options to add birthdays/holidays to the agenda view in org-mode; however, there is no built-in support to add those dates entirely programmatically -- without manually ...
2
votes
1answer
860 views

org-anniversary entries not appearing in Agenda

What would prevent org-anniversary entries from appearing in the Agenda? Entries such as: %%(org-anniversary 2015 01 01) New Year's Day fail to show in the Agenda. I have toggled org-agenda-include-...
1
vote
1answer
231 views

How to programmatically extract configurations from a defcustom variable?

How do I programmatically extract key-value pairs from "Babel Languages" list in defcustom org-babel-load-languages section of org.el? I want to read the "Babel Languages" configuration into an org-...
0
votes
1answer
199 views

How to create org-mode recipe for melpa?

I'm trying to use github.com/milkypostman/melpa for creating a package from my own org-mode git repository. There are many recipes which I can create by make recipes/foo command, but there isn't the ...
5
votes
3answers
2k views

How to use my custom layout for generating HTML files from org files instead of using the default layout?

Something similar to this: emacs-org mode and html publishing: how to change structure of generated HTML I want to have more control on the layout of HTML files generated from org-mode files. The ...
2
votes
2answers
114 views

How create a function to navigate between text and header?

I tried org-mode, and I'm impressed. My org-file for notes is organized like this: Header 1 Sub header 1 Foo [ cursor here] Bar Sub header 2 Currently I use the function org-...
2
votes
0answers
214 views

Format <<<target links>>> in org-mode for printing

Is there a way to format target links created by org-mode when using radio targets such as the following: <<<some text>>> where that some text is linked back When outputting to ...
1
vote
0answers
316 views

Org Mode & Evil: Prevent editing of hidden text within collapsed subtree

I know that this can be avoided easily, in fact there is a previous question here that covered this matter before, but this only works if we are using Emacs without Evil or using Evil with the emacs-...
11
votes
6answers
1k views

in org-mode, how to remove a link?

How do I remove an existing hyperlink without having to wade in and manually delete a bunch of brackets? When I try to org-insert-link and just delete the existing link, I get Lisp error: (error "...
6
votes
1answer
415 views

“replace-string” with Org-mode capture buffer and link URLs

I want use Org-mode to keep track of e-mails. When I've read the e-mail, and added it to Org, I want to archive the e-mail but still have a link to the archived e-mail. Pretty much exactly this: ...
5
votes
1answer
126 views

Inline images appear shifted down relative to text

To speed up visually scanning my org file I would like to add icons to my headings. I am using 16x16 images which seem to fit well with the size of the font, but the images always appear slightly ...
2
votes
1answer
990 views

Specifying version when using extra latex packages with org mode

Somewhere long ago I read I could use additional latex packages in org-mode using: (setq org-latex-packages-alist '()) (add-to-list 'org-latex-packages-alist '("" "color" t)) (add-to-list 'org-latex-...
10
votes
2answers
361 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 ...
5
votes
1answer
355 views

How can I update ATTACH tags in org-mode to reflect reality?

In a Microsoft-centric workplace, I use task attachments heavily to store emails, design documents, and the like. Especially with email attachments, I'll usually open up the task's attachment folder (...
2
votes
2answers
170 views

Problems with backslashes in hyperlinks in Emacs org-mode on Windows

I'm struggling again with Emacs 24.4 and org-mode (version 8.3beta (release_8.3beta-1013-g187dae`` @ c:/Users/mbec.POLYWBR/Documents/sorga/org-mode/org_current/lisp/) I'm having problem with paths ...
8
votes
1answer
605 views

Is there a way to make tags work well with line wrapping in emacs org mode?

If the buffer is too narrow, if I make a tag for a heading, the amount of whitespace before the tag causes the tag to wrap past the end of the line onto a new line (I have visual-line-mode turned on). ...
4
votes
3answers
2k views

How to refile into a datetree

Is it possible to refile a dated item into the appropriate place in a datetree? I have seen some posts that describe the use of org-archive-location but I cannot get that to work - perhaps its the ...
13
votes
1answer
957 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?
5
votes
1answer
581 views

org-mode: List everything except certain tags in custom agenda view?

This documentation explains how to set up custom agenda views, and I understand the example code I've seen there. But there is one thing I'd like to do that might not be possible: I'd like to look ...
2
votes
1answer
90 views

How to delete a huge org-table

I forgot to type :results none in babel and now I have a huge table in my org file. How can I select all of those lines and delete them? When I try the straight forward approach of moving to the end ...
8
votes
2answers
5k views

org-mode: How to export underscore as underscore instead of highlight in HTML?

I am using org-mode, and the document I am writing has a table name whose name looks like this: tab_weekly_report. When I export the document to HTML, I expect the name to exported as ...
0
votes
1answer
524 views

How to find heading substrings with org-mode internal links

With point over the link here, org-open-at-point jumps to the following line ("ham eggs"): * spam ** spam [[ham%20eggs][ham eggs]] ** ham eggs Here however (final line extended), the same action ...
5
votes
1answer
768 views

Too much whitespace on setting org-mode tags

If I create the following in an org-mode buffer: * one ** two ** three then move point to the line containing "two" and do C-c C-c spam <RET>, I get this: * one ** two ...
8
votes
1answer
2k views

Adding “date completed” timestamp in org-mode

In org-mode, I would like to add a timestamp to a TODO marking the date completed. What is the best way to do this?
20
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 ...
4
votes
2answers
1k views

Viewing org-journal entries

I have installed org-journal and it seems to work well to create entries. However, I can't find and view them again. The documentation on EmacsWiki says to view the entry: In calendar view: ...
3
votes
1answer
1k views

What is the difference between reftex-citation and org-reftex-citation?

What is the difference between reftex-citation and org-reftex-citation? And where can I find the documentation for org-reftex-citation referenced in this answer? [1] Emacs manual: Creating citations
21
votes
2answers
2k views

Org Mode link to open directory in Dired

I'd like to have a link like [[file:~/projects][Projects]] open directly in Dired rather than Finder (I'm on a Mac), which is what it does now. Is there a way? (Of course there's a way. It's ...
3
votes
1answer
682 views

How can I hide a code block in the latex output?

I have the following line at the start of an org file to configure it to use listings for code blocks. #+name: setup-listings #+begin_src emacs-lisp :results silent :export none (setq org-latex-...
5
votes
2answers
293 views

How can I stop org-mode treating a number followed by a full stop as a bullet point?

I'm using org-mode to write some documentation. After changing some wording, fill-paragraph has arranged things so there's a number followed by a full stop at the start of a line. Like this: Blah ...
3
votes
1answer
210 views

How can I make Org expand sections while searching?

I search Org files with C-s or isearch-forward. However, when the match is hidden inside a code block in a child several levels deep, and everything is collapsed, it takes a lot of extra keystrokes to ...
10
votes
1answer
2k views

Export an org-mode file as a PDF via command line?

What command-line arguments do I use to get Emacs to export an org-mode file to a Beamer PDF? (I want to create a Makefile that produces a PDF when the user runs make.) I tried following this answer ...
15
votes
4answers
2k 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 ...
3
votes
1answer
68 views

Perform function until it returns user-error

I want to define a function org-move-subtree-top that calls org-move-subtree-up until it returns a user-error (in this case "Cannot move past superior level or buffer limit"). How can I do this in ...
1
vote
1answer
117 views

How to force Org to interpret Calc result as a column?

Here's an example: | low | high | students | F(students) | |-----+------+----------+-------------| | 0 | 30 | 15 | 15 | | 30 | 60 | 30 | 45 | | 60 | 70 | ...
23
votes
3answers
1k views

Smooth (mouse) scroll for inline images?

I display images in-line with begin_src & result blocks. However, for large-images, when I scroll past the bottom of the image, I get a 'jerk' and the whole image is scrolled away. Similarly if I ...
1
vote
0answers
161 views

org mode with clojure - can't get export to work

I'm a relative emacs newbie and have set up my emacs (24.4.1) to work with clojure. The gist of it is that I am now using the latest org-mode from git and loading it in my init.el (I am using prelude ...
4
votes
1answer
573 views

Relative dates in org template

I organize a technical user group and as part of that I use org-mode to schedule the same task tree every month so I remember to do everything for our meetings (food, speakers, projector, etc.) This, ...
2
votes
1answer
288 views

How to return to previous point after `org-clock-goto`?

In org-mode, C-c C-x C-j executes org-clock-goto, jumping the cursor to the currently active or most recently used clock. After using this, I almost always want to go back to the point where I was, ...
0
votes
1answer
129 views

Keyboard shortcut for publishing a specific org-mode project

Following this guide, I have setup an org-mode project "foo" that I want to (frequently) publish using a single keyboard short. Currently I have defined (global-set-key (kbd "C-c C-1") 'org-publish) ...
0
votes
0answers
203 views

`\setcounter` in latex block to typeset matrices with more than 10 columns

I typesetting a matrix with 12 columns in a latex block in org-mode and discovered I couldn't do it by default. Reading this question on the TeX stack exchange site made me think that I could just ...
2
votes
1answer
225 views

Adding graphable note to org-mode clock

In addition to monitoring how much time I spend on a task, I'd also like to note what's going on in that time block. It'd be useful to have it appear in the clocktable, or some other means so that I ...
5
votes
2answers
1k views

Counting sub-headings in org-mode using elisp

I'm wondering if there is a good method of counting subheadings of a particular heading in org-mode. For example, with the following, return 4 (non-recursively) or 7 (recursively). Note that I don't ...
2
votes
1answer
125 views

Problem with add-to-list in babel src block

When I execute a babel src block with add-to-list function like this: #+begin_src emacs-lisp (add-to-list 'org-src-lang-modes (quote ("plantuml" . fundamental))) #+end_src I will get this error ...
3
votes
1answer
437 views

How to get org2blog to use .authinfo.gpg

I have .authinfo.gpg set up and working as the authentication mechanism for ERC (with multiple IRC servers) and Gnus (with multiple IMAP servers) using the following in my config: (require 'auth-...
2
votes
1answer
429 views

Limit number of Org TODO items in a certain state

I am a big fan of Kanban. I wrote Kanban-Dashboards with a decent metric analysis in Filemaker Pro and in Excel. However, some features I missed there and since my workflow is moving towards Emacs I ...
6
votes
1answer
558 views

How to export headlines, including subheadings, without other contents in org-mode?

In the org-mode documentation regarding export settings, it describes arch as follows. Configure export of archived trees. Can be set to headline to only process the headline, skipping its contents ...