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 ms11 with LMTPS id 6D1UIZzpFGD2HgAA0tVLHw (envelope-from ) for ; Sat, 30 Jan 2021 05:07:40 +0000 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 aDMQHZzpFGDucgAAB5/wlQ (envelope-from ) for ; Sat, 30 Jan 2021 05:07:40 +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 098F49403AE for ; Sat, 30 Jan 2021 05:07:39 +0000 (UTC) Received: from localhost ([::1]:36258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5iTx-0007Yc-MD for larch@yhetil.org; Sat, 30 Jan 2021 00:07:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5iT4-0007YW-DE for emacs-orgmode@gnu.org; Sat, 30 Jan 2021 00:06:42 -0500 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:46404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5iT2-0006yE-NG for emacs-orgmode@gnu.org; Sat, 30 Jan 2021 00:06:42 -0500 Received: by mail-pl1-x62b.google.com with SMTP id u11so6548104plg.13 for ; Fri, 29 Jan 2021 21:06:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=1T4uFhUxN51ErSqdqESrYURgNUFO+u2oZDO0OhLU8wA=; b=Nen/CRq2wbdaP1KgKF2DJqt32SSGms4ZlUKtiuUQYyp3hAn+qFKxBtYeKnbLK887RH 9DICFtgzmel+TrQssznrFfERNYnkULsYSdBfqht5pDeMNrnCXu/g1ABh3baijRNCo+6p 1QFgVNOKgj4q1zIW/wYoAhaDT3590jxuBNEtbSzdUaiFTCV9UgDQ6v+8gVRV66wIlQw+ tcZc47MuHRmgt4q3mjT5b0AntqodIlaDCFlaYFVXiyhbJ9avoyILsQQ/ogXr0U9fI5bF djkJ9+NE8eFLxTKrCFSilVcfIrhjAjXIFW41/5Vg1szjx2/DE4my1+yYDvijrKX4tQNu uaXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=1T4uFhUxN51ErSqdqESrYURgNUFO+u2oZDO0OhLU8wA=; b=aY5KqxJNA+ZCYtxcnc90VYzDJ6kInD3eCKc61rIN8aFDb4B6PiEqLjGa8B8yU5Mpcq gkLBdx92xaN1/oz7Ukzf71MG0b0pqxJKtpdCcAvgMU6e7rfg5nUm6QltQA1rwk8VqUzr 6GU1VvtiSJhav9C/wuU8AB7/XDk/nABDV4dl9PT51JrgZU6wGPj3DXCgC1kcMQCv9qxI flpZyHEcQQrtM0mn1NgZjWPA68xEOoogIRbdlSGxb81P2jAdf4eujhKfdwTEYMAIzfEq TcOpjUrL9jhPYy3ovhPa1r07xVCSRAREm5zFmKdyWeMl1IQ01ZBcmVw8M0nUBHX7X3Qn 8Lvg== X-Gm-Message-State: AOAM533YBFR66uwowGoCTAAiYud0EIgzznUmtNx7TOSDSeTV2gYdnrhm xkhfavfLJ9TjXUURHVOcVtE= X-Google-Smtp-Source: ABdhPJwsMzCf084UIMdGkqespXJR6TW1ov6dfZU0HynqGCk2fm2p3A4rvb+pXZ55MdUmm7gU+y3xtQ== X-Received: by 2002:a17:902:a5c6:b029:e0:151c:5a60 with SMTP id t6-20020a170902a5c6b02900e0151c5a60mr7969406plq.9.1611983198862; Fri, 29 Jan 2021 21:06:38 -0800 (PST) Received: from localhost ([104.250.131.79]) by smtp.gmail.com with ESMTPSA id y75sm10124763pfg.119.2021.01.29.21.06.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jan 2021 21:06:37 -0800 (PST) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= , orgmode Subject: Re: org-attach-git don't automatically commit changes In-Reply-To: <87czxn91dj.fsf@posteo.net> References: <87czxn91dj.fsf@posteo.net> Date: Sat, 30 Jan 2021 13:10:45 +0800 Message-ID: <87a6sr6mcq.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62b.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="Nen/CRq2"; 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: 098F49403AE X-Spam-Score: -2.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: OHecw7YDJoIY Juan Manuel Mac=C3=ADas writes: > I don't see that org-attach "automatically commit changes when it sees > them". Only when I run in the attached directory `M-: > (org-attach-git-commit) RET' it works fine. Note that org "sees" changes in the attachment dir only when you use M-x org-attach command to manage the attachments. Directly changing the attachment directory will not be noticed. You can force org-mode to check for changes in attachment dir by running "C-c C-a z". I guess using something like inotify might be a good new feature to make org detect changes automatically. Best, Ihor