There’s probably something with with your installation or configuration. For me Emacs has always felt fast and has been getting faster, the biggest jump being of course the native compiler.
- 3 Posts
- 20 Comments
I’m an Emacs users, so unsurprisingly I use magit, but perhaps surprisingly I use it sparingly, using Emacs’s VC most of the time.
oantolin@discuss.onlineto
Programming@programming.dev•What does everyone think of this new WIP language?
7·7 months agoSomeone should still rename it, even if that someone is not you. 😅
oantolin@discuss.onlineto
Programming@programming.dev•What does everyone think of this new WIP language?
10·7 months agoThere’s is already a fantastic programming language called q, you should rename yours.
https://en.wikipedia.org/wiki/Q_(programming_language_from_Kx_Systems)
The problem I have which which-key is that it applies only after a prefix.
There are commands
which-key-show-major-modeandwhich-key-show-top-level, which you could use. On the embark side, there isembark-bindingswhich by default gives you bindings from the major mode and minor modes, but withC-uwill give you global bindings.Mutating a keymap with setc[ad]r is evil!
Agreed.
why not use (menu-item “dummy” KEYMAP :filter FUNCTION) instead?
Only because I didn’t think of it!
oantolin@discuss.onlineto
Fediverse@lemmy.world•I totally missed the point when PeerTube got so goodEnglish
6·8 months agoIt depends on the type of facts, but sometimes it’s much easier to verify an answer than to get the answer in the first place. For example sometimes the LLM will mention a keyword that you didn’t know or didn’t remember and that makes googling much easier.
And even among runtime environments some are much better than others. I don’t really mind dotNet or the JVM that much, but Electron seems particularly wasteful. I don’t use a single Electron app.
How could I forget to mention ctrl+f!
There are a couple of functions that web apps almost always have and that native apps tend to lack: (1) selecting and copying text from anywhere in the app to the clipboard; (2) bookmarking individual views within the app. Of course, natives apps in principle could be faster and use more of your hardware —in practice though, they tend to be horribly bloated electron crapps. 😅 So yeah, a decent native app can be better than a web app, but good luck finding one for your purpose.
oantolin@discuss.onlineto
Programming@programming.dev•AI coders think they’re 20% faster — but they’re actually 19% slower
13·8 months agoOne interesting feature in this paper is that the programmers who used LLMs thought they were faster, they estimated it was saving about 20% of the time it would have taken without LLMs. I think that’s a clear sign that you shouldn’t trust your gut about how much time LLMs save you, you should definitely try to measure it.
Normally people use ChatGPT to vibe code, this is the first instance I’m aware of of ChatGPT using people to vibe code!
oantolin@discuss.onlineto
Programming@programming.dev•Which are your favorite podcasts about programming?
1·9 months agoKris Jenkins is a top-notch interviewer! He lets the interviewee talk, really pays attention and asks good follow up questions. I know that sounds like standard things an interviewer should do but at least in tech podcasts few seem to.
That wouldn’t be so useful for academic papers, which is the use case described here: I’ve never heard of a an academic journal that accepts Typst source, but I know of hundreds, probably thousands, that accept LaTeX.
As you say, they are basically just window configurations, so I do use them ocassionally. If, in addition to remembering an Emacs window configuration I also want to remember whether the frame is maximized or not, I will use frames instead of tabs. I used to put window configurations into registers, before tabs existed, but tabs are better because when you put a window configuration into a register it even remembers the location of point in every buffer. This means that when you restore the window configuration from the register, points get restored to where they were when you stored the configuration, not to the last time you were using it. In this sense tabs are like window configuration registers that automatically update every time you switch away from them.
Tabs only have “useless UI elements” if you want them to! This is Emacs, after all. To use tabs without displaying any UI element set tab-bar-show to nil.
One small thing I liked in the new version is the grep-use-headings user option, if you set it to t, then grep buffer lists the search results with headings, one per file, instead of repeating the filename every single time.
I use it in all buffers whose major mode is derived from text-mode.
By default undo does work in the scratch buffer so it is something in your configuration that is keeping this from working. As a quick way to check, try running
emacs -q, which skips loading your configuration, and see if you have undo in the scratch buffer there; if so, it’s definitely something you have in you configuration.You can bisect your configuration to figure out how you are deactivating undo. You can do this manually or with the help of the bug-hunter package.
oantolin@discuss.onlineto
Emacs@lemmy.ml•Remove hook from a mode setting completion at point functions?
2·3 years agoI looked at the macro expansion of the form you wrote and it looks like gibberish, so I don’t think the
:hookkeyword allows expressions to be used as hooks, you need to define a function and use the function name:(use-package pascal ; presumably :init (defun remove-pascal-completions () (remove-hook 'completion-at-point-functions 'pascal-completions-at-point t)) :hook (pascal-mode . remove-pascal-completions))Also, the weird single quote character you used probably doesn’t work in Emacs (but maybe you have normal single quotes in your file and it’s just lemmy’s markdown messing things up).

'tis but the price of victory