help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: diff-mode


From: Andrea Crotti
Subject: Re: diff-mode
Date: Tue, 14 Dec 2010 00:22:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin)

"Drew Adams" <drew.adams@oracle.com> writes:

>
> diff-mode-.el does not help with that.
>
> For that, you will likely want to (a) visit the buffers/files in the proper 
> mode
> with font-locking, and then (b) copy text from there (with faces) to the diff
> output buffer.  Or put the other way around: follow each diff from the `diff'
> output buffer to a buffer for the original file and copy text (with faces) 
> back
> from there.
>
> But that sounds onerous in terms of efficiency.  Remember that `diff' itself
> runs and produces its output outside of Emacs.  You need not even be visiting
> the diffed files within Emacs.
>
> Why don't you just use `ediff'?  With `ediff' you see the files within Emacs,
> font-locked.

Ediff is really nice, but it's a bit cumbersome.
I mean if I only want to see the diff and apply what I want how do I use
ediff?
ediff is very interactive and it makes a lot of color noise, moreover it
opens another small frame which on 
"GNU Emacs 23.2.1 (x86_64-apple-darwin10.3.0, NS apple-appkit-1038.29) of
2010-05-09 on linc"
I think is a bit buggy, since if I press "q" it doesn't disappear but I
have to close it manually.

As I discussed with a collegue, one of the problem of emacs are the
non-inviting defaults.

Since no long ago the transient-mark-mode was not enabled by default
(just an example).
I understand that it must be compatible from Dos to Solaris, but many
people try it, see that the defaults suck (from a normal user
perspective) and they abandon, which is a pity (or "natural selection" maybe).

But that's another topic...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]