all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: Markus Triska <markus.triska@gmx.at>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; diff-apply-hunk new line at end of file
Date: Fri, 25 Apr 2008 08:42:58 +0900	[thread overview]
Message-ID: <87myniakfx.fsf@catnip.gol.com> (raw)
In-Reply-To: <20080424232339.93F8382CEF3@mt-computer.local> (Markus Triska's message of "Fri, 25 Apr 2008 01:23:39 +0200 (CEST)")

Markus Triska <markus.triska@gmx.at> writes:
> and do C-c C-a on the first and only hunk of t.patch, the patch is
> applied. When I then do C-c C-a, another new line is unexpectedly
> inserted at the end of t.txt. Arbitrarily many, if repeated.

That's because there isn't enough context in the hunk.  It's a general
problem with the patch format.

-Miles

-- 
"I distrust a research person who is always obviously busy on a task."
   --Robert Frosch, VP, GM Research




  reply	other threads:[~2008-04-24 23:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-24 23:23 23.0.60; diff-apply-hunk new line at end of file Markus Triska
2008-04-24 23:42 ` Miles Bader [this message]
2008-04-25  0:22   ` Markus Triska
2008-04-25  0:38     ` Markus Triska
2008-04-25  1:37 ` 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=87myniakfx.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=markus.triska@gmx.at \
    /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.