unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.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: Thu, 13 Sep 2007 14:38:30 -0400	[thread overview]
Message-ID: <ack5qul8bd.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <jwvwsuuzco4.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 13 Sep 2007 13:42:15 -0400")

Stefan Monnier wrote:

> Thanks.  But I still wonder: why would anybody use "-c0" or "-u0"?
>
> If you don't want context, then you're better off with the plain or `ed'
> diff formats, no?

Previously, it also failed to work when either of the files being
diffed was a single line file (so there was no context to display with
plain -c or -u).

  reply	other threads:[~2007-09-13 18:38 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 [this message]
2007-09-13 21:41           ` Stefan Monnier
2007-09-13 20:06         ` Stephen J. Turnbull
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=ack5qul8bd.fsf@fencepost.gnu.org \
    --to=rgm@gnu.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).