Live data from Hacker News

Two Years of Emacs Solo

rahuljuliato.com

111–120 of 147 posts

Re: Two Years of Emacs Solo

#111
post #86
post #79

Earlier quoted context omitted.

I was proposing to make default where those files are not created, since Emacs is actually surprisingly great out of the box with no configuration, except for this "little" thing. Apparrently, some people believe it's perfect as it is

It should default to a single location maybe a XDG directory instead of polluting every directory

What happens when you edit multiple files from different folders with the same name?

Re: Two Years of Emacs Solo

#112

Great stuff. Funny how that whole Ai thing is Ai generated: No gptel, no ellama, just url-retrieve and some JSON parsing. The no x no y just z is the new em dashes. And that will probably be true for about a week.

Unjustified huge assumption by someone who has AI living free in their head incoming!

Re: Two Years of Emacs Solo

#113

If I was going to reimplement Emacs it wouldn't be with Lisp. Is there some reason Lisp is superior to any other general-purpose programming language for text editing? I'm skeptical because to my knowledge, Emacs is the only major text editor written in Lisp.

Consider Lugaru Epsilon - an Emacs style editor that has a C based extension language.

Re: Two Years of Emacs Solo

#114

If I was going to reimplement Emacs it wouldn't be with Lisp. Is there some reason Lisp is superior to any other general-purpose programming language for text editing? I'm skeptical because to my knowledge, Emacs is the only major text editor written in Lisp.

>Is there some reason Lisp is superior to any other general-purpose programming language for text editing? purely for text editing? No. But that's not what distinguishes Emacs, it's famously very mediocre at it. The point of Emacs is to be a fully transparent, inspectable, dynamic and changeable environment. In spirit similar to Smalltalk systems like Pharo. And for that a Lisp is not the only choice but a very good…

An editor environment based on Smalltalk would be very interesting.

Re: Two Years of Emacs Solo

#115

> Disabling C-z (suspend) because accidentally suspending Emacs in a terminal is never fun This reminds me of a story from a past job. I have to get it out of my system. There was this bearded sysadmin guy who was very proud of his "15 years of experience", and was quick to scold us new employees for every little thing he could. He used vim, and every now and then would say that it's a good editor, but kinda "unstabl…

Sometimes it's 15 repetitions of one year.

Re: Two Years of Emacs Solo

#116
post #80

If I was going to reimplement Emacs it wouldn't be with Lisp. Is there some reason Lisp is superior to any other general-purpose programming language for text editing? I'm skeptical because to my knowledge, Emacs is the only major text editor written in Lisp.

This article isn't about reimplementing emacs. BTW emacs is written in C.

No, emacs is pretty much written in elisp. There is a core runtime written in C, but that exists pretty much to run elisp code.

Re: Two Years of Emacs Solo

#117

This article shows how Emacs remains a beautiful, relevant project several decades after it was first created. The core design and implementation’s ability to evolve into something still useful today and competitive with modern tools is an amazing achievement. Also, with LLMs driving so much of current development it potentially makes Emacs even more competitive relative to modern IDEs. Development can be driven prim…

Emacs would be a pretty badass "OS" for LLM agents to use... has anyone explored and written something up on that yet? Perhaps emacs commands would give agents even more power than just shell commands ?

I'm far from an LLM power user, but I've found ChatGPT to be quite good at debugging my init.el and also writing little extensions I wish I had.

Re: Two Years of Emacs Solo

#118
post #31

> — Sensible file handling: backups and auto-saves in a cache/ directory, recentf for recent files, clean buffer naming with uniquify It's crazy to me how out of the box when you edit nginx file at /etc/nginx/sites-enabled/foo it creates another file foo~ there and nginx tries to load that too When I tried to ask emacs reddit community they started attacking me for changing the default that only I need and fits every…

I won't defend the automatic backup file, because it annoyed me, too.

But it's easy to disable or have them created somewhere else, which is more than you can say for most software lately.

Re: Two Years of Emacs Solo

#119
post #86

Earlier quoted context omitted.

It should default to a single location maybe a XDG directory instead of polluting every directory

What happens when you edit multiple files from different folders with the same name?

I tell emacs to create all of the files in "~/.backups", and it names them using the full pathname with "/" replaced with "!". So "~/foo/bar.txt" -> "!home!username!foo!bar.txt~"

Re: Two Years of Emacs Solo

#120

This article shows how Emacs remains a beautiful, relevant project several decades after it was first created. The core design and implementation’s ability to evolve into something still useful today and competitive with modern tools is an amazing achievement. Also, with LLMs driving so much of current development it potentially makes Emacs even more competitive relative to modern IDEs. Development can be driven prim…

Emacs would be a pretty badass "OS" for LLM agents to use... has anyone explored and written something up on that yet? Perhaps emacs commands would give agents even more power than just shell commands ?

Yea i have been vibe-coding a claw agent in emacs lisp to see how it works.... It.... kind of works.

Claude has been really good at writing and debugging the code for me.

Post reply on HN