this post was submitted on 15 Jul 2025
5 points (100.0% liked)

Emacs

436 readers
1 users here now

The Emacs editor, elisp development, and life as a lisp VM user.

founded 2 years ago
MODERATORS
 

The search for middleware between emacs and Lemmy was a dead end. So the next question is naturally:

Does anyone else use emacs to compose Lemmy posts, before copy-pasting them into a lemmy client?

I work offline, so of course I use emacs for this. But I wonder if I am alone.

So far I’ve only used org mode with a single file. Each post starts with an asterisk, then I put this at the top of the file to start in the collapsed state:

#+startup: hideblocks
#+startup: fold
~disable~ #+STARTUP: showall

The competing workflow would be to have each post in its own file with an .md extension to get markdown mode. But markdown mode is not using the same markdown as Lemmy. And it would be tedious to deal with many separate files.

problems with markdown mode:

  • many files to manage
  • markdown language differences
  • paraphaphs must be unwrapped before copying to the buffer

problems with org mode:

  • no syntax highlighting for markdown
  • paraphaphs must be unwrapped before copying to the buffer

Am I missing anything?

Any tips for coping with this? I know there is an add-on somewhere that will fill and unfill paragraphs as a toggle, but that would still be tedious if it’s one paragraph at a time.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here