Stack Exchange Network

Stack Exchange network consists of 175 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
0answers
2 views

Org links to regex under portable subtree

Is it possible to have links like this? [[id:a5e9935a-9b82-480d-9c27-74a71bfac27a::/regex/]] That is, links to a match under a portable subtree? This, at least, did not work.
0
votes
1answer
43 views

Org-mode export to PDF not highlighting code blocks

I am trying to use org-mode export through LaTex to get a nice PDF of my documents, but I can't get it to show highlighted code blocks through Pygments. The following is a snapshot of my configuration....
10
votes
2answers
356 views

Editing multiple source blocks in one buffer

I've got multiple source blocks which are all tangled to the same file. When I invoke C-c ' inside one block, only this specific block is shown in a new buffer. Is there a possibility to show all ...
5
votes
1answer
572 views

src python in org-mode: IndentationError: unexpected indent

mac 10.13.4 / emacs 25.3 (9.0) / org-version 9.1.12 / python 3.5.2 I am trying to understand why C-c C-c generate an IndentationError: unexpected indent when executing a simple code like the example ...
1
vote
1answer
20 views

Org-mode Auto-Fill-Mode

Whenever I open an org file, I have to activate auto-fill-mode and go through every signle line that I need to read and press RET to get a filled paragraph. Is there any way to globally set auto-fill-...
1
vote
0answers
20 views

Org function to hide content

Is there an org function or combination of such that will hide all content but keep the currently visible headings visible? That is, something like org-content but which does not show currently ...
0
votes
1answer
28 views

How to indent truncated lines?

For me it seems like a really ruff edge that default spacemacs comes without an option to give my lines a correct indentation, when they are wrapped. (Click the first link if you want to see the issue ...
0
votes
0answers
23 views

Proper syntax highlighting of $…$ in org-mode

I've put (setq org-highlight-latex-and-related '(latex script entities)) in my emacs config and yet $..$ that contain more than one symbol aren't highlighted properly: How to fix?
1
vote
1answer
27 views

Issue archiving when maintaining org-mode subtree structure

I'm trying to archive DONE org-mode tasks while maintaining the subtree structure. There's a partial solution for what I'm trying to attempt at https://gist.github.com/edgimar/...
1
vote
0answers
38 views

Is that possible to make priority C higher than B?

From: https://orgmode.org/manual/Priorities.html You can change the range of allowed priorities by setting the variables org-highest-priority, org-lowest-priority, and org-default-priority. For ...
1
vote
2answers
36 views

Move point inside of image overlay

I'm trying to create a realtime/WYSIWYG editor for LaTeX fragments -- the general idea is that at each move of point / edit of the fragment, the overlay should update to reflect the newly changed ...
5
votes
3answers
90 views

Image and text side by side in Org-mode – how to flow text around an inline image?

Images can be easily displayed inline in an Org-mode file. #+STARTUP: inlineimages * headline 1 ** headline 2 [[./dog-o.jpg]] This text should be displayed to the right of the image above. ...
1
vote
2answers
26 views

How can I get superscripts at the beginning of a line in org-mode?

I'm writing a document (in org-mode) that quotes another document, including its footnotes. As such, I'd like to have a line like: #+BEGIN_QUOTE ^123 The contents of footnote 123 go here. #+...
2
votes
1answer
39 views

what does grave accent ` and aposrophe ' do in elisp regular expression?

I use C-h v to check the doc about this variable org-agenda-file-regexp. It says it is a variable defined in ‘org.el’. Its value is "\\`[^.].*\\.org\\'" What is the meaning of grave accent ` and ...
1
vote
1answer
52 views

Insert date using a calendar - where other language rather than english is desired

I am interested in inserting custom dates using the calendar, I found Insert date using a calendar which turned out to be quite useful. Org calendar : change date language? seems to have no effect (I ...
0
votes
0answers
23 views

How can I join these two org-templates, so that the first block can be an option between the other entries?

(use-package org :ensure org-plus-contrib) (use-package org-contacts :ensure nil :after org) (use-package org-capture :ensure nil :after org :preface (defvar my/org-...
5
votes
3answers
438 views

Diminish org-indent-mode

I have enabled org-indent-mode in all org files as such: (add-hook 'org-mode-hook 'org-indent-mode) Now I want to diminish the "Ind" minor mode, which seems to be beyond my abilities. I know the ...
0
votes
0answers
25 views

org-agenda-stuck project' levels

The docs describe the stuck project's level in The Org Manual: Stuck projects The built-in default assumes that all your projects are level-2 headlines, and that a project is not stuck if it has ...
0
votes
1answer
40 views

Retrieve the total time CLOCKED over a given interval

Question: How can I retrieve, over a set of files S (in particular: over my agenda files + their archive files) the total time clocked (as the return value of an elisp function; not as a clock table)? ...
2
votes
1answer
69 views

Adding mathbb letters to org-entities

To make it so that, i.e., \vdots is displayed as ⁞ one can: (add-to-list 'org-entities-user '("vdots" "\\vdots{}" t "&x2999" "..." "..." "⁞") ) However,...
0
votes
0answers
28 views

org-babel results with accented characters

I have a problem with the output of org-babel code blocks when this output contains accented characters. For example, if I execute this code block: #+name: test_accented #+begin_src python :results ...
0
votes
1answer
17 views

how to use link path to set the background face?

I would like to use a custom link, i.e. [[h:blue][blue highlighted text]], to create highlighted text. The background color of the highlighted text is specified by the path. I have (org-link-set-...
1
vote
1answer
35 views

Search across tags / titles in org mode

I keep some files in RST and rst-mode has C-c C-t C-t runs the command rst-toc which open all section titles in separate buffer. I can search ignoring actual document content which tends to have ...
5
votes
2answers
157 views

Org-refile locks up file when used from org capture

I like to use org-refile to refile notes during the capture process. But, since org-refile does not saves the file after the refiling is done, the file ends up being locked up and I need to visit the ...
10
votes
1answer
249 views

Highlighting upcoming dates in org mode agenda

I have entries in my org file similar to: * Birthdays :PROPERTIES: :CATEGORY: birthday :END: %%(org-anniversary 1981 1 2) Harry (%d) What I would like is for these to appear in the agenda (say) 2 ...
3
votes
1answer
449 views

Exporting Org in Landsacpe

I have an org document I'd like to export to PDF - with several wide tables columns in it - so much so that it makes sense to export the whole document in A4 landscape to keep the orientation ...
0
votes
1answer
40 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
1answer
24 views

Retrieving a view of org-mode tasks completed within a range and that have a non-nil property

How can I retrieve, over an elisp list of files list-of-files, a view of all org-mode headers that (i) were CLOSED in between start and end such that (ii) these headers have a property P defined (that ...
0
votes
1answer
10 views

Org mode: Issue with export using HTML template with #+SETUPFILE

I have download two HTML themes from this git to my home directory. Following the instruction I have put the following line on top of my .org file: #+SETUPFILE: "/home/myusername/org-html-themes/...
0
votes
0answers
13 views

How to prevent org-resolve-clocks from exiting on wrong key/Non-character input-event?

I use org-clock-idle-time to automatically resolve on idle time. When I get back to my computer, Emacs runs org-resolve-clocks-if-idle which runs org-resolve-clocks with the idle time. This is great,...
0
votes
1answer
41 views

org-mode datetree forward one day in the future

At work we do standups about what we did yesterday, I'm using datetree for my org-capture but the date recorded is by default today's date, I would like to change this so the date is of tomorrow ...
1
vote
0answers
140 views

How to move by columns in an org table?

The title pretty much says it all. I'm looking for something similar to M-f and M-b to move right or left column-wise in an org-mode table.
1
vote
0answers
23 views

unbind ALL C-x and C-c shortcuts in org-mode with CUA-mode

For a special purpose application of emacs with org-mode I want to dramatically simplify the shortcuts. I'm already quite satisfied with my config based on CUA mode. The one thing that bothers me ...
0
votes
0answers
9 views

Obtaining the results of babel evaluation of docker-compose commands

this is an odd behavior which seems to happen for some docker-compose commands but not others. If I try to evaluate certain commands like #+BEGIN_SRC sh dir: . docker-compose exec app rspec #...
1
vote
0answers
25 views

Customize org-mode state change logging text

How can I edit the format of the org-mode state change logging text? Specifically I'd like to be able to log with a timestamp excluding the time like - State "DONE" from "TODO" [2019-05-...
2
votes
1answer
51 views

Org export to html

I tried exporting several org files to HTML without success. That came as a surprise, since I've done that tons of times. The message I was getting on the minibuffer shed some light. End of file ...
0
votes
0answers
13 views

Cannot refile to last subtree in narrowed buffer

In org mode, evaluate the expression and narrow the buffer to the first subtree (C-x n s). * one (setq org-refile-targets '((nil . (:maxlevel . 3)))) ** two ** three * four Now put point on the ...
1
vote
0answers
18 views

Insert the same item in multiple rows in orgmode

I would like to be able to insert the same string in consecutive rows of some column of an org-table. I am using spacemacs and there is a vim way to insert the same instances in all visually selected ...
0
votes
1answer
47 views

Retrieving All Tasks “CLOSED” Inside a Time Interval

Question: How can I retrieve, over a set of files S (in particular: over my agenda files + their archive files) all org-mode headers that are marked "CLOSED" (i.e., have a "CLOSED" stamp like CLOSED: [...
1
vote
1answer
67 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
0answers
28 views

Make a call to katex to render LaTeX from Org to HTML

This would allow the resulting HTML buffer to be viewed in eww, then allowing org-preview-html to work with LaTeX equations. Any inline LaTeX equations in the Org document ($eq$ and etc) can be ...
1
vote
1answer
42 views

How to disable the “Press M-x…” title line of org-search-view command's output?

I use GNU Emacs 26.1 and want to remove the following enormous message Press ‘M-x org-agenda-manipulate-query-add’, ‘M-x org-agenda-manipulate-query-subtract’ to add/sub word, ‘M-x org-agenda-...
0
votes
2answers
209 views

Emacs not loading org-agenda-files on startup

So i've put this in my emacs.org: (setq org-agenda-files (list "~/todo.org")) But whenever i close and reopen Emacs, my org-agenda is empty until i reload my config-File. Is there anything ...
1
vote
0answers
18 views

Leave noweb references in Org-Babel unevaluated with variables

I'm currently getting into Literate Programming with org-mode in Emacs. One of the key features to make it tractable as a programming style is macros. I would like to be able to do something like this:...
2
votes
2answers
52 views

Open org-mode links to info in different window?

I was wondering if anyone knew of a way to open links to info pages (Emacs manual) from org-mode without changing the current buffer to that info page? The reason I would like to do this is because I ...
0
votes
1answer
141 views

How to jump to a heading in a date tree

What's the easiest way to jump to a heading in a datetree programmatically? I basically want: whenever I open my org file with file+olp+datetree structure to jump to a current day, if there's no ...
23
votes
4answers
5k views

org: How to sort headings by TODO and then by priority?

I often have a list like this: * Main heading ** TODO [#A] Make world better ** TODO [#B] Make Emacs better ** TODO [#B] Customize emacs ** DONE [#C] some task ** TODO [#A] Launch rocket to mars I ...
0
votes
0answers
23 views

Insert a node at a specific place in org-mode

I'd like to insert a node into a specific place. Each day, I log in, expand the following nodes: "Engineering worklog" > "2019" > "Q2" > "week 20" > "05/20/15". I'd love to have a single command to ...
0
votes
1answer
47 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 ...
0
votes
2answers
26 views

How to suppress output of link with elisp function in org-mode?

When using elisp function in the link in org-mode, like [[elisp:(func)][text]] after clicking the link, the function itself will be printed in *Message* buffer. How should I prevent it from being ...