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

How to check if the cursor is inside an org-mode “src” block?

I'd like to know if a point is inside an org-mode src block, so I can disable spell checking. Is there a fast way to check this?
0
votes
0answers
14 views

export custom element in html from org-mode

I'm trying to figure out the simplest possible way to export an html document from org-mode and have it include a working custom-element. I've tried the following, but it gives me an error message in ...
0
votes
0answers
5 views

Include lines in tangled source code but not in executed code block

The title might be slightly confusing. What I mean is this. Let's say I have a code block which has some error checking code. If there is an error, the (tangled) program should not continue past that ...
0
votes
0answers
6 views

org export interanl [[links]] to keep link text

When exporting a document such as: * Title Link to [[Title]] The link text is converted to the section number. I.e. 1. Title Link to 1 Is there a way to keep the link text e.g.: 1. Title Link ...
0
votes
1answer
18 views

Paste into org-mode: utf-8-unix cannot encode \207 for á, \222 for í,

I'm learning emacs (on spacemacs) and focusing on orgmode. When I paste into an org-mode buffer from a non-english language that contains accents and other signs (in my case italian and spanish) I get:...
1
vote
3answers
52 views

org-mode and babel export - setting tangled (exported) files as readonly

I want to maintain a single org file which contained a plethora of different init files (.bashrc, .profile, .tmux etc that type of thing). Here's a portion:- #+PROPERTY: header-args :tangle yes :...
1
vote
0answers
18 views

Persistent TODO filtering and editing at the same time?

I would like to focus on only TODO-type headlines and also be able to edit or add headings at the same time. My Ideas how to achieve this would be a sparse tree, that refreshes itself. The default ...
0
votes
0answers
13 views

Search through text of org-mode headings and body (but recursively)

I am using helm-org-rifle to search through my notes. This is such an awesome package. But one issue I am running into is shown in the following example: * Week of Aug 3rd (this week) ** Projects ...
0
votes
0answers
29 views

Export/compile multiple org-mode files from separate directories

I am writing my dissertation in Emacs org-mode and have a few questions that hopefully someone has faced before. Background info: I have each chapter in a separate directory organized in a .org file ...
1
vote
1answer
41 views

ORG. A way to mark a subtree to be exported only on one format?

I'm writing a document to be PDF exported in org, and I'm also collaborating with a proof reader. I send her exports on ODT so she can open the documents and make edits in an easy way for her. I have ...
0
votes
1answer
15 views

How to call a custom agenda command?

In org-mode, I have a custom agenda set with: (setq org-agenda-custom-commands '(("d" "todo" agenda "" ((org-agenda-span 1) (...
0
votes
0answers
17 views

How can I kill a runaway/hung remote shell process from Org-Babel

I am using org-babel for literate programming and enjoying it so far. The major issue I have run into so far though is killing a runaway/hung remote shell command (short of exiting Emacs altogether). ...
0
votes
1answer
35 views

Getting `dvisvgm` to work with `org-latex-preview`

I am relatively new to Emacs and org-mode, and I would like the images displayed by org-latex-preview to be svg. I am trying to follow the instructions from this Stack Exchange question. I have (setq ...
0
votes
0answers
15 views

Insert org mode links via helm-mini or refile (or equivalently using e.g. company mode)

I often want to insert a link to another file (that would be easily accessible via helm-mini or refile). I have to do this long dance of going into the target file (and potentially headline), storing ...
1
vote
1answer
32 views

Restrict agenda to current buffer (with few keystrokes)

I would like to call an agenda which is restricted to the current buffer, even if it is not in the agenda files. I tried to go one way with a custom agenda here, but it feels like maybe peeling the ...
1
vote
1answer
26 views

More than one value for properties (multiple values)

I would like to assign, for example, more then one responsible person to a task. I thought to use properties like :PROPERTIES: :RESPONSIBLE: Kate :RESPONSIBLE+: Aaron :END: But my agenda search for ...
0
votes
0answers
32 views

org-latex-preview on entering insert mode in spacemacs

I use Spacemacs and org mode for writing latexified notes. There is no custom setup, just the default latex layer. I usually toggle org-latex-preview by C-c C-x C-l. It is annoying, because I must ...
1
vote
0answers
32 views

Why is completion not working?

I have emacs installed on two machines, with both installs using a similar spacemacs config. On both, C-M-i is bound to the command complete-symbol. I am editing different org files on the machines, ...
0
votes
1answer
27 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
27 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
33 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
0answers
31 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
9 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
25 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
14 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
30 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
26 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
69 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
21 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 ...
3
votes
1answer
61 views

Org Src Block does not return any output

While writing this question I found a solution/reason to it not working. Since I spent quite some time on it, I thought I'd still post it. Hey there! I'm relatively new to emacs and org mode ...
1
vote
0answers
26 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
42 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
19 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
30 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
22 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
24 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 ...
0
votes
0answers
36 views

Cannot send org-babel plot with org-msg (wrong file directory)

I am trying to send an email with org-msg which contains some source code and a plot figure. The code below returns the correct file path for an output file when run in an org-mode file #+begin_src ...
1
vote
0answers
29 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
29 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
40 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
42 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
40 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
67 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
42 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
46 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
54 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
34 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 ...

1
2 3 4 5
81