all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: diff-mode
Date: Tue, 14 Dec 2010 00:22:36 +0100	[thread overview]
Message-ID: <m1aak91cn7.fsf@ip1-201.halifax.rwth-aachen.de> (raw)
In-Reply-To: 6174A3FCFD074EF5A396A7D095DEB814@us.oracle.com

"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	other threads:[~2010-12-13 23:22 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-12 11:44 diff-mode Andrea Crotti
2010-12-12 15:09 ` diff-mode Drew Adams
2010-12-12 17:59   ` diff-mode Andrea Crotti
2010-12-12 18:14     ` diff-mode Drew Adams
2010-12-13 23:22       ` Andrea Crotti [this message]
2010-12-13 23:35         ` diff-mode Drew Adams
2010-12-14 10:04         ` diff-mode Eli Zaretskii
2010-12-14 10:13           ` diff-mode Leo
2010-12-14 11:07             ` diff-mode Eli Zaretskii
2010-12-14 14:40           ` diff-mode Andrea Crotti
2010-12-14 15:22             ` diff-mode Eli Zaretskii
     [not found]           ` <mailman.4.1292337645.794.help-gnu-emacs@gnu.org>
2010-12-14 14:57             ` diff-mode Mario Lassnig
     [not found]       ` <mailman.2.1292282577.11279.help-gnu-emacs@gnu.org>
2010-12-14  8:43         ` diff-mode Elena
2010-12-14 10:11           ` diff-mode Eli Zaretskii
2010-12-14 10:16           ` diff-mode Leo
     [not found]           ` <mailman.1.1292321505.27999.help-gnu-emacs@gnu.org>
2010-12-14 13:40             ` diff-mode Elena
2010-12-14 14:57               ` diff-mode Andrea Crotti
2010-12-14 15:48                 ` diff-mode Drew Adams
2010-12-14 15:57                   ` diff-mode Andrea Crotti
2010-12-14 16:06                     ` diff-mode Drew Adams
     [not found]               ` <mailman.5.1292338693.794.help-gnu-emacs@gnu.org>
2010-12-14 15:35                 ` diff-mode Elena
2010-12-14 16:07                   ` diff-mode Eli Zaretskii
2010-12-14 18:20                     ` diff-mode Andrea Crotti
     [not found]                   ` <mailman.7.1292342885.25302.help-gnu-emacs@gnu.org>
2010-12-14 16:22                     ` diff-mode Elena
2010-12-14 18:51                       ` diff-mode Eli Zaretskii
     [not found]                       ` <mailman.5.1292352715.11323.help-gnu-emacs@gnu.org>
2010-12-14 19:48                         ` diff-mode Elena
2010-12-14 15:46                 ` diff-mode Richard Riley
2010-12-14 15:45               ` diff-mode Richard Riley
2010-12-15 14:12               ` diff-mode José A. Romero L.
2010-12-15 15:00                 ` diff-mode Elena
2010-12-15 16:28                   ` diff-mode José A. Romero L.
2010-12-15 16:46                   ` diff-mode José A. Romero L.
2010-12-15 16:50                   ` diff-mode José A. Romero L.
     [not found] <mailman.3.1292154786.23431.help-gnu-emacs@gnu.org>
2010-12-12 12:46 ` diff-mode rusi
2010-12-12 18:02   ` diff-mode Andrea Crotti
     [not found]   ` <mailman.4.1292177110.18751.help-gnu-emacs@gnu.org>
2010-12-13  4:52     ` diff-mode rusi
2010-12-12 18:23 ` diff-mode Elena
2010-12-12 18:26   ` diff-mode Elena
2010-12-15  4:47 ` diff-mode Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1aak91cn7.fsf@ip1-201.halifax.rwth-aachen.de \
    --to=andrea.crotti.0@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.