#occur : to meet; to clash
- French: arrive
- German: auftreten
- Portuguese: ocorrer
- Spanish: ocurrir
------------
Fill in missing or incorrect translations @ https://wordofthehour.org/r/translations
#occur : to meet; to clash
- French: arrive
- German: auftreten
- Portuguese: ocorrer
- Spanish: ocurrir
------------
Fill in missing or incorrect translations @ https://wordofthehour.org/r/translations
#occur : to meet; to clash
- French: arrive
- German: auftreten
- Portuguese: ocorrer
- Spanish: ocurrir
------------
Fill in missing or incorrect translations @ https://wordofthehour.org/r/translations
#occur : to meet; to clash
- French: arrive
- German: auftreten
- Portuguese: ocorrer
- Spanish: ocurrir
------------
See previous words @ https://wordofthehour.org/r/past
#occur : to meet; to clash
- French: arrive
- German: auftreten
- Portuguese: ocorrer
- Spanish: ocurrir
------------
See previous words @ https://wordofthehour.org/r/past
ah damn, i was looking for this for ages ..
emacs occur can accept a subgroup number and only list that instead of the whole line
#occur : to meet; to clash
- French: arrive
- German: auftreten
- Portuguese: ocorrer
- Spanish: ocurre
------------
See previous words @ https://wordofthehour.org/r/past
Magick is the Science and Art of causing Change to occur in conformity with Will.
Magick is the Science and Art of causing Change to occur in conformity with Will. Aleister Crowley, Introduction and Theorems in Magick in Theory and Practice and Chapter I: What is Magick? in Magick Without Tears Consider also: Guy Fawkes Bandana Mask The Transmutations “In my textbook, Theory and Practice of Magick will be found […]
Another #emacs editing discovery. Every time my thought process goes along the lines of: "I can also do this!?!!"
Today's cast: #occur, #regex isearch, wgrep, and optionally keyboard macros, iedit and wdired.
(h/t This thread: https://emacs.ch/@ramin_hal9001/110933437057616428.
@ramin_hal9001 and @cwebber were mentioning many cools emacs tips and I learnt that I can *edit* what comes out of occur!)
TIL that you can switch from isearch to occur mid search! So you can do something like:
1. Start incremental (regexp) search in an editable buffer.
2. Once satisfied with the regex/search term, Do `M-s o` to have all matching lines end up in an occur buffer.
3. Press `e` to enable wgrep giving you an editable buffer with only matching lines.
4. Do whatever editing you like: iedit, regex replace, keyboard macros, whatever.
5. `C-c C-c` when done and the changes get reflected in *original buffer*.
Triggering occur after incremental search gets you the best of both worlds: the visual feedback on the regexp search helping to interactively adjust it. You jump to occur only when you're satisfied with the matches. It will be as if you had magically typed out that complex regexp free-hand.
<p>@[email protected] <blockquote><p></p>> "I knew M-x occur was awesome, and I already used it a lot, but I learned" ...<p>> ... "e: enable editing definitions directly from the *Occur* buffer!!!!"</p></blockquote></p> <p>Oh it gets even better. Try this one out:</p> <p><ol><li><code>dired-toggle-read-only</code> (usually bound to "<code>C-x C-q</code>"), now the Dired buffer is editable — you can change the names of files and later choose to commit those changes to disk</li> <li>use <code>occur</code> (usually bound to "<code>M-s o</code>") to narrow down the listed files in the Dired buffer , then use <code>occur-edit-mode</code></li> <li>in the Occur buffer, use <code>occur-edit-mode</code> (bound to the "<code>e</code>" key) to make the occur buffer editable</li> <li>Use any number of <code>query-replace</code> ("<code>M-%</code>") or <code>query-replace-regexp</code> ("<code>C-M-%</code>") to rename any of the files in the Occur buffer.</li> <li><code>occur-cease-edit</code> ("<code>C-c C-c</code>") to commit changes from the Occur buffer to the Dired buffer</li> <li><code>wdired-finish-edit</code> (also bound to "<code>C-c C-c</code>") to commit those changes in the Dired buffer to the filesystem.</li></ol></p> <p>In my opinion, this is probably the safest, most reliable way to do bulk file renaming.</p> <p>I use this workflow quite often, especially when preparing datasets for machine learning processes. #Emacs</p>
#occur : to meet; to clash
- French: arrive
- German: auftreten
- Portuguese: ocorrer
- Spanish: ocurre
------------
See previous words @ https://wordofthehour.org/r/past
#occur : to meet; to clash
- French: arrive
- German: auftreten
- Portuguese: ocorrer
- Spanish: ocurre
------------
See previous words @ https://wordofthehour.org/r/past