Live data from Hacker News

EmacsConf 2020 Talks

emacsconf.org

61–70 of 89 posts

Re: EmacsConf 2020 Talks

#61
post #57

Big fan of Sacha Chua: much to learn by way of emacs, productivity and org life https://sachachua.com/blog/emacs/

I've been dabbling with emacs for a number of years now, and I felt that my init/config file was pretty hefty at (currently an all-time high of) 186 lines. Then a few years ago I encountered Sacha's and my mouth literally dropped. I've always wanted to ask, and here's as good a place as any. Is her config an outlier in its size and breadth? I feel like it almost has to be.

I've been using Emacs for ~15 years and my configuration is more than 20k lines of code that I've personally written plus comments. Occasionally, I will factor out parts of my config and release them as Emacs Lisp libraries.

I would expect any heavy Emacs user, fully immersed in the Emacs-is-an-extensible-environment paradigm to operate in similar fashion.

Re: EmacsConf 2020 Talks

#62

"Extend Emacs to Modern GUI Applications with EAF" I hadn't heard of this one before, and it's hugely interesting. A shame that it can't ever make it into core because of licensing issues. Similarly I'd love it if it was more possible to embed Emacs into other applications, like IDEs. That way IDEs could focus on what they do well, and still have a good text editor.

lsp mode has come a long way and that feels like i am embedding and ide inside of emacs. With dap mode I get a debugger too but I havent really gotten around to learning how to set that up.

Re: EmacsConf 2020 Talks

#64
post #33
post #4

Q. Would you mind sharing your Emacs configuration files? Richard Stallman: Configuration files are personal and will not be shared. This cracked me up! xD

I simply separate user/machine specific things into separate files, and don’t commit them to public repository ( https://github.com/alexott/emacs-configs - it wasn’t updated for a long time, and it needs to be rewritten to modern stuff - first line was written 25 years ago)... But this may allow sharing, and even contributions...

I take advantage of the fact that a .emacs file has higher precedence than a .emacs.d/init.el file for this. All the common stuff lives in the .emacs.d directory and is under source control. The little bit of work/machine specific stuff I have goes in the .emacs file, which wraps a

    (load "~/.emacs.d/init")
My home machines don't need anything special, so there's no .emacs file and the .emacs.d/init.el file just gets loaded directly.

Re: EmacsConf 2020 Talks

#65
post #57

Big fan of Sacha Chua: much to learn by way of emacs, productivity and org life https://sachachua.com/blog/emacs/

I've been dabbling with emacs for a number of years now, and I felt that my init/config file was pretty hefty at (currently an all-time high of) 186 lines. Then a few years ago I encountered Sacha's and my mouth literally dropped. I've always wanted to ask, and here's as good a place as any. Is her config an outlier in its size and breadth? I feel like it almost has to be.

Ten years and just north of 1,000 lines of self-written code; 1,500 if you count the ~300 lines of custom.el and ~200 for a hastily copy/pasted copy of find-dired hacked to do Spotlight searches.

To be fair, I try to go through it every year or two and mercilessly cull everything I haven't recently used, and refactor what I do; including everything that has been in my init at some point or another would easily double, and possibly even triple, this number.

Re: EmacsConf 2020 Talks

#66
post #11

Earlier quoted context omitted.

Mofo got some balls on him. I'm surprised he was allowed to speak. The current practice for CoC enforcement at conferences is leaning toward preemptive: you can be banned for being considered likely to break the CoC.

That is, I think, a great shame.

No doubt it is a great shame. Everyone is so very sensitive that there is no room for anything but groupthink.

Re: EmacsConf 2020 Talks

#67
post #57

Big fan of Sacha Chua: much to learn by way of emacs, productivity and org life https://sachachua.com/blog/emacs/

I've been dabbling with emacs for a number of years now, and I felt that my init/config file was pretty hefty at (currently an all-time high of) 186 lines. Then a few years ago I encountered Sacha's and my mouth literally dropped. I've always wanted to ask, and here's as good a place as any. Is her config an outlier in its size and breadth? I feel like it almost has to be.

If you live in Emacs and interacting with it every day there is always something to tweak and it just grows organically. I don't think a big config file is an outlier. Not because it's necessary but simply because it's so much fun to scratch a small itch with a few lines of elisp which you couldn't do in other editors.

My config[0] for example is 10k lines with >1k commits.

[0] https://github.com/dakra/dmacs

Re: EmacsConf 2020 Talks

#68
post #3

No talk on lsp-mode / eglot?

What's there to talk about? You install it and suddenly you have the same programming language features that everyone else does, but in an editor that can actually manipulate text.

For me it was easy to configure and use. But IMHO is a big game changer for Emacs, so was surprised not seeing a talk about it in the conf.

Re: EmacsConf 2020 Talks

#69
Today's Emacs experience. "I have a lot of stuff I have to study for work.. I wish there was an efficient way to make my notes into an anki deck.” ” oh theres a blog post about org mode captures too export in anki readable HTML” .. half a day and no study later I have something not half as good as the blog described kind of working.. the blog just says look at my init.el of you don't get it.. who has the time

Re: EmacsConf 2020 Talks

#70
post #57

Big fan of Sacha Chua: much to learn by way of emacs, productivity and org life https://sachachua.com/blog/emacs/

I've been dabbling with emacs for a number of years now, and I felt that my init/config file was pretty hefty at (currently an all-time high of) 186 lines. Then a few years ago I encountered Sacha's and my mouth literally dropped. I've always wanted to ask, and here's as good a place as any. Is her config an outlier in its size and breadth? I feel like it almost has to be.

Keep in mind the org stuff makes that config file look much bigger than it really is.

Though, 186 does sound surprisingly low if this is truly just 186 lines applied to vanilla Emacs.

My bindings file is a little over 200 (one binding per line). custom-set-variables block is 170. Total across a few files is around 3-4k. But some of that is config code, patches/modified versions of functions from other packages and simple wrappers. It accrues rather easily. Actual original code that does something non-trivial is probably below 1k.

Post reply on HN