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

How to set mail-user-agent to mu4e-user-agent

Pressing , m in an org buffer does org-mime-org-buffer-htmlize and opens the htmlized message in message-mode but I want it in mu4e-compose-mode. How can I have this message opened in mu4e in order ...
0
votes
0answers
13 views

How to auto-complete links to headlines in org-mode?

Given an example.org file having two headlines, I would like to auto-complete links to 1headlines. However hitting M-\ on [[* suggests *bold* words but not headlines. Any ideas what I'm 2missing? * ...
0
votes
0answers
15 views

Calling a fuction after org capturing

Is there a way to call a certain function after a certain org-capture template has been run (successfully, ie. not aborted)?
0
votes
0answers
9 views

Using org-mode clock-report, how can I add a total row + cell with a formula that is automatically updated upon dblock update?

I am having trouble with using the formulas to create a cell that totals a column. Is it possible to dynamically add a line and a total cell to the bottom of clock report tables? because when I add a ...
3
votes
1answer
32 views

How can I export an Org subtree to HTML from the command line?

I have a list of links that I store in a subtree in an org file. Is there a way to export this to an HTML file using the command line? I figure it's something like emacsclient --eval ... with an elisp ...
2
votes
1answer
126 views

Merge org tables

Let's say I have the following org-tables: | col1 | col2 | | 1 | 2 | | col3 | | 3 | What's the easiest programmatic way to get the following output: | col1 | col2 | col3 | | 1 | 2 | ...
0
votes
0answers
19 views

Help debugging: org-mode hangs on agenda tag search

I'm still pretty new to emacs and org mode, and I would really appreciate some help debugging a weird issue I'm having. When I try to do an agenda search by tag (C-c C-a m [some tag]), emacs just ...
0
votes
2answers
24 views

Matching two columns in a table

I deal with a two column table where I have to match data from two sources. The first column contains names of persons for whom, service is provided. The second, persons who are billed. My job is to ...
1
vote
0answers
29 views

Can not refer to RESULTS in org-babel

I need to plot data evaluated in org-mode. Referring to #+RESULTS: returns org-babel-ref-resolve: Reference ‘myResult’ not found in this buffer whereas referring to #+tblname: works. #+RESULTS: ...
0
votes
0answers
24 views

Using org-publish to markdown

I already have an org-publish set up that exports to HTMLand it works perfectly. Now, I am trying to export also to markdown, with the following block (setq org-publish-project-alist '( ;; ...
0
votes
1answer
21 views

Haskell code execution in Org-mode give error but in .hs file the code is good and working

i have this code: qs [] = [] qs [x] = [x] qs (x:xs) = qs [a | a <- xs, a < x] ++ [x] ++ qs [b | b <- xs, b >= x] when i save it to some file .hs and load it to ghci i can execute ...
1
vote
2answers
46 views

grouping tasks in org-agenda

Is there a way to show the tasks in the agenda list grouped by category? I mean in the task list view (when pressing C-c a t) rather than the week-agenda.
0
votes
0answers
22 views

Can a section have multiple `custom_id`s (in HTML export)?

I'm using properties drawers below section lines to define textual custom_ids to avoid changing numerical link targets in HTML exports. E.g. I have a section title like ** FTDI FT232H :PROPERTIES: :...
1
vote
2answers
83 views

Get Section text with elisp

I'd like to extract from an org file a top-level headline and the plain text just under it. I'm new to elisp, but i've tried a bunch of things, and haven't made much progress. I'd really appreciate ...
0
votes
1answer
42 views

Org mode export with R failing

I have an org file with R code in it. When I attempt to export to html or pdf I get an error: For example if my file was: #+begin_src R :exports code square <- function(x) { x * x } square(1:...
0
votes
1answer
17 views

Set tangle-mode 444 for all source blocks in buffer

How can I tangle all source blocks write protected? The first line of this example is ignored instead of being applied to all blocks as expected: #+PROPERTY: header-args:conf :comments link :...
0
votes
1answer
31 views

Sort agenda items by link's text and not link's url

I use alpha-up as the org-agenda-sorting-strategy. I have many hyperlinks in my task titles. And these items seem to be sorted by the url first (as a hyperlink is [[url][title]]. How do I change this ...
0
votes
0answers
12 views

org-mode/babel and zsh: Getting shell sessions to work

I've been trying to get shell code blocks with sessions to work, but not entirely succeeding. My setup: emacs 26.1 (spacemacs) org-mode 9.2.2 default shell: zsh 5.7.1 Everything seems to work fine ...
1
vote
2answers
54 views

Find out duplicate headings

In an org tree consisting of hundreds of headings, how do I find out if there are any that are duplicates? So, for instance, in the tree below, * Heading 1 ** some ** other ** headings ** some I ...
0
votes
0answers
31 views

emacs org src output with accented characters

When I perform #+BEGIN_SRC sql coding: utf-8-with-signature :results list :var did='2019-03-10' cid=77 select t.titre from titres t inner join selections s on s.tid=t.tid where s.did="$did" and s....
2
votes
0answers
20 views

Letting evil >> increment org level

In evil mode, >> increments the indentation level of the current line. It does so at an org heading too, even though it would be more appropriate there if it would increase the org level (the ...
0
votes
0answers
9 views

Org export to reveal.js using mathjax extensions

Similarly to this question, I was wondering how we can tell the reveal exporter to use MathJax extensions? Specifically, I would like to be able to use the 'physics' extension listed here and if ...
0
votes
2answers
34 views

How to enable the breaking of code blocks in a PDF?

As shown here, Control's code (and the code of the sections after it) are on subsequent pages. I want the code to be shown directly in the same subheading. My subheadings look like this: *** ~Code ...
0
votes
0answers
19 views

Display #+INCLUDE File Contents in Github README.org?

I learned from How to embed external file contents in org file? about including contents from another file into the org file. I tried that for my README.org. My code in org file looked like this: #+...
3
votes
1answer
33 views

Where are org-publish-project-alist variables and properties documented? [closed]

I am learning orgmode publishing. There are some org-publish-project-alist variables and properties I am not finding in the documentation. Maybe I am looking in the wrong places. Where else are the ...
1
vote
1answer
40 views

Filter agenda for all open TODO items and all DONE items from past 7 days

I would like to use org-mode to facilitate weekly standups at work with people. I would like a workflow whereby I can filter the org agenda TODO list to only contain open all open TODO items in ...
3
votes
0answers
78 views

How to update Org-mode through Emacs' Package Manager?

I have org-version 9.1.9 installed and am attempting to install the latest version 9.2.2 I followed the instructions on https://orgmode.org/worg/org-faq.html#installing-via-elpa. On my system, M-x ...
0
votes
0answers
7 views

how to disable multiline highlighting for org-emphasis?

Be default, org-emphasis can span across 2 lines (but not 3), e.g., the words "is an" is highlighted as bold in the following example: This *is an* example. I don't want that kind of highlighting, i....
0
votes
1answer
59 views

“No such file or directory” “org-publish”

I am following tutorial on https://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html. I move point to the end of this line and press C-x C-e to load org-publish: (require 'org-publish) ...
1
vote
0answers
28 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
2answers
107 views

Add dotted line in org-mode for export to latex and ODT

I can get the desired result consumable1........................................month/year consumable2........................................month/year consumable3.....................................
1
vote
1answer
52 views

Custom command in org-mode agenda

I have two files in my agenda: current.org and later.org. My setup has it so that current.org has all active tasks (state TODO) and later.org has all inactive ones (state LATER). Right now, in my ...
0
votes
1answer
24 views

How to count the number of clocks of some given duration?

I want to collect statistics about some clocked events; more specifically I need to count the number of clocked events (belonging to some subtree for instance) whose duration is in some predefined ...
0
votes
0answers
30 views

Remapping keys in org mode agenda view

I currently trying to remap my org mode agenda keymap in Spacemacs for org-agenda-next-item and org-agenda-previous-item. In the agenda view I like to map the functions to k for next-line and l for ...
0
votes
1answer
14 views

Is there any way to expand sub 'item'(not headline) tree cyclically?

In org-mode, is there any way to expand sub 'item'(not headline) tree cyclically? I tried hitting TAB(org-cycle), but it expands headline and all sub item tree showed at once. Here is the example. ...
0
votes
0answers
9 views

Org-refile Strip lowest heading from list in helm mini buffer

I have set up several files for org refile as targets. I have defined their max levels. However, it is often hard to define precisely the max level depth for a given file since the hierarchy of nodes ...
0
votes
0answers
19 views

Org-refile in Helm Mini Buffer does not fontify Headings

I am using spacemacs and org refile and have set the following variables: (setq org-refile-use-outline-path 'file) (setq org-outline-path-complete-in-steps nil) I also defined three files via org-...
0
votes
1answer
19 views

Org-mode not exporting frames correctly using beamer

I'm writing a presentation using Org-mode and beamer. The problem is that all the frames are putted into a single one. I have the following code: #+TITLE: \textbf{example} #+AUTHOR: \large{sdjfioa} #+...
0
votes
1answer
29 views

org-mode: how to print agenda showing only some categories

I'm trying to print today's agenda hiding some categories. I'm using C-u < to hide the categories I don't want, but when I print (either the buffer or by selecting the text and using lpr-region), ...
1
vote
0answers
24 views

How to add to top of collapsed header tree?

Is there any way to default adding text to the top (rather than bottom) of a collapsed header tree? Say I have these headers * Main header ** Notes *** Notes sub-section 1 ** Subheader 2 *** ...
0
votes
1answer
16 views

Problem with org-insert-link and yas-expand

I have a problem when I want to yas-expand a link in Org-mode and it has a dash (-) in the text (url and description). Then the snippet break and exits. If I do the same in fundamental-mode it works. ...
1
vote
1answer
38 views

Using an org-table formula to sum up weekly time cards

I'm filling my time cards in an org-table like below. Is there a way to fill the column Totals automatically with a formula? For the individual lines in a project task, I'd like to sum the hours ...
0
votes
0answers
25 views

org-mode occur-tree multiple tags

I am trying to add an agenda custom command that shows me a sparse tree of items contain either NEXT or TODO using occur-tree. When I run M-x org-occur RET NEXT\|TODO manually, it works fine. ...
0
votes
0answers
13 views

org-mark-ring-push question for external links

The emacs documentation says the following about org-mark-ring-push C-c % (org-mark-ring-push) Push the current position onto the mark ring, to be able to return easily. Commands following ...
0
votes
1answer
38 views

Marking a TODO item DONE with or without a timestamp

it was established in a previous post that (setq org-log-done 'time) should be substituted for (setq org-log-done t) in the init file, so that C-c C-t would close a TODO with a timestamp. I would like ...
0
votes
0answers
24 views

Fill placeholders with dynamic values upon exporting a org document

I would like to create an invoice exported from an org document. At the moment I have a clock table which shows the total number of hours I want to bill. I would like to have a part of the document ...
1
vote
0answers
13 views

Exclude entries in custom agenda views based on Level

I'm trying to configure a custom agenda view. I'd like to search through an .org file by matching tags, but then only show the top-level headline. I.e., suppose my org-file looks like this. * Heading ...
1
vote
0answers
26 views

Customizing tags auto-completion

Is it possible to tweak auto-completion of tag names to make it seem like if there were multiple levels of tags? For example: * Movie A :entertainment:movies:action: * Movie B ...
3
votes
1answer
52 views

Org-mode: how to collapse contiguous clock time intervals

I use Org-mode in Emacs to keep track of time. I sometimes clock in and out of the same task back-to-back, leading to two contiguous clock time intervals, such as: CLOCK: [2019-02-27 Wed 10:21]--[...
0
votes
0answers
39 views

How to use \blockquote in org-mode?

I am trying to use \blockquote from the csquotes package like this: \blockquote[cite:authoryear]{text to quote} or this: \blockquote[{cite:authoryear}]{text to quote} but in both cases, when I try ...