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

org-mode table: how to add the left-most vertical line with column groups notation?

The documentation suggests that column groups syntax is a general way to add vertical lines in a table. For instance, the following org-mode's table snippet |--------+----------| | | Column 1 | ...
0
votes
0answers
32 views

Refresh agenda for (dynamic) current buffer

When I use this custom agenda (below) for a current buffer, the agenda builds correctly. But if I try to refresh it or move the date with f or b I get errors like: if: Wrong type argument: stringp, ...
1
vote
1answer
37 views

Show one todo tree with two different states

Hi I would like to make this function show a tree with headings in NEXT and WAITING status. (defun show-NEXT-in-subtree () "Narrow to a subtree and show only headings with NEXT and ...
2
votes
1answer
52 views

org capture at point as sibling of heading

org 9.2 used to support this feature. when (org-capture 0), it used to place the selected template entry as a sibling of heading at point. in org 9.3 however, it fully respects the heading level ...
0
votes
0answers
19 views

Show contents just up to particular headline level in org mode

I know about the standard cycling commands here: https://orgmode.org/manual/Global-and-local-cycling.html but they don't seem to allow this. I have a setup like * A ** AA Foo *** AAA Hidden **** AAAA ...
0
votes
0answers
13 views

Company won't complete at the beginning of org mode headline

For example, with the given text * algorithm * algo<cursor> Fun company-complete it won't complete the word aglorithm. If the cursor is not at the beginning of a headline, then completion works ...
0
votes
1answer
31 views

just todays agenda for just the current buffer

I would like to make a quick access agenda for today and just for the current buffer. So my approach looks like this, but it does not work. (setq org-agenda-custom-commands '( ("o" ...
0
votes
1answer
16 views

Only edit visible lines in sparse tree view

Consider the following org-mode document * Foo ** bar1 :g1: ** bar2 :g2: ** bar3 :g1: ** bar4 ...
0
votes
1answer
40 views

Change emacs generated image size in org-mode export

I'm using PlantUML to generate a UML diagram inside an orgmode file. I've looked everywhere, and either I'm using the wrong terms (likely) or I'm missing something (also likely). When I view the raw ...
0
votes
1answer
30 views

Refresh org statistics cookies automatically

I try to automatically refresh statistics cookies while changing buffer to org buffer, saving buffer, showing agenda and refreshing agenda. I know it's possible to update entire file by calling org-...
2
votes
1answer
93 views

How to refresh org file programatically

I am using spacemacs-light theme in Emacs and love it. In my spacemacs-light theme, some org-files open with bullets not hidden though. In those cases I go to the top of the file and hit C-c C-c to ...
0
votes
1answer
26 views

Narrow down refilling options to single sub-heading

I have a single file tasks.org that contains all the tasks for agenda and I have separate projects files with a tasks related to specific project. I try to setup a configuration that will let me ...
0
votes
0answers
22 views

Loop through n Org tree breadth first

I want to make a function that loops through the children of a tree breadth first. So first, it will loop through first level of children, and then second level of children, and so on until it reaches ...
4
votes
1answer
106 views

Org Src Block does not return any output

TL;DR: How do I get the stderr of my source block to be part of the #+RESULTS block, without changing the contents of the block? I can only get stdout to appear. [Long and winding explanation] While ...
1
vote
0answers
28 views

org-agenda case-insensitive tag search?

I use C-c a m to search for a tag, but the search is case-sensitive. By example if I enter gnuplot, only section B will be found * section A :Gnuplot: * section B :gnuplot: Question: is it ...
0
votes
1answer
49 views

Org task repeatable cycle state turn DEADLINE and SCHEDULED timestamp inactive/active

I have a list of repeatable tasks. Sometimes I deactivate them by changing state to CANCELED. But when I do it the new SCHEDULE is created in the future. To prevent that from happening I change ...
0
votes
0answers
23 views

skip org-capture prompt (deadline)

Is it possible to skip prompts in org-capture-templates? Examlple: I would like to prompt for a DEADLLINE but sometimes there is no hard deadline or it is not yet known. I would like to just skip over ...
0
votes
0answers
39 views

What is the org-mode equivalent of \gls{keyword} in LaTeX?

Is there an org-mode equivalent of the LaTeX glossary package? Use case - you have an external file with a glossary list, the \gls{keyword} gets expanded at compile time to whatever is referenced in ...
1
vote
0answers
24 views

Is there a good reference org-mode template for output of learning content to markdown (online), as well as TeX (print) formats?

I'm working on converting a 200 page book (currently in TeX) to org-mode. Ideally I should be able to push the new org-mode variant of content to both markdown (for online learners) as well as to more ...
1
vote
0answers
28 views

Org Mode source block not highlighted

Okay, so I just observed a weird thing with my org document. The source blocks are fine if I go from top to bottom, however, when I directly jump to bottom and then move towards the top, the source ...
1
vote
0answers
36 views

Directly transfer underlined phrases from pdf to org-mode?

I'm learning emacs (on spacemacs) and focusing on orgmode. Is there a way to transfer what you underline in a pdf (like in skim) directly as text in orgmode. In other words, when you underline a ...
1
vote
1answer
32 views

Find clocking errors in org-mode entries: list/edit all clock entries with duration until next day(s)

I discovered the excellent org-analyzer tool and used it to analyze my clock entries in Emacs org-mode. Unfortunately the results are not usable yet, because there are a lot (dozens) of faulty clock ...
1
vote
2answers
45 views

Cannot set the org-agenda to start my week on monday

In org-agenda I am trying to change the start of my week to monday by adding this to my .emacs file: (setq org-agenda-start-on-weekday 1) Without success. The week (in the mini calendar, when I try to ...
0
votes
0answers
46 views

org-capture-template “:created” property

Studying the variable org-capture-template I found several configurations where a certain :created t property is used. One example is here In my help buffer (help:org-capture-templates) I could not ...
2
votes
1answer
42 views

fill-paragraph on multiple paragraphs at once

I often cut and paste non "filled" text into text files (mostly in org-mode). I then have to go line by line and call fill-paragraph or org-fill-paragraph in org-mode to clean up the text. ...
1
vote
1answer
70 views

Get a table of org-mode file from elisp to be passed to R

I am bad at elisp. I am trying to return to follow the idea of just getting everything from the orgfile, then pass it to R code to do easier analysis for me. This works to generate only tags table #+...
0
votes
0answers
50 views

In-line latex fragment position in org-mode

The in-line LaTex equation images are slightly higher than the rest of the font, maybe because of the image borders. This is really a small thing but could it be better aligned at the bottom?
0
votes
0answers
17 views

How can I set default paths for INCLUDE blocks under each heading in orgmode?

I am writing a document where I have a collection of code for different topics. My document structure is as follows. * Heading1 Some text #+include: "Heading1/file11.py" src python Test ...
1
vote
1answer
47 views

Easily accessing org files

I've just started to use org-mode in emacs (spacemacs). One simple thing that is confusing me is how to quickly access my org files. What is a solid and simple strategy for quickly pulling up a list ...
0
votes
1answer
59 views

How to overwrite by pasting a string without selecting a region?

I can't figure out how to paste a string, for example 145 characters long, into a text line in a way, that the next 145 characters after the string are overwritten by this string or simply erased. An ...
0
votes
1answer
35 views

How to call `org-sparse-tree` from Lisp?

While viewing org-mode files I am used to typing , - / t to produce a sparse tree of todo items. I am trying, unsuccessfully, to write some Lisp to achieve the same thing. Here's the sort of thing I'm ...
0
votes
0answers
23 views

insert-image doesn't work in the org code block

I have an org file, which contains the following text: #+begin_src elisp (insert-image (create-image "/home/searene/Pictures/Selection_007.png")) #+end_src When I press C-c C-c to ...
0
votes
0answers
43 views

How to animate GIFs in org-mode in emacs?

I inserted a GIF in my org file, but it was static, I want to animate it, how can I do it?
1
vote
2answers
98 views

Emacs insane CPU load caused by org-superstar-mode

if I try to open a fairly large file in emacs with org-mode enabled (loads of bullets and babel snippets), emacs uses an insane amount of cpu - my cpu is maxed out for 30 sec or so. I am running a ...
1
vote
1answer
59 views

How to bulk mark agenda items based on file name?

my org-agenda todo list looks something like this: inbox: TODO learn how to process the inbox inbox: TODO learn how to create a useful org agenda foo: TODO start the project I ...
0
votes
0answers
23 views

When C-c C-c on a block in my org buffer, it collapses the whole buffer

How to avoid this behaviour? I use Prelude. If I have a source block I want to evaluate, it will do so, but also it will collapse all the headings in the buffer, which is annoying. Thanks for any help ...
1
vote
1answer
33 views

How to enable org mode and evil mode for untitled buffer when creating a new frame

The code below creates a new frame with an untitled buffer, how to make this buffer default with org-mode and evil-mode? (global-set-key (kbd "s-n") 'new-empty-frame) (defun new-empty-frame ...
1
vote
1answer
31 views

How to remove day grouping header for today's date in Agenda View?

I have following custom agenda command definition. What I would like to achieve is to group all tasks for today without wrapping them in the current date header. (setq org-agenda-custom-commands ...
3
votes
1answer
96 views

Copy the extra information lines from *Org Agenda*

It's somehow strange. In the *Org Agenda* you can get extra information with v c (time gaps) or v E (some entry text). What I want is just to copy the extra information (text lines) with the rest of ...
1
vote
1answer
42 views

How to change background of Org-mode's source code block only from the indentation of #+BEGIN_SRC?

In Org-mode, I wonder if the background color of the source code block can be changed only from the indentation of #+BEGIN_SRC? Here is the current background in my Org-mode: Is it possible to change ...
0
votes
1answer
51 views

Emacs org export shell script from txt file

I have a .txt file which is an org file but not with the .org file extension. I want to export the file to html on the command line, but it does not work if the file extension is .txt, only if the ...
0
votes
0answers
28 views

How to resolve keybinding conflict, or set precedence of the bindings to the same keys for different functions?

How do I resolve keybinding conflict? Or if it's possible to have precedence of keybindings for the same key for different functions? I have the following snippet definition, in org-mode: #+name:${2:...
1
vote
1answer
28 views

Exclude some headings from numbering

I would like to exclude some headings from numbering in org-num-mode. Is there a way to achieve this?
1
vote
2answers
95 views

How to turn off automatic indenting for Org files in a specific folder?

I am using Doom Emacs. I like having indentation for most of my org files, but I have one folder where I want to have org files without indenting, to use for writing documents. I have already tested ...
0
votes
1answer
28 views

Return all time today spent on tasks that include a particular tag

As the title. I have come so close but can't get past this last hurdle. The below returns all time today that has been spent on headings where the tag is 'billable'. However it fails when there are ...
4
votes
1answer
133 views

Org agenda should show all todos of the current week (not separated by days)

Problem The default agenda-list-view separates the todo items of the current week by days and sort them by time within each day if there are timestamps. Instead, I want to combine all the todo items ...
2
votes
1answer
38 views

Getting rid of plain text timestamp entry in agenda export

I am trying to create a weekly agenda that I can print out and use without having to be at the computer To best explain my problem I will use some screenshots This is the normal org file that I will ...
0
votes
1answer
24 views

Exported org file to pdf with content out of page

I'm writing a document with some long strings on it, then I export the org file to pdf with the classic C-c C-e l p . Then when I check the document, the long string are out of the page. How can I fix ...
0
votes
1answer
18 views

Use template in the middle of a sentence

tempo-define-template allows defining a custom template, and one can use it with <key + TAB; however, this works only in the beginning of the line, it there a way to do that in middle of a sentence?...
1
vote
0answers
52 views

How Shall I Understand org-mode Habits Graph Colors?

The org-mode documentation has following to say about the colors in the habits graph: Blue: If the task was not to be done yet on that day. Green: If the task could have been done on that day. Yellow:...

1 2
3
4 5
82