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
1
vote
0answers
37 views

Linking source file in org mode with specific revision

I need org-mode version of links like this https://github.com/emacs-mirror/emacs/blob/cd2c1561636597c67edbf3daf10388e5385a93fc/etc/NEWS#L1119 for local files inside local repo. A way to specify not ...
0
votes
2answers
39 views

How to schedule todo in org for every even day, and similar for every odd day?

I would like to schedule a todo item every Monday, Wednesday, Friday. I followed this one: Org-mode schedule 1 event for multiple days? and get something like this: * stuff to do SCHEDULED: <...
0
votes
0answers
19 views

Creating independently-numbered structures in Org-mode for LaTeX export

I want to keep the typical numbering system for different parts and chapters but add interlude in between with its own numbering. Similar to what this tread does except instead of "Software Break" I ...
0
votes
0answers
23 views

Include items without todo keyword in org custom agenda

I would like to have a custom agenda in which all I can view all the entries in my agenda including those without a TODO keyword (I skip specific tasks using org-agenda-skip-function). I tried (setq ...
0
votes
1answer
25 views

How to refile to the top of another heading?

When refile a heading in org mode, I would like to refile it to the top of the target heading so that the new subheading is the first entry. For my use case, I use org-capture for meeting notes, and ...
0
votes
0answers
35 views

Org and EIN (IPython): No output for print

I am using EIN in Org blocks, as explained on the GitHub page for EIN. So I use ein-python as the language for Org blocks (instead of python). All seems to work well (for example displaying data from ...
2
votes
1answer
210 views

How remove active date from a dynamic block using columnview

This post explains how you can setup dynamic blocks to create tables based on meeting minutes. In short, you can extract the TODOs of the minutes and put them in a table of actions like so: * ...
1
vote
0answers
10 views

how to include closing note in column view?

I'm trying to configure org-mode column view to display closing note of TODO entries so that I can see why they are closed easily. I read the manual but did not find a way. Does anybody know a way ...
0
votes
1answer
36 views

How to open the agenda overview when open an orgmode file automatically?

I have a personal orgmode file where I organize my life. Always when I open it I have to press: C-c a a That opens my agenda and shows to me my habits, the scheduled and deadline tasks. But it's ...
0
votes
0answers
21 views

org-capture - how to select history for a prompt?

I use org-capture for manually enter Ledger records. Even though it's a manual process, I was able to choose the prompt from a history. For example, when asked for a value for Payee, helm lists all ...
0
votes
1answer
42 views

Org mode not working as expected

Running Doom Emacs 2.0.9 on Emacs 26.3. I have a test.org as follows: * h1 :tag1:tag2: * h2 ...
0
votes
1answer
45 views

Asterisks render as question marks in org mode

I am trying to join the Church of Emacs and I installed it because I wanted to use the org-mode. I am using the Doom Emacs distribution. The problem I am facing is that when I put * and press space ...
2
votes
1answer
52 views

orgmode latex export: How to create repeatable labels?

Every time I export org-mode document to LaTeX, most sections get new and unique labels, e.g., \section{Introduction} \label{sec:orge0665da} The next time I export the document, the label will ...
0
votes
0answers
50 views

Org-mode, how can I export my images in different float enviroment?

I need to export some images in different type of float in latex (i.e. \begin{map}). An example of latex code is here. How can I define image attributes in org-mode to achieve that?
0
votes
0answers
10 views

limit targets to within a header

Is there a way to limit radio targets and targets to a header? There are times where I have radio targets to common words that have specific meanings in specific headers and will like to limit linkage ...
0
votes
1answer
24 views

What function will return the total EFFORT of the subtree at point?

I am looking for an elisp function that will return the total EFFORT of the subtree at point. By "total EFFORT" I mean the "Sum times" value that would be produced by giving the subtree a :COLUMNS: ...
0
votes
0answers
27 views

How to export the tangled filename as comment?

I often add #Content of sample.script as top line in my org-babel scripts. Thus the reader knows the name of the tangled file: #+begin_src sh :tangle sample.script #Content of sample.script echo ...
0
votes
0answers
14 views

Fontify broken url link in org-mode & HTTP 443 error

It's known that we can fontify broken file link as discussed here, but If I do something similar concerning broken url link... (defun org--url-face (url) "Define a dynamic face for url links." (...
1
vote
1answer
57 views

ein org mode results raw drawer

I am trying to use ein with org-mode in emacs but I am having problems with exporting the results. Here is a very simple example: #+BEGIN_SRC ein-python :session localhost :results raw drawer :...
0
votes
0answers
25 views

assign priorities to todo items based on position in directory

I'm very new to extending Emacs. I just started using org-agenda and I'm loving it so far. My approach to todos is probably more granular than most: I have my major goals as separate org files and ...
0
votes
0answers
16 views

Debugging huge memory allocation occurring before identified problematic function

I identified a particular situation which causes emacs allocates infinitely memory (and then freezes my PC). To be specific, I have an external link [[file:article.djvu::5][problematic djvu file]] ...
0
votes
1answer
46 views

Multiuser wiki that I can edit/archive in Emacs Org-mode

If I could live entirely in Emacs, I would. But... I now have to collaborate with others on a shared wiki and my team requires a web interface to edit pages. So I need to select a wiki engine. ...
0
votes
0answers
11 views

Calculating weighted average in orgmode table [duplicate]

In the following table | Item | Weight | Grade | |--------+--------+-------| | Quizes | .15 | 3 | | Exam 1 | .3 | 5 | | Exam 2 | .5 | 4 | |--------+--------+-------| | Total ...
0
votes
0answers
10 views

Org Mode: Use mhtml for HTML editing in an export environment

To export raw HTML, one can use: #+begin_export html some HTML #+end_export However, mhtml-mode has some very desirable features, most notably, javascript syntax highlighting. So I use #+...
0
votes
0answers
40 views

Wait for specific keypress in a function (press enter to continue)

I have a function to underline Chinese characters with zero width spaces in org-mode. (defun ctext-uline-begin () "Underscore with invisible space before for underlining Chinese texts." (insert "...
1
vote
1answer
25 views

How can I unbind a key in org mode?

M-return is interfering with export (M-return e e) and other functions that I use a lot. I tried (define-key org-mode-map kbd "M-return" nil), but after loading that (with M-m f e r, since I am ...
0
votes
1answer
45 views

org-mode inline latex dollar sign

In org mode, this inline latex dollar sign fails to render: $\$$ but this has no problem rendering: \[ \$ \]
0
votes
1answer
67 views

Long running jobs in emacs org mode

When I execute a long running script within the org mode, emacs freezes. Is there a way to see the (running) output of the script? Alternatively, is there a way to run script asynchronously, and then ...
0
votes
0answers
19 views

emacs org mode shell history completion

I would like to have command completion for shell snippets in the org mode, similar to what is available in regular shells. For example, when typing ls, I would like to cycle (with a keystroke) ...
0
votes
0answers
17 views

orgmode agenda view: use not only org-agenda-files, but also predefined buffers

The org-agenda-list function produces a view from the files returned by org-agenda-files. Is it possible to include additional active buffer(s), not files? My idea is that I use an external tool, ...
0
votes
0answers
37 views

How to create an overview for a GTD implementation in emacs org mode?

I am implementing a GTD system in org-mode. I use tags for headings to signify various levels of "stuff". Primarily, I use "Goal" and "Project" tags to differentiate between a Goal (which is not a ...
0
votes
0answers
26 views

How to create plain text links or string variables that is displayed as its value in the buffer?

In my org-mode documents I want to be able to write: #+VAR: that_year=2020 and then somewhere in text use it like: "And [[var:that_year]] we are going to..." which should be interpreted and ...
0
votes
1answer
58 views

Hooks for agenda

I need to run a function every time I run org-agenda. However, I need it to run prior to the agenda. I wasn't able to find any hooks for the agenda command in the documentation. Any guidance is ...
0
votes
1answer
34 views

org-sort expands all subtrees and drawers

When I use org-sort (Ctrl-^) all the to be sorted subtrees are expanded including their properties. I kind of loose orientation. I have to collapse them manually again or use overview (Shift-Tab) and ...
0
votes
1answer
26 views

Multiple citations with just one pair of braces

I want to have multiple citations appear in my exported PDF as below: some well-studied fact [12, 13, 20] blah blah But the only way I know to do this is by using inline latex: some well-studied ...
0
votes
0answers
32 views

How to insert quotations in Org tables?

In org mode, how does one insert a quotation in a table cell? I know that #+BEGIN_QUOTE ... #+END_QUOTE is the way to go outside a table, but I can't find a way to use it inside a table cell.
1
vote
1answer
27 views

Can org-babel filter code blocks?

I have a general emacs.org file that I load at init time with org-babel. It's made for desktop use, and I load a bunch of IDE features, face customizations, powerline and so on. However, I also ...
0
votes
0answers
14 views

Recursive task - using diary-style expression

I'm using diary-style expression entries to add the my lecturing schedule to the agenda * FIS-245 :fis245: SCHEDULED: <%%(or (diary-cyclic 7 4 6 ...
0
votes
1answer
37 views

How do I automatically clock-in for SCHEDULED items with org-capture?

I would like to setup my org-capture template for meetings so that I get automatically clocked into the meeting header on the day and time of the meeting. So given: * Meeting with client SCHEDULED:...
0
votes
2answers
68 views

How can I change the TODO state of a task in a given date?

I want to change the TODO state of a task automatically on a give date. I would expect something like this: * FUTU Some task that only becomes actionable of a given date :PROPERTIES: :ACTIONABLE: ...
0
votes
2answers
84 views

Executing code within Org mode `begin_src` … `end_src` blocks

How to configure Emacs to run code in different languages as shown in this post? Specifically, how to run these type of code blocks #+begin_src shell :results list ? After 9 years of vim, that post ...
0
votes
1answer
18 views

call org-html-export-to-html from script failure

I can run org-html-export-to-html on emacs successfully. but when I try to call it in script as below: #!/usr/bin/emacs --script (require 'org) (defun dired-org-to-html () (let* ((org-root ".") ...
0
votes
0answers
21 views

Show only the real matches in clock table - without their parent headlines

The clock table of org mode has so many great features but I couldn't find this: I'd like to have only the headlines with a specific tag without their parents. Example #+BEGIN: clocktable :scope ...
2
votes
2answers
57 views

stop stripping result of :session for python print statement

Since default value for :result header is value print statement will only show with :result output #+BEGIN_SRC python :results output print(' hello') #+END_SRC #+RESULTS: : hello but same ...
0
votes
2answers
34 views

Use structured template in numbered list

Is there any way to include a structured template (#+Begin/end_SRC) in the middle of a numbered list without ruining the numbering? Here is a MWE: 1) First question #+begin_quote Quote needed ...
2
votes
2answers
71 views

In Org mode how to link to a specific line or keyword in a Help or Texinfo page?

For example, I want to create a link pointing to line 16 or the start of the first found keyword "binding" in the projectile mode help page ([[help:projectile-mode]]). I tried the double colon format ...
0
votes
1answer
21 views

Org mode HTML export presets

When I export something with org mode to html, with it comes a load of presets such as id, labels, classes, preambles and post ambles. For example: <div id="outline-container-org16cf335" class="...
0
votes
0answers
38 views

How to call a function in a list and substitute its return value in the same position?

I'm trying to use the following property value in org-publish-project-alist :html-divs ((preamble "header" "preamble") (content "main" (org-export-output-file-name)) (...
0
votes
2answers
77 views

Add-advice :before org-edit-special

I want to advise org-edit-special so that a function runs before Emacs enters org-src-mode. I am not particularly tied to org-edit-special. If there is a hook like org-src-mode-hook (but that triggers ...
0
votes
0answers
33 views

Echo message when copying repeating tasks to archive

I like to move through past days in org-agenda and see every task I logged done on that day. In order to do this, I wrote a function (my/archive-repeating-task) that checks if a task repeats and, if ...

1
3 4
5
6 7
81