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

Table of content in Beamer without slide numbering

I'm trying to do the following: use the metropolis theme when exporting my Orgmode buffer to Beamer with slides numbering, have a table of contents with the numbering of the sections and without the ...
  • 15
1 vote
0 answers
64 views

Completely hide the :PROPERTIES: drawer in org-mode

Prelude: Stackoverflow post: Completely hide the :PROPERTIES: drawer in org-mode The above post already has an accepted answer. This question is a follow up to that. I started discussion in the ...
0 votes
0 answers
18 views

Org Agenda and Org Files - Tags at the right margin of the window

I can set org-tags-column and org-agenda-tags-column to a specific value and get tags to right align at that column. Is there a way to right align the tags at the margin i.e. the right edge of the ...
  • 1,772
0 votes
1 answer
38 views

Custom agenda view for tasks without dates and with/ without specific tag

I can have a custom agenda view that shows all tasks without a date with a custom agenda view defined thus: '(org-agenda-custom-commands (quote (("d" "Undated tasks" alltodo ...
  • 1,772
1 vote
1 answer
28 views

Change width of filename column in Org-Agenda Week view

Let's say I have just one file in org-agenda-files called short.org. If I put items with active timestamps in short.org, they'll appear in the Week view just fine: But if I have any other agenda ...
  • 11
0 votes
0 answers
80 views

Font style of In-Buffer settings

I’ve been having problems with elisp debugging lately. I restarted emacs and problems appear to have disappeared. But I noticed something else: all of the In-buffer settings, e.g. #+BEGIN_QUOTE #+...
  • 107
0 votes
0 answers
12 views

Export formatted reference from biblatex file to paste in email or web page

I have my academic bibliography in a biblatex file. I usually write academic stuff in org-mode or latex syntax, and for those, I use either org-cite (with citar) or ebib. But occasionally I also need ...
  • 123
1 vote
1 answer
40 views

Emacs visibility not working

I tried C-c C-x p to set property as VISIBILITY and value as folded. The output looks like this: * Org Headline Description :PROPERTIES: :VISIBILITY: folded :END: But when I close and reopen the file,...
0 votes
0 answers
10 views

Use SELECT_TAGS in properties drawer to selectively export subheadings

When you only want to export subtees with a specific tag - for example "special" - you can use #+SELECT_TAGS: special What is the correct synthax to use this functionality in a property ...
0 votes
0 answers
48 views

How to export .org file to markdown with title, author, tags, etc... information included?

I'd like to use org-mode to create blog posts which are to published on GitHub Pages. I found a repository with a nice stencil with tags and search option and I would like just to use it. However, the ...
1 vote
0 answers
19 views

Setting a master file for org export with several included files

Say I have a master org-mode main.org file including two files as follows #+INCLUDE: "./tmp1.org" :minlevel 1 #+INCLUDE: "./tmp2.org" :minlevel 1 Is it possible, from the editing ...
0 votes
0 answers
27 views

How can I combine my equations like I do my source code?

I can combine my source files in the manner below, where the 2nd code block will run the echo command from the first code block. #+name: echo #+begin_src bash :noweb yes echo test #+end_src #+...
  • 1
4 votes
1 answer
340 views

Why I can't fold (org-cycle) in non-GUI?

It seems using non-GUI is much much faster when working with very long org-files. However I can't org-cycle with TAB key. (See image below). What is happening? My best guess is: when TAB pressed ...
  • 185
1 vote
1 answer
20 views

make describe-function link to org file for "tangled" lisp functions

I have a lot of my emacs configuration in an org babel file, which I load with org-babel-load-file. My configuration is in my-emacs-config.org. When I use describe-function for one of the functions I ...
  • 369
0 votes
1 answer
24 views

How to tangle single SRC block into multiple output files?

I want to something like following to work: #+begin_src python :tangle file1.py file2.py import time #+end_src And after tangling, I want both file1.py, file2.py has lines. How tangle single SRC ...
  • 185
0 votes
1 answer
26 views

How to split long python code into multiple code-blocks in org-mode? (indentation)

Just starting to learn org-mode and tangle to write documentation of my Python source codes. I have a several hundred lines long function. I want to separate this long function into several small code-...
  • 185
0 votes
1 answer
55 views

Using org-roam-capture throws error: Symbol's function definition is void: org-fold-show-all

I am using org-roam and the problem occurs when I try to use an org-roam-capture template. The capture template is for creating org-roam-nodes from citations using citar. It is based on this blog post ...
0 votes
0 answers
26 views

Exporting pdf links at specific page in LaTeX

In my org document: [[pdf:~/path/to/my/document.pdf::102][quote]] In my LaTeX export I get: \href{file:///path/to/my/document.pdf}{quote} How can I fix this? Edit: A fix should correctly expand ...
  • 1
0 votes
1 answer
45 views

How to change the default source directory for org-attach?

When using org-attach (using the standard C-c C-a a command), the default source directory (for the find-file minibuffer) is "~/Org/roam". How do I change that to a different directory, ...
  • 3
0 votes
1 answer
51 views

Org-mode: Copy headings only and yank to contents

I started from this post and now have code that already works for the following, for each level 2 heading: Add properties drawer :ANKI_NOTE_TYPE: Basic to the level 2 heading. Add two level 3 ...
  • 3
0 votes
0 answers
11 views

How can I map bind `org-refile` to the same action but with a pre-typed input

e.g. I'm trying to use standard org-refile but with inbox.org/Tickler automatically inserted at the prompt such that I can just type 1 and Return to move an entry to inbox.org/Tickler/1. (I'm sure ...
  • 101
1 vote
1 answer
23 views

What does `(=>F)` mean in the orgmode scheduling prompt?

Sometimes, when I schedule a TODO item, the prompt shows me (=>F): and sometimes it doesn't: What is this character sequence trying to tell me?
0 votes
3 answers
68 views

How to use table lookup functions results as input for calculations?

I have the following static table: #+name: static |-------+---------------+-----+--------| | | Date of birth | Sex | Height | |-------+---------------+-----+--------| | Croce | <1985-07-30>...
0 votes
0 answers
21 views

Repeated tasks for nth day of week

How to implement a repeater in this line when writing it in an org file? TODO Read 1 page of book (every 4th Tuesday of the month) %%(diary-float t 2 4) Whenever I mark this task as DONE, it does ...
0 votes
0 answers
29 views

Running Python Libraries in org source blocks

I'm having a problem running my source blocks in Emacs org mode. I want to just do some literate programming, for which I will need libraries as pandas and matplotlib etc. So I installed a venv and ...
0 votes
1 answer
79 views

How to make Org writing similar to AUCTeX?

I'm deciding whether to use AUCTeX or Org to write my Master's thesis. I tried Org mode with the new Org-cite + Citar package, and I'm very happy about it. Then, trying AUCTeX, I found its RefTeX ...
3 votes
1 answer
132 views

How to export an org file into browser bookmarks?

I would like to manage my bookmarks with org-mode and be able to export them so they could be used within a browser (Firefox, Chromium, Brave, etc.). Here is an example of an org file storing some ...
0 votes
0 answers
22 views

Adding new properties to org-global-properties variable doesn't work

I am trying to add a multi value property globally to make auto completion available while adding Project property to headings. (setq org-global-properties '(("Project_ALL" . '("...
1 vote
2 answers
62 views

How can I change the name of the org-agenda buffer to something other than "*Org Agenda*"?

When I invoke org-agenda-list I get the org agenda buffer (works fine) but it is always named *Org Agenda* regardless of what type of agenda view I use (I also have a weekly agenda customized in org-...
1 vote
0 answers
23 views

A new version of a package introduced unexpected behavior - how to discover the source of the issue?

My issue There is a small behavior in org-mode that I've grown accustomed to: if there are multiple headlines of the same level (e.g. 3 stars) and they are all folded (i.e. their contents are not ...
  • 197
2 votes
0 answers
19 views

Attaching metadata to Org link abbreviations?

Is there some way to attach metadata to Org link abbreviations? Something like: #+LINK: Example https://example.com [metadata about link] For example, date linked, a rating, a reason the link exists,...
  • 85
0 votes
0 answers
13 views

How not to hide other headlines after search

In and Org mode buffer, after search & and jump to searched word, other headlines are hidden. I find this behavior extremely confusing. Ex. search for 'elisp' after 'enter' (elisp in line #+...
  • 441
0 votes
2 answers
52 views

How to have a consistent use of CDLaTeX between Org and AUCTeX?

I'm trying to evaluate the differences of writing in Org and LaTeX for my Master's thesis. A feature I find very useful in Org is CDLaTeX. To have a unique workflow between the two, I'd like to use ...
1 vote
0 answers
27 views

How to set org-tag-alist on a per capture template?

I would like to have different fast tag selections depending on the capture template used. Personal template - org-tag-alist = gym, family, friends, chores Work template - org-tag-alist = ...
  • 111
1 vote
1 answer
164 views

How to programmatically create a new org-roam file?

I want to create a new org-roam (v2) file (i.e., an org-roam node that is a file…) from an elisp script. I know what I want the content of that file to be, and I want the file to be created and the ...
0 votes
1 answer
24 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 ...
  • 85
0 votes
1 answer
24 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 ...
0 votes
0 answers
26 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.)
1 vote
1 answer
82 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-...
  • 11
0 votes
1 answer
17 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`...
  • 1,152
1 vote
2 answers
34 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 ...
  • 441
0 votes
2 answers
40 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) (...
  • 113
0 votes
1 answer
100 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 ...
  • 113
0 votes
2 answers
54 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 ...
  • 175
0 votes
1 answer
21 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 ...
0 votes
0 answers
23 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 ...
0 votes
0 answers
60 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 ...
0 votes
0 answers
23 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 ...
  • 274
0 votes
0 answers
23 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 ...
0 votes
1 answer
51 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? ...
  • 13