Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
296 views

Error when (stata . t) added to org-babel-do-load-languages in an attempt to evaluate Stata code in org-mode

I have built the latest Emacs 26.0.50.1 on a Debian OS 8 (Jessie) that uses Linux version 3.14.5. Then I installed org-mode version 9.0.3. I want to use the proprietary data analysis and statistical ...
1
vote
0answers
12 views

org-mode 9 too slow with long code blocks

Emacs gets extremely slow when one code block in an org-mode file becomes of reasonable size -- say > 2000 lines (Emacs 26.1 & org-mode 9.1.9). Pointed out in this thread of 2015, the problem ...
3
votes
1answer
148 views

How to fully fontify latex snippets including subscript and superscript within org-mode

I have many latex snippets delimited by $ inside my org notes. I recently discovered org-highlight-latex-and-related, which highlights latex snippets a certain face. However, I want to also apply the ...
0
votes
0answers
9 views

org-mode: archiving to gpg-encrypted file

My org mode file is gpg encrypted. I've been able to setup transparent decryption when opening the file and encryption when saving to disk. However, archiving an entry still puts it into ...
0
votes
1answer
617 views

Org-mode completion: remapping `M-TAB`

(Using latest version of Spacemacs, on Windows) I'm new to org-mode and really need to figure out how to get completion working for stuff like tags and #+ options. Apparently org uses pcomplete as ...
0
votes
1answer
276 views

How to Remap org-mode keybindings?

As mentioned in this question, I can not use org mode properly within tmux. So, I would want to remap keybindings like alt+RET for creating a new bullet item or shift + left/right arrow to change an ...
1
vote
1answer
24 views

How to generate the result file for dot source block and include it with another path in org-mode?

I'm starting to write blogs with org-mode and org-static-blog, but now I'm stuck with a problem respecting exporting graphviz dot file to image file. So I have a code block like this with (setq org-...
0
votes
0answers
10 views

Two different fonts for different languages for org latex export

I am trying to use Garamond for English and Arial Unicode MS for Hindi for exporting my bilingual documents created using .org mode and exported using xelatex in windows. Can you please help setting ...
3
votes
1answer
75 views

Org-mode: Entering time with academic quarter as 2ct

One can enter the time 14:00 by typing 2pm. One should also be able to enter 14:15 by typing 2ct. ('cum tempore' indicating an academic quarter.) Is it possible to get this behaviour? (Or 14ct. ...
0
votes
1answer
33 views

Org capture template output to two files

I am currently using two separate Org files to manage my work Todos. One is a file that I edit directly and keep notes on each todo task (Work.org). The other is a schedule file which is synced with ...
1
vote
1answer
16 views

Beamer PDF export: title, subtile, content show one by one

Say, in a slide I have * title ** subtitle content They will appear in the same slide with default beamer export. What I want to achieve is exporting it to three slides with first page only ...
0
votes
1answer
15 views

eval elisp code to fill org-babel header arguments

I use many org files with figures generated by source code blocks. By example, in an org mode file long/path/document.org I have: #+BEGIN_SRC dot :file my_fig.png :exports results digraph { A->...
0
votes
1answer
31 views

setting default columns in org column mode into init file

Trying to set preferred columns in ORG column mode. this works perfectly if I put it on head of the file: #+COLUMNS: %45ITEM %TAGS %PRIORITY %TODO %CLOSED %SCHEDULED But I avoid to repeat it for ...
1
vote
1answer
27 views

Org-Mode How to position tables correctly when exporting to Latex?

I have a document I have written in org-mode which contains several tables. The tables all have the following attributes. #+begin_table #+LATEX: \caption{Initial risk List} #+LATEX: \label{tab:risk-...
4
votes
1answer
266 views

Export all org-mode sections as Beamer frames?

Is there a way to have all of my Org-mode sections export as Beamer frames? For instance, if I have a document like * A ** B ** C then I would like a slide for each of A, B, and C. Setting H:2 gives ...
1
vote
2answers
60 views

Org mode - storing LaTeX preview files in a separate directory

Let's say I am working with "file_name.org" file. When I use C-c C-x C-l to generate a LaTeX preview, it creates a png image and store in ltximg/ directory by default. I would store the preview ...
0
votes
2answers
231 views

Org-mode: How to fix table width to page width for dynamically generated tables?

I am using dynamically generated table to create a tabulated to do list with various parameters using: #+COLUMNS: %ITEM %SCHEDULED %DEADLINE for more info see: Org-Agenda export to dynamic Org-Table ...
0
votes
1answer
61 views

Showing Section Name in Each Frame (Org-Mode Beamer)

Roughly, I have: #+options: H:2 * Introduction ** Some definition + list item1 + list item2 This shows Some definition as its own beamer frame (with + list item1..). Question: How can I ...
0
votes
1answer
29 views

Why my table formula doesn't work?

windows 10, emacs 26.1 In my.org I have a table with formulas: | _id | notificationDate | notificationDate_hr | expiresDate | expiresDate_hr | |-----+------------------+---------------------+------...
0
votes
1answer
17 views

Creating table of content with the package titletoc in Org Mode for LaTex export produces strange lines of text

I use the LaTeX package titletoc to produce table of contents in some chapters or sections for Org-Mode LaTeX / PDF export with #+TOC: headlines 1 local But in the PDF file there is for example the ...
0
votes
1answer
17 views

Windows: org not exporting pdf

I am trying to get emacs org-mode to export to pdf. To this end I've installed tex-live and added the path to the bin folder to my emacs path. I've added the tex-live folder to my OS $PATH. When I try ...
2
votes
1answer
57 views

Function to open all Org files in a folder recursively

I am looking for a way to open all Org (or Fountain) files in a folder using one function. Essentially, I am seeking to open all available files of a certain type (.org or .fountain) within a folder ...
2
votes
1answer
149 views

Cannot cite anything

I've seen this question: Loading bibtex file in org-mode file as well as this one: https://tex.stackexchange.com/questions/114864/how-to-get-bibtex-to-work-with-org-mode-latex-export I've tried ...
5
votes
1answer
128 views

Org Mode: Difference in results when evaluating code block and evaluating called code block

I am a beginner who wants to evaluate a Call to a code block in an org-file and get the same results as when I evaluate the actual code block. Like so: #+NAME: Myblock #+BEGIN_SRC emacs-lisp :results ...
0
votes
0answers
14 views

Fontify headline with todo keyword color

I would like to fontify headlines with the same color/weight as their TODO keywords. So for example, the default is like this: TODO Headline And I want it to look like this: TODO Headline Any ...
1
vote
2answers
42 views

Capture under heading

If we have org file with datetree and repeating actions, how can I capture under last heading of some level. Let's say we have this: * 2018 ** 2018-W47 *** 2018-11-21 Wednesday **** Gym Session **...
2
votes
1answer
52 views

I want shell code blocks executed via emacs org babel to be verbose, stoppable, interactable, asynchronous

I want shell code blocks executed via emacs org babel to be a) verbose - output should be shown live b) stoppable c) interactable d) asynchronous Has this been already done by a third party package/...
0
votes
1answer
61 views

Keymap on region only updating from mouse click

I have defined some keymaps on org-mode src-blocks. If I click in the block with a mouse, I see the keymap is changed, e.g. the menu items change, and the new keybindings are active. However, if I use ...
0
votes
1answer
23 views

Implmentation of org-id-goto but for arbitrary properties?

Does there exist a function similar to org-id-goto, but instead one that can allow you to jump to tasks that have arbitrary property names (other than just "ID")? So for example (org-goto "ID1" "VALUE"...
2
votes
1answer
32 views

How to write to LOGBOOK drawer in org-mode

I like to have the creation time of my tasks in org-mode. To that end, I used this reference to setup a hook to add the create time to a new entry. It's working pretty well but I find I'd actually ...
1
vote
0answers
14 views

How to set a tangled parent directory for each subtree in org mode?

Base on this, one can set a global tangled file. However, I'd like to set one directory for each subtree, e.g. for a * Python subtree, in every code block I can set :tangle a.py or :tangle b.py ...
7
votes
2answers
297 views

Hiding State Changes of Org Mode Repeating Task

I have several repeating tasks (some with the "habit" style). I like my setup but now I have a lot state changes log just below the not drawers. For example: ** TODO Random Task ...
3
votes
1answer
100 views

How to disable noweb prefix lines?

This says that Noweb insertions now honor prefix characters that appear before <<reference>>. And because of that trying to use #+BEGIN_SRC clojure :noweb-ref dep-cljsbuild [lein-...
1
vote
1answer
62 views

Debugging a function called when hovering with the mouse over an org link

I am trying to debug a function called when hovering with the mouse over an org link. For example, I instrumented bibtex-completion-apa-get-value with edebug-defun. However, when I hover over an org-...
0
votes
1answer
20 views

Unable to link org-mode capture items to mu4e email messages

I have been using org-mode for a while and started using mu and mu4e recently. The following capture template stores a link from a "normal" file but not from a mu4e message: (setq org-capture-...
0
votes
0answers
10 views

How to differentiate between a TODO heading and Checkbox?

I have setup a hook to add a CREATED pseudo property (not really a property but just a bullet under the heading) when a new TODO is created. This question of mine also pertains to this new setup and ...
0
votes
2answers
16 views

How to change to evil-insert mode when there is no hook?

I'm trying to change evil-org to evil-insert-state when I add a note to my org files. I've tried to look it up, but can't figure it out. I've configured org-mode to always query me for a note after ...
0
votes
2answers
97 views

(orgmode) Coloring the line for the whole heading

I want the entire line containing a heading in orgmode to be the background color of that heading. So for instance right now I have is what is shown in Heading 1 and 2, but what I want looks like ...
0
votes
0answers
11 views

Close org-clock clock at point?

I'm using org-clock a little, and I forget to clock out sometimes. I'd like a quick way to extend a timestamp at point by say one hour, so I can go from say: CLOCK: [2018-12-05 Wed 08:11] to: ...
1
vote
1answer
32 views

How convert milliseconds to human readable format in org mode table?

Windows 10, Emacs 26.1 In org file: | _id | Date | expiresDate | amount | |-----+---------------+---------------+----------| | 633 | 1539190765000 | 1573336800000 | 766.26 | | 184 | ...
0
votes
2answers
57 views

Fix org-mode agenda viewing of stuck projects with UK keyboard #

So this is a bit specialised. I've used org-mode for a while now but never before the agenda command to list a "stuck project". The sequence built in to do this with org-agenda is C-c a #. This ...
1
vote
2answers
159 views

org-mode-agenda is taking too much screen estate

Is it possible to change the size of org-mode-agenda on opening so that when opening the agenda, it doesn't open so large (saving me having to resize it)?
0
votes
0answers
13 views

Getting OAuth2 authentication against Google Calendar to work (org-caldav)

I'm struggling to get two-way synchronization between my org-mode calendar and Google Calendar to work. I'm using org-caldav. I created credentials (client ID and client secret) through Google that ...
2
votes
1answer
37 views

Is it possible to sort by two columns?

I'm using windows 10 and emacs 26.1. In org mode if I want to sort by one column I use org-sort It's sort by text, time, function. Nice. But what about sorting by two or more columns?
4
votes
1answer
41 views

Importing table of contents from another org file?

Specific Use Case: I have two files, index.org and blog.org. I would like to include the table of contents of blog.org in index.org. The "obvious solution" to me is to use org-babel to inject html ...
8
votes
1answer
209 views

How can I manually set links in org mode?

So I'm trying to make an "autolinks mode" to emulate the functionality of notetaking software like Tomboy Notes or notes.vim, which automatically linkifies any text that happens to be the title of a ...
3
votes
1answer
331 views

How can I get :LOGBOOK: into Column View?

The items in my org-mode file will have a number of properties relating to data points that I need to capture. In conjunction with this, I'd like to continue using C-c C-z to log notes tracking ...
1
vote
1answer
84 views

Using org-mode for writing. Would like text in quotes to be highlighted and also character names

I'm using org-mode to write a novel and I would like to have any text between "quotes" to be a different color, just to be able to easily see when a character is talking. Also, if I could have a ...
0
votes
2answers
71 views

Show Link Tooltip mouse over with keystroke

When I use mouse-over on an Link (thanks to Tobias) it shows an Image and text. When I used display-local-help the image disappeared (perhaps due to lack of space in the message area). I want to ...
0
votes
0answers
13 views

Set in buffer generic export settings backend-wise

When exporting to html, I want to set as default: #+OPTIONS: tex:dvisvgm When exporting to markdown with ox-gfm (https://github.com/larstvei/ox-gfm), I want to set as default: #+OPTIONS: tex:t ...