17 ms·
Emacs 29 is nigh
- deagle50 4y agopixel-scroll-precion-mode is a game changer for those who scroll with a track pad a lot. I just wish it would render at full display refresh rate.
- kcbanner 4y agoCheck out good-scroll: https://github.com/io12/good-scroll.el https://github.com/io12/good-scroll.el You can configure a custom refresh rate.
- LanternLight83 4y agoThis, pure GTK on Wayland, and background-alpha are all game-changers for specific folks c:
- tgv 4y agoOne unrelated thing: the other day, I wanted to download emacs for windows. I got redirected to an http site. When I go through the list of GNU mirrors, I see this: 17 times ftp 74 times http 71 times https and 65 time rsync The majority (when using a browser) is "not secure". That seems unnecessary, and in this day and age, unwise.
- medstrom 4y agoThis sort of thing is not as much an issue as you'd think, because at least in Linux world, most automated downloads will compare the SHA256 sum with a reference sum retrieved from a HTTPS site (there you go!), if not the GPG signature. If downloading a file manually, the download pages also tend to recommend you follow provided instructions for doing this yourself.
- tgv 4y agoThe download page randomly picks a mirror, so chances are you get an insecure connection. And the signature won't do much good if it's http or ftp too. For Linux it may work, but for Windows it doesn't.
- medstrom 4y agoThe signature works fine over HTTP/FTP because it needs to be combined with a public key you already have (e.g. a distro package manager will already have the public key for all the packages), or a public key you will go get from a different source, e.g. https://sks-keyservers.net https://sks-keyservers.net, and it's hard for a middle-man to compromise both.
- BeetleB 4y agoI would recommend emax64 for Windows, not the standard Windows version. https://github.com/m-parashar/emax64 https://github.com/m-parashar/emax64
- Tomte 4y ago> Native access to SQLite databases I'm excited for this. May there be a nice database CRUD mode in the future.
- matthews2 4y agoThere's sqlite-mode, try it with M-x sqlite-mode-open-file :)
- Tomte 4y agoThat's only for display, or am I mistaken? Can I change entries?
- ParetoOptimal 4y agoIIRC i use sql-sqlite for opening sqlite emacsy database shells.
- ParetoOptimal 4y agoOh... the new one is different somehow it seems. I'll have to try it.
- geospeck 4y agoI am not quite sure how this particular feature will look but Emacs can be already used as a SQL client. Here is a short demo https://www.youtube.com/watch?v=D97vDu_BhwA https://www.youtube.com/watch?v=D97vDu_BhwA Here is an introduction blog[1] and the related mode[2] [1] https://emacsredux.com/blog/2013/06/13/using-emacs-as-a-database-client https://emacsredux.com/blog/2013/06/13/using-emacs-as-a-data... [2] https://github.com/emacs-mirror/emacs/blob/master/lisp/progmodes/sql.el https://github.com/emacs-mirror/emacs/blob/master/lisp/progm...
- buescher 4y agoEmacs-cess!!!
- ilovecaching 4y agoI highly recommend modern Emacs over VSCode. If you don't want to tinker, Emacs has multiple levels of preconfigured distributions like Prelude, Nano, and Doom Emacs that give the same out of the box working experience. Modern Emacs includes all of the great features of VSCode, plus much more. You get things like: - LSP support for completion, refactoring, listing. - Tree sitter support for super fast highlighting. - File supporter just like VSCodes. - Project management tools. - Fuzzing finding for everything, including files, commands, and buffers. - Probably the best git client out there (magit). It's seriously magical. - Terminals (can pipe terminal contents directly into other buffers). - DAP mode for debugging, ctags, cscope. It's all FOSS, worked on by a non-profit foundation and volunteers, it can be used as a GUI or in the terminal, and it's insanely extensible thanks to it being a small C core running a lisp environment. Lisp is easy to learn and fun, and if you don't like lisp there's still a bazillion more packages you can install for extra features.
- kneebonian 4y agoSwitched to Doom Emacs about a year or two ago it has been the biggest improvement in my tools as a developer since becoming proficient with the CLI. That being said there is a bit of a learning curve.
- luxcem 4y agoThe learning curve can be steep especially if you are used to other keybindings. For vim users, I heard only good things about evil-mode (and it's the default in doom). I personally use default emacs bindings (with a switch between Meta and Ctrl as the Ctrl key is usually poorly located on keyboards).
- deleted 4y ago[deleted]
- wicked 4y agoIf you don't use the caps lock, you can easily change it to be another Ctrl key. It's perfectly positioned for regular use, and how often do you really use the caps lock key? It's great for any application where you use keyboard shortcuts.
- modernerd 4y agoWow, Eglot/Treesitter/better package support in 29 make me want to try Emacs again. > Install packages from source with package.el Emacs users updating to 29: do you plan to use this instead of Straight now? If not, can you help me to understand what more Straight provides? Emacs on macOS users: do you generally compile new versions of Emacs from source, or wait for ports like Mitsuharu Yamamoto's one[1] to update? [1] https://bitbucket.org/mituharu/emacs-mac/src/master/ https://bitbucket.org/mituharu/emacs-mac/src/master/, used by https://github.com/railwaycat/homebrew-emacsmacport https://github.com/railwaycat/homebrew-emacsmacport
- fayten 4y agoMy preferred distribution for emacs on macos is: https://github.com/d12frosted/homebrew-emacs-plus https://github.com/d12frosted/homebrew-emacs-plus It's well documented and supported, I highly recommend it!
- mark_l_watson 4y agoThanks!! I hadn’t seen this, will try it today.
- letmeinhere 4y agoyeah, options for native compilations on/off, nice custom icons, comes with a `brew service`; very solid
- xenodium 4y ago+1 I’ve been using native comp (and other goodies) on M1 via emacs plus https://xenodium.com/emacs-plus-with-native-comp/ https://xenodium.com/emacs-plus-with-native-comp/
- mark_l_watson 4y agoI just started using Straight a few months ago, best improvement that I have experienced in 40 years of Emacs use. I will definitely try switching to built in support for package.el, as well as switch to eglot and other new built-in features. I prefer shorter Emacs config files.
- yewenjie 4y agoIts great to see both eglot and tree-sitter being merged. However, I am unhappy about the state of 'emacs configurations/distributions' right now. I have been using Doom Emacs, but the development is pretty much stalled there [0], and I don't think there is any distribution that is keeping up with these cutting-edge features (compared to the NeoVim ecosystem, let's say). Somehow it feels like I was seeing a lot more activity about Emacs configurations two-three years ago. > Compile EmacsLisp files ahead of time Ooh, this is interesting. Hoping to see a derivation in https://github.com/nix-community/emacs-overlay https://github.com/nix-community/emacs-overlay soon. [0] I am not complaining though as Doom was the main author's personal config from the get-go. I am just pointing out a void.
- YetAnotherNick 4y agoIt's definitely not stalled by any metric: https://github.com/doomemacs/doomemacs/commits/master https://github.com/doomemacs/doomemacs/commits/master
- e3bc54b2 4y agoIt is not stalled, but as it currently stands, Henrik is bottleneck. He used to work like a fiend, but obviously its not sustainable for one guy to keep carrying on for something with as large scope as an Emacs distribution. There are plans to split doom-emacs' core and contrib modules in separate modules, but no idea what the progress is on that.
- yewenjie 4y agoI would argue very few of those commits are feature commits of late. Once again, I am deeply thankful to Doom Emacs, and in no way 'demanding' anything from the project.
- smsx 4y agoActually, in the last few months there has been an absolute ton of feature work. A very sophisticated generational profile system was introduced, and the entire framework is being split into separate packages to enable more stable versioning. This is all with the goal of reducing the bus-factor from being just Henrik.
- jimbokun 4y agoThis sounds interesting: > This comes with a new sqlite-mode which allows you to explore SQLite databases within Emacs and to interact with them. Check out the sqlite-mode-open-file function!
- pawelkobojek 4y agoI love that eglot is being incorporated into emacs, though I myself use lsp-mode. Does anybody know how advanced eglot is? As far as I hear, it doesn't support multiple language servers which seems like a showstopper for web dev these days, e.g. I usually have ts lang server + tailwind lang server running at the same time when doing web dev.
- tetris11 4y agoSimilar boat, though looking forward to the native eglot as lsp-mode always had some config problems and adding a custom mode was pure headache
- treeblah 4y agoAs far as out-of-the-box support, I think it works great. Much easier to configure than lsp-mode. However, for my uses with a Ruby/React+TSX setup the performance was lacking on a large codebase. I swapped back to lsp-mode and the experience felt smoother. IIRC the author's stance on previous discussions around multiple language servers was to rely on flymake instead, since the previous discussion centered around ESLint + TypeScript. Tailwind is a bit of an issue in the ecosystem right now, but you may want to try https://github.com/merrickluo/lsp-tailwindcss https://github.com/merrickluo/lsp-tailwindcss.
- bergheim 4y agoI am loving all this emacs love lately (I am an emacsophile), but I do find all this attention it is getting suddenly a bit surprising. Is it just that "long lines, LSP, fast syntax hightlighting" is making new people interested, or is it just us neckbeards coming out of the woods? I mean, many of these things are just a package-install away right now. I seldom see vim put in the same lime-light, for instance. Or maybe I am just more attentive to the coverage now?
- treeblah 4y agoFor me its been the questionable stewardship of vscode (https://github.com/omnisharp/omnisharp-vscode/issues/5276 https://github.com/omnisharp/omnisharp-vscode/issues/5276) driving me away from vscode and the Emacs from Scratch videos from the System Crafters youtube channel driving me towards Emacs. When I was looking for alternatives I stumbled on those videos and they blew me away. Also Emacs 28/29 has been way more welcoming and easy to get started with than when I first tried 8 or so years ago.
- ews 4y agoPeople like David from System Crafters and Prot are definitely doing a lot to bringing Emacs backs to the masses. They are a visible manifestation of the technical (and media) quality of part of the community. I do not think they get enough credit.
- Apo1lom 4y agoI started using doom emacs cause of distrotube. Switched to vanilla emacs with the help of David
- bergheim 4y agoHow people expect anything else from a huge corporation is mind-boggling to me. They open source something and people think they are being alturistic. Just like android. You start with open source, then move more and more things behind the corpwall. Emacs is free and is free for life. Also Davids channel is most excellent. There's a discord channel where people are very friendly and helpful as well.
- teucris 4y agoWatching the Emacs community, I’m always just blown away by the love and adoration it gets. It’s clear to me that there’s something magical in it, but I can’t seem to tap that magic for myself. I’ve tried - really tried, including relearning lisp - to adopt Emacs roughly four times over my career; it never stuck. I understand the basic benefits, eg keyboard-optimized workflows, deep customization/malleability, etc. But despite my attempts, it just isn’t… accessible to me. What the heck am I missing? Should I just recognize that it’s just not for me?
- throwanem 4y agoThis is a tough question to try to answer! I guess I'll cheat by asking one of my own: Can you characterize what about Emacs has put you off? It took me a few tries too, back in the late noughties, before I finally found it "clicking" with me. I have a pretty good sense of what made that possible, but no idea if your experience is at all similar, so I hesitate to suggest anything in advance of getting a better sense of what I'm suggesting about.
- alexyz12 4y agoI think it's the single tool for many uses thing. It's somehow more satisfying for some chef's to use, love, and care for a single knife to do everything in the kitchen than to buy 100 different chopping products. Emacs is the same way for people who love to build their tool and use it for everything. If you don't feel that way you probably won't see the point which is fine.
- haolez 4y agoI was an avid user and it's amazing how it's able to port abstractions between its various modes. For example, you can use an auto complete plugin that replaces text with regexes to rename a batch of files. But nowadays I tend to prefer technologies that work reasonably well with a set of sane defaults. Emacs works really well when you are working on really hard problems and programming fringe things from scratch, but it pales in comparison to the productivity of simple no code tools that's been flourishing recently. That's the experience for the kind of work I've been doing recently, which are mostly CRUD apps to support a business. It might not be true in other domains.
- ParetoOptimal 4y agoNew and returning users don't forget to try: C-h q (translated: Ctrl+h )
- chungus 4y ago>For all three HaikuOS users out there, good news, you now have access to Emacs! (In all seriousness, I should check out HaikuOS one day) That's great news!
- hanafudafan 4y agoWorked in the terminal before, but this is a great improvement.
- ww520 4y agoThe language support is great with Emacs 29. Hope it work well with LSP modes/servers. On a tangent anyone knows a good LSP setup or LSP server for Javascript?
- treeblah 4y agoI use web-mode + typescript-language-server for React+TSX. Whether or not you choose to use eglot or lsp-mode, I'd still recommend following the lsp-mode performance guide: https://emacs-lsp.github.io/lsp-mode/page/performance/ https://emacs-lsp.github.io/lsp-mode/page/performance/. Those tips are useful for all setups. (use-package web-mode :ensure t :mode (("\\.ts\\'" . web-mode) ("\\.js\\'" . web-mode) ("\\.mjs\\'" . web-mode) ("\\.tsx\\'" . web-mode) ("\\.jsx\\'" . web-mode)) :config (setq web-mode-content-types-alist '(("jsx" . "\\.js[x]?\\'")))) (use-package eglot :ensure t :hook (web-mode . eglot-ensure))
- ww520 4y agoI see. Use a Typescript LSP server. Thanks.
- jpe90 4y agoI really want to use Emacs but I can't get Company + any LSP to come close to vs code or coc.nvim. When I configure company to trigger instantly on a single keystroke, Emacs completely locks up pretty much every time I hit a key.
- EXHades 4y agoyou can try https://github.com/manateelazycat/lsp-bridge https://github.com/manateelazycat/lsp-bridge
- jpe90 4y agoWhen I wrote that comment, in the depths of my soul, I knew someone would give a solution that needs me to invest more time in figuring out how to incorporate it into my oversized configuration. But seriously, thank you, that is the performance I was looking for.
- BeetleB 4y agoYou can use Emacs for things other than programming :-) Although I mostly use Emacs for my Python work, I still would use other IDEs for C++ work.
- jpe90 4y agoEmacs can and should be a good choice for programming though!
- BeetleB 4y agoEmacs should be a good choice for everything, which is my point :-) Just because you can't easily get it to be great at one thing (lsp) doesn't mean it needs to be abandoned for everything else.
- jpe90 4y agoLSP is so much better than alternatives to work with that I feel compelled to make it work and work well. Even for python, running pyright pays dividends for me. But luckily lsp-bridge looks promising so I don't feel like I need to jump ship for VS code quite yet.
- znpy 4y agoI’ve seen various opinions about eglot vs lsp-mode… anybody care to explain if eglot is better and in general why it was chosen for inclusion in emacs?
- terminal_d 4y agoAFAIK License + Maturity
- znpy 4y agoThanks!
- G3rn0ti 4y agoEglot does not have as many dependencies as lsp-mode and was designed to work closer with Emacs built-ins. Lsp-mode comes with many non-standard gui extensions — with some of them being quite cool, honestly — but they make the setup more complicated. Eglot supposedly just works out of the box.
- znpy 4y agoThanks!
- 22SAS 4y agoCurrently on Emacs 28, on my personal machines. I see that there is a Emacs 29 pretest version available, for Windows. Are all Linux users building Emacs 29 from source?
- NoGravitas 4y agoMostly, probably. There's a ppa for Ubuntu and a copr for Fedora; I wouldn't be surprised if other distributions had 3rd party emacs-snapshot repositories, too.
- Syntonicles 4y agoI'm on Windows but use WSL exclusively. It opens the frame seamlessly. I'm about to build 29 from source because my Ubuntu ppa doesn't have a prepackaged 29 build. I personally believe it's a good thing for a developer to have an intimate relationship with the construction of their primary tooling. It feels right to me, even if it hurts adoption.
- tmalsburg2 4y agoI'm building from source because I want the latest features and bug fixes. It's really not that complicated. On Ubuntu, the following builds and installs Emacs into your home directory: sudo apt-get install build-essential sudo apt-get install libgtk-3-dev libtiff5-dev libgif-dev libjpeg-dev libpng-dev libxpm-dev libncurses-dev libgccjit-11-dev libgnutls28-dev texinfo git clone https://git.savannah.gnu.org/git/emacs.git cd emacs ./autogen.sh ./configure --with-native-compilation --with-cairo --prefix=$HOME/usr make -j 4 # testing: ./src/emacs -Q make install To update: git pull make clean ./autogen.sh ./configure --with-native-compilation --with-cairo --prefix=/home/malsburg/usr make -j 4 # testing: ./src/emacs -Q make install
- klibertp 4y agoBuilding from source. I have a bunch of patches in the lread.c to make Clojure-style #f(+ % 1) lambdas work, so I don't have much of a choice. Recently (this year), the reader was rewritten to be non-recursive, so I had to modify my patches too. Other than that, dnf builddep emacs && ./configure && make generally work well. It's worth looking at config options, some interesting things are still disabled by default (last I checked, modules, threads, and xwidgets; though it might have changed in 29).
- akira2501 4y agoUnrelated, but to anyone from Google. When I search for "emacs" and your product pops up a line saying "Did you mean Vi?" it really makes me want to quit using your search product. Your search is not best in breed anymore, so cute gimmicks like this are a flat turnoff.
- modernerd 4y agoAt least the gimmick works both ways. (Try searching for “vi”.)
- deleted 4y ago[deleted]
- habitmelon 4y agoIt all makes sense. Google is playing the editor factions against each other so they won't contest the Chrome-based Electron editors that prop up their monopoly.
- ews 4y agoThe joke was funny maybe 5 years ago, it's a bit cringe nowadays.
- medstrom 4y ago25 years maybe...
- avar 4y agoIt's interesting that searching for "xemacs" doesn't suggest "emacs", which wouldn't be cute, but actually useful. XEmacs has long been obsolete, so anyone finding old references to it & searching it out is almost certainly helped by being redirected to GNU Emacs.
- gaws 4y agoUse another search engine.
- deleted 4y ago[deleted]
- markstos 4y agoThe headline features of Treesitter and LSP have already been released for NeoVim.
- tikhonj 4y agoAs far as I know NeoVim doesn't have natively compiled Elisp yet, so it's a moot point.
- PointyFluff 4y agoMeh. wake me up for Emacs 42
- krylon 4y agoThat's a lot of goodies, I am buzzing with anticipation.
- systems 4y agois guile emacs still in active development, or is this project abandoned
- elwell 4y ago> java-ts-mode Is Emacs a viable Java editor?
- sobkas 4y agoFor example I use https://github.com/ergoemacs/ergoemacs-mode https://github.com/ergoemacs/ergoemacs-mode, with some commands that I have acquired as muscle memory from using Emacs/mg for long. And still I use nano when I need to do small edits to a file. I also do it almost without thinking about it, especially when doing "sudo nano whatever". Mg should be better for me, but nano is engraved into my palms for some reason.
- srcreigh 4y agoI’m excited for the possibility of including use-package in emacs 30. My init.el always fails first time on a new machine due to not having use-package. Can’t install use-package via use-package. so I have to manually install it. Yeah, there’s probably a way to automate that, but for new people it will always be a weird. I’d love to tell new people “Throw (use-package selectrum :ensure t) select it and M-x eval-region!” Without, yeah, the 4 lines of weird package init elisp.