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

org mode open link in browser directly

Suppose, we have a link [[https://www.google.com/][Google]]. When I put the cursor at the link and run org-open-at-point, instead of opening https://www.google.com/ in browser it downloads the page to ...
1
vote
1answer
34 views

Why can't I use rg (ripgrep) in an Org mode source block?

I have the following source block in my Org mode file: #+begin_src sh :results output exec 2>&1 mkdir -p /tmp/example && cd /tmp/example echo "hello" > world rg --...
1
vote
1answer
17 views

Org-mode: changing temporarily font size for LaTeX export

I need to change the font size of part of my text (actually mostly to fit a table, which might be an extra-step). Following a org-mode discussion somewhere, I have tried the following, which does not ...
0
votes
1answer
55 views

How to calculate time durations in tables?

How to calculate time durations in tables? Subtraction of numerical vectors works directly: | day | t1 | t2 | differences | |------------------+----------+----------+----------...
0
votes
0answers
21 views

Find broken links and unused IDs

I extensively use links to refer to different org files/ headings. All my links are created using IDs. But it might happen that in the course of work, some links might get broken --- the reference is ...
0
votes
0answers
6 views

Refile and selectively leave a link behind

The solution here leaves a link to the refiled heading behind. Can that be made selectively on the fly? So, for some refiles, a link is left behind; for some others, it is not. And one can decide ...
1
vote
1answer
35 views

Define setupfile in emacs init for org file

I use setupfile to export org file to pdf. It basically define latex header and footer (my letterhead template). I include it in every org document like this #+SETUPFILE: c:/SETUPFILE Though there ...
0
votes
0answers
15 views

elisp: call org-todo, then find the resulting :LOGBOOK: drawer in the same function

Suppose I have the following setup: (setq org-todo-keywords '((type "TODO(t!)" "IN-PROGRESS(i)" "WAITING(w)" "|" "DONE(d)"))) (setq org-log-into-...
0
votes
1answer
27 views

Refile to non-agenda files

Running Doom Emacs 2.0.9 on Emacs 27.1. My current settings are: (setq org-directory "~/Documents/organize/org-mode") (setq org-agenda-files (directory-files-recursively "~/Documents/...
1
vote
1answer
18 views

Replacing directory-files-recursively with a list of files newer than 7 days old

I currently use the following to get a list of agenda files for org-mode: (setq org-agenda-files (directory-files-recursively "~/Org" "\\.org$")) I'd like to instead get a list of ...
1
vote
1answer
37 views

What exactly is ~/org/?

Sorry for the greenness of this question but I am starting with Org mode to replace Markdown and I don't really understand org/: what to do with / what the org directory is? I looked through some ...
0
votes
0answers
26 views

org-mode: Enable ido/ivy/helm in org-tags-view

org-completion-use-ido seems to enable interactive completion everywhere but not in org-tags-view (which is called when you choose "Match a TAGS/PROP/TODO query" in Agenda Commands). Out-of-...
1
vote
0answers
27 views

Orgmode: Show some extra vertical space between level 1 and previous line

I want emacs to show put some vertical margin between my level 1 headers, so that they are more readable. Currently, they are really hard to read: Compare with (I have manually added newlines between ...
1
vote
1answer
45 views

org-mode source block: conditional header

How can I modify the header of a source block dynamically, based on the backend used to export my org-mode document? Specifically, I want the header to include :results output html when the file is ...
0
votes
1answer
28 views

“#+STARTUP: hideblocks” won't work. Can't find offending package/setting

After I upgraded to Org Mode 9.4.5, I learned about the startup option hideblocks, but it won't work as advertised for me. OK, when I start emacs with the flag -Q, it did, so I went hunting for ...
0
votes
1answer
5 views

How do I make Evil's C-o work with Org's C-c C-o?

Org mode's org-open-at-point (C-c C-o) works great for internal links, e.g. Stuff to buy: - <<food>> food: - tomato - potato - banana - <<drinks>> drinks: - juice - ...
0
votes
0answers
16 views

org-alert and alert not working on MacOS

There is an open issue on working with alert on MacOS https://github.com/jwiegley/alert/issues/47. If you want to work with org-alert or org-wild-notifier and you have troubles cause you need this ...
0
votes
1answer
12 views

What is the mode for org's LOGBOOK editing window and how can one be created if it doesn't already exist?

I want to wrap the LOGBOOK editing window at column width I'm yet to decide. From another answer here I see need to set something along the lines of (add-hook 'some-logbook-mode-hook #'auto-fill-mode) ...
0
votes
0answers
27 views

add date to org-export filename

Is there any way to add the date specified with #+DATE to #+export_file_name? for example my buffer is named buffer and I want the result to be named 0401_buffer.pdf, so something like #+...
0
votes
1answer
17 views

how to include instructions within the enumerate in orgmode latex export?

I can't seem to find this case in the documentation and it doesn't seem to fit the LATEX_ATTR options. How can I get orgmode latex export to produce the following (note the setlength statements WITHIN ...
1
vote
0answers
26 views

Use emacs to dial a sip phone

I remember one thing I liked about Windows 3 in the early 90s was that it was possible to dial my desktop phone (via a modem) from the contacts. I am all-linux now, and spend most of my day in emacs ...
0
votes
0answers
18 views

Orgmode html export: how to include equation cross references?

According to my reading of the documentation, something like this should work in my org file: #+NAME: eq:one \[ x^2+y^2=z^2 \] You can see, by considering equation [[eq:one]] that a sum of squares... ...
0
votes
1answer
39 views

Insert link to a heading with ID

Running Doom Emacs 2.0.9 on Emacs 27.1. In an org file, I have: * First heading :PROPERTIES: :ID: 89f7215b-60b1-45c8-8262-b0e10db18f4c :END: * Second heading I got that ID by using org-id-...
0
votes
1answer
25 views

How to change the “Figure” text created when exporting a LaTeX file with org-mode. I want it to say “Figura” as I speak Spanish

When I export all the images get the "figure" and the number of the image with the caption. When I export I want it to say "figura" instead of the English word.
0
votes
1answer
27 views

Start emacs with Global TODO list along with default org file

How can I open the global TODO list along side my default Org file. Even with Desktop Save mode is on, whenever I open Emacs, only the org file reopens, and not the buffer with the global TODO list.
1
vote
1answer
38 views

.svg not exported through org-export + paragraphs not separated after newline

I have been constantly trying to render a logo.svg found in my custom title-page (included in #LATEX:) to match our university title-page for academic writings, but have unfortunately not had success ...
0
votes
0answers
4 views

Global cycling one step at a time in orgmode

Building on a previous question (https://emacs.stackexchange.com/questions/58445/cycling-visibility-in-orgmode-headings[Cycling visibility in orgmode headings]1 I would like that S-TAB (or an ...
0
votes
1answer
11 views

Close org todo with all subtasks

I have a task with multiple subitems in different states, and I would like to have a binding to switch the task and all its subtasks to the same state (DONE). I know that I can ignore state blocking, ...
0
votes
1answer
52 views

Changing font color with Key bindings?

I've been using Emacs org-mode to primarily take lecture notes for university, and I find that it is remarkably useful and I can usually type everything up fairly quickly. Recently, I've been wanting ...
0
votes
0answers
21 views

How can i set the same file in org-mode to update only headings in one window and open headings on the other window? [duplicate]

I'd like to set a list of headings on one window and write on the other, is is possible?
1
vote
3answers
53 views

How do I copy the content of a cell in org-mode table?

Is there a command to copy the content of a cell in a single keystroke? When I have cursor at [x] (see below), I have to do: M-a (goes to the beginning of the cell), C-<SPC>, M-e (goes to the ...
0
votes
0answers
4 views

Dynamic virtual indentation Makefile minor-mode or configuration option

Is there a minor-mode, or configuration setting for Makefile mode that does the following? When viewing a Makefile with lots nested ifeq..endif / ifneq..endif blocks, the buffer contents will be ...
1
vote
0answers
27 views

How can I import `.ics` data (from Outlook) to org mode

I want to import .ics files (from Outlook) to my org-agenda. How can I do that? I could find only exporting options.
0
votes
1answer
26 views

Showing full (unabbreviated) Python output in Org Mode

The result of a certain Python (statsmodel module) code in org-mode is abbreviated: #+BEGIN_SRC python import pandas as pd import statsmodels.api as sm auto_df=pd.read_csv('Auto.csv', usecols= [...
0
votes
0answers
16 views

Enable flyspell for org-mode source blocks

I am using org-mode to write an interactive fiction with the inform7 language. In particular, I write all the inform7 into source blocks and then use the org-babel-tangle function. As inform7 is ...
0
votes
0answers
19 views

How to get JSON response only from an ob-restclient block

I'm trying to construct an Org-based pipeline for some DevOps activities. Part of this requires making REST API calls and proceeding based on the results of those calls. I'm using ob-restclient for ...
3
votes
1answer
76 views

Beginner - Correct usage of elisp conditionals and when: Improving code readability for org export

I am exporting from org mode format to LaTeX and HTML formats. To tweak a little plain text in those formats, I am using filter functions. If I try to use such a form of a filter function: (defun ...
0
votes
0answers
25 views

`org-sbe` in block A cannot find block B defined in the same file if A is called externally

Calling uutil.org:summarize-files() in the other file prj_sum.org triggers (error "Reference ‘list-files’ not found in this buffer"), even though both summarize-files and list-files reside ...
1
vote
1answer
56 views

TODO item for paying credit card bill 3 weeks after statement date

My credit card bill is due 3 weeks after the statement date. The statement date is always the 20th of the month. Due to the variable lengths of months, the due date is not always on the same day. I'd ...
0
votes
1answer
11 views

Table-capture doesn't handle new line

I'm trying to table-capture this in an org file 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 ...
4
votes
2answers
75 views

Complete a calculation (“2+3=…”) inside a buffer

I have a calculation in my org-mode buffer: 7700*1/100 + 18000*2/100 I'm looking for the quicker way of completing it, and displaying it like this: 7700*1/100 + 18000*2/100 = 437 My current way of ...
0
votes
0answers
18 views

Move a row of a table.el table

I have this org-mode table, which apparently is a table.el table: +-----+------+ | Test|Foobar| +-----+------+ | | | +-----+------+ When I hit Tab in any cell, emacs tells me: Use ‘C-c '’ to ...
1
vote
2answers
85 views

Latex preview not working in org-mode

I'm following instructions on this page: https://orgmode.org/worg/org-tutorials/org-latex-preview.html. I have managed to install dvipng and successfully replicated the given example page as a .png ...
2
votes
1answer
25 views

Remove old clock entries

I'm clocking the time spent on daily tasks like email and for that I have a "Daily Routine" TODO entry. Clocking in this task adds a new clock line everyday, leading to a very populated ...
0
votes
0answers
18 views

How can I export images to HTML so that they open in a different tab?

I'd like to export my org-mode file to HTML and in the middle of it I have added an image. The image I would like to be wrapped in an anchor tag so that when clicked in the HTML opens a "new&...
0
votes
2answers
35 views

Expand an archived org-mode subtree with just TAB

I like to use the archive tag just to collapse the subtree automatically on opening the file (and also its gray coloring); I do not see why it should force me to use some esoteric hotkey (which my ...
0
votes
1answer
32 views

Org-export: How to filter table of contents entities

This is a follow-up question from this: Replace \LaTeX command in HTML export Consider following org-mode file: * Text about exporting from org-mode to \LaTeX text * Text about exporting from org-...
1
vote
1answer
26 views

Can org options be applied to specific export modes only?

Here is an org document #+title: my document #+options: num:nil * first section ** first subsection * second section My problem is that I want the option #+option: num:nil to only be applied when I ...
1
vote
1answer
22 views

Org-mode export to HTML filter: Replace LaTeX commands

I am trying to export org-mode file to HTML. Because I am exportig the same file also to LaTeX format, I am having in the org-mode file a few LaTeX commands, for example \LaTeX command. For HTML ...
0
votes
1answer
30 views

headings in org-mode: unexpected behavior

Recently, I started experiencing unexpected behavior when editing org-mode files. Suppose I have two headings, with _ indicating the cursor position. * Heading *_ ** Subheading I want to insert a new ...

1
2 3 4 5
90