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.

0
votes
1answer
2 views

How to escape a character within a heading in org-mode?

Documenting this because I could not find an answer in stack exchange. A heading such as this breaks during LaTeX export: * MITRE ATT&CK Rather than switching to a code-block, and loosing the ...
0
votes
0answers
1 view

Reftex and mix of org/Tex files

I searched over the net but there's nothing concerning using reftex as reference system inside and org file, for example where to put the path for bib file and how to use biblatex package instead of ...
0
votes
0answers
10 views

org-mode html export in-buffer settings: enabling #+BIND problem

In Emacs config file, following code enables org-mode to have #+BIND: keywords working inside of .org files: (setq org-export-allow-bind-keywords t) I also know that I can accomplish this inside of ...
1
vote
1answer
19 views

Shift date by one week in org-mode?

In an org mode buffer (not in an org-agenda buffer) I fairly often want to shift a date by one week at a time. How can I do that?
1
vote
0answers
13 views

How to detect programmatically if content under org-mode headline is encrypted or not before a save or commit?

org-mode allows users to encrypt the contents under a headline by adding the crypt tag with C-c C-q crypt and then calling M-x org-encrypt-entry. Below is an example using this feature: * Headline ...
0
votes
1answer
22 views

How to install org-mac-link on MacOS?

I am trying to install org-mac-link on my Mac. I have downloaded the file org-mac-link.el to .emacs.d and also customized the org group by typing M-x customize-group RET org RET, then expand the ...
0
votes
2answers
25 views

Why isn't my codeblock executing and displaying the output?

I have an org-mode file, with org-mode version 9+ (so my understanding is that Babel should be integrated). Then I have the following in the file #+BEGIN_SRC python :exports both :results output ...
1
vote
0answers
20 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 ...
0
votes
0answers
13 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
0answers
12 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 ...
1
vote
1answer
31 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
1answer
18 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->...
1
vote
1answer
29 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-...
0
votes
1answer
33 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 | |-----+------------------+---------------------+------...
1
vote
1answer
19 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
22 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 ...
1
vote
1answer
22 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
47 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 **...
1
vote
0answers
15 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 ...
2
votes
1answer
58 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 ...
0
votes
0answers
13 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
1answer
22 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-...
2
votes
1answer
36 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 ...
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
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: ...
0
votes
0answers
14 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 ...
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 | ...
2
votes
1answer
41 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?
0
votes
0answers
17 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 ...
0
votes
1answer
34 views

Caption and figure reference to .docx (org-export)

Captions and figure references by label are lost when converting .odt to .docx with Open Office. Captions get hidden under the image and truncated by a box. Numeric references are replaced by “...
0
votes
1answer
14 views

Conditional inclusion of paragraph (org-export)

It seems the @@latex: @@ and @@odt: @@ does not work for lists or paragraphs with blank lines. For instance @@odt: - Xyzzy! - Nothing happens @@ is exported to latex. How can I have some ...
1
vote
2answers
33 views

Org mode. Table not sort by date

windows 10, emacs 26.1 I have table in org file and I want to sort table by column Date Here table: | Number | Date | |---------------+------------| | 1535749200000 | 31.08.2018 | | ...
0
votes
1answer
23 views

Convert durations to start times

Problem I have some org-mode tables with a column containing the duration (or length) of musical tracks: |---+---------------------------------+-----------------------------------+----------| | # | ...
1
vote
1answer
26 views

Time in Org heading is read as timestamp by Org agenda

Suppose I'd like to set a task for tomorrow for me to check if a cron job of mine ran at the proper time. So, I add to my org file: ** TODO check if cronjob has run at 5:00 SCHEDULED: <2018-12-03 ...
0
votes
0answers
18 views

Customize faces of simple timestamp Org agenda items similar to scheduled ones

I use the different timestamping methods available in Org to organize my tasks and my agenda. In particular, I use simple timestamps for tasks which must be performed at specific times and dates. That ...
0
votes
1answer
18 views

How can I get RET to follow org-mode links when using evil-mode?

In org-mode, the link-following behaviour of RET, that should be present when org-return-follows-link is set, doesn't work in evil-mode. MWE from emacs -q: Load an org buffer containing a link. Note ...
0
votes
1answer
36 views

org-mode quote block line feed missing

Say below org-mode block: #+BEGIN_QUOTE item 1 item 2 #+END_QUOTE If export as html, the display is: item 1 item 2 It should be two line but actually merged as one line! I wish to keep the line ...
0
votes
1answer
41 views

No org-babel execute function for go

#+Begin_SRC go package main import ("fmt") func main(){ fmt.Println("emacs") } #+End_Src ~/.emacs.d/init.el: (when (memq window-system '(mac ns)) (exec-path-from-shell-initialize) (exec-path-...
0
votes
1answer
15 views

Incorrect auto convert to table

windows 10, emacs 26.1 Suppose in my.org I has text: OwnerKey OrganizationName GUID 1111350 My TV aaaaa561-4194-4441-9FA5-4D712B2659EE 3333363 My TV Abbbbb61-4cccccc41-...
0
votes
1answer
41 views

How to quickly convert text to org-mode table?

windows 10, emacs 26.1 Supose I have the following text: OwnerKey OrganizationName GUID 111192 Infocom 41EA23423423423423423C8-62A61A1532C5 345423 TV A3B8F234234234234239FA5-...
1
vote
1answer
37 views

In org-mode, how to export a clean html

I am exporting a webpage with a checklist using org-html-export-to-html. But in my perspective, the red "TODO" word doesn't make too much sense in the html. Is there a way to export it in a cleaner ...
0
votes
0answers
34 views

Is possible to execute sql query direct in org mode?

windows 10, emacs 26.1 I know that in org mode I can insert source code and execute them. Nice. But what about sql: Here in my.org file: #+name: some_query #+BEGIN_SRC sql SELECT * FROM ...
1
vote
2answers
41 views

How can i get elements parent at point?

(defun print-org-element() (interactive) (message (format "%s" (org-element-type (org-element-at-point)))) (message (org-element-property :title (org-element-at-point))) (message (org-element-...
0
votes
0answers
9 views

counsel-org-tag on region

How can I use counsel-org-tag, or some similar command that uses counsel, to apply/remove tags to all headlines in the region? I would like the tags to be changed only at the highest selected ...
0
votes
0answers
19 views

shortcut to view TODO status by keyword in org mode

Background: In org mode C-c / T <keyword> generates a view for that keyword. For example, if I want to view all TODOs with the status of NEXT, the key sequence is C-c / T NEXT RET I have ...
1
vote
1answer
19 views

Export an orgmode buffer without expanding noweb references?

Normally, when I use orgmode's export function on a buffer that contains noweb references, they get expanded, resulting in lots of duplicated code throughout the exported HTML document. Is there a ...
1
vote
1answer
45 views

Org table: Calculate units

Are Org tables able to calcultate units? Say I have a table | test | Voltage | DC | Current | Power | |----------+----------+-----+------------+-------------| | DC-motor | 12 V | ...
1
vote
0answers
21 views

Display done org-habit habits in a different face

I'm experimenting with org-habit and currently have org-habit-show-all-today set to t so I can see a habit even when I've done it for that day. I'm doing that because I want to get the little reward ...
0
votes
1answer
16 views

Org agenda - alias for file name in weekly view

Some of the org files I use have long filenames (at least longer than 11 characters ;)), this breaks the default weekly view: elastic-oncall is longer than the space for filename and therefore breaks ...
0
votes
0answers
19 views

Org Babel Tangle Jump for noweb code

I am using noweb with org-babel. What I enter in org-mode is as follows #+BEGIN_SRC python :tangle yes :noweb tangle :comments noweb import sys import os def main(args): <<...