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
0
votes
0answers
39 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 ...
2
votes
2answers
103 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
82 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
10 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
50 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
33 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
28 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
49 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
55 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
22 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
98 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 ...
1
vote
1answer
43 views

make org “c-c c-c” actually do something useful on a simple line of text

how can one teach emacs to do something useful here? for example if the current line contains the word "FOO" anywhere, change it to whatever the string returned by special-lisp-function-001
1
vote
4answers
49 views

Convert text under a heading into an org-table

I am using spacemacs. I've written my shortcuts in an org file to not forget them. It has a structure of Description: key, then I go to the next line and enter the next command. For example *** Latex ...
0
votes
2answers
43 views

Org Mode - Targeted Expansion of Headings

In org mode with the headings collapsed you can go to each one and press TAB to expand it. Is there an easy way to not have to navigate to headings by using the arrow keys?
0
votes
1answer
32 views

Org mode 9.2.6 - Org agenda - match tags/prop/todo query hangs

After typing a keyword the command just hangs, regardless of the query. The trace is as follows: Debugger entered--Lisp error: (quit) org-add-prop-inherited("qpct") #[257 "\300!\262\301!\207" [...
1
vote
1answer
66 views

Show headings only in sparse tree

I am generating a sparse tree typically using a regex (, / r ). What I am trying to do is get an overview of where in my document a match occurs, not the exact positions of the matches. So, if I have ...
1
vote
1answer
34 views

Org Mode - Stop Recurring Events From Appearing as Late on Agenda

I am using the org mode agenda and my issue is that recurrent scheduled items appear as late everyday. For example an event that happens every Tuesday will also appear every Wednesday as 1 day late, ...
4
votes
1answer
119 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
1answer
65 views

Check whether buffer is in org-mode

I want to programmatically check whether the current buffer is in org mode. I know that major modes should usually define the variable <modename>-mode, i.e., org-mode should be a defined ...
0
votes
0answers
27 views

Render bmp images in org mode

I want to quickly embed images in an org document and am trying to use org-download to help me. However, due to a silly bug in Firefox, images are saved as .bmp files. The result is that org-...
2
votes
1answer
42 views

Org Capture - prepend after org header/config block?

One of my org capture templates (in my init.el) looks like the following: ("n" "Note" plain (file "/path/to/file.org") "* %^{Title} %U \n%? \n" :prepend t) I'd like ...
1
vote
0answers
24 views

Why does this org session src block not give me the right results?

I am trying to up my literate coding chops and solving some programming challenges with it. Here is the full writeup of the exercise I'm playing with Mostly everything works and I understand ...
3
votes
2answers
125 views

How to denote an aside in org?

I am trying to go deeper with org mode to the literate coding stuff itself rather than merely for markup. I am writing a document where I'm solving some coding challenge, and part way through ...
0
votes
0answers
14 views

How to force left flush before next main header in `org-mode`

I am trying to add two more empty lines before the next main header and a solid line like so: ----- * Header 1 ** Header 1.2 \\ \\ ------ * Header 2 How can I align \\ and ----- to left ...
0
votes
0answers
108 views

How to execute a org-babel source block within the working directory?

Say you have the following org-babel source block: #+BEGIN_SRC latex :results raw :file test.pdf \LaTeX #+END_SRC When executing it, org-babel will do the actual compilation in a temporary directory ...
0
votes
0answers
43 views

Constructing a nested tree from an org heading hierarchy

I have a custom tangling function traverses an org file. It matches the nearest heading or block. If it matches a heading it collects a list that looks like (level header tags). If it matches a ...
2
votes
0answers
107 views

How to update Org-mode via Package Manager?

I have org-version 9.1.9 installed on Spacemacs and am attempting to install the latest org-version 9.2.6. Install instructions are on https://orgmode.org/worg/org-faq.html#installing-via-elpa and ...
0
votes
2answers
49 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
0answers
11 views

In Org Mode, how do I list all targets for the link?

Suppose I have the following structure: * Chapter 1 ** Trivia * Chapter 2 ** Trivia * Somewhere else This is a document that describes how <<Trivia>> is formed. Now I wanna have a ...
1
vote
1answer
37 views

Ignore a repeated diary entry, just this once, in Org Agenda?

In a nutshell: I'm looking for a way to selectively hide one instance of a repeated diary entry so it doesn't show up in my org-agenda. I have many repeating diary entries for things like weekly ...
0
votes
0answers
39 views

recover org file

I use emacs org mode + EVIL on MacOS. I had a small part of my file visually selected last night when I wrote :wq and hit y to the prompt. To my shock and horror this morning only the visually ...
2
votes
3answers
67 views

How to make a diff tool ignore asterisks?

I want to compare and merge some org files. How can I make a diff tool assume that some tasks or notes are identical, even if they are on different levels, i.e. strings only differ in the number of ...
0
votes
1answer
29 views

Convert a selected region to org table

I have such a block Function Description count Number of non-NA observations sum Sum of values mean Mean of values mad Mean absolute deviation median Arithmetic median of values min ...
0
votes
0answers
38 views

org-tags-view vs. org-agenda, M

My goal is a shortcut for an oft-used command. The oft-used command: An agenda view of all unfinished tasks matching a given tag: 1. M-x org-agenda 2. Prompts for the type of agenda 3. I enter "M"...
0
votes
1answer
19 views

Org export on mac os # option

When I press C-c C-e in org mode I get the export options. However I can not choose "Insert template" as when I try and type the # in mac os I need to press the option key and the 3 key. But Option is ...
1
vote
0answers
27 views

How to make Org lists show collapsed by default? [duplicate]

Simple question: How to make list show collapsed by default? It's very annoying to find the lists uncollapsed and visually not pleasing everytime I open a buffer full of lists. Another thing is that ...
0
votes
1answer
86 views

a lisp function to toggle a mode (org mode in this case) on and off with a single shortcut

I'm trying to create a shortcut (C-c c) regardless of what kind of file is currently opened (it could be a .pl file or a .txt file or an extension less file) pressing C-c c should turn on org mode if ...
0
votes
0answers
28 views

How to revert to specific version of orgmode package in orgmode layer in spacemacs

I am using spacemacs with emacs version 26.3 and would like to use org-drill. Unfortunately, there currently is a bug that prevents org-drill from working with org-mode version 9.2 (which is the ...
1
vote
1answer
135 views

Org-mode agenda: Show list of tasks done in the past, and not those clocked

Similar to this thread and this one, I want to show an agenda view with all items marked as "DONE" in the last two weeks, but without the lines Clocked: (1:00) DONE Some task (because for that I only ...
0
votes
0answers
57 views

how to sort tasks in agenda using todo-state-up?

I defined 4 TODO keywords. Two are in the TODO state and two others (DONE and CNCL) belong to the DONE state: (setq org-todo-keywords '((sequence "TODO" "WAIT" "|" "DONE" "CNCL" ))) I defined ...
0
votes
1answer
37 views

Evaluating `org-babel-clojure` blocks returns nill & result

Why the results is 'nil5'? Can't be just 5? #+begin_src clojure :results (+ 1 4) #+end_src #+RESULTS: : nil5 Also: #+begin_src clojure (print "Hello World!") #+end_src #+RESULTS: : nilnil I was ...
4
votes
1answer
53 views

Searching Greek and Hebrew texts in Emacs with isearch while ignoring accents and diacritics

I have a number of text and org documents that contain Greek and Hebrew text. I want to be able to search these in Emacs using isearch but I also want Emacs to ignore all accents and diacritics. I ...
0
votes
2answers
140 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
54 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 ...
0
votes
0answers
24 views

How to make Alt-h work in Org mode in Spacemacs?

When inside a table in Org mode, I can press Alt-l to move the column to the right. But alt-h does nothing. The same happens when I try to put the heading one level deeper. Alt-l works but alt-h ...
0
votes
0answers
36 views

Jumping to a Heading from Org-Agenda view

I'm trying to jump from Agenda view to a particular Heading in an org file. The Heading has nothing to do with the items currently displayed in the Agenda. If my buffer was an org file, I'd simply ...
1
vote
0answers
22 views

Copy item from Org Agenda

For some reason I cannot explain, org-copy (C-c M-w) does not work from Org Agenda (mini-buffer saying C-c M-w is undefined). org-refile (C-c C-w) does work from the agenda and org-copy as well from ...
0
votes
1answer
46 views

Org: adding category to non-top headers

I use one unique diary.org file for my Org Agenda. My file is structured as :tree-type week, hence is every entry like: * 2019 ** 2019-W21 *** 2019-05-26 **** entry I would like to add category to ...
0
votes
0answers
19 views

Is it possible to reference a variable or constant in a table cell?

I am trying to set a variable or constant to be used within multiple cells in a table, but it is either not possible or I am doing it wrong. For example #CONSTANTS a=3 |----------|--------| | number ...
0
votes
1answer
25 views

How to delay an item in org mode?

I have repeating items that I would like to do every day but sometimes miss, e.g.: ** TODO That nasty habit SCHEDULED: <2019-09-28 Sat 06:00 ++1d> :PROPERTIES:... :LOGBOOK:... I can move point ...