Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102106 - app-editors/gvim: Find/Replace dialogs enhancements
Summary: app-editors/gvim: Find/Replace dialogs enhancements
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-11 04:44 UTC by TGL
Modified: 2005-08-12 14:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
replace_fix.patch (replace_fix.patch,1.83 KB, patch)
2005-08-11 04:45 UTC, TGL
Details | Diff
use_regexp_option.patch (use_regexp_option.patch,11.34 KB, patch)
2005-08-11 04:45 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TGL 2005-08-11 04:44:14 UTC
Hi,

I don't know if you're open to patches which didn't make it upstream, but just
in case... Looong tim ago I had submitted two about the :prompt{find,repl}
dialogs [1,2], with no success, but I'm still using them daily since (~9
months), and i like them, and since vim-7 doesn't seem to be coming anytime
soon, here they are:
 - the first one is a fix for the "Replace" action, which is currently very
confusing because it doesn't behave like "Find" or "Replace All" (uses a raw
string substitution instead of a properly interpreted replacement pattern).
 - the second one is an enhancement to add a "Use regexp" option to the "Find"
and "Replace" dialogs, just like there is a "Case insentive" option already.
That helps for matching patterns with special chars when you don't want them to
be interpreted with their special meaning, or at the contrary when you want real
regexp (it kills the "very nomagic" mode that is currently always used). It
works with Motif, Gtk and Gtk2.

[1] http://marc.theaimsgroup.com/?l=vim-dev&m=109961115016143&w=2
[2] http://marc.theaimsgroup.com/?l=vim-dev&m=110009502226733&w=2
Comment 1 TGL 2005-08-11 04:45:02 UTC
Created attachment 65655 [details, diff]
replace_fix.patch
Comment 2 TGL 2005-08-11 04:45:27 UTC
Created attachment 65656 [details, diff]
use_regexp_option.patch
Comment 3 Ciaran McCreesh 2005-08-12 14:27:03 UTC
We tend not to include these kinds of things if possible. People seem to get
upset when we suddenly have to drop their favourite feature for some reason, so
we don't usually include the patches in the first place.