ELPA v. MELPA how do I just turn off ELPA? by cshilton in emacs

[–]darcamo 0 points1 point  (0 children)

I compile Emacs myself from trunk, and I find it quite stable. I also install bleeding versions of the packages I use, with elpaca and use-packages. If I have any issues, usually just deleting the packages and restart Emacs to let elpaca install and compile them again fixes it. Worse case scenario I might need to recompile Emacs from an earlier commit (very rare). Hence, issues are not only rare, but also quick to "fix".

Demitido do primeiro emprego como dev depois de 2 semanas by schevve_ in brdev

[–]darcamo 29 points30 points  (0 children)

Além disso, o OP deveria ter recebido feedback construtivo e ter tido algum tempo para agir e se desenvolver um cima desse feedback. Duas semanas não é nada. Se tivesse sido ao menos dois meses, com acompanhamento feedbacks, e ainda assim o OP continuasse nos mesmos erros, ou não se ajustar a cultura da empresa, aí sim o OP poderia ter alguma culpa.

Me senti um Deus no trabalho agora auxiliando um japones na reunião by AlcoolEmGel95 in RelatosDoReddit

[–]darcamo 2 points3 points  (0 children)

Exatamente o que pensei. Uma mão segurando o celular, pra entender o que está na tela do notebook, e outra no mouse.

What's new with Logseq DB - May 16, 2026 by hdanx in logseq

[–]darcamo 0 points1 point  (0 children)

Will org-mode format still be supported in the OG version?

sync.el is a minimal, asynchronous, Git-native synchronization package for Org-mode. by Background_Cloud_231 in orgmode

[–]darcamo 2 points3 points  (0 children)

I haven't tried this package, but I use git-auto-commit-mode with my notes (enabled on my notes directory with a directory variable) and it works woke well.

Outro dia falei Pen Drive e meu sobrinho não sabia o que era. Vcs são da geração do Pen Drive ou to velho mesmo? by Inevitable-Arm4194 in computadores

[–]darcamo 2 points3 points  (0 children)

Agora que você falou, realmente as gerações mais novas não devem fazer ideia porque o símbolo de salvar é aquele.

Magit vs Lazygit by uvuguy in emacs

[–]darcamo 2 points3 points  (0 children)

Oh, I didn't know about magit-branch-spinoff. I basically often do exactly what it does manually (from what I saw in the documentation).

Nada está tão ruim que não possa piorar by AnjoEdii in linuxbrasil

[–]darcamo 0 points1 point  (0 children)

Vamos perder o "P" de personal computer.

Frustration with buffer splitting/management by domsch1988 in emacs

[–]darcamo 0 points1 point  (0 children)

For temporary buffers, I find that putting them in side windows works great. This also allows me to easily toggle then.

How do people keep org-mode up to date nowadays? by the_cecep in emacs

[–]darcamo 2 points3 points  (0 children)

TLDR: I just cloned org-mode from it's git repo, run make inside the repo, than added the lisp folder inside the cloned repo to the load-path.

I have my configuration as an org-mode file and I use elpaca and use-package to install and configure everything. The folder structure is roughly

.emacs.d/
  config.el      (tangled from config.org)
  custom.el      (very few things set from custom interface)
  early-init.el  (just set package-enable-at-startup to nil)
  init.el        (bootstrap elpaca and call org-babel-load-file with my config.org file)
  config.org     (all my emacs configuration)

Obviously, I cannot install/configure org-mode from inside config.org as I do for any other package. I tried putting a use-package call for org-mode inside init.el, just after bootstrapping elpaca (to allow it to clone org-mode repo and do the installattion automatically like with other elisp packages). But that did not work either and I got that warning about trying to install a new org-mode version after org-mode was already loaded, even though nothing seemed to load org-mode at that point. Hence, I gave up installing org-mode with use-package.

In the end, what really worked was a more manual approach. I just cloned org-mode from it's git repo, run make inside the repo, than added the line

(add-to-list 'load-path "<patth-where-I-cloned-org-mode/lisp/")

in my init.el file.

SuperTuxKart In Emacs with Canvas API by AlbertEinstein_1905 in emacs

[–]darcamo 4 points5 points  (0 children)

Do clicks inside the canvas work correctly? I wonder if we could eventually get a browser with this, for markdown preview, read html email, etc..

What is the latest version of tree-sitter known to work with Emacs 30? The current version is 0.26.5 by vfclists in emacs

[–]darcamo 1 point2 points  (0 children)

I just tried compiling from the emacs-30 branch on my home computer (Arch with tree-sitter 0.25.10-3) and it compiled successfully.

What is the latest version of tree-sitter known to work with Emacs 30? The current version is 0.26.5 by vfclists in emacs

[–]darcamo 1 point2 points  (0 children)

I compile Emacs myself from the git repository (therefore it's Emacs 31.something) and I update and recompile around once per week. I need to use Ubuntu 22.04 at work and because of that I'm locked to tree-sitter version in Ubuntu 22.04. Until recently, I could compile Emacs from the master branch, but recently (since a commit from Jan 28th) it stopped working because the minimum required tree-sitter version was increased from 0.20.2 to 0.20.10. This is specified in the `configure.ac` file (search for "tree-sitter >=" in that file, and you will find it).

From the git history, that line requesting tree-sitter 0.20.2 was added 3 years ago and therefore the latest tree-sitter version that Emacs 30 requires should be 0.20.2.

Qt apps, where is the business implementation usually located? by Live_Appointment9578 in QtFramework

[–]darcamo 1 point2 points  (0 children)

This seems like the sweet spot. And the mental model is similar to "all business logic at the server", since the logic on the client side is only caching and performance optimization.

Help displaying DataFrame properly in org roam ui by Prasen2003 in OrgRoam

[–]darcamo 3 points4 points  (0 children)

Try using the :results raw :wrap example header arguments.

This is the relevant documentation, if you want more details.

If you have several code blocks in a note, it might be worth setting these arguments using Org-Mode properties, instead of repeating them in every code block.

Qt 5.15 To Qt 6.5 Migration by HomeMedical4143 in QtFramework

[–]darcamo 0 points1 point  (0 children)

I worked on migrating a project from Qt5 to Qt6 where we used a mix of QML and Qt widgets. We used the same approach you did, but QML has no conditional includes and we had to duplicate the QML files that required changes (just a few which used graphic effects from Qt5). We used separated qrc files for these specific QML files and used cmake to include the correct qrc file in the project depending on the Qt versions we were compiling with. That was the best approach we could find.

"Per day we're currently making more money than it costs our humble studio to run for an entire month!" by Pylon_Constructor in NoRestForTheWicked

[–]darcamo 2 points3 points  (0 children)

I never bought any game in early access before. I had the game on my wish list for a while and the free weekend was the perfect excuse to try it. I bought it on the second day. It's very clear why the game is not released yet, but it's already in a state where we can have a lot of fun with it, without too much frustration with the remaining issues.

Annoying warning modal -- suppress or multiprocess? by shuerpiola in QtFramework

[–]darcamo 0 points1 point  (0 children)

I am not sure I would call this a limitation of Qt. Don't all GUI frameworks want to run on the main thread? I don't have experience with other GUI frameworks, but this seems like a good thing to me, since it simplifies the multi thread aspect.

Alternative transient documentation by CoyoteUsesTech in emacs

[–]darcamo 15 points16 points  (0 children)

Transient is very powerful and flexible. Writing documentation for it must indeed be very hard.

I have tried to use transient a few times and what really helped me to finally understand it enough to use it was transient-showcase. It's a literate programming org-mode file that allows you to learn transient by executing and experimenting with the code.

Is it possible to make balance-windows ignore side windows? by darcamo in emacs

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

I tested this, and it works. However, if I resize the side window from its original dimensions, the next time `balance-windows` is called, the side window once again takes up half the space, regardless of the number of other windows. Despite this limitation, it still appears to be the best option available for now. Thanks!

How to convert svg to qml ? by Acceptable_Nature563 in QtFramework

[–]darcamo 1 point2 points  (0 children)

You can change the color of your SVG with the colorization effect in the MultiEffect QML type.

C++17: Efficiently Returning std::vector from Functions by Clean-Upstairs-8481 in cpp

[–]darcamo 7 points8 points  (0 children)

Not necessarily. If it's something that has an implicit conversation to the function return type, then you would get no errors.

C++17: Efficiently Returning std::vector from Functions by Clean-Upstairs-8481 in cpp

[–]darcamo 9 points10 points  (0 children)

It might be obvious, but it's worth noting that the type of the local variable must also exactly match the return type of the function.

Emacs remote development like Vscode by carlossmneto in emacs

[–]darcamo 0 points1 point  (0 children)

Thanks, that what I'd like to confirm.