Re: feature request

On Fri, Aug 16, 2013 at 2:57 PM, Kai Willadsen <kai willadsen gmail com> wrote:
On 16 August 2013 03:42, david kerns <david t kerns gmail com> wrote:
> Hi new to the mail list so sorry if this is a duplicate request... (I did a
> quick search through the archive but certainly not exhaustive)
> many times I do directory compares...
> meld dir1 dir2
> some times I have this:
> dir1/sub/
> dir1/sub/
> ...
> dir2/sub/
> ...
> it would be really slick to be able to select the specific files to "diff"
> (in a tab of the current directory diff)
> ie either:
>    dir1/sub/ vs dir1/sub/
> or
>   dir1/sub/ vs dir2/sub/
> and not just the matching relative path file names
> the UI to select the files to diff is what will make/break this feature
> (without cluttering up the default behavior)
> anyway, thanks for continued work on this wonderful tool!

Thanks for the feedback!

This is actually a really old request
( that is sadly
difficult to figure out. Actually implementing it would be fairly
trivial. Keeping anything else remotely sane while doing so seems

The problem is that selection handling across multiple trees is
complicated. At the moment, we Do The Right Thing by just enforcing
that there is only one active selection between all the current trees.
If we allowed each tree to have its own active selection, then every
compare operation becomes ambiguous. How do we know whether you
*meant* to compare X in tree one with Y in tree two, or whether you
just left the cursor there? etc.  It's also quite visually distracting
having multiple selections, but that's a different story.

So I'm afraid that I don't know of any better way to do this than what
we currently enable: open up the files and then use the file browser
to select the file you really wanted to diff.

...but I'm interested in any possible solutions to the problem.


Fighting gmail's default of top posting
so, here's a solution that might be more work then the perceived benefit, but I'll throw it your way just in case ;)

(I was just playing with 1.7.4)

I'm doing a "meld dir1 dir2" as described in my OP. I'm looking at the two directory structures.
I click "New Comparison" and get a new "blank tab", then I click back on the first tab,
now imagine I can drag/drop any 2 or 3 files from the directory list onto the blank tab, and poof, "meld magic"!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]