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

How to use link abbreviations in external Org files?

I've been using Org's handy link abbreviation feature in Org documents: #+link: Google https://google.com/ * Test Org Links Here's an abbreviated link: [[Google][This is Google search]]. Which ...
user avatar
  • 63
0 votes
1 answer
13 views

Updating closed drawers on save safely

I have a function I wrote that edits a file's PROPERTIES drawer on save and, if it finds the "MODIFIED" field it updates it with the current time. This works great as long as the drawer is ...
user avatar
0 votes
0 answers
19 views

org-mode structure templates only someone works

I want to use structure templates with tab but only: <c <e <q <v work. (with emacs -Q no templates work) (emacs 27.1, org-mode 9.3; debian 11) my org-mode settings: (require 'org) (setq ...
user avatar
0 votes
0 answers
20 views

Executing mit-scheme blocks in org-mode

Using doom emacs in my packages.el: (package! slime) (package! geiser) (package! geiser-mit) (package! scheme) in my config.el: (setq geiser-active-implementations '(mit)) (org-babel-do-load-...
user avatar
  • 1
0 votes
1 answer
12 views

How can I prevent URL to open in the external browser when enter used in org-mode

I am using emacs inside the terminal. In org-mode when the cursor on top of a hyperlink and I press enter the URL opens in the default browser. * hello [[www.google.com]] // cursor is on the `google`...
user avatar
  • 1,078
0 votes
0 answers
12 views

format old file to org-indent-mode

I want to convert file created without (org-indent-mode) to (org-indent-mode) format. Mostly it's additional 2,3,4 spaces. I was trying to fix it with string-replace. But maybe somebody have better ...
user avatar
  • 389
0 votes
2 answers
32 views

Does enabling by default a custom input method have any side effect on the default method?

I added these to my init.el: (use-package org :ensure nil :hook (org-mode . (lambda () (org-indent-mode) (variable-pitch-mode -1) (...
user avatar
  • 101
0 votes
0 answers
29 views

Org capture template with org-store-link

I would like to create an org-capture template such that when I select it with org-capture (which is mapped to C-c c for me), I want the capture template to ask me for the description and URL of a ...
user avatar
  • 101
0 votes
1 answer
34 views

keep org-mode comments on export

I am drafting a document in org. Because I will have some coauthors, I will have to switch to LaTeX at some point. I am usually putting a very short description of the paragraph on top: # why do we ...
user avatar
  • 175
0 votes
1 answer
18 views

Left-aligning the title in org export to ASCII

When I export an Org document to text, the title (along with the decorative ASCII art above and below it) is centered. What's the best way to suppress the centering, and simply have it start at the ...
user avatar
0 votes
0 answers
19 views

Can I add content in an org file that is under a heading that isn't part of that heading

Is there a way to add content below a heading, but signal to orgmode that the content should be at the root scope and not under that heading? Basically something like this: This is something at the ...
user avatar
0 votes
0 answers
35 views

How to open PDF file with Org-ref?

I have been trying to use the org-ref package with emacs and I copied the setup presented in the package where I placed the .bib files in a directory called ~/papers/ along with any pdfs of the papers ...
user avatar
0 votes
0 answers
17 views

image-file-name-regexp: Wrong type argument: characterp

I wanted to mark certain filenames as images and added this to my config.el: (add-to-list 'image-file-name-regexps "/preview/") But when I run org-toggle-inline-images now, I get the ...
user avatar
  • 224
0 votes
0 answers
18 views

Re-set timestampt font in org-mode

I've updated Ubuntu to 22.04 and now the font used for time stamps in org-mode is bigger than other fonts (headlines, text, tags, etc.). This is making the file look very awkward and it's difficult to ...
user avatar
0 votes
1 answer
33 views

How to use fonts for normal text for org-mode tables?

Since the Emacs version upgrade to version 28 org-mode tables have become very small in size. Their font size has been reduced. Is there a way to tell Emacs to use the default font for the tables? ...
user avatar
  • 13
0 votes
1 answer
25 views

Customise org babel block color

Customise org-babel source block color such that: when the block is folded, the #+begin_src line is the default color when the block is open, the #+begin_src and #+end_src lines are highlighted a ...
user avatar
2 votes
1 answer
74 views

emacs org mode: How to select multiple tags from dynamically generated tag list

If I have some tags already assigned to headlines and press C-c C-c Tab then org mode presents me with a dynamic list of all tags that are used in the file, eg: Click on a completion to select it. ...
user avatar
  • 103
2 votes
0 answers
23 views

Global list of TODO items of type: DONE sort by date

After 'List of all TODO entries' command I like to see only DONE task so I press in ex. (e.g. ‘8 r’). But I would expect that tasks should be sorted by CLOSED date. But they are not. I was trying with ...
user avatar
  • 389
0 votes
1 answer
28 views

How to customize the vertical spacing between an org-mode heading and its content in the folded view?

Subtree View: * Header 1 ** Header 2 Children View: * Header 1 ** Header 2 Desired Children View: * Header 1 ** Header 2 Is there a way to treat the blank line between Header 1 and Header 2 ...
user avatar
0 votes
1 answer
21 views

Org mode LaTeX preview environmets

Is it possible to preview in org mode also environments \begin{theorem} hello world \end{theorem} I tried but I can't get the Theorem 1.2.3 header.
user avatar
  • 1
0 votes
1 answer
22 views

How to control inter-paragraph spacing in org-mode?

After reading Org Mode Syntax, my understanding is that blank lines in the content section under a heading are used syntactically to separate paragraphs and that each blank line "belongs" to ...
user avatar
0 votes
2 answers
29 views

(Un-)bind keys for org-agenda in use-package

I want to unbind some keys in the org agenda display with use-package. I did the following: (use-package org :ensure t :pin gnu :config (define-key org-agenda-mode-map (kbd "<C-S-right&...
user avatar
0 votes
1 answer
16 views

How to access to a location in terminal through external link in org file?

I use org-mode and I often copy-paste path in a note file. Is it possible to have link or similar so it open a new terminal and go directly in the location indicated by the path. I don't know much ...
user avatar
0 votes
1 answer
11 views

org-agenda stuck displaying last file in org-agenda-files list

For some reason, (after recently upgrading packages), running org-agenda via C-c a and then selecting a view from the dispatch buffer (such as a Agenda for current week or day) just shows me a buffer ...
user avatar
1 vote
1 answer
47 views

Where can I find org-table formatting documentation?

I'd like to do some formatting on org-tables than I'm using. For example, make this table : |----------------+----------+---------+---------+---------| | Russia | 12000000 | 1700000 | 4950000 |...
user avatar
0 votes
1 answer
23 views

How to fix/restore org-metaright/metaleft behavior after upgrading org-mode (9.5)

Q: how do I fix/restore the behavior of org-metaright and org-metaleft after an org-mode upgrade? After upgrading to Emacs v. 28.1 (and therefore org-mode v. 9.5.2) via Fedora's package manager, org-...
user avatar
  • 31.2k
1 vote
1 answer
32 views

org-export options are off

My org export options become inactive/off. Like the picture below: compare to its previous form: And the export is not functional. I get the following message: Invalid face reference: org-dispatcher-...
user avatar
0 votes
1 answer
55 views

org mode tables slowed down by evil mode

I am trying to create a table in org-mode like that (/ is where my cursor is) | this is a test | foo | bar | | ---------/---- | --- | --- | If I now press enter, emacs hangs and I have to interrupt ...
user avatar
  • 101
0 votes
0 answers
11 views

Any hints on how to connect org-onenote to MS OneNote?

I have recently tried to use org-onenote* for uploading some Org Mode notes to MS OneNote. Somehow my e-lisp-fu is not strong enough, I have misunderstood the terse documentation, or I am just too ...
user avatar
0 votes
1 answer
35 views

Fallback font for specific face

I'm trying to set a fallback font for variable-pitch face. More specifically, my current setup is: Default font set to JuliaMono with size 15 via (set-frame-font "JuliaMono 15" nil t). ...
user avatar
  • 121
0 votes
1 answer
35 views

How to include variables within #+INCLUDE:?

In my init file, all the paths that I use are stored at the beginning of the file with a series of lines like this: (setq personal-path "PATH") Then I can use them like this: (set-register ?...
user avatar
0 votes
0 answers
28 views

Override usr-full-name with .dir-locals

I've been trying to override the user-full-name by setting it in .dir-locals ((org-mode . ((org-export-with-date . nil) (user-full-name . "Fullname") (org-export-with-...
user avatar
  • 71
0 votes
0 answers
20 views

How do I create an exponentially recurrent item in org-mode

What I am trying to do is essentially this: First, a TODO item should pop up in my agenda after a one day (/week) Second, a TODO item should pop up in 2 days after that ... in 3 days after that... ...
user avatar
  • 35
0 votes
1 answer
17 views

org-agenda-sorting-strategy reset after restart

This variable always returns to default value. I tried to 'erase configuration' & remove it from myinit.el. Have this in myinit.org: (setq org-agenda-sorting-strategy (quote ((todo todo-state-up)))...
user avatar
  • 389
0 votes
0 answers
11 views

S-Tab to reverse indent inside src_block in org-mode

I'm writing Haskell in src blocks in org-mode. Tab lets me advance through possible indentations*, but often makes mistakes, so I want to unindent with S-Tab. That is already bound to cycling between ...
user avatar
0 votes
1 answer
14 views

Emacs HTML Preamble in setup file

I have a project with a few org files that are exported as HTML to create a website. All org files that correspond to web pages have #+SETUPFILE: my-setup.org declared in it. And the my-setup.org file ...
user avatar
  • 103
0 votes
1 answer
28 views

How to set a specific background color for a certain string in text?

I would like to highlight each occurence of some word e.g. "covid" in a text when the file is loaded. It will be in org files but even global scope for all files is not a problem. So, I can ...
user avatar
  • 35
0 votes
2 answers
42 views

Moving `*** b3` from `* b1 > ** b2 > *** b3` to `* a1 > ** a2 > *** b3` in Org mode

I am trying to move *** b3 from this state: * a1 ** a2 * b1 ** b2 *** b3 to this state: * a1 ** a2 *** b3 * b1 ** b2 But I can't do that with (org-refile), because it allows me to only target * a1 ...
user avatar
  • 35
0 votes
1 answer
39 views

How can I specify arbitrary headline numbering in org mode?

Suppose I have the following org file (example.org): * Alpha ** Aleph * Beta * Gamma When I export it to HTML I get: 1. Alpha 1.1. Aleph 2. Beta 3. Gamma Which is quite useful in most cases. Now ...
user avatar
2 votes
2 answers
61 views

How to show an org-table from another file?

I have a refcards.org file where I store and maintain tens of tables (each having a specific name, e.g. #+name: key-somename). I would like to mention and show these tables in some other org files ...
user avatar
0 votes
1 answer
40 views

How to create a non-existing subheader in another local org file from a link?

Let's say I have this in my games.org file: * Games I own ** Adventures *** Adventure - Police Quest *** Adventure - Mixed-Up Mother Goose And I want to link to the Adventure - Mixed-up Mother Goose ...
user avatar
  • 35
1 vote
2 answers
152 views

Leading * breaks code

I don't know if the presence of a leading * was meant to be in the code or if it's just a typo, but still I didn't expect it would break the code as if interpreted as a headline. Has dis been ...
user avatar
  • 535
0 votes
2 answers
27 views

How to open a startup file in view-mode?

I configured Emacs (28.1) to open an index file (index.org) at startup. Now I would like this file to be opened in view-mode. I tried (setq initial-buffer-choice "~/PATH/index.org") (view-...
user avatar
0 votes
1 answer
44 views

How to write a newline in org-mode?

I tried to do \n, but it did not work. What string may I write in org-mode to create a new line? For example, I wrote the following lines in literate programming: #+begin_src clojure "test/...
user avatar
  • 227
0 votes
2 answers
52 views

Getting content of paragraph element using Org Element API

I've been trying to get the content of the paragraph element unsuccessfully using org-element-contents, is there something I am missing here? I have a org document as follows: * world ** China *** ...
user avatar
0 votes
0 answers
17 views

How to merge org entries with same headline and keep only lines that differ

My question resembles the question by cadr, but with a major difference: I want to keep only lines that differ. So I want a structure * a ** b *** c a g *** h **** k ***** c *** i *** h **** k *** c a ...
user avatar
0 votes
1 answer
38 views

org-capture templates, relative dates

I'm trying to create an org-capture template that contains dates relative to the value of %t. I understand that with C-1 I can prompt for a particular date, and I'm looking for the day prior and the ...
user avatar
  • 3
0 votes
0 answers
16 views

Replacing scattered CLOCK entries with a single "summary" one

Suppose we have a org headline like: * Org headline with clock entries :LOGBOOK: CLOCK: [2022-07-09 Sat 12:25]--[2022-07-09 Sat 12:39] => 0:14 CLOCK: [2022-07-09 Sat 12:54]--[2022-07-09 Sat 13:19] ...
user avatar
  • 807
0 votes
1 answer
42 views

org-agenda-redo: Symbol’s function definition is void: org-let

The error happens with the cursor in org agenda view and I want the next span displayed. Can anyone make sense of the debugger? I can't but only guess. Searching my init.el for org-let or org-agenda ...
user avatar
  • 629
0 votes
1 answer
74 views

Font changes inside words

I want to have intra-word font changes in org mode -- eg. "Teacher vs teaching" -- works fine here in SE markdown. Doesn't in org. There is this old question. Is it possible to combine two ...
user avatar
  • 309

1
2 3 4 5
101