Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
0answers
115 views

How to make orgtbl-mode use org-entities in other major modes?

Org mode provides a variable called org-entities that contain replacements for latex symbols like \alpha, \beta etc. Org also provides a minor called orgtbl-mode which allows text that starts with a ...
4
votes
3answers
390 views

Display org-mode src R results horizontally

Is there a way to show the results of a Source Block horizontally, or equivalently to transpose an org-table? For example, I have the following: #+begin_src R :results table c('a','b','c') #+end_src ...
0
votes
0answers
108 views

Set default timing for reminders/warnings, without identical intervals

In what follows, I use the terms "warning" and "reminder" synonymously. By default, I would like Org to visually warn me of upcoming appointments, at the following times: 15 minutes in advance; 1 ...
0
votes
0answers
111 views

How can I make tags-search able to find created timestamps containing both date and time?

I have made a tags search to filter out todo's created today: (setq org-agenda-custom-commands'( ("d" "todo's made today" tags "TODO=\"TODO\"+Created=\"<today>\"" ( (org-agenda-sorting-...
9
votes
1answer
1k views

Code blocks that produce org tables to be later consumed by other code blocks

I am having a bit of trouble with code blocks that produce org tables to be later consumed by other code blocks. For example: #+NAME: upper_air #+BEGIN_SRC clojure :results output raw (clojure....
4
votes
1answer
469 views

How to make a capture task template that stores a new task at point in the file I am in?

Org capture is a great tool for capturing notes and task when doing other things inside Emacs. The captured item is stored in a specified file for later review, and the point jumps back to the file it ...
5
votes
0answers
136 views

How to link from parent source block to child block (included via <<noweb>>)?

When exporting the documentation (HTML or PDF) for a literate program that uses noweb references in blocks, how can I get the output to actually hyperlink the <<noweb_snippet_name>> line (...
3
votes
4answers
915 views

org mode links: open in new tab

I am generating a slideshow using org-reveal, and have links to other web-pages. During the presentaion (conducted from the browser), I would like clicking on these links to result in opening the ...
2
votes
1answer
355 views

Org Agenda faces do not appear after applying themes

In my Org Agenda all text except for priorities use the "default" face. Until recently I would see colourful text for say, todo status. I was playing around with custom themes, so I may have broken ...
2
votes
1answer
316 views

How can I extend org symbols table?

I use org UTF8 character substitution all the time, for example to go from \beta to β (enabled with the org-pretty-entities variable). However some standard symbols are missing and I'd like to add ...
1
vote
0answers
568 views

Interleave.el opens pdf in Fundamental

I got the interleave package up and running and started using it. Now I try to M-x interleave a new document from the org file and it tries to open the document in new file Fundamental mode buffer ...
2
votes
1answer
1k views

Insert tasks at agenda/calendar view

I am thinking about mimicking Outlook interface on this. Let say I am planning my week, and I see that on Tuesday next week I don't see any todo there. So, I move the cursor to the date and hit some ...
7
votes
2answers
1k views

org-babel and remote sql commands

I'm using org-babel to do litterate programming and I find it very convenient. I am able to execute shell commands on remote hosts, and local database commands with the postgres client. To open a file ...
2
votes
0answers
90 views

org-journal-mode new entry ignores .dir-locals.el

I am using org-journal-mode. I have created .dir-locals.el in my ~/Documents/journal directory and it gets correctly applied if I open a file the usual way. However, if I hit the C-xC-j to add a new ...
3
votes
1answer
1k views

executing scheme in org-mode babel

I want to write a scheme program in an org file. I want to be able to execute the #+SRC blcoks and see the result in #+RESULT: block. However, when I execute the #+SRC_BEGIN/END I get no output. ...
6
votes
1answer
194 views

Org tags, Org properties, or ? for SRC and VERSE blocks

I'm writing a musical in collaboration with a composer. We're using org-mode, but neither of us is an expert. I'm using #+SRC blocks for occasional Lilypond code and #+VERSE blocks for lyrics, viz: **...
4
votes
0answers
336 views

How to update org-mode default template?

I use C-c C-e -> # -> default to insert the default template for org-export. But some of the value of the options are not what I want. How could I modify the default template (change values or add ...
8
votes
2answers
644 views

How to automatically tangle another source block to file when evaluate a source block in org-mode?

The source block what I want to evaluate (src2) need to source a file which should be the tangle result of another source block (src1). How could it make the tangle to file automatically everything ...
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 ...
3
votes
1answer
343 views

How can I speed up individual commands?

When I call commands such as helm-apropos and custom Org agendas there is often a noticeable delay between the key sequence and the results presented. How can I speed up these commands to respond ...
1
vote
0answers
228 views

Export a particular org heading with elisp?

I'd like to specify a heading (using either link or agenda syntax) and export just that heading as a file, using elisp. I'm not trying to do this - since this specifies the file to export to in the ...
3
votes
1answer
1k views

Sum to end of row in Org Mode Spreadsheet

I've tried both of the following formulas: =vsum($4..$>) =vsum(@0$4..@0$>) It seems like either of these should work.
4
votes
1answer
798 views

Exporting “Artist-mode” drawing to PDF through Org-mode

Do you know how to export an Artist-mode drawing using the Org-mode export feature?
2
votes
0answers
355 views

orgstruct-mode error: S- must prefix a single character, not ISO-leftTAB

I am trying out orgstruct-mode with python-mode (but I've also tried go-mode with the same result). If I enable orgstruct-mode and press S-TAB I get the error S- must prefix a single character, not ...
6
votes
1answer
640 views

how to get today's total logged time programatically?

I'm trying to set the title of my emacs to how much work I've done in total. I would like to get the time I've logged today programatically. (like when you open agenda and press 'R'). How do I do ...
5
votes
2answers
409 views

Emacs interface to a pastebin site that supports org-mode-style syntax highlighting?

I've been using emacs-pastebin but all my pastebins wind up as plain text. Is there a way to set emacs-pastebin so that pastebins are set to LISP format by default? Better yet, is there a pastebin ...
6
votes
2answers
747 views

org-habit: Any way to mark “skip” for this day?

Sometimes the habit is just temporarily inapplicable. For example you set a habit to clean your house once a day, however say you're out for vacation for 2 weeks, obviously you can't clean your house ...
1
vote
2answers
485 views

Disable table mode in org mode

I use org mode to write notebooks for my research. I often put equation on line of their own, using M-o M-s to center the equation. However, when I have an equation like |a+b| ≤ |a| + |b| the ...
8
votes
1answer
238 views

Fold region of org file

Is there a way to fold a region in org-mode? (Not the whole file, and not an individual item, but a region containing multiple items.) Often I want to collapse only a portion of an org file, say ...
2
votes
0answers
311 views

How can I export particular org files/headings with export settings to specified filenames?

I'd like to export headings with particular names/tags, with a particular set of export options, to particular file locations. I'd like to do this all via elisp, so that I can have it part of a ...
2
votes
1answer
95 views

Why is my elisp function not accepting a second parameter?

@Juancho gave a great answer to a question I asked a few days ago. My question is about how to modify his elisp code. I have an org table #+begin_src emacs-lisp :results none (defun jj/factor (...
2
votes
0answers
41 views

Exporting a file from ORG MODE automatically changes my numbering [duplicate]

I have several ORG files which I wish to export to HTML or ODT from emacs. These files have specific numbering. However when I export them the numbers are automatically adjusted. For example in the ...
9
votes
1answer
346 views

How to toggle Org-mode source code block “:eval no” status

I often limit or unlimit the evaluation of specific code blocks in org-mode babel using :eval header argument. Here's an example: #+BEGIN_SRC emacs-lisp :results value scalar :eval no (+ 1 1) #+...
4
votes
1answer
565 views

how to org-toggle-todo-heading?

The function org-toggle-heading is quite handy to convert existing text into an org heading. Input: pay rent Output: * pay rent The function org-insert-heading has an analogous org-insert-todo-...
2
votes
4answers
761 views

Is there a good way to see accumulated time over several org files using org-mode time tracking?

I use org-mode for time tracking and can calculate the overall time with C-c C-x d. Is there a good way to show total time spent over several org-mode files (I tend to have separate projects in ...
37
votes
3answers
6k views

Inline verbatim and code with quotes in Org-mode

In Org-mode I can surround text with = or ~ to place text in inline verbatim or code mode. However this fails if the text has quotes, and I couldn't find an explanation or workaround in the ...
5
votes
3answers
484 views

how to use CSS to change styling of elements in org-mime emails?

The org-mime page describes how to use org-mime-html-hook to style HTML email by inserting inline CSS. I used this method to successfully change the styling of my body paragraphs by targeting <p>...
2
votes
2answers
250 views

Can columns of an org table be grouped to conveniently work with data?

I have an org table | | | P1 | P2 | P3 | P4 | Q1 | Q2 | E1 | E2 | F | |--------+--------+----+----+----+----+----+----+-----+-----+-----| | | Totals | 20 | 40 | 35 | 20 | 50 |...
9
votes
1answer
900 views

How to add a column in org-mode agenda clockreport to show percentage of time for each group of activities?

I have been using Bernt Hansen's org-mode setup (http://doc.norang.ca/org-mode.html - modified slightly to my needs) for some time and I came up with a question that I cannot solve. I would like to ...
2
votes
0answers
53 views

Can an org table automatically syncronize with another org table?

I have two org tables #+TBLNAME: contact_info | Name | ID | E-Mail | |------------+-----+-----------------| | Washington | 001 | george@usa.pres | | Adams | 002 | john@usa.pres ...
4
votes
1answer
195 views

Is it possible to insert random numbers in an org table?

I have an org-mode table |----+----+----+----+----+----+-----+-----+-----| | 40 | 40 | 30 | 20 | 50 | 50 | 100 | 100 | 200 | |----+----+----+----+----+----+-----+-----+-----| | | | | | ...
3
votes
2answers
183 views

How do I get org-mode heading faces in helm

When using commands like helm-in-buffer-headings, it would be much more readable to see output styled (and ideally even indented) like it is in the original document. Is there a way to do this?
1
vote
2answers
582 views

How to create list of links to files in a folder and annotate them using org-mode?

I am trying to use org-mode to make a list of files to read, with links to pdfs and write the notes corresponding to it in one file. Using org-fstree, I can get list of all links as headlines #+...
2
votes
0answers
109 views

how to create CLOCKSUM column for the week?

In column view i can use some special columns like CLOCKSUM (total time) and CLOCKSUM_T (time for today). How can i create column CLOCKSUM_W which would sum all the time for current week?
4
votes
1answer
74 views

Extract structure from Org document

I'm looking into a way to extend search in documents, especially, Org files by ways of indexing them. In order to make the indexing more robust, it would be great to make it aware of different ...
2
votes
0answers
51 views

org-clock-display breaks links

When i press C-c C-x C-d (org-clock-display) emacs expands links in headers. How to prevent this? Sample file: * h1 ** [[http://duckduckgo.com/?q%3Dvery%20long%20search%20term%20blabla][DuckDuckGo]]...
2
votes
1answer
159 views

Org-mode: Automatic fill-paragraph for TODO Closing Note?

In Emacs org-mode, I like to use TODO items. I switched on the automatic closing note, when an entry is marked DONE. A small annoyance is that the fill behavior of the closing note usually changes ...
2
votes
1answer
442 views

Inline the value of an Org-mode property?

Quite a while ago, I've created a word document where I defined variables, did calculations with them, and had the results printed inline into the document. Example output, where the result has been ...
4
votes
1answer
246 views

Can I use org-mode to structure other dotfiles?

I really like the idea of structuring my init.el file with orgmode. Now I wonder if this would also work with other configuration files like vimrc.
1
vote
1answer
674 views

How to remove the link from org-capture templates

I have the following org-mode capture template: '(org-capture-templates (quote (("t" "Task" entry (file+headline "~/org/tasks.org" "Incoming") "")))) The resulting capture buffer looks like this (...