From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MBiuY-0006Tj-GN for garchives@archives.gentoo.org; Wed, 03 Jun 2009 05:21:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D48FCE0410; Wed, 3 Jun 2009 05:21:12 +0000 (UTC) Received: from newton.gmurray.org.uk (newton.gmurray.org.uk [81.2.114.237]) by pigeon.gentoo.org (Postfix) with ESMTP id 82C08E0410 for ; Wed, 3 Jun 2009 05:21:12 +0000 (UTC) Received: from newton.gmurray.org.uk (localhost [127.0.0.1]) by newton.gmurray.org.uk (8.14.3/8.14.3) with ESMTP id n535LBBB007696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 3 Jun 2009 06:21:11 +0100 X-DKIM: Sendmail DKIM Filter v2.8.3 newton.gmurray.org.uk n535LBBB007696 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmurray.org.uk; s=in200703; t=1244006471; bh=vCZIM5XKKfpYfUPf2BqKqjuBVZAdrv5UbPMmLYiauO4=; l=704; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=pDhkaR9v/eYmBoJWKXJUo8nITd1JL1078kbjV6zBM+DGgA6IEQdulWKQQeTVgibCq oaBAsVSShTr6qxaQqhyfR0FDf0V4+tG/vFvQP4zQoQZKEfQ7q7XXeWC3pLMOzm0ooa EL/SFRuzzpNDR0PnZeGPchgM5ljjt24lpI2otQcc= X-BATV: Sendmail BATV Filter v0.4.0 newton n535LBBB007696 Received: (from graham@localhost) by newton.gmurray.org.uk (8.14.3/8.14.3/Submit) id n535LBxN007695; Wed, 3 Jun 2009 06:21:11 +0100 X-Authentication-Warning: newton.gmurray.org.uk: graham set sender to graham@gmurray.org.uk using -f From: Graham Murray To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] dispatch-conf merge X-Hashcash: 1:22:090603:gentoo-user@lists.gentoo.org::n+KqYFRakHaLKvEu:000000000000000000000000000000000S1cR Date: Wed, 03 Jun 2009 06:21:10 +0100 Message-ID: <87zlcpc2pl.fsf@newton.gmurray.org.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: clamav-milter 0.95.1 at newton X-Virus-Status: Clean X-Archives-Salt: cbc66104-2cf9-46bf-ac07-bd5faa6f7ddd X-Archives-Hash: dd72b74f14b6f092560ca319a2ae5a9e Is there any way to improve the granularity in the merge function of dispatch-conf, or make it more intelligent? The particular situation where it gives me problems is in configuration files where the value of an option has been manually changed following initial installation, then on an upgrade a new option is added close to the one previously changed. In this situation, dispatch-conf almost invariably wants to reset the changed option line back to its default. When selecting 'm' to merge changes it will present a left hand side with the already existing value (often plus other lines) with the right hand side with the default lines for both the existing line(s) and the new ones.