34 pointsby meysamazad7 hours ago5 comments
  • xenodiuman hour ago
    Tangentially related, I wrote https://github.com/xenodium/dwim-shell-command to save all sorts of command invocations (I'm looking at you ffmpeg) and easily batch apply to dired files. Here's a demo video https://www.youtube.com/watch?v=77NtPfgr4x0
  • krupan3 hours ago
    Just FYI, dired without any configuring or customizing is pretty rad, especially with wdired-mode for editing filenames. You don't need to read this blog post to benefit from it.

    Also, wgrep-mode for editing files is amazing

    • TacticalCoder31 minutes ago
      > Also, wgrep-mode for editing files is amazing

      Emacs is amazing: I'm using it since the nineties and I've got quite the custom config. I've got zero clue has to what wgrep-mode is.

  • clircle4 hours ago
    Thanks, dired-hide-details-mode is particularly neato. I also learned a few things about marking.
  • stackghost4 hours ago
    I use emacs almost every day, and it's a continual source of frustration that the community seems allergic to sane defaults.

    If the editor ships a built in file manager, that file manager should not require explicit configuration to open e.g. a jpeg in an image viewer by default. We've had `xdg-open` for years now, it's kind of absurd how far behind emacs is in so many ways.

    • mimischi3 hours ago
      I think that’s what many enjoy—and probably why many other steer away from—Emacs: its malleability. It has some defaults that are grounded in some usecase that have persisted for decades, and to change them would take hours of arguing on the mailing list.. or you could just change the defaults yourself to your liking.
      • stackghost2 hours ago
        Malleability is orthogonal to defaults. It's just grognards being change-averse.
    • scoops_3 hours ago
      Pressing “X” with your point at the file should essentially do this, no? Well, at least give you the option to open said file in an external program. Otherwise, yes, pressing “RET” will assume you want to open it in emacs, I think that is sane. But like BeetleB says, I have no issue opening an image in emacs (unless I’m on windows)

      That said, lack of sane defaults elsewhere is indeed a bit frustrating, (see: littering backup and auto save files everywhere. It would be much nicer to throw it in a ‘temp’ directory within .emacs.d or similar)

    • BeetleB4 hours ago
      Unsure what you mean. When I press Enter on an image, it does load it (in Emacs).

      I believe opening within Emacs should be the default - as many Emacs users aim to do everything within Emacs.

      See this submission from a day ago:

      https://en.andros.dev/blog/06bfd107/emacs-is-a-lispboard/

      • stackghost2 hours ago
        >I believe opening within Emacs should be the default - as many Emacs users aim to do everything within Emacs.

        I believe it's actually only a very vocal, very misguided minority that tries to do everything in emacs. Emacs is objectively inferior to existing alternatives for:

        - IMAP

        - viewing and especially annotating PDFs

        - Browsing the web

        - working with LLM agents

        - multiplayer text editing (crdt.el is trash)

        - working with rich text documents like .docx

        - working with spreadsheets

        - notebook rendering (org vs md and jupyter are definitely a "worse is better" situation)

        etc.

        It is not sane to assume the user wants to do everything in emacs. Emacs is bad at lots of things and that's okay.

        • BeetleB34 minutes ago
          We can quibble about the proportion of users, as well as how well it does all these things till the heat death of the universe.

          The point is that if Emacs ships with an image viewer, it makes sense for that to be the default. If KDE comes with an image viewer, you would expect it to be the default - even if it sucks. Ditto anything on a Mac/iPhone.

          > Emacs is bad at lots of things and that's okay.

          It's also OK to have it as the default. Emacs usage is not shrinking, and they're OK sticking to their philosophy as long as it doesn't impede future development (it doesn't, as the last 20 years have shown).

  • TacticalCoder39 minutes ago
    > So the filenames could be edited as usual text: with the help of isearch-query-replace-regexp, macros and other cool Emacs features.

    One dired/wdired feature I use all the time is to edit filenames by using multiple cursors. Either that or, as TFA mentions, keyboard macros. It's really powerful.

    The author also has a blog entry about getting rid of use-package:

    https://eugene-andrienko.com/2025-10-10-emacs-ditch-use-pack...

    It's funny because my config is a half-arsed one where it's partially use-package and partially old-school config. It's an old config and at some point I move to use-package and now I moved back to "not use-package" but I mostly kept the part that are using use-package as-is.

    I've got about 3000 to 4000 elisp config lines. And counting...