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
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 \ / [...
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 ...
1
vote
1answer
19 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 ...
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....
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
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
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
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'...
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 ...
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
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
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-...
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
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
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
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
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> {...
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
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
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 :...
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
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 ...
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
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
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
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
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?
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 ...
0
votes
1answer
38 views

Draw pie chart from orgmode table

I'm trying to draw a pie chart from an orgmode table. Let's keep it as simple as possible. #+TBLNAME:kuchen | 100 | ABC | | 3 | DEF | | 123 | XYZ | #+name: pie-chart (kuchen = kuchen) #+begin_src ...
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
1answer
21 views

Insert trigonometric function to org file

When inserting trigonometric function or other mathematics formulas, I usually insert an image to org file as Is it possible writing such a formula to org.
0
votes
0answers
41 views

How do I install org-drill?

I want to use org-drill to do flashcard type training on my ubuntu computer as was showcased in a few youtube videos. It is not clear to me that it works out of the box in 2019. GNU Emacs 25.2.2 Org-...
0
votes
0answers
27 views

org-mode list DONE tasks with parent level two task as context?

I'd like to list tasks done with their parent org hierarchy (projects/purposes). In my setup, the level 2 tasks are the projects. Under each project, I have org subheadings as tasks for the project. ...
0
votes
1answer
63 views

org-mode headings to org-table

I have a big org file with lot of topics, and every topic have a books subheading. I would like write a function that can generate a list of all books in org-table. I was trying with (org-map-entries) ...
0
votes
1answer
15 views

How to get correct list numbering with code blocks items in Org-babel?

Here is a minimal working example of Org file for LaTeX export: #+OPTIONS: toc:nil * A list with R source blocks 1. This is the first item. #+begin_src R :results output :session *R* :exports both x ...
0
votes
1answer
25 views

How to change scheduled date on multiple items?

I use Org mode and would like to change the scheduled date of multiple items, either on the main buffer or from the agenda. I tried selecting multiple headings into a region and hit C-c C-s, which ...
0
votes
0answers
18 views

Error running timer ‘ac-update-greedy’: (void-variable org-link-types)

I very recently updated to Emacs 26.3 and Org 9.2.6, and am getting the above-mentioned error whenever I type "[[" in an org-mode buffer to type a hyperlink. Unsurprisingly, no error after turning off ...
1
vote
2answers
40 views

Emacs Org-mode + Letter class = Unknown latex class 'letter'

I want to use Emacs with org-mode to export notes using 'letter' class. Texlive is installed in a Mac, and have many classes to export. But Emacs in org-mode only work with: article, report and book: ...
1
vote
0answers
26 views

Org-indent with variable-pitch-mode and visual-line-mode indenting lines after the first too far on windows

On my windows machine, org-indent or visual-line-mode seems to be indenting wrapped lines further than it should. It almost seems like it is double-indenting them, as the extra indentation seems to ...
0
votes
0answers
9 views

Org agenda opens 2 windows with headline source buffer when i run todo command

This only happens when i run agenda-todo command on scheduled headlines, and only when i have 2 (or more) frames opened - agenda in 1 frame and some other buffer in another. Is this a bug? Or i need ...
0
votes
1answer
44 views

Color for important entry in global TODO list

In Org Agenda, I use Org priorities to know when I should get on something (A=now, B=soon or C=later). I use :STYLE: property with a custom important value for some entries (no matter when I need to ...
1
vote
2answers
26 views

How to count direct or indirect children in org or outline mode

I want to count the number of children in a subtree in org-mode. I am able to count the number of recursive children with (outline-next-heading): (defun outline-count-subheadings (&optional ...
2
votes
1answer
25 views

How to export to PDF with blocks that respect indentation AND subscripts?

How can I export so that both subscripts and indentation are respected? For example, using QUOTE will respect special characters like subscripts, but will ignore spacing. The opposite is true of ...
0
votes
1answer
46 views

How to transform abbrevated dates in org table

The input column represents the year without 201 and month and day without leading zeros. I must transform these into full date strings. After a couple of hours to take step 1, I'm wondering if there ...
0
votes
0answers
22 views

Show effort and clock time in agenda view

I use Org mode for my to-do list, clocking, and setting effort estimates. I can show the effort estimates for tasks scheduled for today with the columns view and this setting (thanks to this thread): ...
0
votes
1answer
21 views

Where did “**dates**” buffer come from?

I was working away in emacs using org-mode to register some task I was doing, when I noticed a new buffer had appeared called "**dates**". It had a number of dates presented in it such as "ISO date", ...
0
votes
0answers
69 views

Org Mode - Live Preview and Mathematics

I write a lot of documents using Markdown in VS Code and it is convenient because you have live preview capabilities and also live preview math formulae, using, if I am not mistaken, KaTeX, and ...