The core should be in rust, verfied in lean, and the runtime should be in guile. Literate programming in org-mode should be a hard requirement. Package management should require patch algebra. Macros should be submitted to a leaderboard in a blockchain and yield flair in EUDC. M-x measure-beard-length should require 10000 hours of logged usage and unlock the major mode infinity-categorization. Tongue-no-longer-in-che…
Ok, you had me for the first three sentences.
Ask HN: If you were rewriting Emacs from scratch, what would you do differently?
31–40 of 340 posts
Re: Ask HN: If you were rewriting Emacs from scratch, what would you do differently?
#32Re: Ask HN: If you were rewriting Emacs from scratch, what would you do differently?
#33Re: Ask HN: If you were rewriting Emacs from scratch, what would you do differently?
#34Don't use lisp. Normal people don't like it, it looks weird. I wonder how many projects failed because they were lisp. Normal people: Visits a project page. Sees it's a lisp. Closes page.
Re: Ask HN: If you were rewriting Emacs from scratch, what would you do differently?
#35Instead of using ctrl and meta modifiers, use a leader key like escape or semicolon or comma or some such thing as the prefix key for key bindings. In fact, this desire for leader-key-based, non-modal text editing led me to write devil-mode for Emacs: https://susam.github.io/devil/ >.
Make CapsLock an additional Ctrl. On many old keyboards that is where the Ctrl key was positioned [1]. [1] https://en.m.wikipedia.org/wiki/Caps_Lock#Placement
Tangentially, I really loathe how Wayland has no alternative to this. I'm expected to configure keyboard layouts in every DE or WM I use, which is a much worse UX.
[1]: https://vincent.bernat.ch/en/extending-xkb#attaching-symbols...
Re: Ask HN: If you were rewriting Emacs from scratch, what would you do differently?
#36I would change the development platform. Doing everything by mail makes things more difficult for people that are not used to the older mail+patch workflow. Having something like GitLab or sourcehut would be nice, as it would also bring a more modern bug tracker. Personally I find following email conversations much harder than just a single conversation thread like in a GitHub issue, for example.
All sensible email clients have a 'thread view' for just this purpose, which effectively makes it a 'single conversation thread'.
Re: Ask HN: If you were rewriting Emacs from scratch, what would you do differently?
#37Allow for user controllable window layout within the frame, objectively the editor's only significant drawback.
If I could have Emacs with Acme-style window management, that'd be perfect
Re: Ask HN: If you were rewriting Emacs from scratch, what would you do differently?
#38> If you were rewriting Emacs from scratch, what would you do differently? UI: Electron, of course. Json to represent the edit buffer in RAM. Each utf8 code point base64 encoded, in a json array, it itself, as a blob, base64 encoded. Now, before you complain that that is gonna blow up the data too much, don’t forget that 1. “Ram is cheap” and 2. “gzipped base64 is about the same size as binary”. So, of course, we’ll…