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
9
votes
2answers
1k views

org mode - prevent future repetitive entries from showing up in agenda view

It seems to be obvious but I don't seem to have been able to find an answer yet... I have some repetitive tasks which have a property in the style of SCHEDULED: <2015-05-22 Fri 23:00 .+4d>. ...
1
vote
0answers
147 views

How to get org-mode to stop prompting me to save org-mode files that contain Babel blocks?

When I open an org-mode file that has a babel block in emacs-lisp format, afterwards, whenever I run save-some-buffers, I get the File to save in: prompt for the current org-mode file. I get this ...
1
vote
0answers
172 views

cannot open load file org2blog-autoloads

I'm using Ubuntu 14.04 lts and emacs 24.3.1 The error I get is Warning (initialization): An error occurred while loading `/home/guy/.emacs': Symbol's value as variable is void: org2blog-autoloads ...
8
votes
1answer
937 views

Is it possible to file a capture template in a subheading of a day in a datetree?

In Org-mode, I would like to have a capture template get stored like this: * 2015 ** 2015-05 May *** 2015-05-21 Thursday <--- I can get this with file+datetree **** Todo today <-...
1
vote
0answers
44 views

Multiplying org-mode check-boxes

I have an org-mode document that looks like this * Total Score ** First Part [2/3] * 4 - [X] Item 1 - [X] Item 2 - [ ] Item 3 ** Second Part [2/3] * 3 - [X] Item 1 - [ ] Item 2 - [X] Item 3 Is ...
1
vote
1answer
134 views

Can I clock a duration without a start/end time in org mode?

I just want to indicate that a task took 2 hours - I don't care when it started or ended, and I'd prefer not to put in false info for that! Is there a way to do this?
15
votes
1answer
782 views

Org-mode headings in multiple places at once? (transclusion)

I'd like to organize my headings in multiple ways at once. (with the same degree of flexibility that I have when organizing things in any one place - e.g. more than the Agenda provides) Ideally I'd ...
9
votes
3answers
3k views

With org-babel, how to name the results of a function call and reuse them

In org-mode, I am trying to define a function, a variable, and then assigning to another variable the result of the function call on the first variable. However, then it seems that I cannot use this ...
3
votes
2answers
297 views

Do I have to rename my org-mode load-path folder after every update?

I use package manager to update my packages automatically by doing package-list-packages, package-menu-mark-upgrades, package-menu-execute. (I assume this is the easiest way to automatically update ...
16
votes
1answer
3k views

How do I make the timespan shown by org agenda start yesterday?

If today is Thursday, I want the agenda to be from Wednesday (yesterday) through next Tuesday. When I set org-agenda-day to "-1d", it shows the full week (starting Monday) that contains yesterday. I ...
2
votes
0answers
79 views

org-habit - Can I arrange for a habit to take place n times during a week, but on indeterminate days?

In some habit-tracking apps nowadays, the user can set for the activity to take place on indeterminate days, as long as it's done n times a week in total. So for example if I want to go to the gym 4 ...
1
vote
1answer
1k views

Render align environments with MathJax for 'org-html-export-to-html'

I'm writing a document that I would like to export to LaTeX and HTML. To write my formulas I mostly use the align environment of TeX. In the .org file I write the formulas like this: #+begin_align ...
3
votes
0answers
51 views

Automatically show related sections in a multi window setup

Context I have a document with recurring section structures, similiar to this: * Section ****** Goals ****** Strategy ****** Bibliography ****** Notes and usually an emacs frame with four windows ...
0
votes
0answers
85 views

New headlines in org-mode don't always appear on a new line

When the point is at the end of a headline in org-mode and I hit Alt+Enter (bound to org-meta-return), the new headline often starts on the same line instead of on a new one. It happens frequently, ...
3
votes
2answers
833 views

Wrap org src block results

I'd like to include a custom latex wrapper around src blocks result. For example, given: #+BEGIN_SRC sh :results latex which awk #+END_SRC I'd like to generate #+RESULTS: #+BEGIN_LaTeX \begin{...
2
votes
0answers
235 views

org-mode smart-quotes (probably prb with the regexps)

I have a problem with org smart-quotes. There are two cases that don't seem to be covered by the standard regexps to identify quotes, namely in the case '" and the case "'. The double quote in both ...
1
vote
1answer
768 views

Is it possible to attach a local file to org-mode file like PDF?

You can attach a local file such as picture or text file as part of a PDF or doc file, when you send it to other people or copy this file to other computer or place, the attachment will be one part of ...
4
votes
0answers
154 views

how to get Emacs to stop saving org-agenda as a file?

In my directory I keep on winding up with dozens of files with names like these: #%2AOrg%20Agenda%2A#12182wk# #%2AOrg%20Agenda%2A#13353nN# #%2AOrg%20Agenda%2A#13568-1B# The content of which is this: ...
3
votes
2answers
890 views

Is it possible to get a summary of DONE and TODO's in Orgmode

I am aware of the [0/2] checkbox summary in parent heading, but how could one get the same going for [(total TODO)/(total DONE)] ?
4
votes
1answer
1k views

Display property value of each section in table like in clocktable

Context As far as I know it is possible to define properties for a section in a PROPERTIES drawer like this: * Introduction :PROPERTIES: :PlannedPages: 0.5 :ActualPages: 0.5 :END: You can see that ...
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 ...
0
votes
1answer
451 views

Why is Org adding a label in custom Babel environment?

I can't tell in what update exactly did this happen but since not so long ago Org adds a label{orgsrcblock#} to custom listings environments. Unfortunately, I can't find a way to tell listings to ...
4
votes
1answer
168 views

Prevent fill-paragraph from breaking LaTeX citations in Org Mode

Stumbled upon the following problem. Whenever fill-paragraph finds a LaTeX citation such as \citep[][p. 10]{darwin1859} (which appears as (Darwin, 1859, p. 10)), the paragraph gets broken like this: ...
11
votes
1answer
755 views

Insert Org-id Link at Point via Outline Path Completion

Currently to insert internal org-mode org-id links, I navigate to a heading or pull it up in agenda view (C-a s heading test search RET), store the link with C-l (org-store-link), going back to where ...
7
votes
1answer
250 views

Automatic clocking in org-mode when moving into section

Context When working on a larger document in org-mode I would like to clock the whole work time without gaps. As I usually have a logbook in each section I wonder if it's possible to automatically ...
2
votes
2answers
398 views

Demoting sections on org-export

Context Last weekend I had some discussion with a friend about how I could improve my writing skills. As a result I would like to experiment with a new document structure to guide the process of ...
4
votes
3answers
2k views

Show Timestamp for each TODO in Org Agenda Global Todo List?

Popular todo softwares nowadays usually list tasks with their scheduled due date attached by default so that we can have a general idea about the progress of our different projects. However in org ...
17
votes
2answers
1k views

Can I sync github issues and milestones with org-mode?

Is it possible to effectively use org-mode as a front end to github issues and milestones (with two way sync)?
5
votes
1answer
2k views

Org export to latex and HTML references

I have been working on a document that I want to export to both HTML and latex; while working on the document I noticed that using latex \label{} and \ref{} tags works properly for latex export, but ...
1
vote
2answers
1k views

orgmode: link to id doesn't work

I create the id of the heading (with org-id-copy function) and somewhere in the file i create link to it: [[id:XXXXXXXXXXXXXXXXXXXXX][name]]. The problem is that the link works only on the computer i ...
1
vote
1answer
93 views

Use a variable's value in setq [duplicate]

In emacs.el I am using the following construct to set up an org-remember template: (setq org-remember-templates '(("Todo" ?t "* TODO %^{Brief Description} %^g\n%?\nAdded: %U" "~/GTD/newgtd.org" "...
3
votes
2answers
187 views

.org Source for Org Manual?

I would like to learn Org Mode well by reading the whole org manual. However there seem to be only HTML version and PDF version which are not very convenient for me to take notes while reading. Is ...
1
vote
0answers
98 views

Mixed time scales for org mode repeated habits

I'm trying to set-up an org-mode habit (i.e., "STYLE" property = "habit") to repeat at a maximum of one month, on the first of the month, and a minimum of one month and five days (the fifth of the ...
4
votes
1answer
200 views

Questions About Org Mode Levels

I'm new to org mode. Something about levels in org mode confused me but i found no info around (both in tutorials and Google). I can put text under any heading, and the text is treated as a child ...
1
vote
1answer
781 views

How can I insert a link from one org file into another?

This is probably simple and I've been trying to develop some lisp skills but I'm completely stumped. What I'm trying to do is insert a link in one file every time a TODO state change occurs (probably ...
2
votes
1answer
413 views

in org-mode, how to change the formatting of timestamps in export to LaTeX?

In org-mode, how can I change the formatting of timestamps exported to LaTeX PDF? In the generated .tex file, I see that my timestamps are rendered in LaTeX as \textit. How can I modify this? I ...
6
votes
2answers
2k views

Add caption to an image generated by a code block

Consider the following MWE #+begin_src python :session :results file import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt fig=plt.figure(figsize=(3,2)) plt.plot([1,3,2]) fig....
2
votes
1answer
745 views

How to insert inactive [timestamp] via function?

C-u C-c ! generates a time stamp like [2015-05-04 Mon 17:13] I would like to assign a shortcut (e.g F1) to this action. So far I have: (defun my/timenow (&optional arg) (interactive) (let (...
4
votes
1answer
927 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 ...
11
votes
1answer
2k views

Org mode - Parsing rich HTML directly when pasting?

Currently, for notetaking tools like Evernote and Quiver, I can directly copy HTML content from my favorite browser and then paste them into the app, with all the formatting + link preserved. However ...
1
vote
1answer
913 views

Insert entries and link to entries from org-contacts

I am trying to write functions that insert entries, or link to entries of my contacts org-mode file using org-contacts. The functions would work as follows: First prompt for a contact name (maybe ...
2
votes
0answers
777 views

Can't load org-drill package

So I've been trying to learn and use both Emacs and Org-mode for a while and it has been going pretty well but I am certainly a beginner in these topics including Emacs Lisp. I found this really good-...
2
votes
0answers
465 views

Exporting custom dynamic org-mode blocks

I am currently writing a conversion from org-mode headline deadlines/schedules to pgf-gantt charts. Ideally I would like to create a custom dynamic block that contains the result of my parsing, and ...
3
votes
0answers
689 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
0answers
434 views

export org-file to pdf on the CLI

I wonder if it is possible to write a bash oneline to export org-files to pdf. Something like this emacs -q --eval 'org-latex-export-to-pdf manual.org' I'm aware of the pandoc project. I would like ...
6
votes
1answer
762 views

Org-mode export to Latex error with footnotes

Whenever I write, in my org-mode file, \footnote{bla bla bla $\whatever_{something}$} I get an error in the .tex file generated. What it exports to the tex file is \footnote\\{bla bla bla \whatever_{...
1
vote
1answer
271 views

Determine if an org heading has children

In elisp, how can I tell whether the org heading under point is a leaf node or whether it has child headings? I've found org-list-has-child-p, but I'm having trouble delivering the struct to the ...
5
votes
1answer
2k views

Can org-mode open a link in external browser when using prefix key?

In my Emacs I have set browse-url-browser-function to eww and org-open-at-point (org-return) will open my links using eww as expected. However, I would like to configure org-mode so that when I press ...
1
vote
0answers
46 views

org-mode: Something like bytefield package

Is there a way to generate data structure overviews like the bytefield package for latex with plain tables? (I.e. I don't want to fall back to LaTeX)
14
votes
3answers
2k views

Changing the appearance of org-mode “hidden contents” ellipsis

In org-mode, when the contents of a subtree are hidden you see something like * Some tree :PROPERTIES:... ** Another One... Is there a way to change those ... to something else? I'd like to use ...