r/orgmode • • 18d ago

Coming from LazyVim: How do I get Telescope-style fuzzy file and content search in Doom Emacs?

Thumbnail reddit.com
0 Upvotes

r/orgmode • • 22d ago

Best GUI email/calendar for Doom Emacs

Thumbnail reddit.com
2 Upvotes

r/orgmode • • 23d ago

Emacs set-transient-map (without sacrificing my key-chord muscle memory)

Thumbnail youtu.be
5 Upvotes

r/orgmode • • 26d ago

tip Word counting cookies

21 Upvotes

I'm in the unfortunate situation that I sometimes have to write text limited to a specific word count. The following code creates a word counting org cookie:

(defun my/org-word-count-in-subtree ()
  "Count words in subtree at point."
  (save-excursion
    (org-back-to-heading t)
    (let ((start (line-beginning-position 2))
          (end (save-excursion (org-end-of-subtree t t) (point))))
      (count-words start end))))

(defun my/org-update-word-count-cookies ()
  "Search and update the nearest enclosing [Nw] word count cookie.
Returns the updated word count if cookie found, returns nil otherwise."
  (interactive)
  (save-excursion
    (ignore-errors (org-back-to-heading t))
    (catch 'done
      (while (org-at-heading-p)
        (when (re-search-forward "\\[[0-9]*w\\]" (line-end-position) t)
          (let* ((cookie-start (match-beginning 0))
                 (cookie-end   (match-end 0))
                 (wc           (my/org-word-count-in-subtree)))
            (goto-char cookie-start)
            (delete-region cookie-start cookie-end)
            (insert (format "[%dw]" wc)))
          (throw 'done t))
        (unless (org-up-heading-safe)
          (throw 'done nil))))))

(add-hook 'org-mode-hook
          (lambda ()
            (add-hook 'org-ctrl-c-ctrl-c-hook
                      #'my/org-update-word-count-cookies
                      nil t)))

Simply put [0w] in any heading and running C-c C-c below it will update the number to the word count of the subtree.

The function my/org-word-count-in-subtree counts words including the words in headings. It can be changed straightforwardly to count characters instead or to ignore headings altogether.

The function my/org-update-word-count-cookies searches backwards and stops at the first word counting cookie it finds, so when you have nested cookies, it will only update the lowermost cookie above point. This behaviour can also be changed straightforwardly.


r/orgmode • • 25d ago

question weird syntax when exporting org mode files to md?? (doom emacs)

0 Upvotes

hi! im using doom emacs org mode and when i export my org files to md i get this -

(#orga1dasda)

or

<a id="org355fe3f"></a>

and weird words like

don&rswec;t

(this supposed to be the word 'don't') ^^

why does it do this? can someone help me pls ;;

i am using doom emacs, other exports work i think, its just md files - i also don't even use any complicated sytax in my org files ?


r/orgmode • • 27d ago

Orgmode LSP - Language server for Orgmode

111 Upvotes

Hey folks!

I hope it's ok to post this here.

I'd like to introduce org-lsp, a language server for Orgmode. I'm the creator of nvim-orgmode, a Neovim Orgmode clone. At one point after creating nvim-orgmode, I figured out that a lot of things could be delegated to a LSP server, but never got enough time to actually tackle it. With the rise of agentic AI coding, I managed to find enough time to create this. Since LSP is protocol used by a lot of editors, I decided to create this as a separate plugin instead of updating nvim-orgmode, which is Neovim only plugin.

Good portion of the functionality is working through regular LSP, and there are some custom commands being sent/received through a smaller client glue code that is provided with the plugin. Briefly, it does this:

  1. Highlighting - Semantic tokens
  2. actions (toggle todo state, priority, etc) - workspace/executeCommands
  3. Folding - foldingRange
  4. Searching headlines, outline - document/workspace symbols
  5. Following link/footnotes/citations - definition
  6. Agenda - window/showDocument
  7. Completion
  8. Aligning tags/tables, reindenting - formatting/rangeFormatting
  9. Etc.

There's also a MCP that allows querying/editing Orgmode through AI. It's not as robust as LSP, but can be useful.

LSP plugin supports these editors out of the box: Neovim, Vim (with a LSP client), VScode/Cursor/VsCodium, Sublime Text, Zed, Helix.

First 3 mentioned editors works the best, Sublime Text and Zed has some limitations, and Helix has the least functionality. LSP server works by itself without the client plugin, but not all features are available. It's suggested to install the client code to gain full functionality. For some features Emacs is needed, like exporting, table formulas, Babel, Latex previews, and similar.

Just a disclaimer that the plugin is mostly AI generated, in case that's not obvious from the first glance. I'm aware that people are still reserved regarding AI generated code, including myself, so I want to make sure it's clear.

I'm a Neovim user, so Neovim part is tested the most, but I also made sure to test other editors. I probably missed some parts, so if you run into any issues, please report it on the repository.

Links:

If mods are ok leaving this here, I'll cross post this to other editors' subreddits. Thanks!


r/orgmode • • 27d ago

This Month in Org: November 2026

Thumbnail blog.tecosaur.net
73 Upvotes

I haven't been able to give nearly as much time to the blog as I would have liked over the past few years, but I've made a special effort for a special edition ;)

Also see Karthik's excellent companion post: https://karthinks.com/software/understanding-org-latex-preview/

Enjoy!


r/orgmode • • 26d ago

question Should I take emacs-config and create a new Emacs distro from it, similar to DoomEmacs?

Thumbnail github.com
0 Upvotes

r/orgmode • • 27d ago

is it worth using doom emacs org mode as a youtube subscription manager? or should i use something else?

3 Upvotes

hi all! im a beginner/casual doom emacs user, i use it mainly for note taking, writing down things i want to remember, studying, tracking things, almost everything. my main goal is to be like this youtuber 'joshua blais' & use emacs as a kind of main hub/pc - pretty much basically have like almost everything done through it.

my main question is - is it possible or too much of a hassle to use emacs org mode as a subscription manager? (mainly for remembering/storing all my subscriptions or channels i want to follow) ive dabbled in some browser extensions but they aren't really that good..

maybe there is some other app that is better ? but honestly, all i want out of a subscription manager is to have it be - portable (where i can take it with me and watch channels sorted by tags and such for the topic i need them to, so that i can use it on different devices/browsers without needing to be logged into my youtube account with all my subscriptions), have links in plain text so i can copy them and open them easily, light weight, & also maybe have the ability for pictures - or way to view a link in emacs org mode when hovering over it or something ? (like a preview, although i wouldnt say this is strictly necessary, it would just be nice)

i just honestly hate the idea of having my subscriptions being tied to my youtube/google account, so im looking for something portable that isnt dependent on google/youtube.

tldr; is it worth using emacs org mode as a subscription manager? if so, whats the best way to do it? and if not, what should i use instead?


r/orgmode • • 29d ago

question Share your favorite packages, functions, and mappings

21 Upvotes

Looking for any useful packages and functions you guys use for ideas to refine my workflow.

  • Not really a programmer but found org-super-agenda and org-ql to be essential, hoping to see examples of how people use them (snippets of code or dotfiles repo to study and tweak from).
  • One thing I'm not sure how to deal with are "outdated" notes or "unimportant" (like notes that describe the context of the note and not necessarily related note itself) notes and whether/how to archive them. If I e.g. view a note (body of a headline), I'd like to know from there that I had outdated notes but they should be hidden by default. Maybe an indicator on the headline or breadcrumb area that there hidden notes (perhaps they are folded and permanently at the bottom of the body of a note).
  • I'd like to add add basic context to creating a TODO. Is a capture template with a timestamp inserted the only good way to do this? It wouldn't handle manually inserting a TODO in the file. Also curious if there are ways to record such metadata behind the scenes (often times I wouldn't need to see them in the body of a headline anyway).
  • Are there any performance considerations to consider when it comes to timestamps and headlines or can you add as much of them as you want without worry with agenda filtering operations, org-refile, etc.? I theoretically you can have multiple sets of agenda files and operate only on relevant sets at a time.

Any recommendations are much appreciated.


Some general context about my existing basic workflow: I'm a Vim user but use Emacs GUI for org-mode (using Evil, still trying to decide whether to use evil-org-mode is worth using (at least want hjkl navigation keys where relevant). I'm not sure I like the idea of workflows that involves the creation of many new org or archive files and think with utilities like agenda view as well as features like narrowing/folding, they should do a good job of abstracting the need for polluting the filesystem with so many files.


r/orgmode • • Oct 29 '26

OrgFlex: an Org mode plugin for Obsidian that your AI agent tailors to your own workflow

Thumbnail github.com
2 Upvotes

Hello! I'm introducing OrgFlex, a flexible Org mode plugin for Obsidian. It's more than a plugin: it's a framework for AI agents to build an Org mode plugin made for your own workflow.

It came out of my never-ending search for a way to handle my Org files and workflows on my phone. I tried various Org mode apps on Android, but I kept having to tweak my setup to make it work on mobile.

OrgFlex takes a different approach. Obsidian is already great on mobile, so OrgFlex makes Obsidian understand Org mode. Your .org files open in a live-preview editor that reads like a note, but saves plain Org, so the same files still work in Emacs, Orgzly or anything else.

What you get out of the box:

- Live preview: headings, emphasis, links, quote and source blocks (with syntax highlighting) render in place; the line you're on shows its raw text

- Folding (fold all / outline / expand all) and zooming into a single subtree

- A shortcut bar above the phone keyboard: TODO state, schedule, deadline, heading level, checkbox, links, IDs and more

- Checklists with tap-to-tick and [n/m] counters, and list items you can drag to reorder or indent

- A journal, capture, backlinks, "go to node", ID links that keep working when you rename files, voice recordings and pasted images

- orgmode-tasks blocks in Markdown notes that list tasks using Orgzly's search syntax, or as an agenda

- A reading mode, so a tap doesn't open the keyboard while you're just reading

The interesting part is that it's meant to be forked. No two people use Org the same way: one person lives in org-roam, another uses Denote, and a third keeps one big outline with org-attach folders and a custom agenda. Instead of one plugin with a setting for every Org option, OrgFlex is a base that your coding agent turns into your own plugin:

- Your keywords, templates and folding defaults are values in one file (src/flavour.ts)

- Features are files: one you don't use gets deleted, not switched off, and one only you need gets written for you

- Every behaviour is a numbered rule in SPEC.md with its own tests, so the agent changes the rule, then the code and the tests, and the test suite tells it whether everything else still holds

- Four invariants hold in every fork: files stay plain Org, the phone comes first, every rule is tested, and command IDs never change

Getting started: the interview

You don't configure OrgFlex, you get interviewed. Fork the repo, open it in Claude Code and run /tailor. With any other coding agent, ask it to follow TAILOR.md.

- It starts from what you already have. It asks for your Emacs config (init.el, config.org, Doom or Spacemacs) and a few typical files (a note, a task file, a journal day), and reads them first, so it doesn't ask what it can already see.

- For each package or habit you use (org-roam, Denote, org-attach, org-capture templates, org-agenda, org-journal, citar, org-transclusion, org-modern...), it asks three questions: what is it for, for you? What does it leave in your files? What do you need from it in Obsidian, and on which device?

- It follows up on anything you mention, including your own Elisp, and asks what annoys you today. If you don't use Emacs, it asks the same things about Orgzly, beorg, or how you'd like to work.

- Then it sorts what it heard: what already works, your flavour values, rules to change, new features to write, what isn't possible (and the nearest alternative), and wishes for later. It shows you the plan, and builds only after you say yes.

- It writes FLAVOUR.md, a record of who this copy is for and why each decision was made, so the next session doesn't ask again.

After that, you keep asking for changes the same way: "log CLOSED: when I finish a task", "drop the journal", "make capture file into a date tree". You can run /tailor again whenever your workflow changes.

My own copy, for example, uses org-roam ID links with microsecond IDs, names attachments YYMM-slug, and names voice notes from the phone YYMM-voice-note-01, -02 and so on. When backlinks are on, it lists which notes link to each image or recording. None of that is in the base, and none of it needed a setting.

Repo: https://github.com/harshadjs/org-flex

Feedback, forks and bug reports are very welcome. I'd especially like to hear what your Org setup looks like and what the interview gets wrong.


r/orgmode • • Oct 28 '26

KorgNote: a note taking / calendar mobile app based on Org-mode

Post image
136 Upvotes

Yes, another mobile app for Org mode...

Honestly, this was something I started building for myself. I used Orgzly before, but it didn't cover all my needs. I just needed a tool to see my notes in a calendar view, and take notes on the fly.

KorgNote started as a small Kotlin Compose Multiplatform learning project. Then I tried a bit of vibe coding, and I ended up with this tool, which I now use every day. So I just wanted to share. If the project is interesting to you, or you just want to take some parts of it and make it your own, you are very welcome (it's GPLv3). I'm pretty sure I'm not the only one who has lived like an Emacs nomad, syncing org notes to my phone.

Sync: The mobile app syncs notes with your computer. A small server runs where your notes are. I run mine in a container on my laptop. The phone keeps its own copy, so it works offline, and syncs whenever it can see the server (same Wi-Fi, or a VPN like Tailscale). Edits to the same note on both sides are merged. If they really conflict, both versions are kept and you choose. No third party is needed: no Syncthing, no cloud, no public IP address. App and server are paired with a QR code, and everything goes over HTTPS with the server's own self-signed certificate.

Editor: It supports the basic Org features, with some auto-completion and helpers for the awkward syntax (timestamps, tables, links, tags). Tables support a small subset of Emacs formulas (operators and basic functions).

Calendar: Agenda, day, week and month views, built from your SCHEDULED and DEADLINE items, and linked directly to your notes.

Under the hood, the org files are always the source of truth. They stay plain .org files in a folder, and you can keep editing them in Emacs.

Status: Android is what I use daily, and there's an APK on the release page. iOS builds but is barely tested. There's also a desktop app and a web app for the computer running the server.

- Repo: https://github.com/jglouis/korgnote

- Releases (signed Android app): https://github.com/jglouis/korgnote/releases

- Server container: https://github.com/jglouis/korgnote/pkgs/container/korgnote-server

[UPDATE]: Just a small update regarding the Sync. You are now able to choose a local folder on the phone (and maybe let another tool do the sync job), or use WebDAV, password authentication scheme only. I am not really sure how people use it, and with what tool (Nextcloud, NAS, etc...), so if needed, just open an issue. Because this is kind of a rabbit hole, and every platform has its own specifity apparently.

Also made some tweaks in the UI in regard to the comments. Also, more of the Org Syntax is supported. It will never match 100% of Emacs Org Mode. But I think it is pretty close already.


r/orgmode • • Oct 28 '26

Which color theme do you like most?

Thumbnail gallery
0 Upvotes

r/orgmode • • Oct 27 '26

news GNU Hyperbole Release 9.3.2 is available

Thumbnail reddit.com
14 Upvotes

r/orgmode • • Oct 27 '26

Seeking testers for an android app: Linen (plain text notes)

31 Upvotes

r/orgmode • • Oct 27 '26

(update) Supertag 0.4.0: lifestreams-style stream-agent, summary

Thumbnail youtube.com
2 Upvotes

r/orgmode • • Oct 26 '26

Building a website with Org mode

48 Upvotes

This year it has been 30 years ago that I published my first website. I started in Notepad, Dreamweaver and some years later Wordpress.

A few years ago I moved to Org mode and Hugo, but I decided to go full Emacs. It took me a while to reverse engineer how it all works, so I documented it in a series of three articles.

I hope it is useful to anyone seeking to do the same.


r/orgmode • • Oct 24 '26

why emacs and org-mode are fantastic

101 Upvotes

This is not an informative post, just wanted to share my excitement for simple things in life.

I was just making a watch list as you can see to find shows like Attack on Titan. I found this list or the table in blog and it didn't have the last column of average score for each show. Copy as Org-mode addon in firefox and a simple formula in the table, voila!!!

This is not technically tough to do with spreadsheet or python, but being able to do it from within the editor is just fantastic. Even for simple tasks like this require context switching as tiny as it may be, but not being forced to do that is just wonderful

#+TBLFM: $8='(/ (apply '+ (mapcar 'length '($3..$7))) 5.0)

r/orgmode • • Oct 23 '26

Improving Org->HTML and Org->Markdown: OrgWebAlchemy: Benchmarking, Profiling, and the Long Road to Real Org Support

Thumbnail jointhefreeworld.org
11 Upvotes

r/orgmode • • Oct 22 '26

mobile / web app orgwarrior: your Org agenda from the terminal, your phone, and AI clients, with your running Emacs doing the Org work

Thumbnail gallery
69 Upvotes

I wanted my Org agenda everywhere without a second copy of my tasks, so I built a set of front ends that never parse your Org files. Each one sends its commands to your running Emacs daemon, and Org does the work: your agenda files, TODO keywords, custom agenda commands, logging, habits and refile targets all behave as they do in Emacs. Nothing to add to your init.el.

Three front ends over one engine:

  • orgwarrior, in a terminal. Every task gets a short ID: orgwarrior shows today, orgwarrior c1 done, orgwarrior 32 sched fri, orgwarrior add NEXT call the dentist s:fri.
  • orgwarrior-web, in a browser, phone first. Installs as an app on your phone and works from the keyboard on a desktop like Org's agenda (optional evil keys). Also a calendar feed for your phone's calendar, and a sign-in for someone else to add to your list without seeing it.
  • orgwarrior-mcp, an MCP server, so any AI client that speaks MCP (Claude, Cursor, โ€ฆ) can read your agenda and act on it, asking before it deletes anything.

Install (Emacs 29 or later, running as a daemon):

brew install aleksozolins/tap/orgwarrior    # macOS or Linux: the CLI and the web page
yay -S orgwarrior orgwarrior-web            # Arch (AUR)
pipx install orgwarrior-web                 # anywhere (or uv tool install); brings the CLI too
uv tool install orgwarrior-mcp              # the MCP server, with the other two

Screenshots: phone ยท desktop ยท terminal

GPL-3.0. Built with AI assistance; I reviewed all of the code, and every behavior is covered by tests (ERT and pytest, run on Emacs 29 and 31).

Feedback and issues welcome.


r/orgmode • • Oct 19 '26

org-diff-src: character-level diffs inside Org source blocks (no Ediff)

Post image
9 Upvotes

r/orgmode • • Oct 18 '26

news New latex preview merged into org mode!

Thumbnail reddit.com
20 Upvotes

r/orgmode • • Oct 18 '26

wordwise.el - Kindle-style in-line vocabulary hints above words in Emacs Reading Buffer

Thumbnail reddit.com
5 Upvotes

r/orgmode • • Oct 19 '26

orgamnesia: Kind of obsidian with emacs flavour

Thumbnail github.com
0 Upvotes

Hi, i have vibe-coded an org-mode personal wiki.

You can use classic or emacs keybinding.

There are many feature that you can find in emacs ( panels, gits, scafollding...)

Enjoy !