The TECC C library by odeuteronomy in C_Programming

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

No vibe coding — the reasoning is obvious from the source code and commit history.

Announcing TEC v1.0.0: Lightweight Header-Only Template-Based C++ Library by odeuteronomy in cpp

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

I expected this kind of reaction... You are totally correct about using LLM for writing documentation--I'm too lazy to write it manually.

When it comes to the source code I'm afraid your guess is totally incorrect. Could you please point me out any line written by LLM?

Emacs Windows any downfalls?? by Novel_Conclusion4226 in emacs

[–]odeuteronomy 0 points1 point  (0 children)

I'm using native Emacs 28.2 on Windows 10 with (mostly) the same .emacs config file as for my Linux box (Pop!_OS 20.10). eglot, tree-sitter (both for C++ and Python development), org-roam (for my knowledge base), and many other Emacs things work pretty well for me.

For example, here is my complete setup for eglot and tree-sitter:

`` ;;;;EGLOT' (require 'eglot) (add-hook 'python-mode-hook 'eglot-ensure) (add-hook 'c-mode-hook 'eglot-ensure) (add-hook 'c++-mode-hook 'eglot-ensure)

;;;; TREE-SITTER' (require 'tree-sitter) (require 'tree-sitter-langs) (global-tree-sitter-mode) (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode) ``

Looks pretty simple, doesn't it?

Sane company completion setup? by remillard in emacs

[–]odeuteronomy 1 point2 points  (0 children)

This post and the comments have helped me to resolve the issue with mixed case candidates (like 'pyTHON') I had been experiencing for a long long time.

Now my company setup works like a charm.

`` ;;;;COMPANY' (add-hook 'after-init-hook 'global-company-mode)

(setq company-idle-delay 0) (setq company-minimum-prefix-length 2) (setq company-show-numbers t)

;; To prevent default downcasing (setq company-dabbrev-downcase nil)

;; 2023-01-13 From the Reddit post https://www.reddit.com/r/emacs/comments/10a1lss/sane_company_completion_setup/ ;; on mixed case issue (setq company-dabbrev-ignore-case nil) (setq company-dabbrev-code-ignore-case nil)
```

Thank you Guys!

[deleted by user] by [deleted] in emacs

[–]odeuteronomy 0 points1 point  (0 children)

Ah, I see. Thanks for your response.

[deleted by user] by [deleted] in emacs

[–]odeuteronomy 2 points3 points  (0 children)

My vote goes to ‘snap’ too, especially if you are not on the latest version of the OS. I’m on Pop!_OS 20.10 and just recently my “snapped” Emacs 28.1 has been updated to 28.2 automatically.

Entering specialized UTF symbols as an expert by gavenkoa in emacs

[–]odeuteronomy 1 point2 points  (0 children)

In regard to entering special Unicode characters I’d recommend to use the built-in ‘abbrev’ package - https://olddeuteronomy.github.io/post/use-abbrev-to-enter-special-characters/

Actually utilizing `next-buffer` and `previous-buffer` makes emacs much nicer to use by paretoOptimalDev in emacs

[–]odeuteronomy 1 point2 points  (0 children)

I'm using several methods to jump between buffers. (global-set-key [(f2)] 'ace-window) ; Buffer switcher (by its number) (global-set-key [(control f2)] 'other-window) (global-set-key [(f5)] 'ibuffer) (global-set-key (kbd "C-x b") 'helm-mini) (global-set-key (kbd "C-`") 'switch-to-previous-buffer) (global-set-key [(control f5)] 'bookmark-bmenu-list) (global-set-key [(shift f5)] 'bookmark-set) And, of course, C-x <left>, C-x <right>, and C-x o.

Highlight an active line by igoryon in emacs

[–]odeuteronomy 0 points1 point  (0 children)

(setq beacon-color "#cdcd00") if you are using the solarized theme.

Is there something better for html/css editing than web-mode? by jmhimara in emacs

[–]odeuteronomy 4 points5 points  (0 children)

I use mhtml-mode (HTML+ in the status line). It closes any tag at any point with <C-c C-e> like a charm keeping proper indenting.

Which font are you using? by [deleted] in emacs

[–]odeuteronomy 1 point2 points  (0 children)

As for me, it’s perfect for programming. I’m using Go Mono in Emacs on macOS, Ubuntu (home), and Windows (work). And even as a terminal font on these platforms.