Srijan Choudhary

250 Followers
617 Following
51 Posts

Fediverse enabled website: https://srijan.ch

I've been developing software for more than 10 years, and leading software teams for the last 5 years. I've worked with several languages, but mostly use #Python and #Erlang these days, using #Emacs.

I'm interested in software team leadership, functional programming, distributed systems, artificial intelligence, and software infrastructure.

Previously at: https://fedi.srijan.dev/srijan https://fosstodon.org/@srijan, https://tilde.zone/@srijan

GitHubhttps://github.com/srijan
Websitehttps://srijan.ch/

A small #Emacs #OrgMode quality-of-life tweak. I often need to replace an org heading's title while preserving the original text in the body. The problem is that pressing enter on a heading inserts a line above the properties drawer, which breaks things.

Here's a function that moves the heading title into the body (below the properties drawer and metadata), and binds it to S-RET:

(defun my-org-demote-title-to-body () "Move the current heading's title into the body, below the metadata. Point returns to the heading for editing." (interactive) (org-back-to-heading t) (let* ((element (org-element-at-point)) (title (org-element-property :raw-value element))) (org-edit-headline "") (save-excursion (org-end-of-meta-data t) (insert title "\n")) (org-beginning-of-line))) (defun my-org-shift-return () "On a heading, demote title to body. In a table, copy down." (interactive) (cond ((org-at-heading-p) (my-org-demote-title-to-body)) ((org-at-table-p) (org-table-copy-down 1)) (t (org-return)))) (define-key org-mode-map (kbd "S-<return>") #'my-org-shift-return)
Srijan Choudhary's Articles and Notes Feed | Srijan Choudhary

Srijan Choudhary

In the Beginning there was nothing, which exploded.

Terry Pratchett, Lords and Ladies

#GNUTerryPratchett, #SpeakHisName, #Discworld

emacs-v4/config.org at main · srijan/emacs-v4

v4 of my emacs configuration. Contribute to srijan/emacs-v4 development by creating an account on GitHub.

GitHub
@jiewawa Nice. I have an old function in my Emacs config somewhere that transfers notes from koreader on my e-reader via ssh and transforms it into an org file. Maybe I can enhance that similarly.

I love what’s achievable with Free Software.

I can sync reading progress across my e-reader with #koreader, my phone with #readest and I’ve now hacked together a way of syncing them with #emacs Nov mode. The code needs cleaning up a bit and I’ll put it on Codeberg soon.

I wasn't satisfied with the existing 'minimap.el' for #emacs. Hold my 🍺!

Here comes scrollpanel, a (hopefully/argueable) better minimap for #emacs.

https://seed.pipapo.org/nodes/seed.pipapo.org/rad:z2hyKqTqB77vt7UqsTgrqHkC83j8h

I don't know #elisp very well so I had to rely a bit on a coding agent, which was a pain. Finally it works for me now. Still needs some cleanup. When anyone is interested, try it out. Patches and help improving it would be greatly welcome.

On the sides I have been making a small health records app that stores data in #emacs #orgmode files and attachments. No cloud, subscription, or sharing of data with any third party provider, unless you explicitly do that by sharing your files.

It was primarily for personal uses and is not yet feature complete and the UX is not optimal, but is still usable in ways.

Here is the documentation https://docs.lepisma.xyz/harp/

F Droid builds are available here https://f-droid.org/packages/xyz.lepisma.harp in case you want to try it out and give feedback.

Index - Harp: Private Health Records

@sysedit eww has a built-in "readable" mode (bound to R by default) that strips out navigation stuff and makes it more readable. Just tried, this works well for Wikipedia.
In general, I open web links in eww first for links I visit from inside Emacs (like fron mu4e, elfeed, saved docs or changelog links), and open in external browser using the & key when needed.
@sysedit info, man, markdown/org, eww for direct webpages

New blog "Keeping appointments from my Org agenda updated" https://davemq.github.io/2026/01/07/org-agenda-to-appt-timer.html

#emacs #org #orgmode

Keeping appointments from my Org agenda updated

Among many other things, Emacs’ Org mode manages tasks and allows you to easily see an agenda of tasks that are scheduled or approaching a deadline. Emacs also has an appointments system that shows scheduled appointments at various times ahead of time. Org provides org-agenda-to-appt to create appointments from your agenda items.

Dave’s Blog