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
13 views

How can I get flush left text in org-indent-mode?

I open an org file in emacs and it displays thus: I enable word wrap with M-x visual-line-mode and get: But I prefer the extra indenting of headlines provided by org indent mode, so then do M-x org-...
1
vote
0answers
14 views

Directed Acyclic Graphs in Org mode, and Cloned Nodes

By default, Org-mode headers form trees. That is, every header can have an arbitrary number of sub-tasks, and this relationship is recursive to an arbitrary depth. However, a task in practice can be a ...
0
votes
1answer
16 views

Use Helm for Org Refile Completion

I want to use helm for org-refile completion when determining which heading to refile under. Here are some excerpts from my initialization script. (setq org-refile-targets '(("~/Documents/GTD/Gtd....
0
votes
0answers
7 views

Org-mode tell paragraph position in subtree

Is there a quick way to show where a paragraph is sitting in the document structure hierarchy? * Chapter 1 ... * Chapter 5 ** Section 4 ... paragraph X I would like to tell that paragraph X is ...
0
votes
1answer
24 views

org-mode numbered list across headings

I have a list of items. * Heading 1 1. Item 2. Item * Heading 2 1. Item 2. Item 3. Item Is there an easy way to make the numbers run across the headings like this? * Heading 1 1. Item 2. Item * ...
1
vote
1answer
23 views

How to use a org-capture template expansion several times in a captured note

I am trying to create a org-capture template that re-uses some text given with the ‘%^{PROMPT}’ expansion along several points of the created note. I have looked in this link and in stack overflow ...
0
votes
1answer
15 views

Org-ref not communicating with Tex-live?

Org-ref cannot tell that I have biblatex-caspervector installed. Is this because of some packages that I missed?
0
votes
0answers
28 views

org-mode internal link works only in some cases

I have an .org document with the following structure. * Headline 1 This is some text * Headline 2 :Custom_id: h2 This is heading number two ** Sub heading 1 <<target>> ** Sub heading ...
1
vote
1answer
10 views

Org Agenda is looking for agenda file names inside of my todo file

When I try to open a org-agenda view, I am prompted with emacs claiming that the first line of my todo list is not a valid file, with options to remove it from the agenda list, or abort. Removing it ...
0
votes
1answer
21 views

Org-Mode not exporting all child subheading

While exporting following sample org file content to html, final output skips headings from 3rd depth in table of content. After reading org documentation, and forum questions, I tried following, ...
1
vote
1answer
19 views

How to go to matching pattern after org-occur?

After typing C-c / / and a regex, org shows a sparse tree containing matches of the pattern. How do I move point through these matches, in a way similar to C-s?
1
vote
2answers
24 views

Can Org-mode link to a Babel block?

I would like to have a link that runs a Babel source-code block. Does Org-mode support running something from the library of babel in a link, or a source block via a file+blockname reference? A ...
0
votes
0answers
37 views

Emacs displays Hebrew text incorrectly

I have a number of org-mode/text documents that contain English and Hebrew text. They are scholarly papers. However, the Hebrew text in Emacs is not displayed correctly. I am using Dejavu Sans Mono as ...
0
votes
1answer
23 views

Does orgmode have the option to restrict the task states or categories in the editing page?

Is there a way to restrict the TODO types or categories in the editing page? I know about filtering the agenda view, but I need the option to see only some tasks states in the editing page, such as ...
0
votes
0answers
31 views

Use counsel/ivy to insert org-links?

I'm trying to use counsel/ivy to insert org links, but I haven't found a way to do this. I just want something to replace org-insert-link with a counsel interface. Can anyone help?
3
votes
1answer
78 views

Matching repeating tasks in org-agenda search

I am trying to create an agenda search that matches on the DATE property of certain entries. This works fine for one-off tasks/events; however, when I have a repeating task whose DATE is of the form &...
0
votes
1answer
53 views

Searching for org-tags programmatically (without regexp)?

The function org-tags-view allows you to build up semi-complex searches for tags using regexp: (org-tags-view t "+PROP1={value}&+PROP2={[1-2]}") However, regexp is very limited. Is there a way ...
0
votes
1answer
51 views

More detailed org-capture into org-table template?

(Disclaimer: I know this may seem like a very specific question. But: I haven't found the answers to similar questions to be close enough to what I need. I hope to get an answer that is easily ...
0
votes
1answer
38 views

Matching org tasks against an interval of values

In a list of files I have org tasks with the property E such that each E is marked with an interval range. * Some task1 :PROPERTIES: :E: [E1, E3] :END: * Some task2 :PROPERTIES: :E: [E4, E7] :END: ....
1
vote
1answer
47 views

org-agenda-write doesn't respect org-agenda-dim-blocked-tasks

Running a fresh Emacs session with emacs -Q, I evaluated the following: (setq org-agenda-files '("~/index.org")) (setq org-enforce-todo-dependencies t) (setq org-agenda-dim-blocked-tasks 'invisible) ...
0
votes
1answer
31 views

org-clock-sum but excluding child time?

org-clock-sum gets the time logged for a header and all of its children. Is there a way to get the time logged ONLY for the top level header (but not its children?).
0
votes
1answer
37 views

Prevent coloring of org code block during html export

How can I tell emacs/org to not syntax color the outputted html when I'm exporting using org publish project feature. Alt-: Eval: (org-publish "blogproject1") #+BEGIN_SRC sh :exports both ...
2
votes
1answer
68 views

org-mode tikz drawing behavior abnormal

In below example, the text should be show on the right side if compile the latex code with pdflatex command. but in org-mode, the right side text missed: #+HEADER: :fit yes :imagemagick yes :...
0
votes
1answer
42 views

Org-mode: customize delimiter for horizontal line in tables

The default column-delimiter for horizontal lines in tables is a + sign. How to change it to vertical bar |? Currently, it looks likes this: |---+---+---+---+---| | | | | | | |---+---+---+-...
0
votes
0answers
12 views

Creating a link to a file based on the path from a source block

I have a source block as follows: #+begin_src bash :session mysession load_environment # loads environment, along with $path_to_dir variable #+end_src Following that, in my regular org text, I want ...
1
vote
2answers
36 views

Orgmode automatically increment an unordered list

I use org-mode for planning projects and tasks, etc. Say I am reading a book and I want to track my progress chapter by chapter. I want to create a list of repetitive elements with an incremented ...
0
votes
0answers
16 views

Export to ODT Zip error

I am trying to get an org file exported to ODT and when I try to export I get the error: Running zip -mX0 filename.odt mimetype OpenDocument export failed: Unable to create OpenDocument file. Zip ...
0
votes
0answers
25 views

Org-Habit Consistency Graph: Increase Visibility/Width of “Today” column

When I display the org-habits consistency graph in org-mode's agenda view, one column/character is used per day. I am finding that it is difficult to visually pick out the current day. I'd like to ...
0
votes
0answers
21 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. (By portable subtree, ...
1
vote
1answer
39 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
1answer
51 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
0answers
39 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
0answers
43 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 ...
2
votes
2answers
45 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
107 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. ...
2
votes
1answer
44 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 ...
0
votes
0answers
25 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-...
0
votes
0answers
41 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
0answers
29 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 ...
1
vote
1answer
38 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 ...
1
vote
1answer
61 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
19 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,...
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
13 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
27 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-...
0
votes
1answer
46 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 ...
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 ...
0
votes
1answer
21 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-...
0
votes
1answer
37 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 ...
1
vote
0answers
19 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 ...