visual-regexp.el
visual-regexp.el copied to clipboard
A regexp/replace command for Emacs with interactive visual feedback
Is it possible to have a setting (and a prefix argument to override it) for vr/replace and vr/query-replace to operate on the _entire_ buffer when there's no mark? Ideally, the...
Using emacs27 in debian... ``` \emacs -nw -Q M-x find-file visual-regexp.el M-x eval-buffer C-x b scratch M-< M-x vr/replace $ \# ``` This asks `vr/replace` to replace `$` with `\#`....
I use the package awesome-tray package https://github.com/manateelazycat/awesome-tray, but I found that I use vr/replace, and my emacs output some undesirable information as follows:  So, I want to know how...
Reproduction: 1. M-x customize-group RET visual-regexp RET 2. The following stack trace is shown: Stacktrace: ``` Debugger entered--Lisp error: (void-variable vr/match-separator-string) custom-variable-modified-p((custom-variable :group (custom-group :documentation-shown t :custom-state unknown :tag "Visual...
I have C-s and C-r set to the vr/isearch (actually using visual-regexp-steroids, but visual-regexp is the same). In normal isearch, if I type C-x C-s, it exits isearch and saves...
Setting default replace preview to t in config only affects construction of the regexp. When actual replacement is done with vr/query-replace you still get the "original -> replacement" feedback and...
Currently neither command does respect a rectangle marked with emacs "rectangle-mark-mode". Maybe this helps (fixed bug for query-replace in emacs which had the same issue) https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19829
When (ab)using visual-regexp for refactoring tasks, multiline replacement text might exceed the window height, making it impossible to preview full replacement before running the actual substitution. The problem is that...
Using profiler-start/profiler-report I figured out, that visual-regexp is very slow in Windows. In Linux this problem is not available. GNU Emacs 25.3.1 (x86_64-w64-mingw32) of 2017-09-12 visual-regexp 20161017.1713 from elpa
When I exit out of a search and enter again, it should remember the previous search, like query-replace-regexp does. Otherwise it's annoying to retype it.