From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WB2CDSmh6GCZAQEAgWs5BA (envelope-from ) for ; Fri, 09 Jul 2021 21:19:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UCoiCSmh6GA9OwAAB5/wlQ (envelope-from ) for ; Fri, 09 Jul 2021 19:19:05 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 79E5FE731 for ; Fri, 9 Jul 2021 21:19:04 +0200 (CEST) Received: from localhost ([::1]:46968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1w1f-0002XV-I3 for larch@yhetil.org; Fri, 09 Jul 2021 15:19:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1w1I-0002TP-2O for emacs-orgmode@gnu.org; Fri, 09 Jul 2021 15:18:40 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:34739) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1w1F-0007Hm-Co for emacs-orgmode@gnu.org; Fri, 09 Jul 2021 15:18:39 -0400 Received: by mail-wr1-x430.google.com with SMTP id p8so13565229wrr.1 for ; Fri, 09 Jul 2021 12:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=uS5Pe1bjydBj/ClUkterEiNX/RoB4qhrzsVTNr744+A=; b=oFYbe/PXThd/ae0u199eY44W9B+FJ0mwE4XfbEn5fZQUpeGDomCgfmKG7xuO+Iej7O MI1s6ScH3tkukfOTja2AI8l7dJfv2iBanLHzBYkPJ5cayIPBBWXBQMbtXkPcGCkiNS1H b7Hp3yAx7MPrrySBpKc9yB2jiwM88vIHtttW8Ewnfio105dvgezA0VAHUAIkEGL8W0hB sulnvATaiujEzE3EoDUEUmHTtrH7LATGtIhjcmgrt6iA6IrbLD2+zJ8zjwukx5R7hzlu MpmN7ZGpfpap4bW8dwxw/Y8FPhBFV7VH5Z54m5Qgdvl70mdmz0V2A1jRvGF7TI6S+pwl bbxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=uS5Pe1bjydBj/ClUkterEiNX/RoB4qhrzsVTNr744+A=; b=HWfRdCVWR63BlN7xp49wP8keKVVkTWqWeI5ZKguu8XKpjIFSrheqK5NMDAPVyNXKjd bS40kyozFlOiV1/tfoGUOwFfe9BcXqHbo/Ur4K3lsjkV8fib6MmewA0PTU9sar0V2Bh4 99bYNs/LAZ8gYeh5GG7frbmiLeFE1L8R25y0Q9oWTfCAmCNe6cQXuwCt5ElD5x2wTL8X iafmyLqjvmhLxNTYH/UGIXz3DFkEaYABnk7i3amAfvNil2Y1yrbqKIr2xdXx+6nCMm7s gQ92C4X69BAMqQsCNrZEVG2s3wnu5ntY8IBEdIxSNIjl/vmwoHMqpnqAxHD7v0tFGAmO 5mFQ== X-Gm-Message-State: AOAM530SHj0ZtxmynP0BTLVS+G/duHWEtjLOdZvSdjtl9ChDWfy8DQ8x olxPykZLCD6iTkOnBBmXp3c= X-Google-Smtp-Source: ABdhPJz1DRtN30kxctdFXAwBmAIKzUfvO4F8f4HBKGwJYInqxeAKFoPdDZ4WpqAh5Axituw8xl6gmA== X-Received: by 2002:a5d:530c:: with SMTP id e12mr12044425wrv.130.1625858314700; Fri, 09 Jul 2021 12:18:34 -0700 (PDT) Received: from aspire-5942 (p200300d867433900ad8bcf33385fb49b.dip0.t-ipconnect.de. [2003:d8:6743:3900:ad8b:cf33:385f:b49b]) by smtp.gmail.com with ESMTPSA id n16sm6239654wrr.73.2021.07.09.12.18.33 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Jul 2021 12:18:33 -0700 (PDT) From: Marco Wahl To: Colin Baxter Subject: Re: [WDYT] org-attach-sync better remove an empty attachment directory? References: <87lf6h7ueq.fsf@gmail.com> <87o8bdljwn.fsf@gmail.com> <87y2ahi6zo.fsf@gmail.com> <87sg0ptere.fsf@gmail.com> <87zguxmcop.fsf@yandex.com> <87r1g8wvvo.fsf@gmail.com> <87lf6gwsbe.fsf@gmail.com> <87mtqwtxi5.fsf@gmail.com> <878s2g108a.fsf@yandex.com> Date: Fri, 09 Jul 2021 21:18:06 +0200 In-Reply-To: <878s2g108a.fsf@yandex.com> (Colin Baxter's message of "Fri, 09 Jul 2021 07:15:49 +0100") Message-ID: <87v95jpa8h.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=marcowahlsoft@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tim Cross , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625858344; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=uS5Pe1bjydBj/ClUkterEiNX/RoB4qhrzsVTNr744+A=; b=Z7L32RABVZX5fJALvZMNj7whKjJLv1Dcmt6ziaU8NlcJJB5T3LKzkOPtCOuL7iny0Y+NT8 BsZN7/L9NfUIfP9mbDjaD9LcUVf7tgwcpuSa/0WAfel4IcyR6ORB1Yyqt6Xp4Nhaau/Qd6 8MCDgjmlpgW/kqsw4YuwgUD5Zf46GfzkxXNPQ9X7OmOZ0kFhsn9jjvpIwRRJ/ozQa5rals EX5ei+VqVKeUn9gcYm0YTkJAvYwPaJXQ1m7yoIuQrpHpA70KLQMw3+NqJaNqRKzotL+Emk Oa3hkPMvUDK5Syb5kTho9tm6PWxX/fyTy/U1fIQnh6N58gvTquXLWxc8tX6IuA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625858344; a=rsa-sha256; cv=none; b=DH8eJgVmqX6/EXDbK1pQwlRg7eARXAg3pN9XUOTz1b8XO3LrHRsLw5ku+WV15fBr1vm2oV WpRztwbfC7Jrs9JKxsCpOMGgEFzcw1pqepR/bEAUv1kdPzNd6z1WCc9OJ1W5UXFV2lzPxS mkOILqeOkGfcGQ4wtSIarvA4clmRoaeGVacX12kdANZT/l0WUrbNaBvvfOts0wm9SqqWhf Z8YPuBDSS9hELHWhd8cRUCkAHQlFatWKhT5vRwlNPChwze2tM5CAngkhvQJJ2WHPkcACbZ cl3g6K1qesgR3g8I88qFwJ0HdAbBCtaCwxQ858zHArYGxI1//kCPZy0n4qcwwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="oFYbe/PX"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="oFYbe/PX"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 79E5FE731 X-Spam-Score: -2.10 X-Migadu-Scanner: scn1.migadu.com X-TUID: pj1BRF8ytsy8 Colin Baxter writes: >>>>>> Tim Cross writes: > >>>> We could introduce multiple possibilities to choose from. > >>> > >>> 1. Ask in case of an empty directory if it should be deleted. > >>> 2. Don't ask. Don't touch an empty directory. (The state now.) > >>> 3. Don't ask. Delete empty directory. > >>> > >>> We could also make 3. the default setting. > >> > >> I made a mistake here. > >> > >> If we do this I vote for option 1. (not 3.) as default (following > >> the suggestion by Colin) since it is the most interactive > >> variant. If the question gets annoying the user can switch to > >> one of the other options. > >> > > > That seems quite resonable to me. > > And me. Thanks! I pushed respective code. Critique is always welcome.