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

turn off auto-fill in org tables?

I have (setq-default auto-fill-function 'do-auto-fill) in my config file, and I'm noticing that in org mode, auto-fill/wrapping occurs even within (wide) tables, which I don't like. I confirmed that ...
ajp's user avatar
  • 393
1 vote
0 answers
15 views

Help me get Scala source blocks working in org mode

When I attempt to evaluate Scala source blocks in org mode, I get a strange output. For instance: #+BEGIN_SRC scala def hello: Unit = println("hello") hello #+END_SRC #+RESULTS: : ...
Duncan Britt's user avatar
0 votes
0 answers
17 views

Help me get Engraved source blocks working

In Org mode mode am trying to export source blocks to Latex using engrave-faces. My init.el includes the following. (use-package engrave-faces :ensure t :init (setq org-latex-src-block-backend '...
argentum_109's user avatar
0 votes
2 answers
50 views

run check-parens or similar when saving or tangling literate configuration?

I use org babel to load my literate configuration file "config.org". But sometimes when editing that org file, I introduce some error -- say, a missed parenthesis -- and then restart emacs. ...
Dan Drake's user avatar
  • 523
0 votes
1 answer
26 views

Expand specific org-mode table column with headings

Consider an org-mode file like so: #+NAME: foobar | | Alice | Bob | Charlie | | Foo | 11 | 12 | 13 | | Bar | 21 | 22 | 23 | | Baz | 31 | 32 | 33 | * Alice - Works at ...
dotancohen's user avatar
0 votes
0 answers
21 views

How to set a buffer local variable (e.g. fill-column) for one specific .org file? [duplicate]

I use fill-column 80 for the majority of my files. Howover, I have a .org with a table that is slightly wider than 80 columns. I'd like to automatically set (setq fill-column 100) for that file only, ...
Lai Yu-Hsuan's user avatar
0 votes
0 answers
17 views

How can i load selected or checked items in a new subheader in org-mode? [closed]

I'm looking for the implementation in elisp or another method. Let's say I have the following items Header 1 Subheader 1 [] Item 1 [x] item 2 [] Item 3 [x] Item 4 Header 2 Clicked Items Item 2 Item 4 ...
alexander's user avatar
  • 135
0 votes
1 answer
31 views

How can I org-store-link when ssh sudo hopping?

I open the file like this, with hopping: C-x C-f /ssh:b0ef@ximian|sudo:ximian:/etc/nixos/configuration.nix RET If I call org-store link, I get this: [[file:/sudo:root@ximian:/etc/nixos/configuration....
Jason Hunter's user avatar
0 votes
0 answers
8 views

don't show images in html or local links in pdf-latex

I want to transfer folders with documents with Syncthing to the Android tablet, the documentation is made in orgmode and I export to PDF or HTML. But they don't resolve local addresses in the tablet; ...
Levo's user avatar
  • 31
0 votes
0 answers
22 views

How to make LaTeX in org-msg e-mails look nice?

I just want to send nice-looking e-mails like this This e-mail is achieved by using Apple Mail, LaTeXiT and a bit of hand-waving. However, in org-msg mode I can by default with dvipng/imagemagick ...
9IPOCJIABbI4's user avatar
0 votes
0 answers
19 views

Use an org-mode code block to execute other code blocks

I want to use a code block to execute other code blocks with a given language. For example, in my document I want to validate every HTML block using the W3 validator. Currently I do it as follows. ...
Tad Lispy's user avatar
  • 133
0 votes
0 answers
8 views

Combined search: notmuch mail, org-mode docs, and filesystem locate?

I often look for information that could be either in some org-mode document, in an old email, or somewhere in the file system (and probably other places). Now I can use org-search, notmuch-search, ...
Ketil Malde's user avatar
0 votes
0 answers
7 views

How to SHIFT-RET to open link in a new tab while preserving RET behavior in org-mode?

In org-mode I want to open link in a new tab when I press Shift-RET. I'm currently using RET to open link. I tried to use (setf (cdr (assoc 'file org-link-frame-setup)) 'find-file-other-tab). That ...
codeDog's user avatar
0 votes
2 answers
59 views

How to add heading in this format

I use org mode for many things including a Getting things done file and daily I am adding many headings, mostly in the format: * TODO [#1] "Heading text here, to be typed in by me" SCHEDULED:...
ironfish's user avatar
  • 148
0 votes
0 answers
29 views

How to fix "cd: Wrong type argument: stringp, nil" error?

I use org-babel-tangle to generate latex documents from org files. These org files have the following first line: #+PROPERTY: header-args :latex :comments org :tangle PATH/FILE_NAME.tex I built a ...
crocefisso's user avatar
  • 1,175
0 votes
0 answers
9 views

Follow symbolic links in alternative org-roam directory

I use org-roam to take notes. I have two org-roam directories. The alternative one has a .dir-locals.el file where I set the value of org-roam-directory and org-roam-db-location with the path to the ...
NandKN's user avatar
  • 73
1 vote
2 answers
56 views

How to tangle code blocks from an org file, compile the output, and open the result, with a single command?

I use org-babel-tangle to generate lilypond and latex documents from org files. These org files have the following first line: #+PROPERTY: header-args :LANG :comments org :tangle PATH/FILE_NAME.EXT ...
crocefisso's user avatar
  • 1,175
2 votes
2 answers
39 views

How do I insert an http link into org-mode with its title?

Is there a way to have org-mode automatically set the description from the html page's when inserting a link into org-mode?
Oin's user avatar
  • 167
1 vote
1 answer
54 views

how to programmatically create list of org-roam nodes with given tag?

I'd like to create (meta) node that contains all references to nodes given org roam tag. For example, Let's say I've tens of org-roam-nodes about python-programming-language (each node has tag python)....
Garid's user avatar
  • 565
0 votes
0 answers
19 views

org-mode: How do I insert correctly escaped text using elisp?

I want to insert some code using elisp into org-babel source blocks. This needs some escaping, such as replacing * with ,*. Is there a builtin insert function that handles these escape rules ...
HappyFace's user avatar
  • 771
0 votes
1 answer
32 views

Configuring org-msg to use Lualatex in emails

I'm using Lualatex with a custom package and have org-mode configured to it using (setq org-latex-compiler "lualatex") I also put all the Latex-packages I usually need into a custom one and ...
Alexander Praehauser's user avatar
0 votes
0 answers
26 views

org mode, collect today's tasks into a buffer and edit them

In short, is there a agenda-like view that is also editable (without going to the original org file) For instance, I'd like to create a view which shows all the todo items which have deadline today. (...
eugene's user avatar
  • 489
0 votes
0 answers
14 views

Syntax highlighting for source blocks inside special blocks

Syntax highlighting doesn't work for source blocks that are nested inside special blocks: #+BEGIN_test #+begin_src js return 14 #+end_src #+RESULTS: : 14 #+END_test #+begin_src js return 14 #+...
feelsbadman's user avatar
0 votes
1 answer
15 views

Org mode not returning last evaluated line of lisp

I can't figure out why evaluating this lisp code with C-c C-c doesn't return 832040 and instead returns the function name FIB: #+begin_src lisp (defun fib (n) "Return the nth Fibonacci ...
Ryan Fleck's user avatar
0 votes
0 answers
8 views

Org mode keyword completion with pcomplete showing uppercase and lowercase duplicates

Invoking complete-symbol after #+ in an Org buffer uses pcomplete to display the following completion candidates list: ORG: org: BIND: bind: DATE: date: etc. I would like to remove the duplication of ...
user615536's user avatar
0 votes
0 answers
22 views

color org-agenda entries by level

My org agenda (I use it as a todo-list without dates with the alltodo type, generating a list of all todo entries for each file) has many entries with many subheadings (which can again have multiple ...
swhalemwo's user avatar
0 votes
0 answers
16 views

Need help using a custom tcblistings environment for src blocks

I'm trying to advise the function org-latex-src-block--listings to use a tcblistings environment that I like. In LaTeX the environment is used like... \begin{code}[title=TITLE, language=LANGUAGE, file=...
user41177's user avatar
0 votes
0 answers
16 views

How do I add an option to quote blocks to preserve newlines?

Some blocks such as begin_verse or begin_example preserve newlines. But the begin_quote block does not and we need two new lines to create a new line in the exported HTML. What's the best way to have ...
HappyFace's user avatar
  • 771
2 votes
0 answers
22 views

Why are LaTeX previews oversized when using Imagemagick but not when using Dvipng?

I am taking mathematical notes using org mode and would like to have inline previews for commutative diagrams. For mathematical equations this works perfectly with dvipng. However, dvipng doesn't play ...
Dargscisyhp's user avatar
1 vote
0 answers
24 views

Track navigation after opening an org link

This is a longshot, but does the following exist already? You have an link in your org file like: * TODO Learn elisp [[info:eintr#Arguments][eintr#Arguments]] You open that link. You go to the next ...
hbogert's user avatar
  • 191
1 vote
0 answers
18 views

How to remove results drawer from emacs jupyter?

I am using emacs-jupyter (commit - 16cbda79167b4e2f2c6b61b218658f0f660d97f9 [otherwise I get an error]) on emacs-29.1 and org-9.7pre. My default header arguments are... org-babel-default-header-args:...
user41177's user avatar
0 votes
1 answer
19 views

How do I interpolate elisp variables in org-mode option headers?

I want to achieve something like this: #+latex_header: \input{${PUT_SOME_ELISP_VALUE_HERE}night_beamer_common1.tex}
HappyFace's user avatar
  • 771
0 votes
0 answers
9 views

List Adaptive Fill Keeps Growing for Lists in Olivetti Mode

I'm having trouble with my org lists. They seem to have an ever increasing amount of adaptive-fill as I nest them deeper and deeper. A picture of the problem is below. These are all single lines in ...
FTWynn's user avatar
  • 121
0 votes
0 answers
26 views

Enable citation in doom emacs org-mode

I am unable to make citations work in my doom emacs installation, from the manual it is not clear which changes I need to add to the config. What I want: #+bibliography: notebook.bib This is text with ...
lf_araujo's user avatar
  • 123
1 vote
0 answers
24 views

In Org mode, what is the priority order for a file's initial visibility?

Three things control an Org mode file's Initial Visibility: a heading's VISIBILITY property, the file's #+STARTUP: line, and the org-startup-folded variable. In terms of priority, I've always assumed ...
tkp's user avatar
  • 151
0 votes
1 answer
33 views

Exporting disjoint parts of Org document with marks

I am interested in exporting disjoint sections of my Org document via setting marks, as I find them most convenient. I am aware of the :export and :noexport tags, but seeing as how I have to ...
daedsidog's user avatar
  • 157
0 votes
1 answer
35 views

Error in converting org file to md file: Unknown "nil" back-end: Aborting export

I'm trying to export simple org file to md format using command below: emacs --batch myLanes.org --eval "(progn (require 'org) (org-export-as 'md))" > myLanes.md I'm getting the error: ...
user1146081's user avatar
1 vote
0 answers
35 views

How To Tangle Org Src Code Block Under Conditions

I'm using .org files to keep track of my system configuration across different machines and I want certain code blocks to be tangled only if certain conditions are met. Let's say I have something like ...
thanosapollo's user avatar
0 votes
0 answers
21 views

Displaying a rendered content of .org file into the terminal

I got a zsh script which do some work for me. Somewhere in the body of that script I'd like to have nicely rendered .org file displayed, and my zsh script to continue further. In sudo code something ...
user1146081's user avatar
1 vote
1 answer
35 views

function needed to replace short, static list of keywords

In my workflow I copy emails into an orgmode file. I'd like to have head of the email formatted. In english emails (just as an explanation) I'd like to have *To:* instead of To:, because orgmode then ...
Keks Dose's user avatar
  • 508
1 vote
0 answers
32 views

Headline as the default description for an org-id link

I am using org-id to create links to different headlines in an org file. When using org-insert-link (C-c C-l), I select id as the link type option. Then I press RET. I have :complete configured to ...
NandKN's user avatar
  • 73
0 votes
0 answers
20 views

org-babel-detangle writes duplicated code

I am trying to use org-babel-detangle for a while, but the source code is detangled twice in the main org file. Interestingly, when I run (org-babel-detangle "file_name.cpp") it does not ...
Gabriel Petrini da Silveira's user avatar
0 votes
0 answers
21 views

How to write BCE dates in org-mode

I need to write BCE dates in org-mode. I'm particular about consistency and it kills me to have to write dates two different ways. I'm hoping there's something like [-7000-01-01] to denote January 1st ...
MountainMan's user avatar
0 votes
2 answers
73 views

how to swap month with day

I have a file with the date of birthday of my friends, I use this to remember me the date if birthday...But I have a problem: the date are set in the US way (month-days-year). I would like to change ...
RenatoP's user avatar
  • 121
0 votes
0 answers
70 views

How to make org-babel evaluate noweb reference only once?

To get user input for a shell script, I prepared an emacs-lisp source block. #+name: get_text_from_user #+begin_src emacs-lisp (let ((text (read-from-minibuffer "Enter some text> "))) ...
lecodesportif's user avatar
1 vote
2 answers
63 views

Difference between emacs and emacs --load ./init.el

I have the init.el file with following configuration: (require 'package) (add-to-list 'package-archives '("tromey" . "http://tromey.com/elpa/")) (add-to-list 'package-archives '(&...
Org Mode Beginner's user avatar
0 votes
1 answer
44 views

How can I remove the tex file after generating pdf using `org-latex-export-to-pdf`?

My goal is to export org file into a pdf file . In order to achieve it I am using org-latex-export-to-pdf: org-latex-export-to-pdf Export current buffer to LaTeX then process through to PDF. ...
alper's user avatar
  • 1,238
0 votes
1 answer
25 views

How to Create a Sparse Tree Based on Two or More Properties

I have multiple headlines with two Properties A and B, storing the numerical values 0, 1, 2, 3, e.g.: * Headline :PROPERTIES: :A: 2 :B: 3 :END: I want to create a sparse tree based on the values ...
GNUmon's user avatar
  • 122
0 votes
0 answers
13 views

Can a noweb block be directed to a specific output block?

I know you can give a block the property :noweb-ref give it a reference name like foo and then in another noweb block you can refer to the reference block with <<foo>>. However this means ...
Ian Pringle's user avatar
0 votes
0 answers
25 views

How can I simulate book parts in org-mode?

I can get a nicely highlighted separation of chapters with book.org #+title: Species #+author: CRD #+HTML_HEAD: <link rel="stylesheet" type="text/css" href="style.css"...
Sam's user avatar
  • 317

1
2 3 4 5
111