Readit News logoReadit News
kaushalmodi commented on Show HN: Reader mode extension that shows Hacker News comments inline   unclutter.lindylearn.io... · Posted by u/phgn
kaushalmodi · 3 years ago
Thank you for developing this extension! This makes the pages definitely much more better looking and readable than the Firefox built-in Reader View.
kaushalmodi commented on Blogging with Org-mode for lazy people   github.com/novoid/lazyblo... · Posted by u/clircle
Arubis · 3 years ago
I'm rather a fan of [ox-hugo](https://ox-hugo.scripter.co/) for similar purpose. There's more to understand upfront, but since the output target is Hugo, you can modify/eject from Org with zero effort.
kaushalmodi · 3 years ago
I kind of agree with that ;)

Nothing beats the speed of Hugo and content creation in Org mode.

kaushalmodi commented on Advanced techniques for reducing Emacs startup time   blog.d46.us/advanced-emac... · Posted by u/Tomte
kaushalmodi · 3 years ago
This post felt like a deja vu, because I had read this earlier back in Nov 2017 :). The HN mods should add the 2017 year to the title. That said, for people who haven't read this post earlier, this post shares some great tips! I like the one about deferring packages using `use-package`.

Because this is an old post, references like Spacemacs are now quite dated. Folks prefer Doom Emacs nowadays (though I don't use either of them).

kaushalmodi commented on My Org Roam Notes Workflow (2021)   hugocisneros.com/blog/my-... · Posted by u/l2dy
zvmaz · 3 years ago
I have been using emacs and org-mode for years now, but org-roam was a bit tedious and time consuming to set up correctly. I now use Logseq, and it's really great (especially the flashcard feature). I wish it had an emacs mode though.
kaushalmodi · 3 years ago
You can customize the bindings in logseq. I've customized mine[1] to bring them as close as possible to default Emacs and Org mode bindings.

[1]: https://github.com/kaushalmodi/dotfiles/blob/master/logseq/l...

kaushalmodi commented on My Org Roam Notes Workflow (2021)   hugocisneros.com/blog/my-... · Posted by u/l2dy
alexkehayias · 3 years ago
I have a pretty similar workflow for publishing my personal notes which is exported using GitHub actions. https://notes.alexkehayias.com

Relevant emacs init code here (a lot of hacks to get exporting to ox-hugo to work and improve performance): https://github.com/alexkehayias/emacs.d/blob/master/init.el#...

I find navigating notes with an interactive graph as not that useful for others. I mostly use org-roam-ui myself to spot notes with no links but otherwise there's way too many nodes to do anything other than randomly click around.

kaushalmodi · 3 years ago
> a lot of hacks to get exporting to ox-hugo to work

Hello! Please feel free to start a discussion on https://github.com/kaushalmodi/ox-hugo/discussions listing the things you need to tweak in ox-hugo to make it work with Org Roam.

In the past 3 months or so, I have been adding test Org files received from Org Roam users and they seem to be exporting alright.

Tests: https://github.com/kaushalmodi/ox-hugo/tree/main/test/site/c...

I'd welcome more tests there :)

> and improve performance [your config link]

From your config, I see this[1] overriding `org-hugo-link--headline-anchor-maybe`. I am following a general Emacs Lisp convention of naming internal-use functions and variables with `--` in the names. Unfortunately, that advice won't do anything with the latest ox-hugo as I replaced that particular internal function with something else in past few months as I was improving the anchoring scheme to support an Org Roam user with linking headings based on UUID.

At that point I had added this documentation on Anchors[2] in ox-hugo manual. If you set `org-hugo-anchor-functions` to nil, or add a dummy function to it that just returns "", it would do the same thing as you are doing in your advice right now (not tested).

*Note that will basically break the ability to refer to other sub headings by UUID, CUSTOM_ID or any other mechanism.*

---

I'd welcome contributions to ox-hugo code, documentation so that it can help other Org Roam users too. Even if it doesn't make it into the repo, having a discussion related to ox-hugo + Org Roam issues/tips+tricks in the ox-hugo Discussions forum will be useful to others.

Thanks!

---

[1]: https://github.com/alexkehayias/emacs.d/blob/3b546048cc60976...

[2]: https://ox-hugo.scripter.co/doc/anchors/

kaushalmodi commented on Obscure HTML Tags   devapt.com/html-tags... · Posted by u/daolf
kaushalmodi · 4 years ago
To me at least, mark, details/summary and description lists are not obscure!

While I don't code in HTML directly, I write the mark-up in Org mode that exports to those.

- My recent blog post where I used mark few times (I have set the mark highlight to be brownish to match my site theme) and also the description lists: https://scripter.co/hugo-modules-getting-started/

- In some other posts, I use details/summary to collapse large code blocks.

kaushalmodi commented on Learn Awk with Emacs (2020)   jherrlin.github.io/posts/... · Posted by u/nyc111
giraffe_lady · 4 years ago
do you have to install and configure each language into emacs or org mode? or is just having them in your system path enough?

I'll get into this if I don't have to twiddle with each one individually but I know emacs enough to suspect that's how it'll be.

kaushalmodi · 4 years ago
No, having the related executable in the PATH before you start emacs is enough.

Then you need to install the Org Babel packages that don't ship with Emacs or Org mode e.g. ob-tcl, ob-nim.

kaushalmodi commented on Vijayanagara – The Last Emperors of South India [audio]   podcasts.apple.com/us/pod... · Posted by u/startblue
kaushalmodi · 4 years ago
Thanks! I've subscribed to this on Pocket Casts: https://pca.st/2Kjz.

u/kaushalmodi

KarmaCake day353July 12, 2016
About
Loves Emacs and command-line utilities. You can find me by the same username on GitHub, Gitlab, reddit and Twitter.

Blog: https://scripter.co

* Few projects:

- Org-mode + Hugo: https://ox-hugo.scripter.co

- Eless (A Better less): https://eless.scripter.co

View Original