News for hackers. Stuff that matters.
Re:EmacsConf 2020: State of Retro Gaming in Emacs by dec0dedab0de on Thursday November 26, 2020 @06:16AM (#25218926)
I wish I worked around people that used emacs so I could pick some of it up by watching them and asking small dumb questions. It seems so cool, but the decades of history make it daunting to get started on your own.
Re:EmacsConf 2020: State of Retro Gaming in Emacs by submeta on Thursday November 26, 2020 @06:29AM (#25219013)
r/emacs is a wonderful community. Also, many young people are picking it up and starting youtube channels, demonstrating beautifully how to use it. Magnar Sveen has done many excellent videos (http://emacsrocks.com/). Also, Protesilaos Stavrou on Youtube: Wonderful videos, albeit a little academic for some (but I like it a lot). Also, System Crafters on youtube: From basic to sophisticated videos.

Emacs (with its beautiful language `Lisp`) is a tool that will be with you for the rest of your life. I have seen many many tools come and go, but Emacs (just like Lisp) has the potential to be around in many decades. So it's well worth investing time in it.

Re:EmacsConf 2020: State of Retro Gaming in Emacs by dec0dedab0de on Thursday November 26, 2020 @06:45AM (#25219109)
Ive been trying, it's just that it seems like there are hundreds of things that can take 10 minutes or 10 weeks to research and learn, if you can even find out about them.

I just wish I had people in my daily life who could give me answers like "oh that's easy just do this" or "yeah this thing rules but buckle up it's gonna take some time to get down".

Re:EmacsConf 2020: State of Retro Gaming in Emacs by bloopernova on Thursday November 26, 2020 @06:48AM (#25219129)
message me on reddit, vale_fallacia. I'll be that person for you :)
Re:EmacsConf 2020: State of Retro Gaming in Emacs by NhanH on Thursday November 26, 2020 @09:01AM (#25220065)
Not the GP, but I will take up that offer if you don't mind! :)
Re:EmacsConf 2020: State of Retro Gaming in Emacs by bloopernova on Thursday November 26, 2020 @02:14PM (#25222792)
Absolutely! I hope I am able to help you out.
Re:EmacsConf 2020: State of Retro Gaming in Emacs by crankyoldcrank on Thursday November 26, 2020 @10:25AM (#25220766)
#emacs on Freenode is full of those people, including the author of the talk in the article. Friendly fellow. It's really one of the best IRC channels left.
Re:EmacsConf 2020: State of Retro Gaming in Emacs by stephen_cagle on Thursday November 26, 2020 @11:33AM (#25221369)
Wow, that Protesilaos Stavrou guy has just so many interesting things on his web site. Gets me excited to just read about all the different cool projects and technologies.
Re:EmacsConf 2020: State of Retro Gaming in Emacs by submeta on Thursday November 26, 2020 @11:49AM (#25221529)
He seems to be a thinker and philosopher who uses Emacs extensively to write and organize his thougts, and he is willing to share his learnings in excellently made videos. Btw: He seems to be an excellent Lisp hacker as well.
Re:EmacsConf 2020: State of Retro Gaming in Emacs by zupatol on Thursday November 26, 2020 @06:39AM (#25219075)
A good way to get started might be with a curated emacs configuration like doom emacs https://github.com/hlissner/doom-emacs
Re:EmacsConf 2020: State of Retro Gaming in Emacs by mkl95 on Thursday November 26, 2020 @06:46AM (#25219118)
Emacs flexibility means it's as daunting as you want it to be. I taught myself the basics years ago and ever since it has completely changed the way I view programming. Lately I'm mostly using it for ad-hoc text processing with macros, but I would love to use it as my Python / C++ IDE again some day.
Re:EmacsConf 2020: State of Retro Gaming in Emacs by wiz21c on Thursday November 26, 2020 @07:20AM (#25219325)
I use python-lsp... No that bad. Still have to figure out how to turn off the PEP 8 code style warnings because there are too many of them (I prefer to clean the code style after having working code). It's not as good as PyCharm though, but nice for a start, and rather stable.
Re:EmacsConf 2020: State of Retro Gaming in Emacs by hirple on Thursday November 26, 2020 @07:26AM (#25219372)
Curious what you prefer about PyCharm over emacs + LSP.

I'm a pretty poor PyCharm power-user, so wondering what I"m missing.

Re:EmacsConf 2020: State of Retro Gaming in Emacs by simiones on Thursday November 26, 2020 @07:32AM (#25219421)
PyCharm, like most IntelliJ IDEs, has excellent refactoring capabilities, much better than what LSP currently offers.

E.g. extract method, extract class, advanced navigation like "data flow to here" etc

They may not work in extremely dynamic Python code (e.g. they will obviously not work past an `exec`).

Re:EmacsConf 2020: State of Retro Gaming in Emacs by disgruntledphd2 on Thursday November 26, 2020 @10:06AM (#25220590)
This is the biggest flaw in LSP (for Python at least), right now.

How difficult is it to implement basic extract function/method functionality?

I'd be tempted to try doing it, as I would absolutely love to have this in Emacs.

Re:EmacsConf 2020: State of Retro Gaming in Emacs by hirple on Thursday November 26, 2020 @04:08PM (#25223538)
I'd be happy to help here too, let me know. I can try to hack some elisp together tomorrow.

Looks like rope would be a decent place to start.

Re:EmacsConf 2020: State of Retro Gaming in Emacs by simiones on Friday November 27, 2020 @07:58AM (#25228329)
I think some basic extract method has made it into lsp-mode or some enhancement, I have been seeing it for Go at least. That could serve as an inspiration.

I haven't honestly played around with it though to see if it successfully converts local variables to parameters/return values though, which would be the biggest time saver.