The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
1
vote
2answers
201 views

In org-mode, how to export sparse tree in buffer without unmatched top-level headings

I'm using sparse trees to find tasks I need to work on in my buffer. The matching headlines are shown, without siblings but with their parents. For example, imagine I have the following tree: * A ** ...
1
vote
2answers
953 views

can I have a link to a specific point of an external org file?

Is it possible to have a link to a specific heading (e.g. identified by a CUSTOM_ID property) of an external org file? The only relevant example in the external links section of the manual seems to be ...
1
vote
1answer
638 views

Org-mode backend: access properties in heading

I currently begin to write a org-mode backend for a custom file format, so I can export from org-file to that format. Therefore I need to apply properties (or attributes) to headings. My prolbem is ...
1
vote
1answer
110 views

Calling a fuction after org capturing

Is there a way to call a certain function after a certain org-capture template has been run (successfully, ie. not aborted)?
1
vote
2answers
113 views

Is there a way to use org-mode to render generated code? [duplicate]

I'm new to org-mode, so I apologize if this is a silly question, but I couldn't find the answer on my own. I have the following block: #+BEGIN_SRC sh :exports both :results output verbatim code sed '...
1
vote
1answer
272 views

Can I use elisp code make a table and insert a variable into cell?

Can I insert a variable 'alpha' into @2$3 ? Does the function belong Emacs org? ** test elisp make a table #+name: make-table #+BEGIN_SRC emacs-lisp :results value (setq tol 0.1) (setq alpha 1.38) (...
1
vote
3answers
1k views

How can I get all file links in one org-mode file?

There are some local file links existed randomly in my org-mode file. most of them are image links, like (file:images/samples.png) along with some other urls. What I want to do is that parse all these ...
0
votes
1answer
205 views

org-mode table editor behaves strangely

With cursor in row 2, col 3 | a | b | c | | 1 | 2 | 3 _| Pressing <TAB> creates a new row: | a | b | c | | 1 | 2 | 3 | | | | | Type more than one character and press tab. Vertical ...
0
votes
1answer
101 views

Keeping org-mode outline after reverting buffer

Is there any option or other customization to keep the outline of an org-mode buffer (uncollapsed parts of the tree) after the buffer has been reverted (org-mode 9.0.1, emacs 25.3.2)? In my case only ...
0
votes
1answer
711 views

orgmode beamer: set image width for source block output?

This is one of my slides: ** Test image width *** First sub :B_block:BMCOL: :PROPERTIES: :BEAMER_env: block :BEAMER_col: 0.5 :END: #+header: :exports results ...
10
votes
2answers
2k views

Wildcard in org-agenda-files

I have a project base folder, ~/prj, inside of which I have many individual projects, 2014_prj1, 2014_prj2, ..., inside of which I have, among others, a doc folder. The layout looks like this: ~/prj ...
8
votes
1answer
789 views

Org calendar : change date language?

I am able to set the date language with (setq system-time-locale "LOCALE") but it doesn't affect the calendar. How can I change the language of calendar?
7
votes
2answers
762 views

Counting the number of days that have passed since a certain date

I have an org-mode document in which I wish to keep track of the number of days that have passed since a certain date. Is there a built in function for this, or will I be forced to write a custom ...
7
votes
3answers
3k views

in org-mode, how to insert timestamp with today's date?

In a Lisp function, how do I instruct org to automatically insert a timestamp with today's date? I found the function org-insert-time-stamp, but I don't know how to provide an argument for it that ...
7
votes
1answer
566 views

Org-mode code blocks do not inherit variable properties from enclosing nodes

When playing with the literate aspects of Org-mode I found a description here of how you can set up a var property of a node and how this would then be inherited by enclosed code blocks as a variable ...
6
votes
2answers
930 views

Multiple Scheduled Timestamps for One Task

Suppose I want to be reminded to water my plants on Monday, Wednesday, and Friday, AND on any of the following days, if for some reason I miss the scheduled days. I originally tried the following: **...
5
votes
0answers
380 views

Inherit SCHEDULED and priority properties

What is the reasoning behind the design of not inheriting the SCHEDULED and priority properties? Any notable use cases to support this behavior? On the contrary, actually inheriting SCHEDULED (or ...
5
votes
1answer
875 views

Schedule repeating Org event for day of month

Is it possible to schedule something in Org for the 2nd Sunday of every month, or some criteria like this?
5
votes
2answers
519 views

How to hide <<target>>s?

I use org-mode mostly (by far) directly within Emacs (as opposed to as a mark-up to be ultimately viewed through, say, a web browser or a PDF viewer). Therefore, I'm interested in ways to "hide"1 as ...
5
votes
1answer
590 views

org mode table formatting issue

Using a simple keyboard macro, I copied the Font Awesome Cheat Sheet into an org table. However, I experience some weird inconsistencies when it comes to the formatting - see the picture below: Any ...
5
votes
1answer
1k views

How do I change key bindings for org-mode agenda view?

org-mode agenda view has a bunch of commands accessible with a single key press. E.g. typing b moves backward in time to display earlier dates, and typing t brings up a dialog to change the TODO ...
5
votes
1answer
221 views

Specify repeater when setting deadline for org-mode TODO

With point on a TODO item in an .org file, I can use org-deadline (C-c C-d) to insert a deadline for the TODO. Is there any way to do this, and specify a repeater (e.g., +1w) at the same time? ...
5
votes
2answers
774 views

Exclude tag from default agenda view

In org-mode, M-x org-agenda a will display a built-in agenda view labeled "Agenda for current week or day". How can I exclude a tag from this view? Parenthetical clarification I know how to filter a ...
5
votes
1answer
201 views

Category based clock report?

I would like to make a orgmode Clock report that groups tasks based on their category rather than file name alone. This would allow me to have fewer todo files to navigate around in. I could not find ...
4
votes
1answer
713 views

Checkboxes: change bullet points to letters

I'd like to have an org file with 3 checkboxes listed with letters, instead of bullets, but they should remain fully functional. Instead of: [ ] Foo [ ] Bar [ ] Baz This: A [ ] Foo B [ ] Bar C [ ]...
4
votes
1answer
1k views

How do I set org-mode to use racket instead of Guile?

How do I set org-mode to use racket instead of Guile? I want to use emacs,org-mode and racket to go through the SICP. I can start Geiser, choosing Racket in the Start Geiser for scheme ...
4
votes
2answers
693 views

org-table alignment issues in osx

I am used to my tables aligning nicely when I hit C-c C-c in Linux. In Emacs for OS X (emacsforosx.com) this does not behave on my system. It works in Aquamacs.
4
votes
1answer
1k views

Preview Latex Fragment in org mode : blank square shown

I have an org file, where I put a LaTeX fragment to be rendered in line with C-c C-x C-l. It is a simple formula: \[ e^{i\pi} = -1 \] I have MiKTeX installed, latex and dvi commands work from ...
4
votes
2answers
565 views

Move point to current org heading

In Org mode: How can I move point (up) to the current heading (or the first line under the heading)?
4
votes
2answers
198 views

Show siblings of visible headers after hide-other

I'm using Outline mode (usually the minor mode, but it shouldn't matter) or Org mode. I have a file that looks like this: -*-outline-*- * Chapter 1 ** Section 1.1 *** Subsection 1.1.1 foo *** ...
4
votes
1answer
747 views

Automatically archive “DONE” entries regardless of keyword?

I want to archive an entry automatically when its todo state gets marked as done. The problem is that you can set up lots of different states that mean done. So a function like this will only work ...
3
votes
2answers
3k views

Can't Install org Through Package Manager

I'm trying to upgrade org in my setup by following the instructions here but I don't see org listed as an option. The instructions say to report it as a discrepancy but I'm thinking it's more likely ...
3
votes
1answer
906 views

Invoke Interactive Function From org-capture-templates

I have a function called create-org-link that creates a file link based on an arbitrary string that I pass to it. I would like to be able to invoke this function when I invoke org capture. Here's ...
3
votes
1answer
439 views

How can I temporarily disable Spacemacs key bindings to work with org mode?

I am trying to learn an orgmode tutorial in Spacemacs (terminal mode) and it seems tha the Spacemacs key bindings are getting in the way. How can I revert the Spacemacs bindings temporarily for that ...
3
votes
2answers
607 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-...
3
votes
1answer
654 views

How to display both output and value results in org mode for a source code block?

I have the following: #+BEGIN_SRC lisp :results value (dolist (x '(1 2 3)) (print x)) #+END_SRC #+RESULTS: : NIL I want my results block to contain both the output and the value for my ...
3
votes
1answer
954 views

No “CLOSED” line in org-mode?

Every tutorial for org-mode says that when you mark a TODO item DONE, it should add a line like CLOSED:[2017-08-06 Sun 12:00] When I mark something DONE, no such line appears. I first observed this ...
3
votes
2answers
326 views

open org mode link in a different browser to the default browser

Is there a way in the org mode syntax to create a link and to define which browser to open the link in? I have some links that I want to open in a different browser than my default one.
3
votes
3answers
1k views

Org-mode: How to disable automatic doc-view on emacs-25

On GNU Emacs 25.1.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.10.8) of 2016-04-25 Org-mode version 8.2.10 (release_8.2.10 @ /usr/share/emacs/25.1.50/lisp/org/) opening a pdf file link (f.ex. [[./...
3
votes
0answers
677 views

Org mode python session does not return a file name

In the following link you can find the following simple example: #+begin_src python :session :results file import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt fig=plt.figure(...
3
votes
2answers
127 views

Org-mode: how to collapse or merge contiguous clock time intervals [duplicate]

I use Org-mode in Emacs to keep track of time. I sometimes clock in and out of the same task back-to-back, leading to two contiguous clock time intervals, such as: CLOCK: [2019-02-27 Wed 10:21]--[...
3
votes
2answers
1k views

org-drill doesn't load with spacemacs configuration

I am trying to load org-drill in Emacs with spacemacs configuration. I have added the module into .spacemacs file as: (custom-set-variable ;; ... '(org-modules (quote (org-bbdb org-bibtex ...
2
votes
1answer
777 views

org-edit-src-code Do not pop a new window, use the current one

When I call org-edit-src-code to edit a SRC code on a buffer with the proper major mode, I get a new window configuration. For example, if I have windows 1|2, org-edit-src-code will delete window 2 ...
2
votes
0answers
421 views

org-publish-project-alist: :latex-header

Context When exporting Org-Mode documents to LaTeX it is possible to specifcy additional LaTeX header commands: #+LaTeX_HEADER: \subtitle{This is a subtitle} Using org-publish it is possible to ...
2
votes
3answers
867 views

All org subheadings in imenu?

imenu can be used in org-mode to quickly jump to a heading. It first prompts for the 1st level heading, and then asks for the 2nd level heading and so on untill the selected heading has no subheading ...
2
votes
1answer
182 views

Does org-babel for groovy take arguments?

I am trying to pass an argument to a groovy babel block but I'm not sure it accepts arguments? The documentation says that it is language-specific but I didn't find any documentation for ob-groovy. ...
2
votes
2answers
187 views

org-mode: wrapping sentence with '+' symbol to strike-through easily seems not working

I've known there's similar question How to strike-through or un-strike-through a region or line in org-mode? but no proper answer they've got yet. I just wonder how to make wrapped word or sentence ...
2
votes
2answers
239 views

How to <mark> code fragments in org-export

In this HTML source: <html> <head> <title>mark test</title> </head> <body> <h1>mark test</h1> <pre> <code data-trim> def add(a,b): ...
2
votes
2answers
1k views

Org repeated task doesn't repeat when DONE

Following the documentation, I set to DONE a repeated task with C-- 1 C-c C-t but this actually closes the task definitevely. ** TODO Things DEADLINE: <2016-01-17 Sun +1m> After typing C-- ...
2
votes
1answer
153 views

Strange encodings in ORG mode with German umlaute

I have a few org files encoded in UTF-8. Everything works fine, also with German umlaute (ä, ö, ü, ß). These files I sync with Git between different PCs (mostly running Debian). When I synced one of ...