Questions tagged [org-mode]

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
1 answer
348 views

Org capture template output to two files

I am currently using two separate Org files to manage my work Todos. One is a file that I edit directly and keep notes on each todo task (Work.org). The other is a schedule file which is synced with ...
2 votes
1 answer
382 views

Org-babel python with session breaks output

If I run the following code block: #+BEGIN_SRC python :results output print(" /|") print(" / |") print(" / |") print("/___|") #+END_SRC I get the result as expected: #+RESULTS: : /|...
0 votes
1 answer
16 views

Doom Emacs - `custom-theme-set-faces` not working for `org-level-n` faces

I am trying to modify a few faces for a specific doom-theme in Doom Emacs. I am only interested in an emacs-lisp solution, I do not want to customize via the dedicated Emacs interface. I got the basis ...
0 votes
1 answer
169 views

code execution issue in org mode on windows

I issue emacs -Q yes.org where yes.org is (org-babel-do-load-languages 'org-babel-load-languages '((python . t))) #+begin_src python :results output print(2) #+end_src I first evaluate the loading ...
0 votes
0 answers
18 views

Why would this custom org-num-format-function causes a warning when org-latex-preview called?

What I'm experiencing: A custom org-num-format-function causes org-latex-preview warn when it called. Exact warning I'm getting. ⛔ Warning (org-element-cache): org-element--cache: Org parser error in ...
1 vote
2 answers
142 views

How to display sub-heading count somewhere in a heading in org-mode

Original title: How to display sub-heading count in the end of a heading in org-mode It would be very helpful if such a feature can be acheived. I always have difficulty when visiting a long-time not ...
1 vote
2 answers
622 views

Is it possible to create clickable links to macos mail.app email via "message://..." in orgmode?

I use the "Copy Message URL" quite heavily in mail app. I would like to paste the link into an org document and make it a clickable link that opens the email in mail.app. This does not currently work. ...
0 votes
2 answers
286 views

org-mode batch export hangs when using a python session

I have developed a workflow for batch-export of org-mode files, and have come across an issue in which execution halts when using a python session. I'm using emacs 28.1 on MacOS 11.6.5 with Python 3.9....
1 vote
2 answers
255 views

How to generate a clock table in reverse chronological order?

When generating a clock-table in org-mode, is it possible to have the table generated in reverse-chronological order? For example, #+BEGIN: clocktable :maxlevel 3 :tstart "<-1w>" :...
0 votes
2 answers
295 views

Switching default locale of Orgmode-generated output

Suggestions for a better title are welcome. Essentially, I want to use Org to write in Ukrainian. Yet, when I export it (pdf or odt) I get: Figure 1: Контекстна діаграма How can I customize Emacs to ...
1 vote
1 answer
209 views

Debugging a function called when hovering with the mouse over an org link

I am trying to debug a function called when hovering with the mouse over an org link. For example, I instrumented bibtex-completion-apa-get-value with edebug-defun. However, when I hover over an org-...
2 votes
2 answers
2k views

(orgmode) Coloring the line for the whole heading

I want the entire line containing a heading in orgmode to be the background color of that heading. So for instance right now I have is what is shown in Heading 1 and 2, but what I want looks like ...
0 votes
1 answer
191 views

Integration between org-transclusion and denote

Is there a way to convince org-transclusion to accept denote links as input? Or maybe a list of them? Or perhaps, in the perfect scenario, a list of them, from a dynamic block?
2 votes
2 answers
628 views

Show Link Tooltip mouse over with keystroke

When I use mouse-over on an Link (thanks to Tobias) it shows an Image and text. When I used display-local-help the image disappeared (perhaps due to lack of space in the message area). I want to ...
0 votes
2 answers
343 views

org-sparse-tree on multiple keywords

I currently have a keyboard shortcut bound to C-c t that shows me all of the NEXTACTION items I have, no matter what headline level they're at. It works by using a kbd macro wherein I just typed C-c / ...
0 votes
1 answer
48 views

How to evaluate python code in org-mode when only python3 is provided by the package manager?

Recently I started to use guix as my operating system. I installed python3 for my user via guix install python3. python itself is not available in the package repository, which I verified by running ...
2 votes
1 answer
166 views

Is there a way to run a shell command on a previously compiled C org source block?

If i have the following block: #+NAME: my-code #+BEGIN_SRC C #include <stdio.h> int main () { printf("Hello, World!"); return 0; } #+END_SRC How can I use the compiled output in another ...
2 votes
1 answer
758 views

org-mode: How can noweb handle a multiple line output

I have a code chunk in my document that I want to use as a list of patterns to search for with grep. If I were just writing a script without org-babel, I could write. a="ar er ir or ur" printf "...
1 vote
1 answer
68 views

Let org-timestamp-up/down work on non-timestamp

So in org-mode, shift-up and shift-down works on timestamps. Is there a way to let it work on arbitrary dates in the text that is not a timestamp? For example if I write The date is 2019-01-01. ...
0 votes
1 answer
256 views

Org and EIN (IPython): No output for print

I am using EIN in Org blocks, as explained on the GitHub page for EIN. So I use ein-python as the language for Org blocks (instead of python). All seems to work well (for example displaying data from ...
0 votes
0 answers
24 views

Hide repeating tasks in org-agenda's "overdue section"

How would you remove from the "overdue section" (not sure the right name) headings that are scheduled to repeat, e.g. * TODO My task SCHEDULED: <2024-04-02 Fri 16:30 .+1w> this now ...
0 votes
1 answer
180 views

Evil Org-Mode set L and H to tabbar movements

I can toggle org-mode TODO status with L and H when the pointer rests at a org heading. I wish I could bind those keys to tabbar-"movements" to mimic the behaviour I get in all othem mode with this ...
0 votes
2 answers
65 views

Match undone in sparse tree

Is there any expression that matches all undone TODO states in a sparse-tree search? Meaning: what's the shortest expression I can write if I do C-c / m that renders the same results as C-c / t?
4 votes
4 answers
3k views

Make all done org-mode items invisible (collapsed)

How can I make all done (e.g. DONE) org-mode items "invisible"? I'm using org-mode's "visibility" terminology here, but what I'm referring to is collapsing (folding) those items closed, not making ...
3 votes
1 answer
630 views

Smarter and more efficient way to add font lock keywords to org-mode?

I really hate looking at raw markup in org-mode documents, so I am trying to replace as much of it with symbols as possible. So #=begin_ becomes {, src becomes some-glyph etc. My current approach ...
0 votes
1 answer
38 views

Is it possible to do #+SETUPFILE conditionally in orgmode (with regard to included files)?

I'm working on a big text in orgmode, which is expected to be finally exported to Latex & PDF, so I made this kind of a master document in orgmode: #+SETUPFILE: exportoptions.org #+INCLUDE: "...
0 votes
0 answers
10 views

Org-babel remote inline images with TRAMP not exporting in org export

I am trying to find a way to get the images generated in my remote server exported to a HTML locally. Orgmode of a local analysis works as expected, but if I have tramp enabled with: #+PROPERTY: ...
1 vote
2 answers
540 views

How to export a gantt chart in pdf or png format using taskjuggler and/or org-mode

I managed to get taskjuggler up and running along emacs/org-mode. After reading the manual entries here and here I can export my project into html but I cannot export the Gantt chart into pdf, as ...
0 votes
0 answers
15 views

Unable to modify quote and verse blocks in org-mode

Although I have set org-fontify-quote-and-verse-blocks to t, when I call describe-text-properties with point on a #+begin_quote or #+begin_verse block the value of face remains org-block: There are ...
0 votes
1 answer
105 views

Filter org mode weekly schedule by tag

I have multiple scheduled tasks/events in different files properly labeled and I can't find a way to have the weekly schedule agenda view to filter by these labels. It just shows all the labels per ...
0 votes
1 answer
29 views

Tex equation block highlighting in org-mode

I would like to highlight \begin{equation} ... \end{equation} Tex environments with a different color in org-mode. Inline Tex expressions (delimited by the $ symbol) can be highlighted as follows: (...
0 votes
1 answer
136 views

(wrong-type-argument stringp nil) error when calling tangle

As the title says, I get this error whenever I, or the function I'll show below, call org-babel-tangle. I'm using a org file to configure emacs, which tangles every time it is saved to my init.el. The ...
4 votes
1 answer
477 views

Color when visualizing latex table in orgmode

I am using Emacs + orgmode to write text and latex equations. The preview within orgmode (with C-c C-x C-l) works well for latex equations. However, I noticed that if I display a latex table within ...
0 votes
1 answer
46 views

why the inconsistency with org mode code line labels and links

In org mode and in a source code special block, I can add code line labels, which have ref: in the label -- but when I make a link there, I have to omit the ref:. For example: #+begin_src csharp 1044 ...
1 vote
1 answer
30 views

How can I add a link to jump to the table of contents?

I would like each chapter title to also be a link to the table of contents, so that I can quickly go back and forth from the TOC to the chapters. This is my example test.org document: #+TITLE: My doc ...
0 votes
1 answer
64 views

org-mode: per-exporter #+SELECT_TAGS & #+EXCLUDE_TAGS?

Problem statement In Emacs org-mode, I am looking for a way to define #+EXPORT_EXCLUDE_TAGS (which defaults to :noexport) and #+EXPORT_SELECT_TAGS on a per-exporter basis, such that they apply only to ...
1 vote
1 answer
131 views

How to prevent org-mode loading babel's major mode stuffs unless entering `org-src-mode`?

I have some Java's scripts in a org file. And I use meghanada-mode in java-mode. Each time I open this org file and do nothing, I get the following error since the mehanada server loaded by java-mode ...
2 votes
3 answers
92 views

How to convert an org-table to JSON?

Here is a minimal example of an org-table: #+NAME: radar |----------+------| | Variable | Val | |----------+------| | Red | 43.3 | | Blue | 83.1 | | Yellow | 86.4 | |----------+------| I ...
6 votes
2 answers
888 views

Rotate images in org mode

When I toggle inline images I can see the image. But I want to rotate it. There is an option to specify a custom width using: #+ATTR_ORG: :width 80 Is there a similar option to rotate the image? ...
0 votes
1 answer
53 views

orgmode sync beamer with header in orgmode file

I am creating my beamer presentations with orgmode and convert the file to tex and pdf when saving. This works quite fine. What I am looking for is that the pdf (seen inside emacs with pdfview/pdf-...
1 vote
1 answer
58 views

Plain ordered list keystrokes do not work properly

The keystrokes M-<up>, M-<down>, M-RET etc. do not work as described in the manual in an ordered list, but they change all the plain list into an unordered list. What could have happened? ...
1 vote
1 answer
180 views

Org mode tag inheritance in agenda custom commands

I want to create Org Mode agenda views or sparse trees with tag inheritance disabled so that tagged headlines are included but children are not. I do not want to turn off tag inheritance globally. I ...
0 votes
1 answer
75 views

How to fix indentation of items below header 3 in org mode?

In org mode, when I do a header 1 or 2, the bullets beneath it snaps to align under the header. But bullets do not indent under for header 3. How do I edit this?
0 votes
1 answer
25 views

Executing custom code on org entry state change

I was recently reading a blog about Do-nothing scripting which is about encoding the instructions for a task as a step towards automating it. It occurred to me that this would be very nice paired with ...
0 votes
0 answers
32 views

How to have timestamp (hour:minute) as prefix to a recurring task started before but recurring in the current day in an agenda view for the current?

The current day is 2024-03-30 . I have the following sample agenda items: * Future ** A meeting non-recurring :meeting: SCHEDULED: <2024-03-30 Sat 11:00> ** Meeting recurring starting today :...
1 vote
0 answers
13 views

Org-mode+Babel: Refactor across files or code blocks

I'm refactoring my Emacs config files so that they are generated with org-babel-tangle. I am able to do everything I need but I really miss better refactoring support. As an example, after I define a ...
0 votes
1 answer
45 views

Org-mode: clickable heading

I would like each org-mode section to be expandable with a left mouse click anywhere in the heading (excluding tags). This answer correctly points to org-mouse. However, I must click on the section ...
0 votes
1 answer
89 views

Access Table data from from elisp using headline ID

I have a bunch of recipes under different headline, and each have an ingredient list specified as a table. I would like to access that table as an list in a src block using the headline id, same as if ...
5 votes
1 answer
540 views

Export pretty symbols in org source blocks?

I make substantial use of prettify-symbols in my programming buffers. A snippet of some of my python symbols: (add-hook 'python-mode-hook (lambda () (mapc (lambda (pair) (push pair ...
0 votes
1 answer
161 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 ...

1
2 3 4 5
115