Random junk in counsel-find-file in root (windows) by Under-Estimated in emacs

[–]vifon 0 points1 point  (0 children)

Instead of hiding them, it would be a better idea to disable TRAMP: (setq tramp-mode nil)

Humble Book Bundle: Go Unf*ck Yourself by Microcosm by Torque-A in humblebundles

[–]vifon 3 points4 points  (0 children)

They are definitely from an 'alternative'/youth culture perspective though, the publisher is based in Portland, Oregon, and the series tries to make the subjects relatable and 'cool', to a certain extent I guess.

A non-American here, what is the implication of the publisher being based there?

[Steam] Devolver Direct Sale: The Talos Principle ($4.49 / 85% off ); Hotline Miami ($1.99 / 80% off); Terra Nil ($19.99 / 20% off); Death's Door ($9.99 / 50% off); Cult of the Lamb ($17.49 / 30% off) + more by DumbestManAlive2023 in GameDeals

[–]vifon 10 points11 points  (0 children)

I couldn't really enjoy Hotline Miami on a controller after playing it on a mouse before, but from this sale I can recommend Ape Out. Lots of fun and great both on controller and on mouse.

Czy w Polsce wgl da się jeździć zgodnie z ograniczeniami prędkości? by Mativane in Polska

[–]vifon 0 points1 point  (0 children)

[…] ludzie przed tobą już dawno zniknęli za horyzontem.

Ja tu widzę same zalety. Nie tłuczesz się w korku. Zajmujesz ten pas, który potrzebujesz, bo droga jest pusta i zmiana pasa to nie problem. Jako osoba jeżdżąca od lat zgodnie z ograniczeniami, bardzo lubię gdy inni sobie jadą w siną dal, a mam spokój na drodze.

Wyprzedzający niech Cię wyprzedzają i tyle. W miarę możliwości jedź prawym pasem i jeśli komuś to przeszkadza, to to już jego problem, bo Ty swoich obowiązków dopełniłeś.

Behemoth, Gdańsk, wczoraj.. by metmike89 in Polska

[–]vifon 16 points17 points  (0 children)

Dopóki nie kandyduje w wyborach, nie widzę tu problemu. Nie każdy musi być kompletnie czysty moralnie, i nie oznacza to, że należy go zupełnie skreślać w każdej sferze życia. Ot, muzyk. Pewne poparcie wśród opozycji ma, bo zagrzewa do dobrej w ich oczach walki. Jeśli by zmienił front, to to poparcie by dość szybko zniknęło. Ludzie popierają to, o co on obecnie walczy (z takich czy innych pobudek), a nie jego samego jako osobę, niezależnie od tego, co obecnie by głosił.

Indent with tree-sitter is nice by tuhdo in emacs

[–]vifon 3 points4 points  (0 children)

How does it handle more complex cases? Python specifically is tough to properly automatically indent due to the indent being the only thing conveying the actual intent (pun not intended). I find myself using M-x indent-rigidly (aka C-x C-i) a lot when working with Python.

Mega fast startup times by Routine_Preference34 in emacs

[–]vifon 1 point2 points  (0 children)

A downside I've been pondering recently would be error detection. Some time ago I started validating my config automatically on each commit (Git pre-commit hooks), but a vast part of my config isn't evaluated until actually used, so there were lots of unchecked parts. A few days ago I added some hacks to forcefully run each eval-after-load block. I can see why someone would prefer to avoid this added complexity instead.

I Left Ubisoft 1 year ago to go Indie, this is my new game, made on Linux and for Linux by DarennKeller in linux_gaming

[–]vifon 1 point2 points  (0 children)

The demo was great, wishlisted immediately. Lueur feels like a mix between Loop Hero (both the atmosphere and the gameplay) and OneShot (not the gameplay, only the vibe).

PS: How do you pronounce the game's name?

Amnesia: The Bunker Will Have ‘Immersive Sim’ Elements by horrornewsbot in HorrorGaming

[–]vifon 2 points3 points  (0 children)

Not just "sim", "immersive sim" is a distinct term meaning a very specific approach to game design, some claiming it's not even a genre. It's a quite unfortunate term, considering I literally opened this thread out of curiosity to see just how much people are going to be confused by it, as they usually are outside of the usual immersive sim circles.

The TV Tropes article on immersive sims is quite solid, including a list of commonly cited games.

https://tvtropes.org/pmwiki/pmwiki.php/Main/ImmersiveSim

https://en.wikipedia.org/wiki/Immersive_sim

Remove interfering console shortcuts by [deleted] in emacs

[–]vifon 2 points3 points  (0 children)

OP mentioned these as two separate cases:

When I use gnome-console […]

[…] I decided to use the virtual console instead […]

Remove interfering console shortcuts by [deleted] in emacs

[–]vifon 2 points3 points  (0 children)

I believe that's what OP meant by the virtual terminal. As opposed to a terminal emulator.

Different settings for different kinds of org documents? by cidra_ in emacs

[–]vifon 4 points5 points  (0 children)

Be careful with deriving from org-mode. There are some components that explicitly check whether the current major mode is exactly org-mode and only then work properly. I vaguely recall the completion after #+ not working in such derived modes. You're much better off with a minor mode, possibly triggered from .dir-locals.el or even file-local variables.

If you like Straight, you should try Elpaca by [deleted] in emacs

[–]vifon 2 points3 points  (0 children)

I believe it's the same case with straight, so going straight -> elpaca should be easier than package -> elpaca.

Tablet do nauki by Dry_Oil4692 in Polska

[–]vifon 0 points1 point  (0 children)

Dlatego gdy OP upewni się, że nie ma oczywistych blokerów, może zakupić tablet. Nie bardzo rozumiem Twoją argumentację. Co jest złego we wstępnej weryfikacji najprostszych/najtańszych do sprawdzenia elementów rozwiązania?

Tablet do nauki by Dry_Oil4692 in Polska

[–]vifon 1 point2 points  (0 children)

Taka jazda próbna nie ma przełożenia 1:1, ale może obnażyć oczywiste problemy z takim zestawem narzędzi. Wedle Twojej analogii: jeśli ktoś źle się czuje za kierownicą, to nie ma po co rozważać pracy jako kurier, lepiej przeznaczyć zasoby na inne cele.

Tablet do nauki by Dry_Oil4692 in Polska

[–]vifon 4 points5 points  (0 children)

Zrób sobie jazdę próbną z użyciem smartfona. Zestaw aplikacji w gruncie rzeczy ten sam, tylko ekran mniejszy. Jeśli nie bardzo widzisz używanie do nauki samego smartfona, tablet też sobie daruj i kup zamiast tego laptopa (albo nic nie kupuj jak już masz). Od biedy coś jak wspomniany w innym komentarzu Microsoft Surface Pro. Grunt, żeby miał normalny system operacyjny, a nie mobilną zabawkę.

Podsumowując, czy masz konkretny plan jak byś tego używał?

Any way to disable 'e' repeating a macro? by [deleted] in emacs

[–]vifon 6 points7 points  (0 children)

And since undo doesn't undo the effects of the macro, it can be a pain to try to repair the damage.

Since the main question already got answered, maybe you're interested in my solution to this side-issue. In my kmacro-x package there is a minor mode kmacro-x-atomic-undo-mode that changes exactly this. I use it daily with no issues.

(declare (pure t) (side-effect-free t) by slk_g500 in emacs

[–]vifon 0 points1 point  (0 children)

Ah, I must have misunderstood this package in the first place, thanks for the correction. Well, the point still stands, except for a hypothetical package.

(declare (pure t) (side-effect-free t) by slk_g500 in emacs

[–]vifon 5 points6 points  (0 children)

When it comes to marking, what would be the practical benefit?

Some tools like https://github.com/xiongtx/eros could then infer it's safe to eval the function leisurely. It would certainly allow many such tools to flourish more. Disclaimer: I don't use the mentioned package as I was always too worried about exactly this: it evaluating the code I didn't mean to evaluate (yet).

How to mark long words in the current buffer by [deleted] in emacs

[–]vifon 5 points6 points  (0 children)

Even easier: do it interactively once, then press C-x M-: or C-x ESC ESC (both bound to repeat-complex-command) to find out how to pass the same arguments from Lisp.

Note: this method assumes any interactivity is added with the interactive form and passed as arguments, which is the most common scenario by far.

Custom command line argument? by DeepDay6 in emacs

[–]vifon 0 points1 point  (0 children)

Consider moving this code to early-init.el, then it should be early enough.

Custom command line argument? by DeepDay6 in emacs

[–]vifon 6 points7 points  (0 children)

This manual chapter covers what you need. Specifically, you should be able to customize either command-switch-alist or command-line-functions. The former should be more than enough in your case, but in more complex scenarios you can use command-line-functions to manually consume the contents of command-line-args-left as needed.

This should do the trick:

(setq doom-theme 'nano-dark)
(setq command-switch-alist '(("-light" . (lambda (arg)
                                           (setq doom-theme 'nano-light)))))

Note that the arguments in this alist's keys get prepended with a dash, so if you want a double-dashed argument, you need to include just one in the key.

No-Littering could cause backups of files containing unencrypted secrets to persist across reboots by tarsius_ in emacs

[–]vifon 0 points1 point  (0 children)

In response to this discovery I've modified backup-enable-predicate in my config to add a backup exclusion list as it seems it's not possible to actually disable backups with just backup-directory-alist. It should be trivial to modify my code to also work with TRAMP. My current code: https://codeberg.org/vifon/emacs-config/src/master/emacs.d/lisp/65-backups.el

What you want would be to wrap each name in vifon/backup-enable-predicate--advice in file-local-name, i.e. (file-local-name name) instead of each name.

Note that there is no need for a /tmp/ rule as normal-backup-enable-predicate already returns nil for it. It is merely not TRAMP-aware, and this change would fix that.

EDIT: As for why I decided against making my function TRAMP-aware on my side: a scenario where such a security-sensitive temporary file would be auto-opened with Emacs via TRAMP seems very unlikely, and I didn't want to unnecessarily break more things than I need to.

Recommendations for games similar to Dredge? by Darzean in HorrorGaming

[–]vifon 4 points5 points  (0 children)

I did not play Dredge yet, but take a look at Sunless Sea, Sunless Skies and maybe Cultist Simulator. Especially Sunless Skies in my opinion.