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
0answers
18 views

trouble with linking from one section to another section using ox-hugo

I am trying to create a link from content/file.md to content/section/_index.md. I've tried using CUSTOM_ID, ID and header title in my org file. In the org file, the links work fine. However, after ...
0
votes
0answers
56 views

Org mode: Emacs Lisp implementation to get Google Calendar data and convert it to org mode format

The well known Org-Mode to/from Google Calendar synchronization is described here https://orgmode.org/worg/org-tutorials/org-google-sync.html. What I don't like is the custom AWK script ical2org.awk. ...
1
vote
1answer
302 views

Yearly calendar view of agenda (with colored background)

I would like to have a yearly calendar view of my agenda. The code from https://stackoverflow.com/questions/9547912/emacs-calendar-show-more-than-3-months shows how to display a calendar for the whole ...
0
votes
0answers
38 views

Hiding content in an org buffer

Given an org document where some headers are visible and others not, and some content is visble and other content not, how can I hide all content, but leave the headers that were visible before ...
1
vote
1answer
41 views

Org mode monospaces more than it should

Org mode lets you monospace text by enclosing it within = signs. However, I don't think the regex actually considers if it is a "starting" = or a "closing" =. Example: =s[=$i$=]= renders not only ...
2
votes
0answers
55 views

How to get date+interval?

I have a deadline that is 12/12/2019+15d+1m. How would I get it in Emacs? This should be straightforward but have not found it. The right answer is 01/27. UPDATE: The question is not about combining ...
3
votes
2answers
117 views

Skip flyspell checking of ~code~ and =verbatim= regions in Org mode

First some disambiguation: This Endless Parentheses page demonstrates how to use ispell-skip-region-alist to skip =code= and =verbatim= blocks with ispell… (defun endless/org-ispell () "...
0
votes
1answer
62 views

Prioritize color of emphasis faces in Org headers

Observe the following Org buffer, tested on Emacs with no configuration (emacs -q): Note that bold, italic, and underline are all distinctly fontified in the header. However verbatim and code are not....
1
vote
0answers
30 views

Enlarge a svg image in org

I have such a svg picture and test equality by using the following relations: [[file:fig/math/55d25a70d9db3c6d95666151a04c4869.svg]] We can express these rules as procedures: Then enlarge it What'...
1
vote
1answer
54 views

Is there a command to delete items from an org list?

I have an org-mode list. 1) John 2) Paul 3) Jimmy 4) George 5) Ringo I've decided that item number three doesn't belong on this list. I can purge this item by removing it and then issuing C-c C-c ...
0
votes
0answers
34 views

Include file relative path

The Org Mode section on including files: https://orgmode.org/manual/Include-files.html seems to be missing a detail. It appears that relative paths are allowed, I assume they would be relative to ...
0
votes
1answer
32 views

org-refile under a given heading

From org-refile to a known fixed location I have learned that the argument RFLOC looks like this: '(heading file regular-expression position-of-target-heading) I am trying to programmatically refile ...
1
vote
1answer
31 views

Org-mode: blocks incorrectly parsed as org-mode markup

I noticed a really weird behavior related to #+begin_xxx/#+end_xxx block. It turns out that contents inside those blocks are parsed as org-mode markup. That is, inside a block: * at the beginning of ...
0
votes
1answer
76 views

org-cycle in Doom Emacs: 2 instead of 3 states

I recently installed Doom and noticed that in org-mode the Tab key (used for local/subtree visibility cycling) only cycles between 2 states ('folded' and 'children') as opposed to 3 states I'm used to ...
1
vote
1answer
35 views

How does org-mode implement syntax highlighting for code blocks?

How does org-mode implement syntax highlighting for code blocks? More specifically, for a C file, does it use cc-mode or does it have its own algorithm? For example, if I have this org file: test.org: ...
1
vote
0answers
19 views

Wrong numbering of sections - html export - org-mode - RTL languages

This small example: #+LANGUAGE: ar #+HTML: <style> html,h1,h2,h3,h4,h5,h6,body { direction: rtl} </style> * 1 ** - 1. 1 ** - 1. 2 ! ** - 1. 3 ! * 2 ** - 2. 1 ! ** - 2. 2 ** ...
0
votes
0answers
8 views

Removing extra blank lines in R output

I noticed than when writing a multiline src code block in Org-mode, and if only the final command line produces an output, the R output includes an extra blank line at the top, like here: #+begin_src ...
0
votes
0answers
30 views

org cycle visibility of drawers

I use drawers extensively. As a result, They tend to get long.I would like a mechanism to fold them like headlines. I found outline-show-all command which makes drawers visible. I would like a global, ...
0
votes
1answer
73 views

How to set TAB behavior in Org-mode source-blocks when the language isn't supported?

How can I set a default TAB behavior (i.e. 4 spaces instead of tab) in an Org source-block when the language is not supported? Example: #+begin_src xyz lkjsdf iouqweou #+end_src Using TAB ...
1
vote
0answers
31 views

Org mode agenda fails to show consistency graph

I set up the Org mode consistency graph of habits following the manual. Each habit is, e.g.: ** TODO some habit SCHEDULED: <2019-12-22 Sun 07:20 ++1d> :PROPERTIES: :STYLE: habit :LAST_REPEAT: [...
0
votes
1answer
112 views

Add timestamp to repeating task when marked DONE

Say I have this task: * TODO Task SCHEDULED: <2019-12-21 Sat 13:00 +1w> and I mark it done the day after. Then, the timestamp becomes <2019-12-28 Sat +1w> and I lose the previous entry,...
0
votes
1answer
54 views

How to disable code blocks in an Emacs org-mode init file

My dot emacs config consists of a short init.el file and a very large org file in which I have created dozens of emacs-lisp code-blocks. This works very well for me, especially in terms of ...
1
vote
1answer
16 views

What is the `'inf-template` file in the ob-template.el file (template for creating new babel language)

Because the options provided by the mathematica.el file in org-contrib are quite limited, I am trying to create a new, extended, mathematica.el file. As explained on the org language development page, ...
1
vote
1answer
28 views

Looking up values in an org spreadsheet

I imagine it would be possible, with the tables | food | kcal/hg | |---------+---------| | sausage | 281 | and | food | g | kcal | |---------+-----+------| | sausage | 100 | ...
0
votes
0answers
35 views

Getting a specific property value from an org clock element

I am dealing with a function that receives an org-mode 'clock element: (defun org-clock-csv--parse-element (element) "Ingest clock ELEMENT and produces a plist of its relevant properties." ;... ) ...
0
votes
0answers
32 views

Export comments and babel src results to markdown

When I export to another format like rst from org, the comments #comments and the results from babel src will not be exported. How could I include them to export?
1
vote
1answer
36 views

specify time of day for org-resolve-clocks, not number of minutes

I can use org-resolve-clocks if I've been away from a task but kept the clock for the task running -- but when I do that and select K ("keeps however many minutes you request and then immediately ...
0
votes
0answers
32 views

Filter todo's and group by category

I am using org-super-agenda to filter tasks by certain criteria (e.g., :todo "NEXT"). Now, I want the results to display grouped by category. I tried to use :auto-category t, but I can't seem to get ...
1
vote
0answers
36 views

Do I have to call all the code blocks in org-mode to chain them?

Imagine this org file #+NAME: get-referral-code-payload #+BEGIN_SRC bash :dir ~/Developer/data :results raw :exports code curl -H "Content-Type: application/json" -d "@userData.json" -X POST https://...
0
votes
1answer
46 views

How to move point to an invisible line (to access an org property when heading is folded)?

I wrote some code to reschedule all headings under a subtree, but it was failing to get the scheduled date of heading in invisible lines, even though it could access other properties such as the name ...
1
vote
1answer
75 views

No org-babel-execute function for js!

I'm using org-mode in Spacemacs and have this code block: #+BEGIN_SRC js :var payload=access-token-payload let parsedPayload = JSON.parse(access-token-payload); return parsedPayload.access_token; #+...
1
vote
1answer
26 views

How can I link the source code .org file when exporting it?

I have an .org file in which I want to insert the source code that generated the web page when is exported to HTML, this is, the .org file itself, but when I do it's changed to the .html file. How can ...
2
votes
1answer
177 views

Efficient workflow to write a book in Org-mode

I plan to write a short statistics textbook using Org-mode. Even if some textbooks have been written using equivalent systems (e.g., the R package bookdown), I have no examples in mind of books ...
0
votes
0answers
61 views

Doom Emacs does not display wordcount

Running Doom Emacs 2.0.9. If I make a selection, I can see the word-count. This is as expected because doom-modeline-enable-word-count is set to t. However, I was expecting to see a word-count as I ...
0
votes
0answers
30 views

Convet texinfo to org

I tried to convert a texinfo file to an org file: pandoc --wrap=none calendar.texi -o calendar.org Unfortunately, it outputs a messy text. Since texinfo act as emacs default markup language, while ...
4
votes
2answers
121 views

Export a docx file to org using pandoc but without the property drawers

If I export a docx file to org using Pandoc as follows pandoc -s test.docx -o test.org I get a nice org file with markup. However, I also get unwanted properties with each heading in the file, ...
3
votes
0answers
51 views

What does w mean in “worg”

It might be trivial, but google searches do not help. What does "W" mean mean in Worg?
0
votes
1answer
42 views

Sum org-mode table column based on other column

I have this org-mode table: | Category | Category Budget | Needs Transfer | |------------------+-----------------+----------------| | Rent | 3000 | t | | ...
4
votes
2answers
113 views

Easily update dates for a recurrent set of TODOs in org mode

Every semester I teach the same course and for every semester there are several TODOs that should, at least initially, have the same dates relative to the starting date (i.e. the first day of class). ...
0
votes
1answer
75 views

In org mode, how can I hide body text but show drawer contents?

Using spacemacs I would like to be able to display an org mode document such that: all headings are visible all drawers are open and their contents visible all other body text is invisible It would ...
0
votes
0answers
9 views

Force Org-Link to inherit a different face when placed in org-table?

I currently have (variable-pitch-mode +1) set on a hook when I start org-mode. I have customized my org-mode faces such that faces like org-link inherit from my variable-pitch face. This looks great ...
0
votes
0answers
29 views

Stop Emacs From Moving Text / Point to Bottom of Screen

I don't fully understand what is happening but I would like it to stop - I am using org-mode and ESS, and when I am in an R src block, things like hitting tab to auto-indent a line of code cause point ...
0
votes
0answers
28 views

How could `(package-initialize)` affect the behavior of `org-open-at-point`?

Up until this afternoon, I was able to run org-open-at-point on something like [[file:/Users/apc/Desktop/test%20paper.pdf]] and open the file named "test paper.pdf" in my Desktop. But I'm no longer ...
0
votes
0answers
18 views

How to stop org-batch-store-agenda-views from writing to kill-ring

I have the following in my config: (defun export-agenda () "custom export of agenda for mobile use" (eval '(org-batch-store-agenda-views ;; w/o diary org-agenda-include-diary ...
3
votes
1answer
78 views

Modify emacs calendar starting week number

I want to change emacs default calendar week number so that it starts at a manually preset date. Normally the year is broken into 52 weeks and week 1 is the one that contains the 1st of January. I'd ...
2
votes
1answer
61 views

how to display target of an org-mode link in the echo area or as tooltip?

In org mode when I hover over a link, I get a tooltip that shows the target of the link. But I'd like to see the target when I just move point onto a link, either as a tooltip or in the echo area. For ...
1
vote
1answer
31 views

roll back org-mode version

I have a scimax based configuration and my source block fontification is broken. I suspect it has to do with the release of Org-mode 9.3 which I am currently using. Thats why I am trying to roll-back ...
1
vote
0answers
33 views

org-archive-location ignore heading cookie

I have an org file that looks something like this: * Tasks ** TODO A test task * 2019 ** 2019-12 December *** 2019-12-10 Tuesday **** Day planning ***** Tasks for today [0/1] ****** TODO Another ...
2
votes
2answers
56 views

Insert Org or Markdown code blocks with Babel in org-mode?

In org-mode, if I do something like this: #+begin_src org ## What does this PR do? - Updates the Dockerfile to make the `dev` service connect to a shared network at startup - Registers the `...
1
vote
1answer
37 views

Copy results of `org-export` directly to clipboard

I often find myself doing this: Selecting a region of text in an org file. Calling org-md-export-as-markdown. Selecting the converted text in the temporary buffer (can't just do mark-whole-buffer ...

1 2 3 4 5 74