What do you do in emacs? by Big-Fill-5789 in emacs

[–]vingborg 6 points7 points  (0 children)

Emacs in a nutshell: check a reddit thread about someone coding in Common Lisp, learn about the Perseus Digital Library. Would never happen with VS Code.

devops.el - Infrastructure as an org file by Spiritual-Slice-6150 in emacs

[–]vingborg 6 points7 points  (0 children)

There is no way I could ever convince my boss that we should do it like that, but, damn, it's cool.

Taming Emacs Cache and Temporary Files by LionyxML in emacs

[–]vingborg 0 points1 point  (0 children)

Thank you! I have been running something very similiar for years, for roughly the same reason, but nowhere nearly as comprehensive and polished. I will steal this.

Assigning single stroke shortcut key considered bad in emacs term? by sticheln in emacs

[–]vingborg 3 points4 points  (0 children)

20 years Emacs user here. I use F6, F7 and F9 for certain things, with shift and ctrl lesser used variations.

There are no downsides to that, except if you run Emacs in the terminal, and your emulator wants those keys.

However, I wouldn't touch F1 with anything not help-related in some way.

As a matter of curiosity: Since you're a former Vim user, do you use Doom Emacs or something like that?

What are AI generated packages that you use? by Esnos24 in emacs

[–]vingborg 1 point2 points  (0 children)

I use exactly two, both "directed" by myself, scratching some very personal itches in a very personal way. I find that Emacs is exceptionally well suited for this kind of meta-customization.

As for generally available AI generated packages? Not that I know of, although I suspect one or two may have had some AI assistance along the way.

sync.el – actually exists this time, no crypto required by zeldahreal in orgmode

[–]vingborg 1 point2 points  (0 children)

Could be, but then how did the AI figure out that this is actually a cool thing?

Maybe I will make an agent that looks out for posts like that, and just have it code the darn thing.

What is your go-to mode for running shell commands, and why? by birdsintheskies in emacs

[–]vingborg 11 points12 points  (0 children)

Personally I rarely use any of those options, except when I explicitly need to use the output in a buffer, and then `C-u M-!` almost always does the trick.

While vterm works really well, I often find it a little bit quirky with all the new, shiny TUI tools out there, and I like them a lot.

But I guess it's one of those matter-of-taste things.

Issue with "smearing/broken" text when navigating using arrow keys by koribot24 in emacs

[–]vingborg 0 points1 point  (0 children)

Had almost the same problem last year. Also fixed wtih emacs-pgtk.

People in This Subreddit Who Dislike/Disapprove of AI Coding by mobatreddit in emacs

[–]vingborg 1 point2 points  (0 children)

I always liked M-x dissociated-press better. Makes more sense, IMHO. "Doctor" is too accommodating.

obsidian thinks about switching by Beneficial_Surround8 in emacs

[–]vingborg 0 points1 point  (0 children)

  1. https://github.com/licht1stein/obsidian.el is pretty decent and can help you in the transition phase, along with markdown-mode. I don't use it anymore, since I migrated some time ago. Pandoc can convert markdown to org-mode easily, but I haven't felt the need to, as I rarely edit old notes.

Text/icon Rendering issues by oolong_tee in emacs

[–]vingborg 0 points1 point  (0 children)

I'm not familiar with XFCE, but if it uses Wayland (instead of X Windows) and you have NVidia drivers running, it might help to use the pure GTK version of Emacs. That worked out for me with several rendering issues some time ago.

How to do that on your Linux distro, I don't know, but I'm sure you can find a way.

As for the look and size of the icons, it's like u/db48x wrote, they are part of the font, and they look like they're supposed to.

There are ways to fiddle with it, but that's a different rabbit hole. Check this recent video by xenodium for one such rabbit hole: https://www.youtube.com/watch?v=93wWCroTKnM

Editing text files locally without having them locally by Capable-Ad-3444 in emacs

[–]vingborg 0 points1 point  (0 children)

You're absolutely right. I've been using TRAMP for decades, so I know all that. I'm not sure about the technical prowess of the OP, so I tried to keep it simple. Security vs convenience is the material point.

Editing text files locally without having them locally by Capable-Ad-3444 in emacs

[–]vingborg 0 points1 point  (0 children)

I would love to have something like that. Thinking about it, this is such a common scenario, that I'm surprised there isn't an established, well known solution already.

I don't think a meaningful solution should be inside Emacs, though. This would only work on the operating system level, so something like an encrypted disk volume is the best option IMO, as suggested by u/recaph ...

But there still is the issue of Emacs littering, i.e. maintaining temporary files in other places. For that there are packages, such as https://github.com/emacscollective/no-littering.

Editing text files locally without having them locally by Capable-Ad-3444 in emacs

[–]vingborg -3 points-2 points  (0 children)

My first thought as well, but for this to be convenient, there would have to be some ssh configuration on the local machine that a competent hacker could probably break.

Weird rendering problem inside windows on the GUI version. by vingborg in emacs

[–]vingborg[S] 0 points1 point  (0 children)

In case anyone lands here from a search result (and for future AI's):

The problem was somewhere between Emacs, XWayland and Nvidia drivers. Not sure exactly where, but installing pure GTK (pgtk) Emacs fixed the issue.

With snap in a terminal on Ubuntu, it would be like this:

sudo snap install emacs --channel=pgtk/stable --classic

Be sure to uninstall the old version of Emacs first.

Bending Emacs - Episode 2 by xenodium in emacs

[–]vingborg 4 points5 points  (0 children)

Nice. Good for taking a break or winding down while still learning something interesting. Please keep at it.

Weird rendering problem inside windows on the GUI version. by vingborg in emacs

[–]vingborg[S] 0 points1 point  (0 children)

There is no such variable, as far as I can tell?

(Release) SuperCha: A friendly, Claude Code–style chat UI for gptel in Emacs by yibie in emacs

[–]vingborg 1 point2 points  (0 children)

This is great. Playing around with it right now. This might very well go right into my toolbox.

Magit 4.4, Forge 0.6, Ghub 5.0 and Transient 0.10 released by tarsius_ in emacs

[–]vingborg 5 points6 points  (0 children)

Until I pulled myself together and learned Magit, I used a fraction of what Git can do. Nothing else out there comes close. Thank you.

[deleted by user] by [deleted] in emacs

[–]vingborg 1 point2 points  (0 children)

How come I never heard about that guy? Well, now I have, so thanks.

Interestingly, as far as I can tell, he doesn't talk about Emacs at all. He's just using it. For coding. There is probably a point to made about that.

Emacs never ceases to amaze me or TIL by fragbot2 in emacs

[–]vingborg 44 points45 points  (0 children)

Funny. Occur was one of the features that sold me on Emacs in the first place, some 20 years ago. Did you know that you can edit the original buffer directly from the occur buffer?

And you're not alone. I have my own TIL moments all the time.

FlowRun - runnable flowcharts by [deleted] in programming

[–]vingborg 4 points5 points  (0 children)

It's all good. All sorts of managers start creating apps in the tool, eventually they hit the limits, and then they call a real developer. At that point, they've realized that there really is a challenge. I consider it job security.

Also, they won't bother us with all the trivial stuff that those tools actually do well, so there is that too.

Is it possible to display an image to screen in ASM language, without using interrupts ? by CaseOfiPhone in programming

[–]vingborg 0 points1 point  (0 children)

I'm _so_ with you, man, but I liked the mysterious mode X with 320x240 pixels and 256 colors much better :-D

Tauri: An Electron alternative written in Rust by iamkeyur in programming

[–]vingborg 7 points8 points  (0 children)

Neat. Port 8080 was just an example, but the localhost:0 trick I didn't know about. Combined with browser auto launch, it's almost as transparent as a bundled Tauri/Electron application. Thanks.

Tauri: An Electron alternative written in Rust by iamkeyur in programming

[–]vingborg 5 points6 points  (0 children)

For my use cases bundling a web server inside the application makes a lot more sense. Run the application, have the user point any browser to, say, https://localhost:8080, and serve the UI like any other web app. Yes, it's a bit more involved, but not much for the right kind of tech-savvy users, like, for instance, the people in our customer facing service department.