From: Markus Triska <markus.triska@gmx.at>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; diff-apply-hunk new line at end of file
Date: Fri, 25 Apr 2008 01:23:39 +0200 (CEST) [thread overview]
Message-ID: <20080424232339.93F8382CEF3@mt-computer.local> (raw)
When I have t.patch with the following content:
diff --git a/t.txt b/t.txt
index f27f040..27bd94f 100644
--- a/t.txt
+++ b/t.txt
@@ -1 +1,2 @@
first line.
+
(available from: http://www.logic.at/prolog/t.patch )
and, in the same directory, t.txt with the following content:
first line.
(available from: http://www.logic.at/prolog/t.txt )
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.
In GNU Emacs 23.0.60.2 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9)
of 2008-04-23 on mt-computer.local
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
configured using `configure '--disable-font-backend''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
value of $XMODIFIERS: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
next reply other threads:[~2008-04-24 23:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-24 23:23 Markus Triska [this message]
2008-04-24 23:42 ` 23.0.60; diff-apply-hunk new line at end of file Miles Bader
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=20080424232339.93F8382CEF3@mt-computer.local \
--to=markus.triska@gmx.at \
--cc=emacs-pretest-bug@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.