tonyaldon on Nostr: 🕵️♂️How to replace regexp in buffers in Emacs Lisp? #emacs #EmacsLips ...
Published at
2023-09-05 14:06:05Event JSON
{
"id": "b8c55d56bc3363e55b2ac3725173a3fb10f7ec94b62c37d2defa52c02652b0b2",
"pubkey": "06bba889eeaf50ce49f58ff5e7a230dc4a2c5ef317485185952bb3b43cf9fe6e",
"created_at": 1693922765,
"kind": 1,
"tags": [
[
"t",
"emacs"
],
[
"t",
"emacslips"
]
],
"content": "🕵️♂️How to replace regexp in buffers in Emacs Lisp? #emacs #EmacsLips https://minibuffer.tonyaldon.com\n\n(while (re-search-forward \"foo\" nil t) (replace-match \"XXX\"))\nhttps://www.youtube.com/watch?v=CV_YB4t0JcQ\u0026ab_channel=TonyAldon",
"sig": "0f61dbac3d096addace19f3df784045a1d3a05ecad1077a262dbb65cfcc1a32683784fa814ec9e98bb834b3b4f255d3164acbfed9b4626a22df5d09695ce3af2"
}