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
0 answers
49 views

how to limit header level for org column view

I'd like to have a column view for the top level headers only and exclude other children levels. For example, in the screenshot below, I want column view only for * grit not for its children. Is there ...
RNA's user avatar
  • 368
1 vote
1 answer
29 views

How to create a link to a pdf with special characters in its name?

I'm working in Linux under org-mode and trying to create a link inside an *.org file and this form works: [[shell:okular /home/quora/myfile.pdf][title]] Problem is, for pdf filenames like my file[2nd ...
Quora Feans's user avatar
0 votes
0 answers
40 views

Org-Mode links opening in new splits?

I'm a bit stuck. I want to open new splits (windows within a frame to be precise) with each link I'm visiting. A bit like going down the rabbit hole. What I have is 1 | 2 and it bounces back between ...
Voodoopants's user avatar
0 votes
1 answer
38 views

Trouble with Bullets in Emacs Org Mode Code Block when Creating a Draft Wikipedia Page

How can I overcome the issue of asterisks being interpreted as bullets in an Emacs Org Mode code block when creating a draft Wikipedia page? * Draft wikipedia page #+begin_src Wikipedia * foo * bar ...
user avatar
0 votes
0 answers
47 views

Org Mode syntax checker

The correct syntax is this: #+PROPERTY: header-args :tangle "~/.config/emacs/init.el" But once, I had, instead of header-args, header-aegs. Notice the e instead of r. I was getting the ...
Refael Sheinker's user avatar
1 vote
0 answers
170 views

How to change face background in org mode source block?

I've changed background of org mode source blocks, which wasn't picked up by the vertical lines (rulers) on the left. I've never seen anything like that before and I would be grateful for any ...
Daniel Krajnik's user avatar
0 votes
0 answers
51 views

How to get LSP like formatting in Org Mode?

Here is a scenario I use constantly in Rust development: LSP is always on. I call the LSP feature "format current buffer" (or whatever it's called). The LSP returns the buffer formatted (...
Refael Sheinker's user avatar
0 votes
0 answers
49 views

Getting old Org version

Here are the relevant parts of my config: ** Set up package.el to work with various sources #+begin_src emacs-lisp (require 'package) (setq package-archives '(("elpa" . "https://...
Refael Sheinker's user avatar
0 votes
0 answers
45 views

How can I modify the default description when using org-insert-link with custom IDs in org-mode?

I use CUSTOM_ID in my documents for internal links. To copy a link, I use org-store-link (C-c l) and then org-insert-link (C-c C-l) to insert the link elsewhere. However, org-insert-link does not ...
NandKN's user avatar
  • 1
0 votes
1 answer
15 views

change the tag of the exported code

I want to change the exported tag of #+begin_src python .. #+end_src exports to \begin{verbatim} ... \end{verbatim} I want it to be export to \begin{python} \end{python} Anyone has any idea ?...
barak diker's user avatar
1 vote
2 answers
57 views

Elisp programming: Jump to heading with a specific `Custom_ID` property value

Within the same org buffer, how to jump to heading with a specific Custom_ID property value? Edit: I need an Elisp function that takes a string argument and jumps to the heading with a Custom_Id ...
cuore RT's user avatar
0 votes
2 answers
203 views

How to round on 2 decimals in org mode table using elisp?

That's probably a low hanging fruit. In short, what I want: 6.7690001 ---> 6.77 I know how to do it in org mode table using regular TBLFM: |---------| |6.7690001| |---------| #+TBLFM: @1$1=@1$1;%....
starquake's user avatar
0 votes
1 answer
105 views

How to use org-capture template expansion on finish?

I would like to capture the time when I finish an org-capture template with C-c C-c. Is it possible? And how is it possible to use the given templates (i.e., the template %U) for this? Best Jonas
grszkthfr's user avatar
1 vote
0 answers
37 views

How to efficiently restructure org-file by converting first level of plain list to headline?

Consider the following minimal example of a subtree in a large org file: #+STARTUP: indent * heading 1 - My favorite music - A - B - C - My favorite food - D * heading 2 ** Movies - My ...
GNUmon's user avatar
  • 122
0 votes
1 answer
36 views

Is it possible to create an org-link to a custom agenda view?

I'd like to add links to custom agenda commands within org files and other agenda views. I think the answer would likely use org-add-link-type. I also know that you can call a custom agenda view with ...
Max Pfleger's user avatar
0 votes
0 answers
72 views

org-latex-preview error on Windows: file was not generated please adjust dvisvgm part of org-latex-preview-process-alist

I have used org-mode before in Linux to generate LaTeX fragments very smoothly. I am using dvisvgm. Now, I have switched to Windows. I keep getting the error "file orgtex00000.dvi was not ...
PPenton's user avatar
0 votes
0 answers
34 views

Calculate collective duration of remaining todo list items?

I want Emacs to automatically calculate the duration of my remaining todo list items. E.g. I have: - [X] Item #0 - [ ] Item #1 - [ ] Item #2 And I need to define item duration somehow, not sure of ...
01AutoMonkey's user avatar
0 votes
3 answers
47 views

Fewer keystrokes for calculating in org mode

When I need while editing a .org file to calculate, say, 23.45 * 15, I copy (M-w) that string then call M-x calc. I paste the numbers as a string, preceded by a single tick (using algebraic mode so I ...
Sam7919's user avatar
  • 339
0 votes
1 answer
35 views

Org-mode: Setting EXPORT_FILE_NAME Externally

I'm often working with org-mode 'externally' these days. I.e., I edit org-mode files with Emacs, but then export the files using Makefiles to various other formats by using rules such as: %.tex : %....
Xaldew's user avatar
  • 1,201
0 votes
1 answer
33 views

Do not change keyword when marking repeating tasks as DONE

I defined RECURRING as a special keyword for tasks that are repeated periodically. When I mark the task as done with C-c C-t d the keyword switches to the default TODO keyword. I want it however to ...
GNUmon's user avatar
  • 122
0 votes
0 answers
43 views

Importing (/including) the list of heading of level 1 from one org-file in another org-file

Let's say I have the following org-file: #+TITLE: Presentation title #+OPTIONS: H:2 #+EXCLUDE_TAGS: noexport #+LATEX_CLASS: beamer #+BEAMER_HEADER: \setbeamertemplate{section in toc}[sections ...
martinoidar's user avatar
0 votes
0 answers
23 views

Append text to unfolded org-mode lines only

Sample org file: * H1 ** H1.1 *** H1.1.1 ** H1.2 *** H1.2.1 ** H1.3 *** H1.3.1 ** H1.4 *** H1.1.1 I want to append some text to lines ** H1.2 ** H1.3 First, cycle visibility of the file to show only ...
user2567544's user avatar
0 votes
1 answer
60 views

How can I search / replace in visible org mode lines only?

I have an org file where the majority of the text in the buffer at any one time is folded. I would like to be able to perform a search and replace on only the unfolded lines. For example, I have a ...
user2567544's user avatar
0 votes
1 answer
38 views

In org-mode, how do i move to specified column when I move over links?

The function move-to-column does not seem to work in org-mode as expected when I move over links. When I move the cursor using the key shortcuts, the cursor moves over the displayed link as expected. ...
ruby_object's user avatar
0 votes
0 answers
28 views

Making one global cookie-list from face-remap-add-relative

What would be an neat strategy that accumulate cookies from face-remap-add-relative in a list ? (defun komis-luna-hglevel-tfcadd () "Set foreground colours of headings according to level. The ...
Dilna's user avatar
  • 1
0 votes
0 answers
81 views

Working with org footnotes

I have the following code but do not understand how it affects the display of footnotes. When viewing in org-mode I only see a difference in the tag used to show the footnote marker (e.g. ) (with-...
Dilna's user avatar
  • 1
0 votes
0 answers
38 views

custom-theme-set-faces only works when there's typo

Emacs noob here. I'm trying to customize my org-levels like so: (let* ((variable-tuple (cond ((x-list-fonts "ETBembo") '(:font "ETBembo")) ((x-...
mlee's user avatar
  • 3
1 vote
1 answer
121 views

Using Org-Mode to view results from python script

How can I use org-mode to run python scripts ? Would it be possible to see the results from running commands interactively ?
Dilna's user avatar
  • 1
0 votes
0 answers
35 views

Display Pillow image object in Babel Org Mode directly without saving into a file?

I wonder if there is any way for Babel in Org Mode to display images (from libraries like Pillow or matplotlib) "directly" without saving them into a file: #+begin_src python from PIL import ...
Daniel Krajnik's user avatar
0 votes
1 answer
49 views

org-mode automatically indent after return in plain lists

I would like to create a plain list like this: blablabla - bla - bla - bla But if I just click return, it shows as blablabla - bla - bla - bla That is, each time I click return in a list, ...
redmouse's user avatar
  • 111
1 vote
0 answers
42 views

How do deal with hierarchical notes?

I like to keep notes for all my contacts, but also want to avoid "namespace pollution" when using org-roam-node-find. If I have 500 contacts I would rather they all live under a contacts ...
Gavin's user avatar
  • 258
0 votes
2 answers
64 views

How to bind org-agenda-undo to C-z when cua-mode is enabled?

By default, C-_ runs the command undo (found in global-map). It also runs org-agenda-undo when in Agenda view. As I use cua-mode, I undo changes with C-z. My issue is that it doesn't work in Agenda ...
crocefisso's user avatar
  • 1,220
3 votes
2 answers
115 views

Can org-mode show a table of occurrences, percentages, or histogram-like data?

Let's say we have a table with a column like this: |---| | S | | K | | K | | K | | R | | S | | K | | R | | R | | K | Can org mode calculate and report some kind of table of occurrences or percentages ...
pglpm's user avatar
  • 289
0 votes
0 answers
50 views

more org-preview-latex-fragment issues on mac

I must have messed up my .spacemacs file, latex preview in org mode is no longer working. My config is below. It seems to be a path problem. The output when I attempt to preview is: ../../../../....
Ronald Haynes's user avatar
0 votes
0 answers
26 views

How to show headings with no or missing TODO keyword

I have an org file where all headings must have a TODO keyword. I would like to search for any headings that do not have a TODO keyword. I can do that manually of course by scrolling thru the file. ...
ironfish's user avatar
  • 148
0 votes
1 answer
42 views

How can I split top org headlines into a org file to separate md/org files? [duplicate]

I want to be able to create a function that splits or exports only top headlines starting with * in a org mode file (recursively) into a separate file. * Title_of_Heading_1 Text 1 ** Sub-...
alper's user avatar
  • 1,300
0 votes
0 answers
40 views

org-mode headings renders markdown link syntax of inner code block, how to prevent it from happening?

I am using Doom Emacs with bundled org-mode and markdown-mode. I have org-mode text snippet like this: *** test **** http://example.com **** block #+begin_src http://example.com/ #+end_src **** ...
kyanny's user avatar
  • 101
1 vote
1 answer
75 views

How can I change color of quoted text in org mode?

When I use #+BEGIN_QUOTE.. #+END_QUOTE text in between always shown as white. Example output: Related: how to markup a quotation? Is it possible to change color of the quoted text such as to dimmer ...
alper's user avatar
  • 1,300
0 votes
0 answers
27 views

Create an org-agenda-custom-commands using org-agenda-filter

Org-mode newbie here. I use the org-agenda-filter pretty heavily as part of my daily agenda workflow. I have a tag for "Work" related TODO items and repeat this operation several times a day:...
ak45y's user avatar
  • 1
0 votes
0 answers
24 views

Error when attempting to insert "standard skipping condition" with custom agenda

I am trying configure a custom agenda view with multiple blocks. For one of the blocks, I want to skip items that have are scheduled or have a deadline in order to find "unscheduled" items (...
charliesneath's user avatar
0 votes
1 answer
93 views

How to display the list of all #+NAME properties is org-mode document?

It must be something obvious but I cannot find information on this issue. When reftex-mode is enabled, I can type ~C-c )~ and for the following piece of code \begin{equation} 2x=4 \label{Eq:A} \end{...
martinoidar's user avatar
1 vote
1 answer
36 views

How can I use a keyword in the LATEX_HEADER?

I have this .org-file (let’s call it letter.org): #+AUTHOR: Me #+SENDER: hu-berlin-letter-example #+SUBJECT: Short description #+LANG: de #+ADDRESSEE: my adress #+SETUPFILE: org-setupfile.org Thank ...
lukascbossert's user avatar
0 votes
0 answers
74 views

Why is autopairing for "<>" enabled in org-mode when I have electric-pair-mode enabled but do not have "<>" in electric-pair-pairs?

Here's a snippet of my config related to electric-mode: (setq electric-pair-pairs '( (?\{ . ?\}) (?\( . ?\)) (?\[ . ?\]) (?\&...
Sumadithya's user avatar
1 vote
1 answer
34 views

Defining default line-wrapping for a specific file

I use org files to write prose and I want to have line-wrapping enabled in those files by default. If possible, I don't want to enable it for all org files, just those used specifically for prose. Is ...
Reverent Lapwing's user avatar
0 votes
0 answers
32 views

Org-mode: Subtree of all unckecked checkboxes

Consider an org-file like * Heading ** Subheading - [X] checkbox 1 - [ ] checkbox 2 - [X] checkbox 3 ** Sub 2 *** Subsub 1 - [ ] checkbox 4 - [X] checkbox 5 etc. Is there a convenient way to see ...
student's user avatar
  • 1,007
0 votes
0 answers
91 views

How can I embed SVG images when exporting to HTML from Org?

Briefly If I org-latex-export-to-pdf an org file with SVG diagrams, I get a single self-contained file that can be conveniently sent as draft. If I instead org-html-export-to-html (avoiding all the ...
Sam7919's user avatar
  • 339
0 votes
0 answers
38 views

Profiling org-capture and improving its performance

My org-capture takes about 6 seconds to open up on a reasonably powerful machine, and it becomes over a minute on a cheap laptop. I decided to profile the function and here's what it gave: 2423 ...
Namudon'tdie's user avatar
0 votes
0 answers
51 views

Adding numbers to sub-lists?

So when you have a numbered list in Org Mode, it looks like this: But I want my numbered lists to look like this: With the sub-sections having the parent section's number as well. Is there any way I ...
ScaleBerb's user avatar
0 votes
1 answer
31 views

How can I make org-pomodoro silence?

I am using org-pomodoro, in order to start a pomodoro for the task at point or select one of the last tasks that you clocked time for. When pomodoro completed it plays a alert sound. I was wondering ...
alper's user avatar
  • 1,300
0 votes
0 answers
45 views

org-super-agenda - Item Isn't Added to Agenda But can be Found Using org-ql

I am using Emacs 28.2 with Spacemacs. I've been a happy org-super-agenda user for a few years now but I haven't really made many changes. Recently I wanted to start tracking todo's with new keywords, ...
Tom Purl's user avatar
  • 377

1
3 4
5
6 7
112