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

adaptive-wrap-prefix-mode behavior is different/inconsistent inside a buffer

in org-mode I have adaptive-wrap-prefix-mode on. The indentation though has a inconsistent behavior. I have already tried to toggle visual-line-mode and word wrap but the sometimes correct and ...
0
votes
0answers
12 views

org-agenda-todo-ignore-scheduled set to 'future seems to work for TODOs that have only a date and not a time

I use org-agenda-todo-ignore-scheduled set to 'future to ignore / not show TODOs in the global todo list that are scheduled in the future. org-agenda-todo-ignore-scheduled set to 'future seems to work ...
0
votes
1answer
17 views

org mode sum time from remote table with org-lookup-all

I have two tables #+NAME: tasks | name | spent | |--------+--------| | task 1 | | | task 2 | | | task 3 | | | task 4 | | | task 5 | | #+NAME: works | date ...
0
votes
0answers
17 views

How to retrieve specific lines of a “#+RESULTS” block through noweb references?

The context Lately, I've been writing the configurations of all the programs I use in Org Mode because of some features that improves the readibility of such files. The code block below shows a part ...
1
vote
0answers
14 views

How to set the frame for opening pdf in org mode?

I have two links in my org buffer: [file://tmp/foo.pdf] [file://tmp/bar.pdf] Hitting enter on [file://tmp/foo.pdf] opens the pdf in the same frame (using pdf-tools / ..Running /usr/bin/xdg-open..). I ...
0
votes
0answers
6 views

Modification so 'org-match-sparse-tree' with 'org-show-context-detail' set to minimal always shows entry

I modified org-show-context-detail to minimal. Which for org-match-sparse-tree means 'show current headline, and entry below if needed' (if needed means the entry will only be shown if point is within ...
0
votes
0answers
14 views

Show org todos with certain tag in designated file

I want to implement a certain time-management system in emacs/org-mode. For each project, I intend to have one .org file which includes all associated to-dos. I already created those. Now, I would ...
1
vote
2answers
24 views

How to specify a directory to tangle all code blocks into

I am writing a report in latex, many of which contain code blocks which will be rendered with asymptote. Since all the scripts will be tangled into the same subdirectory asyscripts, I don't want to ...
2
votes
1answer
42 views

How to open org files with some, but not all headings expanded?

I have an org file which looks like this: * Chores #:PROPERTIES: #:VISIBILTY: showall #:END: # STARTUP: showeverything # no + so this does nothing right now ** NEXT Brush Teeth in Day SCHEDULED: &...
0
votes
1answer
19 views

Error replacing %n escapes with nth %^{…} string in emacs org capture

I am trying to write a custom org-capture template, but I get an error if I try to use the %\N functionality to insert the N-th prompt. The relevant excerpt of my org-capture-templates variable is (&...
1
vote
0answers
23 views

Archiving repeated tasks

When I archive a repeated task (let's say, a learning project of 15 minutes every Wednesday day for 2 month), the task gets archived in a date tree all under the day it was closed (cancelled) as a ...
0
votes
1answer
55 views
+50

How to see files of a particular tag in org-roam?

Before I installed org-roam I saw a screenshot or a video somewhere in which the tags of an org-roam note looked like links. I was under the impression that org-roam allows you to see all notes of a ...
0
votes
1answer
41 views

How to get the value of a variable inside an org-mode file from command line?

Is there a reliable way to get the value of a variable defined inside an org-mode file from the UNIX shell (bash)? For example, if I have the following inside an org mode file test.org: #+NAME: foo | ...
4
votes
1answer
47 views

Tangle Org file containing #+INCLUDE directives and multiple tangle targets

Context I'm using org-babel-tangle to generate my configuration from an Org file config.org. Recently, I did some clean-up by dispatching config.org to multiple Org files config/*.org; replace the ...
0
votes
1answer
38 views

Limiting the number of lines of org babel result

Is there an easy method to limit the number of lines in org-babel results? For example: I have the following org-babel block: #+begin_src js :exports both :results output for (let i = 1; i <= 100; ...
0
votes
1answer
21 views

Setting the value of a variable in Org babel system-wide header arguments

The context I always experiment with commands in the following path $HOME/trash/experimental. For this reason, I wanted to make all shell code blocks to use that directory as the default directory. I'...
0
votes
0answers
15 views

Column view column widths vary by heading face

I am running a config of the develop branch of spacemacs on two different machines. Configs are similar but not the same. On one box org mode column view looks fine. I think this is because on ...
0
votes
1answer
25 views

Why isn't org-agenda skipping DONE tasks?

I'm trying to set up a planning process for the day (like in http://newartisans.com/2007/08/using-org-mode-as-a-day-planner/), but my org-agenda keeps showing DONE tasks, even though I set org-agenda-...
1
vote
0answers
13 views

Autocomplete when editing file links

When I insert a link into an org-file using C-c C-l (Doom Emacs, if that matters) and select file:, it show me the files in the current directory to autocomplete from. However, when editing such a ...
2
votes
1answer
40 views

Open a wildcard-link directly rather than through dired

In Org mode, when I open a link (C-c C-o) to a file such as file:something.pdf, the file is opened with my system PDF viewer. However, if the link contains a wildcard, such as file:3_o*.pdf, Emacs ...
1
vote
1answer
25 views

How to create a initial collapsed/hidden block in org exported HTML?

I'd like to create a collapsible block (examples, quotes, codes, ...) when exporting an org file to HTML. Also I'd like to have a way to show the block(button? keystroks?). How can I do this? Thanks!
0
votes
0answers
20 views

Visual-line-mode and org-indent-mode are not working together

If I understand correctly, the documentation says the visual-line-mode should now play nicely with org-indent-mode. That is not the case for me. It seems very buggy! Note when I first collapse all ...
0
votes
0answers
49 views

How to use two Source Code Block side by side in the same file

So, as the question suggest, what i want is to use two different source code block, side by side on the same file. Something like this: #+BEGIN_SRC shell #+BEGIN_SRC shell ls /mnt/ ...
0
votes
1answer
19 views

Emacs fails to load org-id at start

When I start the emacs and try to customize variable org-id-locations-file it can't find it. But I can describe variable org-id-locations-file. After describing the variable, if I run customize ...
0
votes
0answers
29 views

How to keep mode-line in title bar even in new poped up frames?

I am using the following code to keep the org-pomodoro clock in the title bar, (setq frame-title-format '("" invocation-name "@" system-name " " org-pomodoro-mode-line)) ...
0
votes
0answers
20 views

Org-mode doesn't load bullet

It seems like org-mode doesn't want to load the bullet character y tried putting pretty characters on and toggling between text and org to make it work but everything seems pointless. Distro emacs: ...
0
votes
0answers
29 views

Why are agenda and tag shortcuts for org-mode not working?

I am relatively new to Emacs and was going through this document to learn more about org-mode: https://orgmode.org/worg/org-tutorials/org4beginners.html I couldn't help but notice that the following ...
0
votes
1answer
57 views

Org macros misbehave in include file

I am using org-reveal for presentation It has a #+BEGIN_NOTES for creating speaker notes Tried to shorten with this macro n following this suggestion #+MACRO: n (eval "\n#+BEGIN_NOTES\n$1\n#+...
1
vote
1answer
28 views

Scheduling in Org mode without using mouse or track pad

I'm scheduling items according to instructions here: https://orgmode.org/manual/Inserting-deadline_002fschedule.html#Inserting-deadline_002fschedule I have pain in my hands that is exacerbated ...
2
votes
1answer
19 views

How to time org-mode code block execution?

Is there an easy way to time how long it takes to execute source code blocks in org-mode (maybe with header arguments or similar), if so, how? Or do I have to implement it in the code itself? I'm ...
0
votes
0answers
20 views

How do you automatically populate org-agenda-files?

I recently encountered this problem: Emacs org-mode agenda filter doesn't work. :( And sure enough, on macOS, I find that org-agenda-files is nil. The answer suggests setting the variable to a ...
0
votes
1answer
25 views

How do i remove the title of a specific org file in the agenda view?

As it is now, i have my school schedule in an org file. When I use the agenda view, it says "Schedule" (the file name) in front of the schedule entries. I believe that it would look cleaner ...
0
votes
0answers
28 views

Customize org-babel latex template when evaluating a source block

I'm using latex source blocks to generate images with org-babel using :results file as in the example below #+begin_src latex :results file graphics :file myplot.pdf :fit yes \LaTeX #+end_src When ...
0
votes
1answer
25 views

Org-mode to Latex matrix automatically escapes ampersand

I am trying to write LaTex matrizes in org-mode. It works fine with exporting tables via #+attr_latex :mode math :environment matrix. However, when I try \begin{pmatrix} 1 & 2\\ 3 & 4\\ \end{...
0
votes
0answers
28 views

Sorting todos by custom todo label when invoking `org-todo-list` with `C-c a t`

I have defined some custom todos keywords with (setq org-todo-keywords '((sequence "TODO" "TODAY" "IN-PROGRESS" "WAITING" "URGENT" "FUTURE&...
0
votes
1answer
46 views

Make :tangle don't add a newline at the end of the file

The context I'm storing all my custom defined yasnippet snippets in an Org file (see below) $ cat ~/.emacs.d/snippets/snippets.org #+PROPERTY: header-args:yasnippet :mkdirp yes #+begin_src yasnippet :...
1
vote
1answer
24 views

Keep displaying current org heading info in some way

Often I have a problem that I browse through the content of the heading but I forget what is a heading I'm currently at. So I leave the mark, go back to the heading, read it, and jump back to the mark....
4
votes
2answers
71 views

How does if() work in org spreadsheets?

I got the impression from the manual that | a | | | b | | #+TBLFM: $2=if($-1==a, 1, 0) should produce "1" in the first row and "0" in the second. But instead I ...
0
votes
0answers
8 views

Broken hightlighting code src block in org-mode 9.4 and org-babel

I found that org-mode org-babel hightlighting is broken by nix line of script. How to reproduce : a) create a nix block #+name: home-manager-section #+begin_src nix home.file."nixpkgs"....
0
votes
1answer
28 views

Write a function using org refile interface to jump to item, with destination as an argument

I would like to create a function that uses the refile interface to jump to a heading (C-u C-c C-w or 'Refile-Goto'), where I can enter the filename and Heading as arguments. Following instructions ...
0
votes
0answers
22 views

How to print a separator line at an specific location in the results of a `#+BEGIN_SRC` block whose language is C++?

The context In #+BEGIN_SRC blocks whose language is Python, I can show a separator line in the table that shows the results by using None (see example below) #+begin_src python :results output table ...
0
votes
0answers
18 views

How to replace sections of non-org files from within org-mode?

I am trying to write some notes on django with the help of org babel. Is there a way to replace a block in a file(which was not tangled with org) after I eval a certain src block? Here's what I mean: ...
1
vote
1answer
18 views

`org-babel-load-file` doesn't always tangle source file

I'm on Org 9.3. I run the following test. [OP@localhost bug1]$ ls real.org test.org The contents of real.org are: [OP@localhost bug1]$ cat real.org #+PROPERTY: header-args :tangle yes #+begin_src ...
0
votes
2answers
24 views

Is there a library or something for org-mode that let's me make traversal more VIM like, without fully using Evil?

I'd like to navigate in my org-mode files sometimes using just the home row, but other times I'm perfectly ok with the full emacs default key-bindings for org-mode. For instance, when everything is ...
0
votes
0answers
21 views

Why is Org mode converting spaces in links to HTML entities?

I store a link such as [[file:~/path/to/dir/some file.txt::# heading]], either manually or through org-capture. A few days later, Org has converted all spaces to the HTML entity %20: [[file:~/path/to/...
1
vote
1answer
25 views

org-export to ignore strings within drawers

I have the following set up for an annotated bibliography document. ** Kim, M. (2008): An inquiry into the development of the ethical theory of emotions in the "Analects" and the "...
0
votes
0answers
29 views

Stuck projects: how to skip timestamps in the future?

I want to have a stuck projects list that shows me headlines that: Do not have a child item that is either NEXT or WAIT Do not have a child item with a timestamp that is in the future The current ...
0
votes
1answer
20 views

Modifying entry display in org-agenda-log-mode agenda view

The day view of my org-agenda in org-agenda-log-mode shows the estimated effort for each entry (e.g., the 1:00, the 0:05, the 0:45, etc)---I'd like to remove that if possible. Is there any way to edit ...
0
votes
1answer
24 views

Org mode: include LaTeX bibliography in the TOC

This question is related to ox-bibtex. The snippet #+BIBLIOGRAPHY: main abbrv prints out an unnumbered section "Reference" excluded from the TOC in both LaTeX & html export. Is there a ...
2
votes
2answers
155 views

Inserting timestamp in mini buffer in Emacs

I keep on saving various org files in their respective folders using Filename as YYYY-MM-DD.org files . So I ended up typing C-x C-w 2020-10-06.org at least thirty times today. Can this process be ...

1
2 3 4 5
84