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
1
vote
1answer
75 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) ...
1
vote
1answer
18 views

Forcing Speedbar's Sorting Order of Org File Headers to Mirror File's

I use both org-sidebar (https://github.com/alphapapa/org-sidebar/) and Speedbar to navigate Org files. Both have minor issues. However, I find Speedbar works best, but it has a terrible habit of ...
1
vote
2answers
26 views

Get verbatim output of 'curl wttr.in' in org src code

I want to record the weather info within org with commands #+BEGIN_SRC shell :results output curl wttr.in/place #+END_SRC #+RESULTS: #+begin_example Weather report: place [38;5;226m \ / [...
1
vote
2answers
133 views

Babel + Python function definition with for loop causes IndentationError

I am using orgmode and Babel to run Python source code blocks. I noticed that if I define a function that returns a value, and if this function has a for loop inside it, then evaluating it with Babel ...
0
votes
0answers
11 views

Org-mode parameters for custom table environment for LaTeX

I am using an overridden table environment based on tabular to get some custom cell coloring based on row alternation (similar to what rowcolors does, but also allowing column color variation at the ...
0
votes
2answers
15 views

C-c C-x f (org-footnote-action) cannot create a new footnote

I am used to create new footnotes in Emacs Org Mode with the key binding C-c C-x f. But now there are shown several options in the echo area, when I use this key binding, although the cursor is not ...
0
votes
2answers
46 views

how to tell org mode to make subsequent lines children of the hierarchy

I have a list like this: remember to undo: product 0 discrimination limit(100) ENV['MANUAL_...'] When point is at the beginning of line 1, how can I tell org mode to make subsequent lines children ...
0
votes
1answer
18 views

Specifying a refiling target at the file level

I have a question about refiling under orgmode. For a certain file, I want a different set of refiling targets that what I have in general (specifically, only refiling within this document itself). I'...
4
votes
1answer
75 views

Org mode + table.el: Use Org formatting inside cells

Say I have a table in an Org document looking like this: (Source) +----------+-----------+----------+-------------------------------------------------------+ | Date | Day | Pages | ...
0
votes
0answers
8 views

Cannot export org mode to collapsible HTML

I am trying to have basic collapsing/folding functionality for sections in the HTML file that has been exported from org-mode, since the files I want to share are very large. I am using Emacs 26.2 (9....
5
votes
2answers
969 views

How can I customize the LaTeX export of org babel #+RESULTS?

I regularly use org-mode and org-babel to create e.g. exercises or proof-of-principle documents which I export to PDF via the LaTeX exporter. I noticed that the #RESULTS generated by a #+begin_src-#+...
0
votes
1answer
21 views

org-mode: <N> to set column width isn't working

I'm trying to set a column width in an org-mode table, but using the syntax isn't working. Here's my table: | col 1 | col 2 with quite a long header | col 3 here | |-------+--------------------------...
0
votes
1answer
17 views

Org-mode: Using sparse tree to search through timestamps (non-scheduled, non-deadlines)

I am aware that I able to use sparse tree to search "[b]efore-date" with C-c/b or search "[a]fter-date" with C-c/a. However, I recognise that seems to only be with dates that are schedules or ...
0
votes
2answers
32 views

Representing leading zeroes in a list

I would like to have this table #+NAME: addition-table | | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |---+----+----+----+----+----+----+----+----+----+----| | 0 | 00 | 01 | 02 | 03 | 04 | ...
0
votes
2answers
284 views

Invalid duration format org-agenda

I probably hit the wrong keys at some point but now when I'm calling an org-agenda command (i.e. C-a a), I'm receiving an error message: Invalid duration format: "shell", with an empty window. I re-...
0
votes
1answer
16 views

org-archive-subtree: Invalid ‘org-archive-location’ Mark set

I get this when I try to archive a subtree. My config reads (setq org-archive-location "~/mega/org/archive.org") which does exist. So what am I doing wrong here?
0
votes
0answers
31 views

Automatically Highlighted Pdf Code Export [Org-Mode]

I want my Org Mode Latex Pdf Export to look like Code Styles and Colours Colour definitions for the xcolor package have been added to org-format-latex-header It looks like that now: (setq org-...
4
votes
2answers
703 views

file org-capture item under existing heading if it exists

I have the following org-template set up: ("mw" "Note" entry (file+headline "~/org/mathematica.org" "WIA") "* %f code review \n ** %T \n%? \n%a \n%i") So that the heading name is determined by ...
1
vote
0answers
17 views

Choose where org-agenda-tree-to-indirect-buffer window opens

If I have an org file open: +----------------------------------------+ | | | | | ...
0
votes
0answers
5 views

Can I get flycheck to ignore certain blocks of text?

I'm using Flycheck with some prose linters (proselint, vale) to lint my writing in org-mode. I'd like to set something up so that Flycheck doesn't check for usage or other errors within #+BEGIN_QUOTE ...
0
votes
0answers
10 views

Using find-name-dired on ms-windows in spacmacs not linking to full filename when using C-c l for org-store-link

How to get link to file when using find-name-dired on MS-Windows? I am using MS-Windows and spacemacs. I am use org mode files to manage information. I also have a directories with many reference ...
0
votes
1answer
53 views

org-mode table/matrix in latex export

I have an issue when exporting a table using *matrix environments. The align string appears in the cell content, whatever it is specified or not #+CAPTION: my matrix #+ATTR_LATEX: :mode displaymath :...
2
votes
2answers
33 views

How to set schedule and deadline for entires being inserted via org-capture template file?

I'm trying to leverage the power of org capture templates. There are a few tasks I know I will be scheduling on particular dates of the month. Setting their schedule and deadline in the capture ...
0
votes
1answer
31 views

Clock in automatically when org file is opened

Is it possible to create a hook so that It clocks in automatically whenever org file is opened for editing Kindly help
0
votes
1answer
22 views

Convert a formmated region to org table

I tried convert the following region to table Attribute Description form A dictionary with all the form fields submitted with the request. args A dictionary with all the ...
0
votes
0answers
24 views

Org-export: Change position of author and title in the tex-file?

I want to convert my latex template to an org-mode template. I want to change where the \title{} and the \author commands are inserted in the tex-file. At the moment these commands gets inserted just ...
0
votes
1answer
18 views

Active Timestamps with org-add-note

If you add a Note to a TODO task with C-c C-z it adds an inactive timestamp to the note. This way it does not show up in the agenda view. - Note taken on [2019-11-05 Di 09:32] \\ I want org-add-note ...
0
votes
1answer
11 views

Do not show created timestamps in agenda

I'm using a package that automatically adds a CREATED property with a current time stamp to every item I create. I would like these timestamps not to appear in my agenda. To demonstrate, here is a ...
0
votes
0answers
11 views

Highlight Jinja2 template in org mode

I am taking notes of Jinja2 template with org #+BEGIN_SRC html {% extends "base.html" %} {% block title %}Index{% endblock %} {% block head %} {{ super() }} <style> </style> {...
1
vote
1answer
68 views

How to hide items after refiling to a collapsed target in org-mode?

When an item is refiled to a target which is collapsed and contains other items, the refiled items are visible beneath the collapsed target. I would like these refiled items to instead be hidden along ...
6
votes
0answers
221 views

How to archive an org-mode subtree along with its parent headlines

Let me start out by saying I've seen various attempts to address questions similar to mine, but none of them handle the things I'm looking for. Here is an example of what I'm looking for: Say I ...
2
votes
1answer
90 views

Export only visible entries of sparse tree

I'm trying to export an org file into a file that contains only the visible entries (and parents) of a sparse tree (matching a specific tag). For example, applying this to the following tree * A ...
0
votes
0answers
8 views

creating custom org blocks for html classes

We can embed pure html inside org mode before exporting to a webpage using begin_export html (the html snippet was taken from https://alligator.io/css/collapsible) #+begin_export html <div class="...
0
votes
0answers
37 views

(solved) Error “Tangled 0 code blocks from [file]”

I'm writing a bash script with literate org-mode. The header of the file is: #+TITLE: start-lcs #+AUTHOR: Stahlberg #+EMAIL: stahl at gmail dot com #+DATE: 2019-11-02 #+PROPERTY: header-args:sh :...
0
votes
1answer
36 views

MU4E: Force myself to check mail once and only once?

Emacs workflow is smooth. Usually we want it smoother. But I would like to make it less smooth.. This might be a strange question. I use emacs and mu4e to deal with my mails. However, the workflow is ...
1
vote
1answer
32 views

Org mode refiling gobbles a newline and absorbs the next heading

I often have this problem in Org mode: I write an item with org-capture, refile it, and days later I see a result like this: *** TODO some task some notes** StackExchange I believe that the problem ...
0
votes
1answer
35 views

How to get error messages for org-preview-latex-fragment?

(This took a long time to research, so I'm answering my own question, hoping to save others some time) Let's say I have a file like this: one by two is $\froc1{2}$ When I run M-x org-preview-latex-...
2
votes
2answers
41 views

Org-mode: How to LaTeX export “$n$-” correctly?

I have notes containing many of the following type of LaTeX fragments $p$-adic ... $n$-th ... But org-mode exports them as literal dollar sign instead of math. The problem seems to be the - ...
0
votes
1answer
74 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 ...
6
votes
2answers
372 views

persistent org-mode clock-in history

Is there a way to make the list of recently clocked-in tasks in org-mode persistent across Emacs restarts and (more importantly) closed buffers? It's annoying having to find the previous task just ...
0
votes
0answers
45 views

asynchronously running org-toggle-latex-fragment

In orgmode, it is quite useful to view the equations inline. However, sometimes this can take a while to execute. Running org-toggle-latex-fragment asynchronously would be quite useful. However, most ...
0
votes
0answers
17 views

org-mode: Multiple source listings in the same float

I have an org-mode document that includes source listings of two kinds: XML and text, where the XML code refers to the text file. I want to include the two source listings into the same float in the ...
0
votes
2answers
64 views

emacs org bullets not working

I'm using emacs on ubuntu 19.04. This is my init file (use-package org :ensure t :pin org) (use-package org-bullets :ensure t :config (add-hook 'org-mode-hook (lambda () (...
1
vote
1answer
33 views

How to open text links (hypertext) firefox with mu4e?

I have this function to open links in firefox with mu4e, which I found somewhere here. ;; open with firefox (defun my-browse-url-firefox-new-tab (url &optional new-window) "Open URL in ...
1
vote
0answers
102 views

link to a given page of an epub file from org mode

Is it possible to make a link from org mode to a given page or section of an epub file (epub warp) ? I know that with "pdfview:./filename.pdf::6" we can have access to the page 6 of the pdf file. So ...
1
vote
2answers
63 views

How remove asterisks in org mode?

Windows 10 Emacs 26.1 Here example of my org file with many inner items In my opinion it does not look very comfortable. I think asterisks make "noise". Is it possible to remove asterisks?
3
votes
1answer
56 views

hlines in bash/sh source code block

How can I insert a horizontal line (hline) in a bash/sh source code block? My goal is to separate the header line from the rest. #+begin_src sh echo "header1,header2" echo "???" # placeholder for ...
0
votes
0answers
12 views

Org mode:inks to file text snippets stopped working after upgrade

I have an org file referencing to another file with links containing # symbols: [[./crawler.pl::#top level processing][top level processing]] It worked fine until I upgraded Emacs to 26.3 and org-...
1
vote
1answer
28 views

How to convert an org string to html in an elisp program (with macros)?

In an elisp program, I am trying to convert strings from org syntax to (say) html. For that, I use org-html-convert-region-to-html with a temporary buffer, and everything is fine: (defun tv/org-...
0
votes
1answer
29 views

Can I prevent export of an org subtree?

I would like to have a section of my document for "Prep" - basically scripting stuff you need to have system wide in order run the document. It's not really relevant to anyone reading the document and ...