-1

windows 10 (64 bit)

Emacs 26.1, Dired+

I need tool that can compare files by content with highlight different symbols.

Example:

enter image description here

As you can see I mark two files. Is it possible to compare this files in dired mode? Smt like press C-c and compare only mark files.

closed as unclear what you're asking by Drew, DoMiNeLa10 Jul 14 at 18:16

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Are you looking for a tool outside Emacs or an Emacs command or library that will do this? If the former then the question is off topic here. Either way, the question is very broad - what exactly do you need from such a tool? What have you tried, and how did it not do what you want? – Drew Jul 14 at 14:01
  • @Drew I'm looking library that compare files by content – Alex Jul 14 at 14:31
  • Too vague. If you want useful help then it's up to you to make clear what behavior you're looking for. It's not up to those trying to help you to guess and then have you say, "No, that's not it", "ediff isn't comfortable enough", etc. You might have more luck with the kind of broad request you're making on a site like Reddit. – Drew Jul 14 at 14:41
  • You've changed the question completely. Now it's about Dired. Please delete this question and post a new one for what you want. Be specific. – Drew Jul 14 at 14:59
1

Comparing Files - GNU Emacs Manual:

https://www.gnu.org/software/emacs/manual/html_node/emacs/Comparing-Files.html

If you have no diff command installed then see this:

Comparing two text files on a Windows system

1

You've changed the question to now be about using Dired. So existing answers no longer apply. That's not how it works on Stack Exchange.


Anyway, to help you out, in Dired you can use dired-diff to do what you want. If you use Dired+ then you can also use diredp-ediff (bound to =).

  • ediff is not very comfortable tool for compare. Has any lib for this? Thanks. – Alex Jul 14 at 14:33
  • Your question is too broad - too vague. What's "not very comfortable" about ediff, for example? You don't specify what tool behavior you're looking for. – Drew Jul 14 at 14:38
  • I updated my post – Alex Jul 14 at 14:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.