Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
9 views

Is possible to have alternate table rows in another color in org-mode tables?

I would want something like this, for some specific tables with many rows (so columns are easier to read): I know about stripes mode (and sometimes I resort to using it), but that changes format for ...
1
vote
1answer
26 views

How to unlist an org-mode plain list?

Q: how do I unlist an org-mode plain list? I have a plain list that looks like: * header - List item 1. - List item 2. - List item 3. I want to remove the plain list formatting and convert ...
1
vote
1answer
9 views

Passing variable into a org babel code on export

I can't seem to get the variable to expand into src block #+BEGIN_SRC conf :tangle ~/.config/mine.conf :var argument=abcde setting1 1234 setting2 argument #+END_SRC When I export the file for ...
4
votes
1answer
549 views
+50

How can I use ox-pandoc as a publishing backend for org files?

I would like to use org-publish to generate files for a website. I would prefer to do this using the ox-pandoc exporter rather than org-mode's own publishing exporters. But I can't quite seem to see ...
1
vote
2answers
117 views

In org-mode, how to export sparse tree in buffer without unmatched top-level headings

I'm using sparse trees to find tasks I need to work on in my buffer. The matching headlines are shown, without siblings but with their parents. For example, imagine I have the following tree: * A ** ...
0
votes
0answers
12 views

Org-mode export to PDF not highlighting code blocks

I am trying to use org-mode export through LaTex to get a nice PDF of my documents, but I can't get it to show highlighted code blocks through Pygments. The following is a snapshot of my configuration....
5
votes
1answer
518 views

src python in org-mode: IndentationError: unexpected indent

mac 10.13.4 / emacs 25.3 (9.0) / org-version 9.1.12 / python 3.5.2 I am trying to understand why C-c C-c generate an IndentationError: unexpected indent when executing a simple code like the example ...
1
vote
1answer
15 views

Issue archiving when maintaining org-mode subtree structure

I'm trying to archive DONE org-mode tasks while maintaining the subtree structure. There's a partial solution for what I'm trying to attempt at https://gist.github.com/edgimar/...
4
votes
1answer
532 views

How to limit exported column view to a filtered subset of your headings?

I have a big org-mode file using tags and TODO keywords and properties. I would like to display a summary of "Effort" estimates on subsets of the headings with sums as we go up in the section ...
5
votes
1answer
130 views

See total number of entries in Global TODO list

Would it be possible to list the total number of entries in a global todo agenda view? I would like to have a quick way to estimate progress daily. So instead of: Global list of TODO items of type: ...
0
votes
1answer
85 views

Failed to add wikinodes to ‘org-font-lock-extra-keywords

I want to use org-wikinodes (http://orgmode.org/worg/org-contrib/org-wikinodes.html) Org wikinode is activated : (setq org-modules (quote (org-wikinodes))) I can follow wikinodes links with C-c ...
1
vote
1answer
51 views

Org-mode 9.2:Can' t find the error on my dot emacs [on hold]

I recently update my org to the version 9.2 (to be precise: Org mode version 9.2.3 (9.2.3-4-g6ec402-elpaplus @ /home/nanounanue/.emacs.d/elpa/org-plus-contrib-20190408/) I did it because I replaced ...
3
votes
1answer
93 views

Evaluating `org-babel-clojure` blocks returns all form evaluations

I'm trying to set up babel for use with Clojure according to http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html#org85bc1ec and I can evaluate code but when I evaluate a block with ...
0
votes
0answers
16 views

Is it possible to export R code within Latex code in an org-mode document?

I am trying to evaluate R code within LaTeX code in an org-mode document. The objective is to export the org-mode document to a .tex document and, ultimately, to a nice pdf document. My problem is ...
0
votes
2answers
555 views

How to use org-capture without creating ID property?

Whenever I create org-mode entries using org-capture they automatically get an ID property. Is it possible to disable that? I'm using org mode version 9.0.5.
0
votes
1answer
212 views

Preventing parent tasks from switching TODO keywords

I have several parent-level tasks that I manage as projects so I've created TODO keywords to support project management as follows. (setq org-todo-keywords '((sequence "TODO" "NEXT(n)" "DOING(!)" "|...
4
votes
1answer
35 views

How to display intermediate code block results?

Here is an example to let me explain what I would like to achieve: #+NAME: heavy_computation #+BEGIN_SRC shell :results table echo -e "A\t32\nB\t17" #+END_SRC #+BEGIN_SRC python :var data=...
0
votes
1answer
71 views

org-caldav/oauth2/plstore asking for passphrase many times

I have been struggling to set up org-caldav with (multiple) google calendar(s) for some time. Syncing works, but one remaining annoying problem is that I am asked for the passphrase many (5-many) ...
11
votes
6answers
1k views

in org-mode, how to remove a link?

How do I remove an existing hyperlink without having to wade in and manually delete a bunch of brackets? When I try to org-insert-link and just delete the existing link, I get Lisp error: (error "...
2
votes
1answer
178 views

How can I get a custom agenda habits only view with history chart?

I have included in my org-agenda-custom-commands the following: (setq org-agenda-custom-commands '( ... ("h" "Habits" tags-todo "STYLE=\"habit\"" ((org-agenda-overriding-header "Habits") ...
1
vote
3answers
129 views

Putting emacs .org file options in .emacs file

I use a template for my work. It contains following options. Can I put those in .emacs file. #+OPTIONS: num:nil; p:t #+OPTIONS: toc:nil #+LATEXCLASS_OPTIONS: {10pt} #+LATEX_HEADER: \...
0
votes
2answers
46 views

plantuml requires a header argument (Emacs 24 on Windows' Ubuntu Subsystem)

I'm trying to output images using plantuml-mode. It seems I have plantuml-mode installed successfully, as I can activate the major mode, but I am unable to evaluate using C-c C-c: PlantUML requires ...
0
votes
0answers
7 views

Need help with `expand-region`: Symbol’s function definition is void: org-outline-overlay-data

If I try to use er/expand-region but it fails with Symbol’s function definition is void: org-outline-overlay-data. org-version : Org mode version 9.2.2 In the release notes for the current org (9.2),...
2
votes
1answer
771 views

How do I customize the process that gets triggered in org-preview-latex-fragment?

All I could find to configure was org-latex-to-pdf-process and org-latex-create-formulat-image-program. The first one only controls the process, when I want to export the entire document, the second ...
0
votes
0answers
13 views

Highlight headings in orgstruct-mode

When I do M-x orgstruct-mode (in, e.g. shell script mode, after setting orgstruct-heading-prefix-regexp to "#") and make some comments serve as headings, these comments look like all other comments. ...
2
votes
2answers
174 views

Org-mode markup between square brackets

My question concerns org-mode. I'm trying to add the characters [ and ] to the org-emphasis-regexp-components in order to mark up words between square brackets. So I get for example the following ...
0
votes
1answer
43 views

“Ignoreheading” Beamer Environment doesn't work with :BEAMER_act: Overlay

What I would like to do is the following: I have a beamer frame where I added :BEAMER_act: [<+->]. This works well with all blocks that follow, but not when I set :BEAMER_env: ignoreheading. ...
9
votes
2answers
702 views

Is there a simple way to use all org-files referenced in a main file for the org-mode clock table

I'm using org-mode to keep track of the time I spend on various projects. I have one main org file and two more for two large projects I'm working on. All three are listed in org-agenda-files. I ...
1
vote
1answer
165 views

How can you set clocktable scope dynamically? Or call it programmatically?

I want to get a clocktable for a list of files defined by a function, and I can't see a way to do that. In theory (according to this answer: Is there a simple way to use all org-files referenced in a ...
0
votes
0answers
33 views

SICP with Racket in org-mode

I'm following the suggestion here to set up racket as the default geiser/scheme. In Dr Racket I can set the first lines of code: #lang sicp (#%require sicp-pict) In order to match code presented in ...
4
votes
1answer
1k views

Preview Latex Fragment in org mode : blank square shown

I have an org file, where I put a LaTeX fragment to be rendered in line with C-c C-x C-l. It is a simple formula: \[ e^{i\pi} = -1 \] I have MiKTeX installed, latex and dvi commands work from ...
4
votes
3answers
2k views

Company-mode completion for Org keywords

Org mode has completion for all keywords via pcomplete, as noted by Andrew Swann. However, Company does not seem to pick up on these keywords. Calling company-complete on the following, where | ...
4
votes
1answer
814 views

Can I automatically export org deadlines and scheduled tasks as an iCal file and import it with another calendar app?

I would like to update Google Calendar / iCal automatically by exporting my org deadlines and scheduled tasks in .ics format, then automatically importing them into a cross-platform calendar app. I ...
0
votes
2answers
75 views

Problem inserting timestamps when the year is far removed from the current date

I am editing an old text file that has each entry preceded by a date = 11/23/1983. I would like to reformat this date to a org timestamp. Using the various methods specified in the documentation is ...
2
votes
1answer
268 views

TBLFM insert new row with current time

I want to insert a new row at line 2 in a table (preferably using TBLFM), and I want it to be prefilled with the current date (col 1) and time (col 2). How do I insert a new row (something like #+...
3
votes
1answer
254 views

org-element-parse-buffer usage

I've been struggling with the basic org-element-parse-buffer (see here) usage. Specifically, how do I make it work? It's not interactive, so it has to be called from within an org-mode buffer, I'm ...
1
vote
1answer
52 views

org-edit-special to respect the :lines parameter of `+INCLUDE`s

When one invoke org-edit-special at the line containing an #+INCLUDE, it opens a new buffer with the referenced file. Although, if an #+INCLUDE contains the :lines clause it will not respect what is ...
0
votes
1answer
9 views

How can I get superscripts at the beginning of a line in org-mode?

I'm writing a document (in org-mode) that quotes another document, including its footnotes. As such, I'd like to have a line like: #+BEGIN_QUOTE ^123 The contents of footnote 123 go here. #+...
1
vote
0answers
34 views

Org-mode ellipsis arrow is not using my defined encoding (utf-8)

First, some info on my system/version: Windows 10 Emacs 26.1 (I'm new to Emacs, so let me know if there is more information I should provide) This is what is happening: The image above shows that ...
0
votes
0answers
10 views

How to pass noweb variables to latex blocks

I need to tangle a LaTeχ file from code blocks in an org file. How do I pass variables to the SRC block? In theory I should use :var var1=value, but is there any way to reference var1 in the LaTeχ ...
1
vote
1answer
194 views

Error adding LaTeX class to org-latex-classes

I am trying to register the jfm LaTeX class (Journal of Fluid Mechanics) with the Org LaTeX export backend. After looking around, I have put the following elisp snippet into my .emacs (with-eval-...
0
votes
1answer
332 views

yaml frontmatter in org mode

When exporting and org file in emacs to either html or md for a jekyll-based web page, the yaml front matter gets twisted. As suggested here, I have attempted enclosing it in an html block in the ...
2
votes
1answer
251 views

Enable org-mode column-view for nested TODO list by default

I'm trying to setup time estimation in TODO lists via column mode as describled in http://orgmode.org/manual/Effort-estimates.html#Effort-estimates. The thing that bothers me is that I have to enable ...
1
vote
0answers
18 views

How find org entries that are missing a certain property?

I have this long sub-tree, I want to find the entries that I haven't set a certain property on yet. * Big list ** foo :PROPERTIES: :QUUX: 1 :END: ** bar :PROPERTIES: :END: ** baz ...
13
votes
2answers
2k views

How to copy links OUT of org-mode?

There's lots of documentation about inserting or storing org-mode-links, but apparently none about copying them to buffers in other formats. How do you copy the URL of an org-mode-link from an org ...
4
votes
1answer
20 views

Clocking into separate file

Is it possible to set up an agenda file in org-mode, so that the clocking information is saved at a different location? At work we have a team-global and version-controlled file with a section ...
0
votes
0answers
11 views

org-src-fontify-natively breaks #'org-in-src-block-p

#+BEGIN_SRC latex we are now inside a source-code block; but, with org-src-fontify-natively set to nil, calling #'org-in-src-block-p here | doesn't evaluate to t! #+END_SRC Is this a bug? I wasn't ...
7
votes
3answers
65 views

Idiomatic way to count org-mode subtrees?

Is there an idiomatic way to count org-mode subtrees? I searched here on emacs.sx and other search engines, but I could not find an answer. I know one could easily count subtrees with a regex, but I ...
1
vote
0answers
277 views

From Org code block on *nix run (Power-)Shell (scripts) on MS Windows via SSH

To better integrate my Windows DevOps into Emacs Org-mode, I'd like to use my local emacs as an IDE for a remote Powershell. SSH was easily setup, from Linux shell ssh I can successfully login to a ...
0
votes
1answer
34 views

Maxima won't start, but works in org-mode

This is very odd, but I've got latest greatest everything -- 26.1; org-mode 9.1.14 9.1.14-9-g131531-elpaplus; maxima-5.42.1 (installed from source) -- and have this in my .emacs: (add-to-list 'load-...