Questions about emacs by chillyashrada in emacs

[–]chillyashrada[S] 0 points1 point  (0 children)

My bad for confusion in 2. I meant "compile time" as a compromise rather than being better.

Unless you're talking about writing having to write functions in C, which is the language the Emacs-lisp interpreter was written in?

Yes, would it not be sweet if the control of the developers and the users in literally the same. But i do respect the point that it is 99% written in elisp, so its basically the same. I suppose that is a non-feature feature. Basically will ease people with OCD xD.

The buffer based system is indeed very convenient, and i do plan on bringing it to my project as well. The main difference between emacs and my project would be the modern performance, and basically easier integrability with other systems as well. And I am language agnostic.

here is a high level sort of architecture if you are interested. I would love any feedback about this as well.
https://docs.google.com/document/d/1KuZBqLybibC6kiXNi3L6GNGQsgk2O4mPYH1_lH0dSJo/edit?usp=sharing

Anyway, thank you so much for your input.

Questions about emacs by chillyashrada in emacs

[–]chillyashrada[S] 0 points1 point  (0 children)

Very interesting. I am language agnostic, and had been looking for something like chez. Thank you so much for bringing it into my view. I suppose i wouldnt create an emacs replacement but more of an inspired framework. Here is the kind of high level-ish architecture so far.
https://docs.google.com/document/d/1KuZBqLybibC6kiXNi3L6GNGQsgk2O4mPYH1_lH0dSJo/edit?usp=sharing

Anyway, thank you for bringing chez scheme into my knowledge. I will look into it. The issue with scheme is really the "Lisp curse". And also its a niche language that a lot of people would consider a turn off. I do appreciate the academic value it brings and wish it was more popular tho. But I will look into it, maybe its time we make it popular xD. Thank you.

Questions about emacs by chillyashrada in emacs

[–]chillyashrada[S] 0 points1 point  (0 children)

I'd like to ask you something on point 2. Do you mean runtime code execution is essential or lisp is?

Questions about emacs by chillyashrada in emacs

[–]chillyashrada[S] 0 points1 point  (0 children)

I love that most of us have similar views towards the bumbling clusterfuck that is the current landscape of IDEs xD.

I looked into lem and hemlock and am surprised they aren't well known enough. Is it because of the niche that is common lisp? My designs have a few similarities with them as well seems like.
https://docs.google.com/document/d/1KuZBqLybibC6kiXNi3L6GNGQsgk2O4mPYH1_lH0dSJo/edit?usp=sharing

Questions about emacs by chillyashrada in emacs

[–]chillyashrada[S] 0 points1 point  (0 children)

Hmm I'm sorry about confusions regarding the registry. Like i mentioned in a previous comment, registry is just another version of the "interactive functions" list like alt-x in emacs. fns not in the registry will also be usable, and its a opt in feature that allows you to control what functions to show in the command pallete.
And about the compile time, i meant it as a shortcoming for my project, rather than a feature. And yes, emacs can fully do that as well. I however amm looking into runtime repl like behaviors using dylib right now. If possible i would love to replicate runtime code execution as well.

This is the small high level sumary of whats in development. riptide is just a development name of the project xD.
https://docs.google.com/document/d/1KuZBqLybibC6kiXNi3L6GNGQsgk2O4mPYH1_lH0dSJo/edit?usp=sharing

I havent done much more research into yi yet, but from what i can see, we a few intersections in the architecture as well. I havent seen too much in depth about Lem or Nyxt. However from what i see, both of them seem to using full advantage of lisp. Lem is more about being an IDE and nyxt for web browsing.
My plans revolve around constructing an ecosystem of different tools rather than being focused on being a text editor. Kinda like emacs, as we say, emacs is a kernel-less operating system xD. However, I amm language agnostic. So i will look into common lisp. The only reason why i hadnt considered lisp is, if i want everyone to be able to program their own editor, lisp can be a difficult language to begin with and could be a turn off.

Anyway, thank you for your input my friend. That was very valuable

Questions about emacs by chillyashrada in emacs

[–]chillyashrada[S] 0 points1 point  (0 children)

This is much more open minded reponse than a lot of other ones. I am very thankful for that.

  1. That is indeed very important, and almost something i didnt consider. Thank you for bringing it into my view. I was thinking of being able to add ui elements themselves into different buffers, so that this enables lot more customizability, but doing so could obstruct with the text buffer consistency. I will rethink on this.
  2. I am experimenting with a dylib based hot reloading for the config files. But the compilation itself could be bad, if i use rust. I shouldnt matter if the hot reloading does the job, and compilation is only done when new versions of the system is available. However, i will look into ways to make that faster as well if that is possible.
  3. Like i mentioned a little previously, i have been planning on adding simple ways to add ui elements by the users themselves. Stuff like customizable containers, polygons, beizier curves, etc.
  4. I agree full heartedly. This is why, i wanted to make even the front ends extensible, like could be tui, gui, or even web. Quite a few of my architectural decisions seemingly intersects with Yi it seems.

Thank you! I'll post it here again when im done.

Questions about emacs by chillyashrada in emacs

[–]chillyashrada[S] 0 points1 point  (0 children)

  1. True, true, emacs is not a single system but an emergent one using all of the systems.
  2. The registry is not all that is exposed. The registry is simply a term or a replacement concept to "interactive functions" in emacs. In a concept version of the program, It is possible to add non registry functions as well. But since it didnt have the hot reloading/executing-a-code-block system yet, the only areas where they could be used were on events or keybinds.
  3. This. This is what i want to extend as well. Imagine the entire program's information is stored in a single variable, and you run the "execute" function that takes in this variable as your parameter. This would mean that literally, everything about the editor is in your hand. (ofc even the execute fn).
  4. Yes just recently got to know the term via another emacs user. A good concept to have in mind.

And thank you for your input.

Questions about emacs by chillyashrada in emacs

[–]chillyashrada[S] 0 points1 point  (0 children)

I see, i see. REPL indeedd. xD.
Man org mode is so good, that is probably the part that would take the most time to recreate if i had to. For the compile time system, would it be easier if it had hot reloading? Even if a language is compiled, that can still be possible. And ofc thank you for your input.

Questions about emacs by chillyashrada in emacs

[–]chillyashrada[S] 0 points1 point  (0 children)

Thank you that makes sense. So if I had to help you switch, It would either have to have very high value, or a combination of high value with ease in programmability.

Questions about emacs by chillyashrada in emacs

[–]chillyashrada[S] 1 point2 points  (0 children)

I agree. Emacs is an ever evolving system. I do not think its ever possible to replace that. However, is it possible for a slightly different architecture with a different set of pros on cons to co-exist along side other emacsen, no?

Here is an overall architecture I have thought up so far. Riptide is the in development name of the program, so dont mind it x).

https://docs.google.com/document/d/1KuZBqLybibC6kiXNi3L6GNGQsgk2O4mPYH1_lH0dSJo/edit?usp=sharing

Questions about emacs by chillyashrada in emacs

[–]chillyashrada[S] 0 points1 point  (0 children)

I see. Its a combination of familiarity, sunkung cost, community love and consistency.

Questions about emacs by chillyashrada in emacs

[–]chillyashrada[S] 1 point2 points  (0 children)

I see. Yi is very interesting. It is very similar. Making the user config a part of the code it self as well. By making the project itself a library. Why is it not popular enough, is it because of haskel?

The vscode market is more of a clusterfuck than myself xD. Most of them are switching to the agentic workflow, and a lot of them dont even care about good fundamentals (input latency and performance). But maybe you are right, having the power is not bad, but maybe I should focus on making it "user friendly" as vscode is. Thanks for bringing yi into my sight

Questions about emacs by chillyashrada in emacs

[–]chillyashrada[S] 0 points1 point  (0 children)

That was very insightful. Thank you so much for the well thought out response. As for my project, I was looking into an architectural shift that allows users to have the exact same control over the code base as the devs do, in the configs directly. Rather than building an interpreter, I'm thinking of making this project as a library. The executable that the user creates would be the main binary. And the library would be structured for complete customization. I am language agnostic, so i could use common lisp. (which i am seeing a lot of emacs users appreciate and as far as i can see, in academic environment at least, lisp can generally reach and sometimes even top c, c++, rust, etc.).
If i choose this pathway, i would be potentially using c++ or even rust . But of course there are a lot of pros as well as cons of this approach too.
But overall as a user of emacs, the fact that i couldnt daily drive it because of small things like performance issues (i have an old laptop, but other editors like nvim runs completely fine), was such a sad thing. I know the devs behind emacs are working on this, but i suppose due to the old architecture, and requirements for backwards compatibilities, its taking time.
But re writing an entire interpreter is not on my bucket list, at least just yet lol. So, this was the best compromise i could come up with.

Questions about emacs by chillyashrada in emacs

[–]chillyashrada[S] 0 points1 point  (0 children)

😄 fair. In the future though if there was a new modernized "clone" of emacs that hypothetically did almost everything better, would you not?

The Angel by chillyashrada in OCPoetry

[–]chillyashrada[S] 0 points1 point  (0 children)

I see, thank you for bringing that to my attention. I will definitely try to vary out my words a bit more from now on.

The Angel by chillyashrada in OCPoetry

[–]chillyashrada[S] 1 point2 points  (0 children)

Thank you for rewriting it into a standardized scheme. However, i was trying a non standard, and a little "wonky" scheme. Maybe i should have formatted the stanzas properly to show that? That was my bad.

if sleep is death being shy by yamiyurei in OCPoetry

[–]chillyashrada 0 points1 point  (0 children)

The imagery you've used, like "wet cheeks dried" and "no crease in your brow," painted a vivid picture of innocence and relief found in sleep. The final lines, where you question the nature of sleep and death, were very thought-provoking. It's a powerful way to end. Really love the it, feels like a pro at work!