unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Chris Moore <dooglus@gmail.com>,
	Thien-Thi Nguyen <ttn@gnuvola.org>,
	emacs-devel@gnu.org
Subject: Re: diff-mode doesn't like "-c0" or "-u0" diff output for single-line changes
Date: Fri, 14 Sep 2007 05:06:14 +0900	[thread overview]
Message-ID: <87odg6couh.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <jwvwsuuzco4.fsf-monnier+emacs@gnu.org>

Stefan Monnier writes:

 > Thanks.  But I still wonder: why would anybody use "-c0" or "-u0"?

For ChangeLogs, which rarely apply if they have any context.  The
unidiff format is preferred by XEmacs because it provides the headers
which identify the ChangeLog exactly.  I don't think it hurts that all
patches are in the same format.

Not a big deal, but since it's trivial to do, why not?

 > If you don't want context, then you're better off with the plain or `ed'
 > diff formats, no?

If you remember how to read them. :-)  I only ever see those in patch
.rej files.

  parent reply	other threads:[~2007-09-13 20:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-08 13:49 diff-mode doesn't like "-c0" or "-u0" diff output for single-line changes Chris Moore
2007-09-10  1:13 ` Richard Stallman
2007-09-10 11:20   ` Chris Moore
2007-09-10 23:55     ` Richard Stallman
2007-09-11  7:00     ` Thien-Thi Nguyen
2007-09-13 17:42       ` Stefan Monnier
2007-09-13 18:38         ` Glenn Morris
2007-09-13 21:41           ` Stefan Monnier
2007-09-13 20:06         ` Stephen J. Turnbull [this message]
2007-09-13 21:41           ` Stefan Monnier
2007-09-14  1:40         ` Thien-Thi Nguyen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87odg6couh.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=dooglus@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=ttn@gnuvola.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).