From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GOGmGbEu1l8mawAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 15:09:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UNxjFbEu1l/TBwAAbx9fmQ (envelope-from ) for ; Sun, 13 Dec 2020 15:09:37 +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 3EBC79402A5 for ; Sun, 13 Dec 2020 15:09:35 +0000 (UTC) Received: from localhost ([::1]:49268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koT09-0004Hh-U4 for larch@yhetil.org; Sun, 13 Dec 2020 10:09:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koSzM-0004GO-0Z for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 10:08:44 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:55691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koSzI-0005zE-Fc for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 10:08:43 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6CDA25C00A1 for ; Sun, 13 Dec 2020 10:08:38 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 13 Dec 2020 10:08:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eml.cc; h= references:from:to:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=OqRnZmw6qdsMBtdE7s/rPLUkNb 8kuOLcebo8NOBanj4=; b=wD0Sgwpau9ZSjd8iqTRx6TjA97wwzGjPUwq0Kh1GAG /gsAhsHr+pn+CA+8gWWj4ZTCZLxCUttannHoOhGMbRHkXTOq05IJHrSOO3cg5DSA U9sipIGwcsUplrDJsXxzJjM0jQJc7rrCBn1Z0TjwiQDi4y+DEG5zoLCuHDTT02Cx e/7J+WH1LSNHUdKfPSBBwYFcUFpWhz53rYD9c2BTG9NtaZkA+dTzGvRebelLIi4C qiKp5zz0QMZrdmx+iUiisW3ff5wgM2UVn+vqY4nYxYnlEyqTBnAyDMFJQ0UKs5Zi pYK5i7RNlHCh9Asp3FPoAFOp+lS1rkPT7jgoj9ethhxQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=OqRnZm w6qdsMBtdE7s/rPLUkNb8kuOLcebo8NOBanj4=; b=i7QnDougLVUGwHa7TmR1M0 dzFFsyVUwNWMKsZbhpccr5U78uhsXxuGKv7SLQuk4FlZBH6V6LWTrLl94PHVj9jQ xjOQ1b6Y2duIE4+oF4vn7oQtw4qJZgeOkOL4zpUeGvartn95elUddkMXRs2yXOkf dj/tpCVktMd7XzC0o62SpbV3xGClpUSmwjVCqV6dS8ciw9qEv42qW/FvT7Tw8Mff ms0jhwKkvAgGv6G57FXcNqChHpMbv1WAIL1PW1HObj13YdvMNThTZsf0n7OYQiZ1 HyXIEy7V9UPcuawJamzz4uOCDcHJYj/XdO0QpG/mncoyGLAEywOFq61EXPhmTbBg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudekiedgjeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdluddtmdenucfjughrpehffg fhvffujgffkfggtgesthdtredttdertdenucfhrhhomhepofhikhhhrghilhcuufhkohhr iihhihhsnhhkihhiuceomhhskhhorhiihhhinhhskhhihiesvghmlhdrtggtqeenucggtf frrghtthgvrhhnpeegtdffgffgleevudevtddvjeeivdeuieetffetveejueetgfetheeg fedvueefteenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeekkedrvdduhe druddtfedrvdefieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehmshhkohhriihhihhnshhkihihsegvmhhlrdgttg X-ME-Proxy: Received: from YogaTux (unknown [88.215.103.236]) by mail.messagingengine.com (Postfix) with ESMTPA id CAFC124005B for ; Sun, 13 Dec 2020 10:08:37 -0500 (EST) References: <87sg8h8sw4.fsf@eml.cc> <87eejz33mx.fsf@kyleam.com> <87czzjgu7c.fsf@eml.cc> <875z5bs24m.fsf@ucl.ac.uk> User-agent: mu4e 1.4.13; emacs 27.1 From: Mikhail Skorzhisnkii To: emacs-orgmode@gnu.org Subject: Re: [org-save-all-org-buffers] Saving is not reliable? In-reply-to: Date: Sun, 13 Dec 2020 16:08:55 +0100 Message-ID: <871rft920o.fsf@eml.cc> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=66.111.4.25; envelope-from=mskorzhinskiy@eml.cc; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-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.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=eml.cc header.s=fm1 header.b=wD0Sgwpa; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=i7QnDoug; dmarc=pass (policy=none) header.from=eml.cc; 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: 3EBC79402A5 X-Spam-Score: -2.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1I5ORuSKYvop I found the bug. The bug was mostly my own creation. There was a small (but very destructive) bug in doom emacs distribution. Fixed that bug and sent them a pull requested: https://github.com/hlissner/doom-emacs/pull/4424 Basically I made a small snippet for agenda that makes side window of agenda staticly sized, really small and includes only very small portion of context related to agenda entry. And to correctly possition it in frame, I've used wonderful doom emacs popup syntax: (set-popup-rule! "^*org-agenda-side\*" :side 'top :size 0.15 :autosave t :quit t) Turns out :autosave ignores indirect buffers and sets buffer-modified-p state to nil. Hope this is the end of my quest, My previous solution was also very clunky. Mikhail Skorzhinskii Samuel Wales writes: > an undo-boundary bug can make something unexpected get undone as > part > of a batch or make an org operation require two undos. the > agenda is > one place where these bugs have existed. > > > On 12/9/20, Eric S Fraga wrote: >> On Wednesday, 9 Dec 2020 at 11:16, Mikhail Skorzhisnkii wrote: >>> It's kind of reproduction scenario. Basically I need to >>> modify buffer from search-type agenda. >> >> In the past, anecdotally I have seen something similar: adjust >> the >> scheduled date for an entry via the agenda view and ask to save >> all org >> buffers. The change to the scheduled date is sometimes >> forgotten. I >> haven't tried with emacs -Q so it could, as in Mikhail's case, >> be >> configuration dependent and it's also not entirely reproducible >> (i.e. it >> sometimes happens, sometimes doesn't). >> >> But I've not seen this happen recently so maybe it was a bug >> along the >> way. Sorry for vagueness but I thought I'd chime in just in >> case it >> helps. >> -- >> : Eric S Fraga via Emacs 28.0.50, Org release_9.4-160-g7c8dce >> >> -- --- Mikhail Skorzhinskii