From 2ad05cd7d5d064969f4e70c67bbf8e3fbb24f00c Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sun, 7 Apr 2013 20:15:01 +0300 Subject: [PATCH] [PATCH 0/3] config: follow symlinks when saving --- 68/e27e5a0b58900d70b0bfadbe989b733b9c410b | 88 +++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 68/e27e5a0b58900d70b0bfadbe989b733b9c410b diff --git a/68/e27e5a0b58900d70b0bfadbe989b733b9c410b b/68/e27e5a0b58900d70b0bfadbe989b733b9c410b new file mode 100644 index 000000000..3c69b2280 --- /dev/null +++ b/68/e27e5a0b58900d70b0bfadbe989b733b9c410b @@ -0,0 +1,88 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 10310431FBC + for ; Sun, 7 Apr 2013 10:15:14 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id nJsgW1XxD0v4 for ; + Sun, 7 Apr 2013 10:15:13 -0700 (PDT) +Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com + [209.85.217.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 407C2431FB6 + for ; Sun, 7 Apr 2013 10:15:13 -0700 (PDT) +Received: by mail-lb0-f179.google.com with SMTP id t1so4959824lbd.24 + for ; Sun, 07 Apr 2013 10:15:11 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=x-received:from:to:cc:subject:date:message-id:x-mailer + :x-gm-message-state; + bh=DRWjXecM8uNFFwLiMOGyxDoGWPECfOe9StW+MyLbyxc=; + b=RzP2DC6biPnbb9AQC+QyRHEsXighXzsJ09Ko7Z8MsdAPEFyn/tsbzkLw8Y5vG7OecX + 5/aoBtCJJ2bjW8d6JGnIGy9TdBg4hPeJbwQvSu3OEIBgKmrbWYYv2iu8yuxK+M0nGtiD + e9ifPuy2W3j79fwl6hyUCwtMRhekLG44uMV1FtceSd5l7TE7n4dnbq5FZ/1/3DKwqpul + askcJGVspgRyr4K9KneflCXxFtWcICev7krbv2pzT1rp5G2O0up3ehbeY0CCTjtuO7kP + oA8d2bhQeEeIqV2E8DNqfGuVaT3jmy4mgAJsndKS5t338JGvYLRmfrHfmIhJgQ96KLde + sdMg== +X-Received: by 10.112.132.134 with SMTP id ou6mr9783144lbb.45.1365354911658; + Sun, 07 Apr 2013 10:15:11 -0700 (PDT) +Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi. + [80.223.81.27]) + by mx.google.com with ESMTPS id h6sm1139877laa.9.2013.04.07.10.15.09 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sun, 07 Apr 2013 10:15:10 -0700 (PDT) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH 0/3] config: follow symlinks when saving +Date: Sun, 7 Apr 2013 20:15:01 +0300 +Message-Id: +X-Mailer: git-send-email 1.7.10.4 +X-Gm-Message-State: + ALoCoQnABln9OIbafTkKkM7mA6e8TezCIMGtSjgVe+CfHyaiiC6vpwJ9OBzlLd7ypNFPEsb9zTmY +Cc: Tomi Ollila +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sun, 07 Apr 2013 17:15:14 -0000 + +This is v4 of [1], adding tests (and some semi-related TODO file +updates). The actual code is the same as before. + +This makes my symlink based dotfiles setup happy. + +BR, +Jani. + +[1] id:1362320310-10930-1-git-send-email-jani@nikula.org + + +Jani Nikula (3): + test: add some config file tests + cli: config: do not overwrite symlinks when saving config file + TODO: remove some completed todo items from the list + + devel/TODO | 14 -------------- + notmuch-config.c | 24 ++++++++++++++++++++---- + test/config | 23 +++++++++++++++++++++++ + 3 files changed, 43 insertions(+), 18 deletions(-) + +-- +1.7.10.4 + -- 2.26.2