Re: Ignore every file except XX*
Daniel Sahlberg wrote on Fri, 12 Jun 2020 21:14 +0200: > > > > Care to move this over to dev@ with a patch? > > > > Will do, it might take a few days. > > Thanks to the other users for their suggestions but I don't think they'll > be general enough for my use case. Care to explain why patterns with negated character classes wouldn't work?
Re: Ignore every file except XX*
On 13.06.2020 11:15, Daniel Shahaf wrote: > Daniel Sahlberg wrote on Fri, 12 Jun 2020 21:14 +0200: >>> Care to move this over to dev@ with a patch? >>> >> Will do, it might take a few days. >> >> Thanks to the other users for their suggestions but I don't think they'll >> be general enough for my use case. > Care to explain why patterns with negated character classes wouldn't work? There's a difference between saying, "ignore everything except '*.doc'" and "ignore '*.[^d][^o][^c]'". You can't get the same result with negated character classes as with pattrerns. -- Brane
Re: Ignore every file except XX*
Branko Čibej wrote on Sat, 13 Jun 2020 09:51 +00:00: > On 13.06.2020 11:15, Daniel Shahaf wrote: > > Daniel Sahlberg wrote on Fri, 12 Jun 2020 21:14 +0200: > >>> Care to move this over to dev@ with a patch? > >>> > >> Will do, it might take a few days. > >> > >> Thanks to the other users for their suggestions but I don't think they'll > >> be general enough for my use case. > > Care to explain why patterns with negated character classes wouldn't work? > > There's a difference between saying, "ignore everything except '*.doc'" > and "ignore '*.[^d][^o][^c]'". Did you read my previous message in this thread? If you have, then you've just committed a strawman, and that's unlike you. (And for the record, the complement of «*.doc» is «*[^c]|*[^o]c|*[^d]oc|*[^.]doc|».) > You can't get the same result with negated character classes as with > pattrerns. I'm aware of that, and have said so in so many words, but the problem statement was "Ignore everything except XX* and YY*", and that _can_ be achieved with negated patterns. At this point I'd rather wait for Daniel to answer my question and clarify his problem statement.
Re: Ignore every file except XX*
Daniel Shahaf wrote on Sat, 13 Jun 2020 10:09 +00:00: > Branko Čibej wrote on Sat, 13 Jun 2020 09:51 +00:00: > > On 13.06.2020 11:15, Daniel Shahaf wrote: > > > Daniel Sahlberg wrote on Fri, 12 Jun 2020 21:14 +0200: > > >>> Care to move this over to dev@ with a patch? > > >>> > > >> Will do, it might take a few days. > > >> > > >> Thanks to the other users for their suggestions but I don't think they'll > > >> be general enough for my use case. > > > Care to explain why patterns with negated character classes wouldn't work? > > > > There's a difference between saying, "ignore everything except '*.doc'" > > and "ignore '*.[^d][^o][^c]'". > > Did you read my previous message in this thread? If you have, then > you've just committed a strawman, and that's unlike you. > > (And for the record, the complement of «*.doc» is > «*[^c]|*[^o]c|*[^d]oc|*[^.]doc|».) > > > You can't get the same result with negated character classes as with > > pattrerns. > > I'm aware of that, and have said so in so many words, but the problem > statement was "Ignore everything except XX* and YY*", and that _can_ be > achieved with negated patterns. s/negated patterns/negated character classes/ > At this point I'd rather wait for Daniel to answer my question and > clarify his problem statement.
Re: Ignore every file except XX*
On 13.06.2020 12:09, Daniel Shahaf wrote: > Branko Čibej wrote on Sat, 13 Jun 2020 09:51 +00:00: >> On 13.06.2020 11:15, Daniel Shahaf wrote: >>> Daniel Sahlberg wrote on Fri, 12 Jun 2020 21:14 +0200: > Care to move this over to dev@ with a patch? > Will do, it might take a few days. Thanks to the other users for their suggestions but I don't think they'll be general enough for my use case. >>> Care to explain why patterns with negated character classes wouldn't work? >> There's a difference between saying, "ignore everything except '*.doc'" >> and "ignore '*.[^d][^o][^c]'". > Did you read my previous message in this thread? If you have, then > you've just committed a strawman, and that's unlike you. > > (And for the record, the complement of «*.doc» is > «*[^c]|*[^o]c|*[^d]oc|*[^.]doc|».) |? There's no such operator in glob patterns. >> You can't get the same result with negated character classes as with >> pattrerns. > I'm aware of that, and have said so in so many words, but the problem > statement was "Ignore everything except XX* and YY*", and that _can_ be > achieved with negated patterns. Well ok, sure, for any concrete pattern you can theoretically construct its inverse with negated character classes (assuming an "or" operator exists). But it's not always trivial nor practical. I think it's worth exploring possible solutions that are also user-friendly. > At this point I'd rather wait for Daniel to answer my question and > clarify his problem statement. I rather suspect that XX* and YY* were just general examples, not concrete ones. -- Brane
Announcing Scm Workbench 0.9.4 for Git, Mercurial and Subversion
SCM Workbench features * Support Subversion (svn), Mercurial (hg) and Git projects. * Experimental support for Perforce (P4) * Easy to learn and use * Builtin User Guide describes the operation and features of the application. * Add project wizard can scan for all your existing projects. * All subversion client operations in a GUI * Many Git client operations in a GUI * GUI git rebase * Some mercurial (hg) client operations in a GUI * Enhanced operations (subversion rename of modified files etc) * Support for Dark mode * Support software development workflow * Builtin GUI diff showing line and character diffs * Ability to diff between revisions in a files history * Runs on Windows, Mac OS X and Unix platforms Please visit http://scm-workbench.barrys-emacs.org/ for downloads, git source, user guide and further information on SCM Workbench. New in 0.9.4 * Feature to show all commits since a tag (great for writing release notes) * Update to Python 3.8 for built kits * Build tools for macOS and Windows use venv * Fix problem with creating editor and shell process on macOS 10.15 * Fix traceback with changing SVN properties * Fix styles for light mode diff * Support favourites that start with "Config". Barry
Re: Ignore every file except XX*
Branko Čibej wrote on Sat, 13 Jun 2020 10:16 +00:00: > On 13.06.2020 12:09, Daniel Shahaf wrote: > > Branko Čibej wrote on Sat, 13 Jun 2020 09:51 +00:00: > >> On 13.06.2020 11:15, Daniel Shahaf wrote: > >>> Daniel Sahlberg wrote on Fri, 12 Jun 2020 21:14 +0200: > > Care to move this over to dev@ with a patch? > > > Will do, it might take a few days. > > Thanks to the other users for their suggestions but I don't think they'll > be general enough for my use case. > >>> Care to explain why patterns with negated character classes wouldn't work? > >> There's a difference between saying, "ignore everything except '*.doc'" > >> and "ignore '*.[^d][^o][^c]'". > > Did you read my previous message in this thread? If you have, then > > you've just committed a strawman, and that's unlike you. > > > > (And for the record, the complement of «*.doc» is > > «*[^c]|*[^o]c|*[^d]oc|*[^.]doc|».) > > |? There's no such operator in glob patterns. The pipes were shorthand for writing the disjuncts one per line in the property value. [And by the way, that complement is incomplete: it doesn't match "doc", "oc", and "c".] > >> You can't get the same result with negated character classes as with > >> pattrerns. > > I'm aware of that, and have said so in so many words, but the problem > > statement was "Ignore everything except XX* and YY*", and that _can_ be > > achieved with negated patterns. > > Well ok, sure, for any concrete pattern you can theoretically construct > its inverse with negated character classes (assuming an "or" operator > exists). But it's not always trivial nor practical. > I think it's worth exploring possible solutions that are also user- > friendly. I agree, but I'd still like to hear Daniel's answer to my question. > > At this point I'd rather wait for Daniel to answer my question and > > clarify his problem statement. > > I rather suspect that XX* and YY* were just general examples, not > concrete ones. So do I, but the solution I posted is generalizable, as you know. Brane, can we just put this thread on hold until Daniel replies? For me to explain why ruling out a proposed solution without stating a reason is not best practice would not be a good use of any of our times.
Re: Ignore every file except XX*
> > Care to move this over to dev@ with a patch? > > Will do, it might take a few days. I recommend to send dev@ the syntax you propose to implement before you actually implement it. Cheers, Daniel > Thanks to the other users for their suggestions but I don't think > they'll be general enough for my use case. > > / Daniel >
Can not use SVN on my Idea .mac book air
Excuse me. What is going on? Error:Svn process exited with error code: 6