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
1answer
8 views

How to unpack a tuple from org-sbe evaluating a python code block into multiple columns of a org-table?

I often encounter situations where I can easily think of python code that, given some input values, computes multiple output values at once. As an example, consider the following simple code-block ...
1
vote
1answer
14 views

Can't view anything in org-agenda: Wrong number of arguments: (0 . 0), 2

Whenever I try to view my org-agenda, I get a blank buffer with "Wrong number of arguments: (0 . 0), 2" in the minibuffer. I've followed dozens of tutorials and bug reports and nothing applies. Can ...
0
votes
0answers
8 views

How to allow multi language output with org mode and Latex?

I'm using the most recent version of emacs on Windows10. I have an issue where when I want to convert an org file to Pdf through Latex but I'm having languages issues. If I use English I have to ...
0
votes
1answer
123 views

How to link to a LaTeX label within align* environment in Orgmode?

I am using org mode to write documents with math, and then exporting to latex. Consider an unnumbered align environment with two equations: \begin{align*} x = 1\\ y = 2 \end{align*} Now, number the ...
0
votes
0answers
14 views

Integrating org-download with org-journal; images do not download

I have org-journal entries which I'd like to link to images that are also stored alongside them in the filesystem. Ideally this would happen automatically when an image is dragged-and-dropped on the ...
0
votes
1answer
13 views

Drop rows with zero time in org-mode agenda clockreport

I recently found org-agenda-clockreport. Because I keep all my .org files in a single directory (indexed by deft), including files with notes and no tasks, I get a table with tens of rows, with only ...
0
votes
0answers
8 views

emacs 26 orgmode on win10 can not find jupyter

I am using emacs26(GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)) on win10. I can run jupyter command from shell. but when I run below code: #+BEGIN_SRC ipython :session test :results output print("...
1
vote
0answers
27 views

Org-link font size in the heading

I often use org-links in headings, e.g.: *** Heading [[foo]] **** Subheading [[bar]] And I use different font-sizes for different levels. Now, I would like the face of the link to be of the same ...
0
votes
1answer
25 views

How do you automatically enable writeoom-mode when org-mode starts?

I want to enable writeroom-mode whenever I startup org-mode because I don't really ever want writeroom-mode to be disabled if I'm using org-mode.
0
votes
1answer
27 views

How do you change the paper size on pdf export in emacs?

Every time I export using the dispatcher, the pdf that is produced is letter size. My system and printer are A4. How do I change the paper size for pdf (and text) exports in emacs?
0
votes
0answers
15 views

Config is broken when I use load-user-file

This is my config for org-babel: (use-package org :mode (("\\.org$" . org-mode)) :ensure org-plus-contrib :config (org-babel-do-load-languages 'org-babel-load-languages ...
0
votes
0answers
16 views

Filter Tasks with Certain Tags in Day Agenda View

Objective: In daily agenda, when at office, do not show tasks that can only do at home. That is filter tasks with "@office" tag in daily agenda. Solution 1: Automatically removing context based tasks ...
5
votes
1answer
120 views

Track arbitrary progress in Org-mode

If I'm reading a book, that has 500 pages, and I'm in the page 253. I want to track that progress in Org-mode as %, is there a way to do it that is already built in (or, if is not the case, is there a ...
10
votes
1answer
270 views

Highlighting upcoming dates in org mode agenda

I have entries in my org file similar to: * Birthdays :PROPERTIES: :CATEGORY: birthday :END: %%(org-anniversary 1981 1 2) Harry (%d) What I would like is for these to appear in the agenda (say) 2 ...
0
votes
1answer
55 views

How to escape a character within a heading in org-mode?

Documenting this because I could not find an answer in stack exchange. A heading such as this breaks during LaTeX export: * MITRE ATT&CK Rather than switching to a code-block, and loosing the ...
3
votes
1answer
144 views

How to Export All Daily Task State Changes to File?

I am trying to generate nice end-of-day reports in the file diary.org for logging and archiving purposes. I would like to generate a simple list of all TODO task state changes for the current day to ...
0
votes
2answers
58 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
0answers
24 views

Intelligent downscaling for inline images

I'd like to achieve the following intelligent scaling of inline images: If image-actual-width > 800: scale it down to 800 Else: display image without any further scaling Doing (setq org-image-...
0
votes
1answer
38 views

See if org-mode heading is collapsed

I just need a function that will say if a heading is collapsed or not. Need it to ensure an open heading, because org-cycle, well, cycles and it appears there are no good alternatives (e.g. org-show-...
2
votes
1answer
34 views

Org-capture template with deadline of one month from today

As it seems, org-mode capture templates mechanism maybe have changed? I'm using: Org mode version 9.2.4 (9.2.4-10-g3b006f-elpaplus) What I'm trying to do is to have a capture template that will ...
6
votes
1answer
279 views

How to use org-drill to memorize org-drill?

Say I want to memorize the cloze deletion syntax of org-drill by this topic, The problem here is when the answer is revealed the text is only displayed partially like it's been interpreted as a cloze ...
1
vote
1answer
50 views

Export only visible entries of sparse tree

I'm trying to export an org file into a file that contains only the visible entries (and parents) of a sparse tree (matching a specific tag). For example, applying this to the following tree * A ...
1
vote
0answers
18 views

Org-mode results verbatim not working for Scheme code

I have the following source block of Scheme code: #+BEGIN_SRC scheme :results value verbatim append (define shift (lambda (list-with-sublists) (cond [(pair? (car list-with-sublists)) ...
1
vote
1answer
17 views

How to set schedule and deadline for entires being inserted via org-capture template file?

I'm trying to leverage the power of org capture templates. There are a few tasks I know I will be scheduling on particular dates of the month. Setting their schedule and deadline in the capture ...
0
votes
1answer
9 views

Any date entry in the text will be captured in agenda view

I guess this is best explained by screenshots. I have one entry like this: then I run M-x org-agenda RET a RET and I get something like this: Problem is, I do not want this timestamp to show up in ...
0
votes
0answers
25 views

customized week label in org-mode agenda view

Is it possible for org-mode agenda view to display a customized label for the week, in addition to the week number included by default? For example, the agenda for the current week shows: Week-agenda ...
1
vote
1answer
85 views

Fontify headline with todo keyword color

I would like to fontify headlines with the same color/weight as their TODO keywords. So for example, the default is like this: TODO Headline And I want it to look like this: TODO Headline Any ...
1
vote
1answer
51 views

How to disable the “Press M-x…” title line of org-search-view command's output?

I use GNU Emacs 26.1 and want to remove the following enormous message Press ‘M-x org-agenda-manipulate-query-add’, ‘M-x org-agenda-manipulate-query-subtract’ to add/sub word, ‘M-x org-agenda-...
0
votes
0answers
13 views

Sum column Duration in all rows that in column Task = “T-339”

Windows 10, Emacs 26.1 | | Start date | End date | Task | State | Duration (hours) | |---+------------------+------------------+----------+-----------+------------------| | # |...
8
votes
2answers
5k views

org-mode: How to export underscore as underscore instead of highlight in HTML?

I am using org-mode, and the document I am writing has a table name whose name looks like this: tab_weekly_report. When I export the document to HTML, I expect the name to exported as ...
14
votes
2answers
905 views

Orgmode export: how to prevent a new line for comment lines

Currently my orgmode (v8.3.4), when exporting to LaTeX (and maybe other formats but I haven't checked), generates a new line for a comment line or a block of consecutive comment lines. This is ...
0
votes
0answers
17 views

Org-mode - Custom agenda: include subheaders of scheduled headers

I try to use org-mode for scheduling weekly tasks in my university. Say I have this timetable: * Mon: ** Subject A: *** Ex. 50 *** Prepare presentation ** Subject B: **...
1
vote
0answers
20 views

use-package org-mode :hook is being ignored

I'm currently running this version of Emacs: GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.7) of 2019-04-11, modified by Debian I'm attempting to use use-package to configure the ...
2
votes
1answer
37 views

Adding day to %t in orgmode capture template

Complete novice here to Emacs and OrgMode. I've created a capture template (.txt file) that takes 1 task and returns a list of 3 subtasks that need to be completed. I have been able to get the ...
0
votes
1answer
65 views

Org capture template output to two files

I am currently using two separate Org files to manage my work Todos. One is a file that I edit directly and keep notes on each todo task (Work.org). The other is a schedule file which is synced with ...
1
vote
1answer
35 views

Org-babel python with session breaks output

If I run the following code block: #+BEGIN_SRC python :results output print(" /|") print(" / |") print(" / |") print("/___|") #+END_SRC I get the result as expected: #+RESULTS: : /|...
0
votes
1answer
20 views

org-habit : time-dependent habit

For instance, I have the following habit "sleep before 23h" ** TODO sleep before 23h SCHEDULED: <2019-09-07 sam. 23:00 +1d> :PROPERTIES: :STYLE: habit ...
0
votes
1answer
25 views

Semantic way to export Org subtrees inside arbitrary LaTeX environments

I would like to begin taking math class notes in Org mode -- I have thus far used plain LaTeX, but I have found Org has the potential to be much faster for real-time scribing. I already made a custom ...
0
votes
1answer
31 views

Why does calc subscr work with index vectors in org tables?

In my org table I use the next formula to sum rows 1,5,7 of column 6. | | Start date | End date | Task | State | Duration (hours) | |---+------------------+------------------+...
15
votes
2answers
2k views

Is there a possibility to have multiple agenda views open at once?

I have a custom agenda view which shows the Items I did last week and the items I have to do in this week. This view is based on a filter of TODO items. However, it would be good to see scheduled ...
2
votes
2answers
36 views

Not scape braces in LaTeX org-mode

I am writting a LaTeX document using org-mode, and there is a section where I want to include a proof, which has the following code. #+LaTeX_HEADER: \newcommand{\dem}[1]{\textcolor{gris}{\small{...
0
votes
0answers
20 views

How to adjust image size of an org-babel output permanently?

I know I can add html or latex attributes under the #+result: block after executing the block, but when I re-evaluate the block, it is removed.
0
votes
1answer
35 views

How calculate sum of only desire rows?

Windows 10, Emacs 26.1 here my org table: | | Start date | End date | Task | State | Duration (hours) | |---+------------------+------------------+----------+-----------+-----...
0
votes
1answer
72 views

How to use org-capture in a function without killing the buffer, customize capture refile

I am trying to create a function, which captures a note and then copies the same note to another file (In my case for a google calendar synchronization). The problem ist that after giving the capture ...
3
votes
1answer
95 views

I want shell code blocks executed via emacs org babel to be verbose, stoppable, interactable, asynchronous

I want shell code blocks executed via emacs org babel to be a) verbose - output should be shown live b) stoppable c) interactable d) asynchronous Has this been already done by a third party package/...
8
votes
1answer
591 views

Automatically run org-lint through flycheck

I've got a heap of org-mode files which I publish into HTML for a knowledge base, sometimes the publishing crashes out due to a broken link or something and it's hard to find the problem. I've been ...
0
votes
1answer
20 views

Not work “subscr”: Symbol’s function definition is void: [closed]

Emacs 26.1, I try to use function subscr Example: subscr({a,b,c,d,e,f,h},{1,2,3}) But I get error: eval: Symbol’s function definition is void: {a
1
vote
1answer
50 views

Propertize org-agenda-overriding-header

Wondering how would one go about applying a face to the agenda header. I tried it with the below code, but it does not apply the face. It does not generate errors, but it won't apply a face. I am ...
0
votes
1answer
71 views

Keymap on region only updating from mouse click

I have defined some keymaps on org-mode src-blocks. If I click in the block with a mouse, I see the keymap is changed, e.g. the menu items change, and the new keybindings are active. However, if I use ...
0
votes
2answers
84 views

How do you create an org-ref harvard style in-text citation - with a page number - using shortcuts?

There are only really two kinds of citations I need to have in my paper (Lewis, 2001) (Lewis, 2001:54) where 54 is the page number After a ton of googling I managed to find out that it's possible ...