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
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
698 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
297 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
212 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
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 ...
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
118 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
581 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
293 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
130 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
226 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
129 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
438 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
431 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
564 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 ...
4
votes
4answers
297 views

org-table, how to compute Coefficient of Determination between two time fields?

I have two time fields. My productivity and sleep. I would like to run a Coefficient-Determination (As described here: http://www.r-tutor.com/elementary-statistics/simple-linear-regression/...
5
votes
1answer
570 views

Does org-mode use some markup language?

Does org-mode use some markup language? What is the language called? I found that it is similar but different from Markdown. Thanks.
6
votes
1answer
958 views

How to allow org-babel to play with python virtual environment?

I have virtual environment set on my system (actually virtualenvwrapper). I would like to direct org babel to use a specific environment in a single code block or on the whole buffer. How can I do it?
1
vote
0answers
69 views

Conflict on the meaning of * when including Org mode files in a calendar diary

I want to include org-mode files into the default diary file of calendar mode, but there is a problem: the * symbol is used to match unspecific day. for example, ** 2nd heading in the ~/diary file ...
0
votes
0answers
267 views

Custom Agenda View based on headers?

I use a pretty basic notes file that has headers like: * Next Actions ** action 1 ** action 2 * Deferred ** deferred 1 ** deferred 2 etc. I rarely use tags or todo states on the elements of my lists....
2
votes
1answer
312 views

clocktable tag filter not working?

I try to make a clocktable report that filters by tags like so: #+BEGIN: clocktable :tags ("REP") :tstart "<-6d>" :tend "<now>" ... #+END: But I get an error: Wrong argument type: ...
4
votes
4answers
3k views

Org-mode: No images to display inline

I am trying to display images in org files. I have used links such as [[file:~/path/to/image.png]] When I click on the link, it gives me another buffer in which there are only symbols. When I put ...
5
votes
2answers
955 views

Can i assign tags to list items in orgmode?

Is there a way to assign tags to list items and not just to headings? I can't seem to find anything relevant in the orgmode manual.
7
votes
0answers
953 views

How to better align tags in Org Mode using variable-width font

I prefer using variable-width fonts in Emacs whenever I can. That said, Org Mode tags are horribly aligned when headings use variable-width fonts, even if the tags themselves use fixed-width fonts. Is ...
1
vote
2answers
1k views

How to include a custom footer on the bottom of every page in org mode export?

How would I create a footer on the bottom of every page? Ideally, I wish I could just add: #+FOOTER: Confidential. And then it would include it. How easy would it be to do that? Otherwise, is there ...
2
votes
3answers
1k views

Exclude table in org-mode export

While I enjoy the table mode of org and love the way I can work with the data in these tables with eg Python or R I am currently stuck with a simple problem: How can I exclude the table from being ...
10
votes
3answers
1k views

Org-Mode: How to create an “org mode markup” keybinding?

I know I can use *bold*, /italic/, _underline_, =verbatim=, ~code~, and +strike-through+ to apply markup to text in org-mode. But how do I create key bindings for applying these changes to a region of ...
7
votes
2answers
4k views

A search interface for org mode files

I use org-mode to take notes. Currently I have a root directory, say, "Notes", and there are several subdirectories inside it, for example, "Linux", "Programming", etc. The notes taken using org-mode ...
7
votes
1answer
943 views

Can you have org-mode headings with checkboxes?

I'd like to have this sort of functionality: * TODO master task ** [ ] my subtask 1 << checkbox in heading :-D ** [X] my completed subtask With the C-c C-c combo checking/unchecking such ...
5
votes
1answer
399 views

Emacs Orgmode: hiding other items in the tree

I have an org file, that looks like: * Item 1 ** Subitem 1.1 * Item 2 ** Subitem 2.1 This text from Subitem 2.1 ** Subitem 2.2 I am editing text under Subitem 2.1. Is there a way to hide everything ...
5
votes
2answers
653 views

Stop org-mode from defining agenda files in custom

I have the following line in my .emacs: (setq org-agenda-files (directory-files "~/org-files" 'absolute "[^#]*.org$" 'no-sort)) I would like for org-agenda-files to be defined in this way on startup....
0
votes
1answer
273 views

Can org-babel 'result' not insert a newline at the end?

When I run a snippet of code (C-c C-c) (e.g. for making a PlantUML diagram), there is a trailing new line in the results, e.g.: #+BEGIN_SRC plantuml file hello.png ... #+END_SRC #+results [[img] &...
7
votes
1answer
2k views

Execute src block on org mode export

I have some sort of fundamental confusion about using src blocks in org mode. I define a custom latex class in an emacs-lisp src block at the top of my org file. Export fails however, unless I ...
3
votes
1answer
335 views

Auto-complete mode (inside?) predictive mode & org-mode?

There are many 'prediction' frameworks for emacs, I'm a bit puzzled as whether and how they integrate with one another. I'm looking for something that learns words I type and predicts them. Also ...
5
votes
1answer
148 views

bibtex2html options in org-mode publishing

How do I pass the bibtex2html option -nobibsource when publishing via ox-bibtex.el? I have added it directly to the ox-bibtex.el file by commentling out line 265 and adding my own: ;;'("-a" "-nodoc" "...
3
votes
1answer
581 views

How can I export to LaTeX every time I save an Org mode buffer?

I'm trying to set up a buffer-local behavior so that optionally, only after I execute the babel section, Org exports to LaTeX asynchronously after each save. I tried the following: (defun kdm/org-...
6
votes
1answer
2k views

Hide inline images and show links in org-mode

On using an image link as, [[./hello.png]] in org-mode, emacs doesn't toggle the inline image display. org-toggle-inline-images works well on start-up. I run a presentation using M-x epresent-run ...
4
votes
0answers
129 views

Special characters (e. g. umlauts) not displayed correctly in *Org tags* fast tag selection buffer

In the "Org tags" buffer (the buffer showing the fast tag selection keys when pressing C-c C-c C-c in a headline) some fast selection keys are shown as e. g. [\212] instead of the actual key. How can ...
5
votes
2answers
1k views

How to insert the content of a org-mode's code block inside <pre><code> tags when exporting to HTML?

When exporting to HTML, org-mode renders a code block in a very ugly way, I don't like that. I want to use HighlightJs to highlight my exported code blocks. But, how do I tell org-mode to simply ...
2
votes
0answers
139 views

Appt desktop notification system for org-mode? [duplicate]

I'm on Linux and I've been trying to set up a reliable notification system. E.g I have a task like this: * TODO submit weekly report SCHEDULED: <2014-03-04 WED 16:30> I would like a ...
3
votes
0answers
64 views

Can org-clock-display be made show estimates also?

Currently, when you work with entries and clock things in/out, you can press: C-c C-x C-d to display totals of entries next to them. This uses the function org-clock-display: source code here It ...
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-...
2
votes
1answer
247 views

Org-mode don't change relative URLs

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

Org-mode: Disable `t` + `TAB` => `# TODO: ` autocomplete feature

There is a built-in org-mode shortcut where a t character followed by TAB key results in an auto-complete function that produces the # TODO: string literal. How can I disable this? Even better, how ...