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

html export of makefile source block has spaces instead of tabs

The indented parts of the Makefile source block contain tabs: #+OPTIONS: html-postamble:nil toc:nil num:nil I try to export this as org file as html, but get spaces instead of tabs: #+begin_src ...
0
votes
0answers
7 views

Aggregate org-todo-keywords in codebase and add to agenda

As I work through a project I'll add various keywords with a comment to remind me to come back to specific things later. For example: .... // TODO: Sometimes I am getting a `NaN` returned let foo = ...
0
votes
0answers
16 views

Any sort of bridge between notion and org mode?

Notion is a trendy new piece of software that seems to be following in slacks footprints. Slack was successful by taking irc and making it more corporate: easier to use, prettier, and adding useful ...
3
votes
1answer
29 views

In a large directory of org-mode files, is there a view that combines them?

I'm looking into better ways to organize my notes in org-mode. I have a directory full of org-mode files. Some in lower directories. I'd like to view them all and add cross references, but I don't ...
2
votes
1answer
23 views

Disable 'beautification' of text when point is on same line in org

When writing org documents, some parts of the text (like links and figures) automatically get 'beautified' (I'm unsure what the technically correct term is), meaning that some surrounding text ...
0
votes
0answers
19 views

Include LaTeX code blocks from another file to generate a “main” file (similar to using \input{} in .tex)

I have a .org file (say exercises.org) in which I put LaTeX exercises in the form of code blocks. The file looks something like this: #+NAME: ex1 #+BEGIN_EXPORT latex Compute $2\cdot 2$. #+END_EXPORT ...
0
votes
0answers
20 views

Export Org-Mode tree just as is to PDF/HTML

Say if I have a org-mode document with org-indent-mode enabled. The document will look like the following in the Emacs buffer. Is it possible to export this to a PDF or HTML that looks exactly the ...
0
votes
1answer
21 views

Setting a default page margin for org latex export

So far, I have set org-latex-packages-alist to '(("margin=2cm" "geometry")), but if the geometry-package is explicitly loaded in a document, I get a clash. I can use \newgeometry{...
0
votes
0answers
7 views

Org-capture template containing a date relative to when an email was received

As the title describes, I want to be able to create an org-capture template which allows me to specify a relative date (say, 2 days) from when an email was received and print it out. The solution ...
0
votes
0answers
22 views

How can I force the org mode agenda (daily) view to word wrap?

Fellow Emacsians, I am an emacs noob and am configuring emacs to be my personal calendar and task management system. I really like the M-x org-agenda view's information, but I don't like its ...
0
votes
0answers
13 views

“window-combination-resize” sometimes not working

In my .emacs I use (setq window-combination-resize nil) to prevent Emacs from resizing split windows evenly. In the upper part of the buffer I usually have an Org mode file, in the bottom part is the ...
0
votes
1answer
39 views

Show in org-agenda the org-entries with deadlines only after a specific time

How do I show the todo entries that have deadlines only after a specific time? This helps agenda display more accurately what are needed to be displayed. For example, I'm hoping for some thing like * ...
0
votes
0answers
17 views

In Org Agenda, show repeating tasks in a different color

I would like to show tasks with a "repeater" schedule or deadline in a different color in Org Agenda. I used counsel-describe-face to explore the various faces available, and read the ...
0
votes
0answers
16 views

org-mode resize images with +/- but cannot save in the same location?

I have been trying to resize images in org-mode. It seems that I don't have imagemagick support, so I am trying to use +/-/o method. The problem is after I resize and press o, the prompt is to save at ...
0
votes
0answers
28 views

org-capture datetree inside current buffer not working

i want to capture into a datetree inside the current buffer. Below is my snippet. But unfortunately it doesn't work. Always an error: org-capture-expand-file: Invalid file location: nil I use emacs 28 ...
0
votes
1answer
70 views

How do org mode internal links work with no custom ids?

I am viewing a file which consists of a table of contents followed by the content. Each ToC entry appears to be an internal link of the form [[#fixes][Fixes]]. My understanding is that these internal ...
0
votes
1answer
20 views

org mode export to latex a backslash followed by ordinary text

The following org-mode MCE points out a problem when one wants to export a backslash immediately followed by ordinary text (e.g. ~\~foo is exported to \textasciitilde{}$\backslash$~foo where one ...
0
votes
1answer
34 views

How can I export my org file to be locally exactly like the github version?

I am new to emacs. In addition, I decided to learn org-mode which seems to be fantastic. I wrote this .org file that you can check here. In Github, the file has this appearance: In Emacs, it has a ...
1
vote
0answers
25 views

Line wrapping in select parts of buffer

When modifying an org buffer, is it possible to have line wrap selectively in different sections of the buffer? I would to wrap my text outside code blocks. But inside the code blocks, we get some ...
0
votes
0answers
9 views

Disable auto-capitalize-mode inside org-mode code blocks?

I use auto-capitalize-mode with org mode files and enabled it in my init.el as follows: (autoload 'auto-capitalize-mode "auto-capitalize" "Toggle `auto-capitalize' minor mode in ...
0
votes
2answers
22 views

Org timestamp prompt that returns timestamp as a string?

The function #'org-time-stamp prompts a minibuffer that reads control strings from the user, and call #'org-insert-time-stamp to insert the resulting time stamp as a string into the buffer. For ...
1
vote
1answer
16 views

Use variable in reference with remote in Org-table

I have one table called GRADING containing names and points entered by hand, and another table (FOO) containing the grading scheme. Is there a simple formula which allows to lookup the number of ...
0
votes
1answer
72 views

Possible to copy-paste without markup in Org-mode?

You can add inline code and verbatim text in Org-mode using this syntax: ~<code>cd ~~</code>~ =verbatim /text/= This is expected to display: <code>cd ~</code> verbatim /text/...
0
votes
0answers
19 views

org-agenda: How to use alternative calendars (e.g., the Persian calendar)?

E.g., I have #+TITLE: agenda/gen * test ** TODO cats DEADLINE: <2021-06-29 Tue> I want to make the deadline to be in the Persian calendar. What do I do?
0
votes
0answers
20 views

Execute org mode code block without escape codes

When I run a bash code block I get a response which contains a lot of escape codes/sequences, which makes the results output less readable. Example below: How can execute the code block, without the ...
0
votes
1answer
30 views

From an org item, launch a shell command with the item text as parameter

From an org list item, I want a function that I can bind to a shortkey or an org-speed shortcut, to be able to launch a shell command with the org list item text as parameter. Then I want to add tag ...
0
votes
0answers
38 views

How to add a default #+SETUPFILE: header to every published org-mode file

I have a bunch of org-mode files in a directory structure and would like to export to html using org-publish. Not all of them have the #+SETUPFILE: header, and I'd like to avoid having to add that in ...
0
votes
1answer
37 views

How to have folding and unfolding of headers in orgmode file persist through emacs sessions

Suppose I open an orgmode file and fold and unfold a bunch of headers, is it possible to let the folds and unfolds be the same next time I open emacs. I feel the startup function wont be enough. #+...
2
votes
0answers
46 views

View logbook notes taken today, this week

I wonder if it is possible to get a list of notes taken today or for given period that are stored in :LOGBOOK: drawer?
3
votes
1answer
87 views

How can I open an org file at a specific header postion via a command line?

I wan't to be able to programmatically open a file in org mode and scroll to a specific header. the file is quite big, so opening the file at a certain place is qhat I am looking for. Any idea how to ...
0
votes
0answers
23 views

Current timestamp. Incorrect time

Linux, Emacs 27.2 I want in org file to insert current data and time. Now in my machine is 02 June 10:56 AM. So I use command C-u C-c . Here result: Why time is incorrect?
2
votes
1answer
120 views

Publish a book as HTML/website with org-mode that is similar to bookdown

I've written a book using org-mode and I'm trying to export as an HTML/website, similar to this example. That was written using R and Bookdown, but since it all ends up as CSS/HTML, I don't see why ...
0
votes
0answers
22 views

Babel source block export format customization

I have this #+begin_src haskell :results silent :exports code :{ maximum'' :: (Ord a) => [a] -> a maximum'' = foldl1 (\x acc -> if x > acc then x else acc) :} #+end_src but on export ...
0
votes
1answer
31 views

How to only include entries with a certain tag for icalendar export in org-mode?

Long story short: I'd like to implement something like the opposite of org-icalendar-exclude-tags (i.e., org-icalendar-include-tags). I would like to export some entries from my org files into an ICS ...
1
vote
1answer
54 views

How to pass org-babel code block as variable to another code block?

I would like to pass the code from code block test_python to script. I do not want test_python to be evaluated, but simply to have the source code inserted into script when I evaluate script. The goal ...
1
vote
1answer
23 views

emacs org mode define a function in src block and call it

is there a method/package to use the following syntax to define and call a function? #+NAME: retX #+BEGIN_SRC python :var x=5 def retX (x): return x #+END_SRC ... Some text later... #+begin_src ...
0
votes
1answer
27 views

Add a filter when generating today's agenda view

what I want to achieve Say a ++2d habit not accomplished yesterday, I don't want it shown in today's agenda view but shown in tomorrow's and 2 days after tomorrow's and so forth. what I tried (defun ...
1
vote
0answers
25 views

Org mode to latex exports themes or templates

Where can i find some good org to latex export templates, for example, i found some good ones for HTML exports see fniessen excellent work here is there any similar projects for org-to-latex export?
0
votes
1answer
26 views

org-mode: force heading subtree to start folded

I know :ARCHIVE: does this, but I use that tag to mean the subtree is essentially useless now. I want sth like :FOLD:.
3
votes
1answer
45 views

How can I make source block in org mode to be scrollable?

As the title says, I'm trying to make the source blocks, when export, to be scrollable (e.g. vertical) so that the long source blocks don't mess up with the rest of content and the html/pdf files look ...
1
vote
1answer
22 views

org files are not refreshed in emacsclient

My org files are stored on the cloud so I can edit them from multiple machines. Whenever I make a change to an org file (from a different machine), emacsclient does not reflect these changes, but a ...
1
vote
2answers
31 views

How can I prevent pasting after org-copy-visible leaving cursor at end of text?

In evil-mode, if I use 3yy to copy three lines, then move somewhere else in my file and do P (evil-paste-before), the three lines are pasted before the line with the cursor, and the cursor is left at ...
3
votes
1answer
73 views

How can I copy+paste `org-mode` headlines only?

I have an org-mode file containing a structure like this: *** H1 **** H2 - Foo Foo **** H2 Foo Foo I would like to make a copy of H1 and all it's subheadings, but none of the non-headline content. ...
0
votes
0answers
304 views

First function not working: Device 1 is not termcap

(defun next-upper-heading () (interactive) (outline-up-heading) (org-forward-heading-same-level) ) When calling, I get the error: how can i research, what is going on here? ...
0
votes
1answer
28 views

Key to move to next ancestor heading in org mode

I would like to jump to the next parent heading from a lower level directly. Is there a shortcut for that in org mode? * a ** b ** c * d So to jump, say, from b to d.
0
votes
0answers
16 views

Emacs Shell/Makefile Command to Generate Org HTML for Org Journal Files

I'm using a Makefile to generate HTML for my org folder to turn into a website, but I'm just starting to use org-journal which doesn't put filename extensions on it's files. When trying to run a ...
1
vote
2answers
57 views

org-mode: Make C-a and C-e go to beginning or ending of logical line

What I'm trying to do is have C-a and C-e take me to the beginning or ending, respectively, of the logical line, not the visual line, in org-mode (with visual-line-mode active). I see that C-a is ...
0
votes
2answers
24 views

Bulk convert text under heading to individual sub-headings?

I have this in an org-mode buffer * Synonyms culture discipline improvement information learning literacy scholarship and would like to simply highlight this list starting with culture and ending ...
0
votes
0answers
15 views

Disable pretty entities for empty subscripts and superscripts in Org mode

Is there a way to disable pretty display for empty subscripts and superscripts in Org mode? So "X_{}" wouldn't be prettily displayed, but everything else, e.g. "X_{1}", would be. I ...
1
vote
1answer
15 views

org-map-entries says “Wrong type argument: char-or-string-p, nil”

I have this code: (defun org-get-logbook-notes () (save-excursion (unless (org-at-heading-p) (outline-previous-heading)) (when (re-search-forward ":LOGBOOK:" (save-excursion ...

1
2 3 4 5
92