Toots for pkal@commenting.onthe.incoherenceofthe.net account

Written by Philip Kaludercic on 2025-01-15 at 14:49

Very helpful hack I keep on re-implementing when working on slides in AucTeX and you don't want to re-render everything every time:

(define-advice TeX-command-run-all (:around (fn &rest args))

(if (buffer-narrowed-p)

(save-mark-and-excursion

  (set-mark (point-max))

  (goto-char (point-min))

  (TeX-command-run-all-region))

  (apply fn args))))

All you have to do is to narrow the buffer to the current frame environment (easy to do using C-x n e).

[#]emacs #latex #beamer

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-12-27 at 20:59

I am shocked to hear about the shutdown of DivestOS: https://divestos.org/pages/news#end.

I have been using it for the last two years, can someone recommend an alternative besides Lineage OS?

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-12-24 at 21:09

It is funny to me how both HN comments are individually both nothing unusual for the site, yet so different in their implicit worldview at the same time.

=> View attached media

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-12-24 at 13:36

The recent Go developer survey had an interesting question wrt. Editors. Despite having a low usage rate, among all the options it ranked highest on "Heard but never tried it", with only 13% of the respondents never having hard of it.

One also notices that the ratio of "use it" to "used it in the past" for Emacs is the second worst, after Sublime. One could argue that this is not due to usability, but due to trends in Editor usage, but I don't know if I want to make that point.

It would be interesting to cross-reference this with developer experience and age/when they started to program. And of course how much of this is Go-specific bias, considering how aggressively they broke tooling a few years ago while switching to Gopls.

[#]emacs #editors #golang

=> View attached media

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-12-08 at 21:12

After watching https://emacsconf.org/2024/talks/sharing/, I mentioned the idea of streaming ELPA package reviews on Peertube, and a few people seemed to be interested in that. If I do actually consider doing this, I have to figure out if I want to publish reviews of new packages or re-reviewing old packages. Also, is it fair to do this for just any package, without giving the reviewee to explain themselves?

And does anyone have experience with streaming via Peertube? Any tips? I don't know if I want the content to be hosted permanently, one the one hand because I don't want to strain my Peertube host, but also because I don't get the appeal of watching an unedited live-stream.

[#]emacs #peertube

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-12-05 at 22:31

I recently had the issue of distinguishing the same files in different projects and accidentally editing the wrong files. Then I had the idea of repurposing an old script of mine (I actually believe one of the first scripts that I ever shared online), that shifts the colors of a buffer depending on the major mode, and instead make it use the project to select a random color for project-buffers.

This came at the cost of throwing away a lot of option, but I suspect nobody actually uses the package? Either way, I have the code on a branch here in case someone is interested in trying it out, as this time is not only a gimmick: https://git.sr.ht/~pkal/face-shift/tree/per-project-hue/item/face-shift.el. I still have to make up my mind if I want to merge this or not.

=> View attached media

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-11-22 at 15:55

When someone says "You are the opposite of an ant", is that an insult or a compliment?

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-11-07 at 14:02

I appear not to be able to boost this directly, but here is a screencast of a proposed feature for Emacs' package.el (package-autosuggest and package-autosuggest-mode, that tries to suggest packages to install if a major mode is missing):

https://spectra.video/w/e93b3XqNzN6yXucZbNnu7c

If you have thoughts on this, please send your comments to emacs-devel.

[#]emacs

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-10-23 at 07:32

I have been having more and more doubts about SourceHut and their future (Drew seems to be interested in other things and emersion left as well), so I have been considering moving my projects over to Codeberg. My main issues is that I wouldn't have publically accessible mailing lists, which is a feature I appreciate, so that anyone can contribute without having to create a special account on a code forge site. My point being, can someone recommend me a good alternative go https://lists.sr.ht/, ideally one that would also handle messages with attachments (Sourcehut refuses to display these in the web interface). Hosting the web-view myself would be acceptable, but I'd like to avoid having to set up a mailing list on my own.

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-10-07 at 20:46

I'll be visiting Boston soon, and was wondering if anything of the old MIT AI lab is still around and open to the public/semi-public. To be honest, I don't even know what to expect. Does anyone know more or can recommend something?

[#]boston #mit

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-09-24 at 14:53

Emacs' M-x shell lack of complete control code support can sometimes result in interesting patterns.

[#]emacs

=> View attached media

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-09-01 at 06:37

A few interesting links I collected over the past month:

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-08-29 at 09:32

Trying to submit a change to gitlab.gnome.org. I have already made my changes locally and just want to submit them:.

Now there is no way you can tell me that this is easier or more user friendly than allowing something like git send-email -2 libgweather@gnome.org! Once again, the GitLab/Web Forge experience is really bad.

(One thing I wish Git{Hub,Lab} would allow is to create a PR without having to fork, just by pushing to a repository that I don't have access to. FWIW this could require the branch to have a name like pr/foo.)

[#]gnome #gitlab #git

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-08-23 at 19:37

I wrote up a sketch of an overview of some new features in Emacs 30: https://www.emacswiki.org/emacs/EmacsThirtyHighlights

(It is intentionally hosted on EmacsWiki, so that anyone can contribute, elaborate and add new sections. I belive that this might be more useful than having some guy™️ who was not involved in development write up a blog post that doesn't really understand why or what the reason was that some features were added. Also, EmacsWiki is underappriciated by many and they don't realise how easy it is to contribute. This might be a nice place to get started.)

[#]emacs

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-08-21 at 09:21

Found out that my grandmother owned "Superfest" glasses (East German glasses that were marketed as unbreakable). I was told she managed to make a point by breaking one, nevertheless.

=> View attached media

=> More informations about this toot | View the thread

Written by Philip Kaludercic on 2024-08-18 at 07:52

Almost exactly a year ago I proposed a patch to copy text out of diffs: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65380. This is useful when reviewing a change, and e.g. you want to copy out a function without having to use a hacky rectangle-copy approach or a complex macro involving append-next-kill.

It was a quick hack, and I didn't get around to implementing the proposed improvements. Yesterday I managed to gather the energy to do so, and the result isn't bad.

The attached screencast demonstrates that the command (bound to w in read-only diff-mode) can copy the modified text out of a diff. It can even copy text between hunks, if it can locate the original file.

I'd appreciate feedback and edge-cases that can be improved upon.

[#]emacs

=> View attached media

=> More informations about this toot | View the thread

=> This profile with reblog | Go to pkal@commenting.onthe.incoherenceofthe.net account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/112876632041345878
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
440.318198 milliseconds
Gemini-to-HTML Time
7.599008 milliseconds

This content has been proxied by September (3851b).