From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wK11Da+q+WR5rgAAG6o9tA:P1 (envelope-from ) for ; Thu, 07 Sep 2023 12:49:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wK11Da+q+WR5rgAAG6o9tA (envelope-from ) for ; Thu, 07 Sep 2023 12:49:19 +0200 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 E59F7303D8 for ; Thu, 7 Sep 2023 12:49:18 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YouiCpVN; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694083759; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=9twrxK5djHJ+C2LEP+r3AauxgCL1ELYYbaBYZQ8iPzk=; b=s691zVQwiNNDcrnnbUjvaIzt+VqLTK+u+pKOhU294NSmH0U5BcTT3AlbtzA0oz3aN2l9q4 irG9QYRTveqhq2iLsENhXVlwcypwdQ1BfMzqUYAn0PTpAg0DpPj8pMjpzCHqA9I9IP5p4v dH0EJhnEyPKMqW62Q8rVnV4/DOIVVDFbhGAdNo8lziRJNmOsAaZ44VGYbzIXnh6dKD6S+A Pn2po0Fd+iQA7kmZwf+vE/AYUftVJ1XkFGVpyIX+BqBXx5aG+7jeuhZkr98HWRtKuOLvz5 g07QORly9JU97QV8uIC/juOqKkk1iUzlHmZvBwMCC6UewFX2krKK55DP5EDblA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694083759; a=rsa-sha256; cv=none; b=WSQ46ftx/o0MqiDyCYDM0mg7OkikTw3kzumaYFk8u9xYQqeBbI0zmHPVUrrxTJyOmquS64 yptYpOHll6pI9eyEJpJTN0N3onh9/0+hyfC8GUvzt5b+0CoXid4CCCFdc3SGMdaOO5QEiJ rTknvvhI9oIh9SntszZbfBLyVfRGrGDzLEZync2mX8JCHIRPFo7NExcCe3D2fyHfk8OIky pbSGMsW5uQ5sbWZwq3fVWBJd+nVkM3PyQCmWSZBCkwGPriHCbfl+4QMoeSw5GUdjqgALap hL83NP9mo3dT2Xxn98ChYLM0z0xELTsWdiT+du5ASixzEyySFlQee+cg1p0vOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YouiCpVN; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeCYf-00079x-Co; Thu, 07 Sep 2023 06:48:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeCYe-00079b-0x for emacs-orgmode@gnu.org; Thu, 07 Sep 2023 06:48:20 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeCYb-0004O1-0G for emacs-orgmode@gnu.org; Thu, 07 Sep 2023 06:48:19 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E0A61240028 for ; Thu, 7 Sep 2023 12:48:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694083694; bh=9twrxK5djHJ+C2LEP+r3AauxgCL1ELYYbaBYZQ8iPzk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=YouiCpVN/m2tE05USVaweCB0lrhasPAVH6n2BCSm8oJaj8MvfmNPS0lBxteOyeoEW 3xyx9IF+cBtKqeiSdR7lqq6DOnbpjKoGb/U5Aor/Jgz2oX+oi706Km7+UwzgtxzM21 CYhBE4CHzvvc75dAg9FN8eaQMm/2FIax2a5B+qEDilEpEMyOY9Rf3SpPz4dNpcZqxN 6oPePYua/ZAjlEm0KVUG7nh3giNDuuZQFOdygULl4qOtaMNeswlIW2/vtk31qfQQax 7AS3xeBnDNAd4kUtu73ZAiJOg+lVxfCFOiEDS8Y8HMxQqZtOTx649MguAEricMO7SI O6Sq+6KS58/PA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RhGDZ3qJ9z6twb; Thu, 7 Sep 2023 12:48:14 +0200 (CEST) From: Ihor Radchenko To: Summer Emacs Cc: emacs-orgmode@gnu.org Subject: Re: Possible File Saving Bug with [/]? In-Reply-To: <4A6B3663-5821-4C78-80FF-B4DCFF9A056B@summerstar.me> References: <4705CCD7-F1ED-489B-9D17-EA6FE0B23BCD@summerstar.me> <87il8nu2ch.fsf@localhost> <87bkeepa01.fsf@localhost> <4A6B3663-5821-4C78-80FF-B4DCFF9A056B@summerstar.me> Date: Thu, 07 Sep 2023 10:49:05 +0000 Message-ID: <871qfap8bi.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -8.44 X-Migadu-Queue-Id: E59F7303D8 X-Migadu-Spam-Score: -8.44 X-TUID: a8FUMuUndlAn Summer Emacs writes: > 3) In one of the headers, it looked something like this: > * C-c C-c on [/] to update done items in todo list. > > That [/] just like that was creating a backup file on every save named .#= emacshelp.org# =E2=80=94> summer@summer.local.23434:882343 (those are made = up numbers but it was always random and looked something like that in the l= s -la command in terminal.) Saving .#emacshelp.org# backup files is controlled by your configuration - it is the default Emacs behaviour to save them. > Since I regularly add notes to my file, I also use Magit to save a backup= copy (M-x g). But whenever I did that, it would ask if I wanted to save em= acshelp.org. Obviously it was being affected by the backup file (which was = never open in a buffer, it just was =E2=80=9Cthere=E2=80=9D in the director= y). > > An example of Magit interaction for adding/committing changes to that fil= e would look something like this: (from emacshelp.org file) > > 1) M-x g > 2) Minibuffer: Do you want to save emacshelp.org? Y/n/etc=E2=80=A6 > 3) s > 4) Minibuffer: Do you want to save emacshelp.org? Y/n/etc=E2=80=A6 > 5) c c > 6) Minibuffer: Do you want to save emacshelp.org? Y/n/etc=E2=80=A6 > ... This is abnormal. > You get the idea. Every single thing I did in Magit would ask me this. My= file (the original - emacshelp.org) was saved with C-x C-s AND even C-x s = to save all files. But it didn=E2=80=99t matter how I answered that questio= n, it would keep asking it no matter what. No matter what I did, it kept as= king me that question, over and over and over again. Because of that =E2=80= =9Cbackup=E2=80=9D file. > > Note: This is behaviour which *only* happened with this single file, not = with any other file I use. My suspicion that it is triggered by some kind of strange `after-save-hook' in your config. > Finally, putting =3D =3D around [/] in my notes to produce: =3D[/]=3D esc= aped that behaviour. It no longer does that. It took me an hour of rebuildi= ng my file line by line to figure out *why* this was happening, but that wa= s the line and that was the exact problem. [/] in Org is called statistics cookie and some parts of Org may alter it to refresh TODO/checkbox statistics. See "5.5 Breaking Down Tasks into Subtasks". However, I do not see why this should happen _after_ save, unless something in your config is triggering the update. Without more information, I cannot provide more assistance unfortunately. I also do not see how we can help on Org side as the problem _appears_ to be with your personal config. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at