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
8
votes
3answers
906 views

Emacs: function to make a file with date/time as filename, and a shortcut for it

I need to generate text files with the following name format: YYYYY-MM-DD--hh-mm-ss.org. How can I use the capture funtionality for this? That is, instead of making one entry per capture in a single ...
1
vote
0answers
118 views

org src fontify won't highlight some multiline comments

The option org-src-fontify-natively doesn't care about some multi-line comments. See: As shown in the picture above, the html comment isn't highlighted correctly. I tried hacking through the code and ...
0
votes
1answer
730 views

Org mode: how to define a path variable to my org file directory?

I have code for defining org capture like: (setq org-capture-templates '((( "t" ; key "Todo" ; description entry ; type (file+...
2
votes
1answer
479 views

Use code variable in org-mode continuous text

I want to run a short python simulation in org-mode and use the results later on in my continuous text. Something like: #+begin_src python a = 5 + 5 #+end_src The result of the calculation is <&...
5
votes
2answers
2k views

Org-Mode Level Line Spacing

I am just starting to use Org-Mode as a getting things done application and having some trouble with the Line Spacing (not sure if that is the correct term) between entries. For instance see below: *...
2
votes
2answers
386 views

Org-mode emphasis markers: surround symbol

Suppose I have this text, where | is point. This is the te|xt. Now I want to put the word text in bold, so I use Org keybindings and do C-c C-x C-f and pick *. This is what happens: This is the te *...
4
votes
1answer
412 views

How do I programmatic add, delete and update org-mode properties from entries?

I want to write a function to help me add/update or delete a custom property in my org-mode's entries. But I'm not really sure where to start, are there org functions that can help me manipulating ...
1
vote
1answer
134 views

Why is there a case sensitivity problem with org mode source block tags?

So I am entering source code into org documents by using source code blocks such as: #+BEGIN_SRC C++ #include <iostream> using namespace std; int main() { cout << "Hello ...
8
votes
1answer
1k views

How can I use helm with org-refile?

I'd like use org-refile and select the heading with helm with an interface like helm-org-in-buffer-headings. I know I can use helm-org-in-buffer-headings to do this using f2, but is there a way to ...
13
votes
1answer
956 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, ...
2
votes
1answer
220 views

org-journal UI behaviour

I'm relatively new to Emacs and org-journal and I'm wondering if I'm doing something wrong or if this is the intended behaviour of org-journal. When creating a journal entry with C-c C-j the current ...
2
votes
0answers
79 views

Org mode: exporting new customized emphasis markers [duplicate]

In my emacs org mode, I created a new customized emphasis marker (added to Org Emphasis Alist) with the caracter "¡" associated with the font-lock-face "hi-pink" (I use the solarized theme). This ...
6
votes
1answer
4k views

Exporting org to pdf: LaTeXerror [closed]

When I try to export a .org or .tex file to pdf with the command org-latex-export-to-pdf, I get the following error in *Messages* buffer: Processing LaTeX file ./test.tex... org-latex-compile: PDF ...
2
votes
2answers
335 views

Default hour of day when setting Deadline or Scheduled in org-mode

Hello everybody it is quite easy question. I'm using org-mobile so it synchronize my android agenda with org mode. When I use org-deadline (C-c C-d) and I choose today, the format will look like ...
1
vote
0answers
230 views

Syncing org files under version control and MobileOrg

I have a setup in which I keep my .org files in a git repo, with one fork in my laptop and other in my office computer (whose filesystem I can access remotely always). I recently set up MobileOrg in ...
2
votes
1answer
137 views

how to convert emacs org outline with clock entries to csv file

Newbie Emacs org question. Wanted to export my tasks into a CSV reading spreadsheet program. How would one do that? If it is in the manual, could please point me to it? Sample: * A ** A1 CLOCK: [...
5
votes
1answer
5k views

How to embed latex in org-mode

I want to be able to output nicely formated math code. So I decided to learn latex and maxima (and use all that in org-mode). That's when I came across this tutorial http://maxima.sourceforge.net/...
1
vote
0answers
114 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 ...
3
votes
3answers
376 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
100 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
95 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
454 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
132 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
809 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
331 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
307 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
544 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
88 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
181 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
306 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
591 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 ...
3
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
340 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
209 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 ...
2
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
754 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
324 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
624 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 ...
4
votes
2answers
389 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
682 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
462 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
230 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
285 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
93 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
40 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
332 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) #+...