home.social

Search

37 results for “bbatsov”

  1. I've put together asciidoc-mode (github.com/bbatsov/asciidoc-mo) - a super lean major #Emacs mode for editing #AsciiDoc documents, powered by #TreeSitter

    It's a lighter and simpler alternative to the more established adoc-mode (also maintained by yours truly), that has been sitting in the back of my mind for a while and became possible recently when a TS grammar for AsciiDoc was created.

    I hope you'll find the new mode useful!

    @sanityinc Can you help me get it in MELPA? (github.com/melpa/melpa/pull/98)

  2. neocaml 0.8 is out with several fixes and small improvements github.com/bbatsov/neoc... neocaml is a modern #Emacs package for programming in #OCaml

    Release v0.8.0 · bbatsov/neoca...

  3. neocaml 0.8 is out with several fixes and small improvements github.com/bbatsov/neoc... neocaml is a modern #Emacs package for programming in #OCaml

    Release v0.8.0 · bbatsov/neoca...

  4. neocaml 0.8 is out with several fixes and small improvements github.com/bbatsov/neoc... neocaml is a modern #Emacs package for programming in #OCaml

    Release v0.8.0 · bbatsov/neoca...

  5. neocaml 0.8 is out with several fixes and small improvements github.com/bbatsov/neoc... neocaml is a modern #Emacs package for programming in #OCaml

    Release v0.8.0 · bbatsov/neoca...

  6. I asked something about the #emacs package #projectile a few weeks ago (here github.com/bbatsov/projectile/). As I wrote, I have a project B that depends on a project A. It's a C++ program with all base classes in project A and specialized ones in project A. I was not able to make use project-vc-external-roots-function. I ended up creating a new function almost identical to projectile-find-file-in-all-projects, namely projectile-linked-project-files with a .dir-locals.el variable projectile-linked-projects.

    As no one seems to answer to me on Github, anyone knows if it could be a good idea to do a pull request?

  7. 🎉 Behold, the latest in the never-ending quest to make #Emacs less user-friendly! The #Rubocop creator has decided to grace us with #Neocaml, because apparently OCaml wasn't hard enough already without some #TreeSitter magic. 🤪 Embrace the chaos, developers! 🖥️🔧
    github.com/bbatsov/neocaml #developerchaos #HackerNews #ngated

  8. I've reworked (and extended) neocaml's huge README into a nice documentation site, powered by MkDocs and Material. Check out neocaml.org/ and let me know if you like it and if you feel that something needs to be improved there.

    #Emacs #OCaml

  9. I've reworked (and extended) neocaml's huge README into a nice documentation site, powered by MkDocs and Material. Check out neocaml.org/ and let me know if you like it and if you feel that something needs to be improved there.

    #Emacs #OCaml

  10. I've reworked (and extended) neocaml's huge README into a nice documentation site, powered by MkDocs and Material. Check out neocaml.org/ and let me know if you like it and if you feel that something needs to be improved there.

  11. I've reworked (and extended) neocaml's huge README into a nice documentation site, powered by MkDocs and Material. Check out neocaml.org/ and let me know if you like it and if you feel that something needs to be improved there.

    #Emacs #OCaml

  12. I've reworked (and extended) neocaml's huge README into a nice documentation site, powered by MkDocs and Material. Check out neocaml.org/ and let me know if you like it and if you feel that something needs to be improved there.

    #Emacs #OCaml

  13. It's a good day for owners!

  14. expreg is a great alternative to expand-region, that's #TreeSitter aware. I can't believe I didn't discover it earlier! (technically speaking - I discovered it last year, but I forgot to update my init.el to actually use it :D )

    Read more about it here emacsredux.com/blog/2026/03/03

    #Emacs

  15. I've converted some random dev notes I had lying around from working on clojure-ts-mode, neocaml and asciidoc-mode to a blog post with some general advice for building #Emacs major modes powered by #TreeSitter batsov.com/articles/2026/02/27

    I hope some of you will find it useful! I certainly wish someone had written such an article a year ago when I started to get more serious about playing with TreeSitter.

    #Clojure #OCaml #AsciiDoc

  16. What are your favorite #privacy-focused web browsers and search engines these days?

    Historically, I've been a #Firefox user (I've been using it since the very beginning of the project), but every year I have more and more doubts about the long-term viability of Firefox and I'm starting to think that the ship might sinking. A world with only #Blink and #WebKit browsers will be a sad thing in my book, but it seems most people don't care about having diversity in rendering engines.

    As for search - I've played a bit with #DuckDuckGo and #Kagi and they get the job done, but I'm curious what else
    people enjoy and why.

  17. One year after getting my #HHKB (Happy Hacking Keyboard) I'm still not sure whether I like it or not. I stand by my original opinion that the keyboard is good, but wildly overhyped.

    Pros:

    - looks great
    - topre switches
    - mac-friendly layout
    - no caps lock (it's left control)

    Cons:

    - Questionable layout choices (no dedicated arrows, ~ in an absurd position, \ and Del swapped)
    - Tiny alt/opt keys
    - No right control (there's definitely space for one)
    - No advanced remapping capabilities (think QMK)
    - I constantly have to wake it up and the sleep interval is not configurable (why doesn't any key press wake it up???)
    - the battery hatch is ugly
    - it doesn't switch to USB-C automatically when you plug it in...
    - rarely it loses connection with my computer (e.g. once per 6 months) and I need to redo the setup

    It's a good keyboard for sure (any keyboard with Topre switches is pretty good by default), but in some ways it feels like a step back from my beloved Leopold FC660C that it replaced. My guess is that mostly people hype the HHKB mostly because they've never touched another Topre keyboard or are more forgiving about poor layout choices and configuration options than me.

    If someone makes a real modern keyboard with Topre switches I'll likely immediately dump the HHKB.

    #keyboards #hottakes

  18. One year after getting my #HHKB (Happy Hacking Keyboard) I'm still not sure whether I like it or not. I stand by my original opinion that the keyboard is good, but wildly overhyped.

    Pros:

    - looks great
    - topre switches
    - mac-friendly layout
    - no caps lock (it's left control)

    Cons:

    - Questionable layout choices (no dedicated arrows, ~ in an absurd position, \ and Del swapped)
    - Tiny alt/opt keys
    - No right control (there's definitely space for one)
    - No advanced remapping capabilities (think QMK)
    - I constantly have to wake it up and the sleep interval is not configurable (why doesn't any key press wake it up???)
    - the battery hatch is ugly
    - it doesn't switch to USB-C automatically when you plug it in...
    - rarely it loses connection with my computer (e.g. once per 6 months) and I need to redo the setup

    It's a good keyboard for sure (any keyboard with Topre switches is pretty good by default), but in some ways it feels like a step back from my beloved Leopold FC660C that it replaced. My guess is that mostly people hype the HHKB mostly because they've never touched another Topre keyboard or are more forgiving about poor layout choices and configuration options than me.

    If someone makes a real modern keyboard with Topre switches I'll likely immediately dump the HHKB.

    #keyboards #hottakes

  19. One year after getting my (Happy Hacking Keyboard) I'm still not sure whether I like it or not. I stand by my original opinion that the keyboard is good, but wildly overhyped.

    Pros:

    - looks great
    - topre switches
    - mac-friendly layout
    - no caps lock (it's left control)

    Cons:

    - Questionable layout choices (no dedicated arrows, ~ in an absurd position, \ and Del swapped)
    - Tiny alt/opt keys
    - No right control (there's definitely space for one)
    - No advanced remapping capabilities (think QMK)
    - I constantly have to wake it up and the sleep interval is not configurable (why doesn't any key press wake it up???)
    - the battery hatch is ugly
    - it doesn't switch to USB-C automatically when you plug it in...
    - rarely it loses connection with my computer (e.g. once per 6 months) and I need to redo the setup

    It's a good keyboard for sure (any keyboard with Topre switches is pretty good by default), but in some ways it feels like a step back from my beloved Leopold FC660C that it replaced. My guess is that mostly people hype the HHKB mostly because they've never touched another Topre keyboard or are more forgiving about poor layout choices and configuration options than me.

    If someone makes a real modern keyboard with Topre switches I'll likely immediately dump the HHKB.

  20. One year after getting my #HHKB (Happy Hacking Keyboard) I'm still not sure whether I like it or not. I stand by my original opinion that the keyboard is good, but wildly overhyped.

    Pros:

    - looks great
    - topre switches
    - mac-friendly layout
    - no caps lock (it's left control)

    Cons:

    - Questionable layout choices (no dedicated arrows, ~ in an absurd position, \ and Del swapped)
    - Tiny alt/opt keys
    - No right control (there's definitely space for one)
    - No advanced remapping capabilities (think QMK)
    - I constantly have to wake it up and the sleep interval is not configurable (why doesn't any key press wake it up???)
    - the battery hatch is ugly
    - it doesn't switch to USB-C automatically when you plug it in...
    - rarely it loses connection with my computer (e.g. once per 6 months) and I need to redo the setup

    It's a good keyboard for sure (any keyboard with Topre switches is pretty good by default), but in some ways it feels like a step back from my beloved Leopold FC660C that it replaced. My guess is that mostly people hype the HHKB mostly because they've never touched another Topre keyboard or are more forgiving about poor layout choices and configuration options than me.

    If someone makes a real modern keyboard with Topre switches I'll likely immediately dump the HHKB.

    #keyboards #hottakes