News for hackers. Stuff that matters.
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by db48x on Sunday October 23, 2022 @04:12PM (#33309855)
Email is Email. Either you reply to an email from Github or an email from the mailing list.
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by Myrmornis on Sunday October 23, 2022 @04:39PM (#33310058)
You don't use GitHub/GitLab/SourceHut/Codeberg by "replying to emails". You use them by:

- pushing branches to your own fork so that others can see your work while it's in draft form

- opening PRs against the main project, and writing a nice PR introduction describing the changes that you've made, their background, and motivation, drawbacks and hesitations, etc.

- participating in a feedback conversation with the maintainers and other developers with comments attached to specific lines in the code (at a specific revision), as well as attached at diff level

- having the project CI run against your branch to check that all tests pass, across a collection of different OSs and architectures. (You can also run their CI in your own fork to check it works there before even opening a PR).

- opening Issues, and discussing with other developers

- and many other things

- having the ability to write your text comments along with images, videos, and syntax-highlighted code fragments.

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by rekado on Sunday October 23, 2022 @05:19PM (#33310348)
You can still do that with your fork on a forge. And all that other stuff relating to communication (commenting on specific lines of a change set, writing a nice introduction describing the changes you've made, discussing with other developers, etc.) is possible just as well with a patch-via-email workflow.
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by db48x on Sunday October 23, 2022 @05:21PM (#33310381)
No, you can do all of that on the mailing list too.

- Send the mailing list an email with a url for your repository. Request that they pull from it. We call this a “pull request”, rather than a “Pull Request”, but it’s the same thing.

- Send an email to the development mailing list, making sure to write a nice introduction describing the changes that you’ve made, their background, motivation, drawbacks, hesitations, and so on.

- participate in feedback conversations with the maintainers and other developers with comments situated next to quotations of specific lines of code from specific revisions or specific diff hunks.

- Just run “make check”. 99% of all of the code in Emacs is written in Emacs Lisp, which is platform–independent. If the tests pass on your own computer you can rest assured that they will pass on everyone else’s too.

- sending emails to ask questions and discuss them with other developers

- feel free to include any type of media in your emails, all but one participant in the mailing list can view them

- and many other things

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by count on Sunday October 23, 2022 @05:34PM (#33310495)
> - Send the mailing list an email with a url for your repository. Request that they pull from it. We call this a “pull request”, rather than a “Pull Request”, but it’s the same thing.

This is the 'we have PRs at home' point of view.

It's not WRONG, but I think it does miss the point. 'Just do everything different from what tons of other folks are doing day in and day out' is not the best answer.

The project is well within it's rights to do so, but, there's a reason GitHub specifically is super popular, and it's mostly to provide structure and avoid the pain in the neck that the 'do it by email' and 'just use these different things' approach while collaborating.

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by db48x on Sunday October 23, 2022 @05:50PM (#33310627)
> 'Just do everything different from what tons of other folks are doing day in and day out' is not the best answer.

Following the herd is definitely the wrong answer.

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by cercatrova on Sunday October 23, 2022 @07:15PM (#33311232)
Well, GNU does make both.
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by db48x on Sunday October 23, 2022 @08:01PM (#33311521)
Ok, that made me laugh.
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by dagenix on Sunday October 23, 2022 @07:24PM (#33311279)
Following the herd absolutely can be the right answer. Especially if the question is how to reduce friction for contributors.
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by db48x on Sunday October 23, 2022 @08:19PM (#33311636)
Everyone already has email. Not everyone wants to sign up for yet another web service. Email _is_ the low–friction option. Emacs even has a built–in way for any user to report a bug: just run `M-x report-emacs-bug` and it will give you an email template to fill out right there in your editor. No need to even open a separate program.
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by BeetleB on Sunday October 23, 2022 @10:34PM (#33312418)
Everyone has email. Yet less than 5% of developers have set up email workflows so that they're not drowning in patch/mailing list emails. Organizing one's email does take a fair amount of effort - an effort that you don't have to make using services like Github.
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by db48x on Sunday October 23, 2022 @10:52PM (#33312509)
Configuring your email client to sort and categorize your emails for you should be easy. If it’s not easy for you, then I suggest that you are using the wrong email client. Also, I note that Github emails you every time anyone interacts with your pull request, just the same as if it were a mailing list.

I recommend a client called Gnus, which can score messages based on their content, and then sort by that score. That way messages about things you are interested in (such as your own patches, features that you care about, etc) float to the top.

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by machinawhite on Monday October 24, 2022 @04:13AM (#33314104)
Would you enlighten us what email clients are so amazingly good, because everything other than Mail.app is a traumatizing experience that I'm trying to avoid.

Gnus doesn't look very user friendly

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by db48x on Monday October 24, 2022 @05:10AM (#33314405)
I really only know Gnus; it’s been a decade or two since I used anything else. I am also not really sure how to judge user–friendliness in this case. Now that I have customized it to my liking, Gnus displays exactly the information I want and has exactly the operations I want bound to keys that I like. That makes it very friendly to me, the only user I _really_ care about.

I think the design goals of Gnus were not about allowing the user to get started quickly by having the same buttons as every other email client, but instead empowering the users to extend Gnus so that it does what they want. As a result, it may take longer to learn how to use Gnus but the ceiling is much, much higher.

However, for bulk sorting of email I should actually have mentioned Sieve. It’s a standardized configuration language you can use to tell your server how to sort your mail, so that it is already done before your email client even logs in. Most IMAP servers support it, and it is pretty easy for email provide access to it.

You can write simple rules like this:

    if address :is "From" "[email protected]"
    {
        fileinto :create "INBOX.Bugzilla";
    }
    elsif header :contains "list-id" "emacs-devel.gnu.org"
    {
        fileinto :create "INBOX.emacs-devel";
    }
and so on until all of your mail is sorted how you want it. It’s not a full programming language, so it cannot do everything, but it’s quite capable and pretty well standardized so you can take your filter rules with you if you change email providers. I use it even for simple rules like this so that all I need to do is paste them in when I move to a new provider. One doesn’t need to do that very often, but it only takes seconds to do instead of minutes or hours to reenter every filtering rule in a new UI.

My current email provider is Fastmail. I discovered after I signed up that most of their mail–filtering settings get turned into Sieve rules that are shown to you when you go to add your own rules. I really like this because you can see exactly how spam is handled, how your vacation responders are implemented, how email from blocked senders is discarded, etc, etc.

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by count on Tuesday October 25, 2022 @09:38AM (#33330295)
GitHub flow: sign up and provide a username/password, magic happens and collaboration is easy

Gnus flow: signup for mail service that lets you use a bunch of other gnu tools and client side software you have to install on every machine you want to do any kind of collaborative work from, write some code to filter your email, etc., etc. and then figure out the individual mailing list nuances (patches go here, discussion here, etc. - they're all potentially unique and beautiful snowflakes!).

I'm not trying to yuck anyone's yum, but you being the only user you care about is specifically why GitHub has become what it has. They care about all the potential users :)

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by db48x on Tuesday October 25, 2022 @05:01PM (#33336133)
I would argue that Github does not care about individual users. They treat everyone exactly the same, and not well at all. Any project relying on Github faces existential risks that simply don’t exist otherwise.
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by BeetleB on Tuesday October 25, 2022 @11:17AM (#33331738)
Pushing Gnus is immediately losing 99% of developers.

I've used Gnus. It's crazy powerful. But it is not simple to configure. Using notmuch + Python scripts for filtering is way easier, and even that is more than what 95% of developers are willing to do.

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by db48x on Thursday October 27, 2022 @09:03AM (#33356859)
I can only recommend Gnus, because I don’t know any other email clients. I agree that it isn’t for everyone. In this case I recommended it because someone claimed that they couldn’t use email for development because they would end up spending all of their time managing their email. I’m confident that Gnus’ scoring feature would fix that, but at the same time I don’t really believe that the complaint was a genuine one; all email clients have some form of filtering that can do 90% of the work for the user. And most servers support Sieve, which works regardless of what client you use.

BTW, Sieve beats an ad–hoc Python script any day of the week :)

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by ncouture on Sunday October 23, 2022 @07:37PM (#33311354)
> there's a reason GitHub specifically is super popular, and it's mostly to provide structure and avoid the pain in the neck that the 'do it by email' and 'just use these different things' approach while collaborating.

Email is superior to web applications. It's simple text. I would argue the reason Github is so popular in your context is that it's good for the masses, and they don't care to find out how to write a proper email.

I'm happy with the end result though as in my opinion, what you all call a limitation is akin to a selection process where devs who prefer web apps to standard internet protocols are elliminated.

P.S. Please bring back usenet and rm -rf all online web forums, come back to IRC and drop all the slack-like alternatives that spread communities apart so much so that they are almost all inactive and useless.

I say, shame on the web!

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by xfallow on Sunday October 23, 2022 @07:26PM (#33311292)
The friction there and the lack of discoverability is enough of an annoyance to me that I don't bother trying to get any of my modifications merged. I feel like plenty of other people feel the same and I'm just hoping Neovim eventually reaches feature parity because the community feels so much more inviting.
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by alwillis on Monday October 24, 2022 @04:09AM (#33314073)
I'm just hoping Neovim eventually reaches feature parity because the community feels so much more inviting.

Not sure what feature parity would look like… Neovim has had a built-in LSP client for quite a while.

I do agree that the community around Neovim feels super inviting.

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by db48x on Monday October 24, 2022 @04:33AM (#33314212)
Hmm. What do you need to discover in order to send in a patch?
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by xfallow on Thursday October 27, 2022 @10:05PM (#33366680)
Being able to do a git log on the neovim source code is fantastic
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by db48x on Friday October 28, 2022 @11:01AM (#33372229)
Are you saying that you are unable to run `git log` on a clone of the Emacs repository?
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by mrelectric on Sunday October 23, 2022 @08:02PM (#33311526)
I get your point but why do you think that's what they need and that you're the target audience in the fist place?
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by st3fan on Sunday October 23, 2022 @04:40PM (#33310064)
Nice troll.