From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.help Subject: Re: is diff-fixup-modifs supposed to work on regular diff? Date: Sun, 18 Aug 2013 20:46:16 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1376883990 20826 80.91.229.3 (19 Aug 2013 03:46:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Aug 2013 03:46:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 19 05:46:29 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VBGQG-0003wW-KQ for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Aug 2013 05:46:28 +0200 Original-Received: from localhost ([::1]:40770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBGQG-0003gC-90 for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Aug 2013 23:46:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBGQ6-0003fG-W0 for help-gnu-emacs@gnu.org; Sun, 18 Aug 2013 23:46:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VBGQ5-0007Fh-Mj for help-gnu-emacs@gnu.org; Sun, 18 Aug 2013 23:46:18 -0400 Original-Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:35862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBGQ5-0007Fb-HM for help-gnu-emacs@gnu.org; Sun, 18 Aug 2013 23:46:17 -0400 Original-Received: by mail-wi0-f181.google.com with SMTP id en1so2537587wid.2 for ; Sun, 18 Aug 2013 20:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mD1d856Ot8ZPKd66z3ae0TTz7SuK/k7AIYzGLlTkG5Y=; b=QgcNYNxOGHtVcJkuPlZyLMWHJDcnaVMA080ivFAxtmnG6vJ98bfLzeuTORGCb+cVSH 5Mg8kwUn5rl8P5PmNBZj0qlJvSFm3ekr2qRVL1wJTMLsjqoD3qPAtC5D7VA99a1iQta7 2vtL4jk2JIzClnhaOA035bwtE5q5hhSAlk48oUreNZTkmfPS+MbWHKa/+l5me7tqe4XZ IDQsak6dzVAwx34UPvJmq+g6IwT3wxLPHSEO+bwzC3XpS4fGq1DdD+BHM/Fx1ipTMXa1 iPxfSjF57Ip8RJa6S2lPn3YmD7vLm9jkBWcsZtC3YVglFFKFn1yYynFytAG3QSbGS99w OKDQ== X-Received: by 10.180.8.42 with SMTP id o10mr6607789wia.0.1376883976795; Sun, 18 Aug 2013 20:46:16 -0700 (PDT) Original-Received: by 10.194.31.100 with HTTP; Sun, 18 Aug 2013 20:46:16 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::235 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92972 Archived-At: On 8/10/13, Stefan Monnier wrote: > diff-fixup-modifs (and most of diff-mode's editing functions such as > the killing of hunks) only works for context diffs, because it does not > preserve line numbers precisely. Thanks for the explanation. I will then somehow have to solve the problem differently. What I really want is a way to tell Ediff to make certain lines (not difference regions) context lines instead of changes, even when they are changes. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.