@annawrock08 @Daniel Thanks for following up on this Anne! I can also acknowledge that the procedure works well. In my first attempts I had problems with over boiling foam, but not completely closing the lid for ca. 2 minutes fixed those. So it has now become my standard way of cooking pasta without any negative impact on quality.

(Visibility fixed, sorry)

As we are talking a lot about energy lately, I think it makes sense to draw attention (again) to this fabulous website showing energy production and consumption in real time:

app.electricitymaps.com/map

Clicking on individual countries shows the import and export.

Next time you read some numbers, you will be in a better position to judge for yourself.

I think it's glorious that there's now a Mastodon server operated by people who used to work for Twitter (macaw.social). I could have never imagined it when I started in 2016.

People have forgotten the entire purpose of rights: to protect the minority from the majority.

The majority never itself requires freedom of speech, press, or religion, because it is their opinion that defines the popular and acceptable. Only the *un*popular requires a defense.

@ryuslash What I mean by this is that regular 'isearch-forward' (usually bound to C-s) will also limit itself to filenames governed by the defcustom. This exposes this nice functionality without me having to remember that there are different commands for it.

@ryuslash Again a very good question. It seems that the code changed recently and that the new defcustom tries to "pull in" the functionality previously contained in dired-aux. There were (and still are) separate find functions in dired to limit to filenames: dired-isearch-filenames and dired-isearch-filenames-regexp. The new defcustom exposes this functionality through standard commands.

@ryuslash Yeah, the "goes without saying" was probably exaggerated. When I recently needed comparable functionality I remembered that wdired should be able to solve my problem, and so I looked up my notes on it. While doing some manual editing I thought "hm, I wonder how query-replace is handled. It would be so extra cool if it limits itself to the filenames. Ok, that's probably not a valid expectation".

But to my total surprise it just did it when I then tried it 😂

@ryuslash And by the way, I only noticed the standard key binding through the menu bar. Looking at the sources the menu item has been there for a while (2004) but I am not sure about the binding. So probably you are not using menu-bar-mode? (To be honest, I didn't for a very long time but enabled it again recently to find seldom used stuff).

@ryuslash Very good question indeed! I just saw that it works like this in my recent Emacs, but of course your question is totally valid.

It seems this a recent addition in wdired.el:

(defcustom wdired-search-replace-filenames t
"Non-nil to search and replace in file names only."
:version "29.1"
:type 'boolean)

So this feature is not even released yet. If you don't run any recent Emacs, then this is something to look forward to 😀

Thanks for pressuring me into correcting that.

@dzu didn't realize it had a standard key binding, nice. I have it bound to E.

Is the `query-replace' restriction from wdired? I don't see why one shouldn't search for "r--" and replace it with "r-x", or want to query "/projects/" and replace it with "/src/" in links, as examples. Perhaps I'm thinking about this the wrong way? I usually personally just do simple file renaming with wdired.

My view: The climate loss&damage fund should also be filled by those companies who knowingly sell a dangerous product and actively mislead the public about the risks and lobby against climate policy. Precedent is the tobacco companies’ case.

Mein Schreibprozess hat 10 Phasen:

1) Starr mich nicht so an, leeres Dokument, ich kann nicht wenn jemand guckt 🙈
2) ich schreib jetzt einfach alles in den Papers auf
3) was soll ich jetzt mit drei Seiten loser Textfragmente? 🤔
4) OK, vielleicht hilft ein guter Einstieg?
5) den ganzen Text passend zum Einstieg neu schreiben
6) Einstieg löschen, weil Mist
7) Schluss schreiben
8) Text passend zum Schluss umschreiben
9) Darlings killen 🥺
10) oh, wo kommt den plötzlich der Artikel her? 😲

Because it is so useful - here is another reminder that you can actually rename files by edit operations in dired buffers. Press C-x C-q to enter 'wdired' mode and edit the filename, link and mode to your hearts delight. C-c C-c or C-x C-s will commit the changes to disk.

It goes without saying that a 'query-replace' operation will limit itself to the filenames. So e.g. replacing spaces by underscores in a whole directory is straight forward.

@dzu yeah I agree! An important step forwards for Emacs imo :)

@dzu nice! Yes that's me :) I'm really looking forward to the merge!

I also don't understand why double and float are not in c-keywords but then again I am not sure if I understand things enough...

Show thread

Yesterday I did a side-by-side comparison of an old C file of mine with the syntax coloring of c-mode and c-ts-mode. I like the latter more, but there are things I do not yet understand why they are "not on par" with c-mode.

So I thought I need to understand things better to find why things are the way they are.

But the sheer elegance of doing it the treesitter way is an absolute joy to look at.

@theothornhill Ah, extra cool. Thanks for all the work!

It wasn't that easy getting things to work (because I refused to read documentation), but at last being able to run treesit-explore-mode is just so übercool.

Show older
hostsharing.coop | Hostsharer im Fediverse

hostsharing.coop ist die Mastodon-Instanz für Mitglieder der Hostsharing eG. Sie wird seit 2018 von der Hosting-Genossenschaft betrieben.