Let's say I've carefully set up a Regex find in the Find dialog. And let's say I switch away from TextMate to do something else, and I do a find, say in a Safari page. When I come back to TextMate, my find term is gone! It has been replaced from the system shared Find clipboard. This (the shared Find clipboard) is a vile feature and TextMate should either opt out or should give me a pref to opt out. Thanks! m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Counter-example -- I am proofing my work in a browser. See a typo that I want to fix. Highlight it in the browser, press Command-E to memorize the term, and switch to TM to find everything ready to go in the Find or Find Everywhere dialog.
Walter
On Jan 14, 2014, at 2:19 PM, Matt Neuburg wrote:
Let's say I've carefully set up a Regex find in the Find dialog. And let's say I switch away from TextMate to do something else, and I do a find, say in a Safari page. When I come back to TextMate, my find term is gone! It has been replaced from the system shared Find clipboard. This (the shared Find clipboard) is a vile feature and TextMate should either opt out or should give me a pref to opt out. Thanks! m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
The shared Find clipboard is engrained in many folks workflows and makes perfect sense.
And TMs find panel does have the drop-down controls to easily get to previous search/replace terms, so your find term is not gone.
Gerd
On Jan 14, 2014, at 1:19 PM, Matt Neuburg matt@tidbits.com wrote:
Let's say I've carefully set up a Regex find in the Find dialog. And let's say I switch away from TextMate to do something else, and I do a find, say in a Safari page. When I come back to TextMate, my find term is gone! It has been replaced from the system shared Find clipboard. This (the shared Find clipboard) is a vile feature and TextMate should either opt out or should give me a pref to opt out. Thanks! m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Jan 14, 2014, at 11:28 AM, Gerd Knops gerti-textmate@bitart.com wrote:
The shared Find clipboard is engrained in many folks workflows and makes perfect sense.
And TMs find panel does have the drop-down controls to easily get to previous search/replace terms, so your find term is not gone.
Good counter-examples but this is exactly why I ask for a pref. That way, you do what you do and I'll do what I do. m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
This is the standard behavior in all major (if not all) apps I use. I'd go so far as to consider it standard OS X behavior.
TextMate 2 does it right IMO, offering a scroll back of prior searches, but integrating with the OS.
From my perspective, this is little different from asking to have TextMate provide the option of a private copy buffer, so Cmd-C in another app doesn't stomp on what you copied in TextMate.
-- Jason
On Jan 14, 2014, at 12:13, Matt Neuburg matt@tidbits.com wrote:
On Jan 14, 2014, at 11:28 AM, Gerd Knops gerti-textmate@bitart.com wrote:
The shared Find clipboard is engrained in many folks workflows and makes perfect sense.
And TMs find panel does have the drop-down controls to easily get to previous search/replace terms, so your find term is not gone.
Good counter-examples but this is exactly why I ask for a pref. That way, you do what you do and I'll do what I do. m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Jan 14, 2014, at 12:25 PM, Jason Smith jason@ncpod.org wrote:
This is the standard behavior in all major (if not all) apps I use. I'd go so far as to consider it standard OS X behavior.
It is vile standard OS X behavior. It was never right to change the current search term in other apps merely because I happened to switch away and do a different search in a different app. I remember very well when this behavior first appeared. I hated it then and I hate it now.
And it's only getting worse. A google search in the Safari URL field is read back into all your Find dialogs, for heaven's sake.
TextMate 2 does it right IMO, offering a scroll back of prior searches, but integrating with the OS.
I'm suggesting only that it could be righter and more helpful. Let TextMate lead the way here. I'm not asking that this feature _be_ turned off, only that I be given a way to _turn_ it off at will.
Bear in mind the use case. I'm searching for different things in a lot of apps as I try to write this bundle. The search in TextMate is to test regex expressions. Having those constantly being wiped out because I searched for "lookahead" in the Oniguruma web page (or whatever) is maddening and is slowing me way down.
Yes, I *can* restore the lost regex from the list. But another way of looking at it is that all my searches in other applications are also infecting that list!
I'm not the only one, surely. See Lachlan Hunt's comment at http://blog.macromates.com/2005/the-shared-find-clipboard/.
m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
On 16 Jan 2014, at 0:41, Matt Neuburg wrote:
TextMate 2 does it right IMO, offering a scroll back of prior searches, but integrating with the OS.
I'm suggesting only that it could be righter and more helpful. Let TextMate lead the way here. I'm not asking that this feature _be_ turned off, only that I be given a way to _turn_ it off at will.
You are welcome to submit a pull request for a hidden setting to control this.
On Jan 14, 2014, at 12:25 PM, Jason Smith jason@ncpod.org wrote:
This is the standard behavior in all major (if not all) apps I use. I'd go so far as to consider it standard OS X behavior.
By the way, BBEdit has a pref that lets you turn this off. m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
On 15 Jan 2014, at 2:28, Gerd Knops wrote:
[…] And TMs find panel does have the drop-down controls to easily get to previous search/replace terms, so your find term is not gone.
Worth mentioning that you can also use ⌃⌥⌘F to bring up “search history” outside the find dialog (analogous to ⌃⌥⌘V for clipboard history).
On 14 Jan 2014, at 14:19, Matt Neuburg wrote:
This (the shared Find clipboard) is a vile feature and TextMate should either opt out or should give me a pref to opt out.
I mostly find it beneficial and unconsciously depend on it being shared system-wide. I fact, I often get annoyed when an application doesn’t use it because then I have to use the regular pasteboard and “destroy” whatever I was keeping there previously.
In TextMate specifically, can’t you recall previous searches from a pop-up in the Find panel?