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 oDZzC2npwF/jfgAA0tVLHw (envelope-from ) for ; Fri, 27 Nov 2020 11:56:25 +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 aIsyB2npwF8LFwAAbx9fmQ (envelope-from ) for ; Fri, 27 Nov 2020 11:56:25 +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 333BD9403C9 for ; Fri, 27 Nov 2020 11:56:24 +0000 (UTC) Received: from localhost ([::1]:54350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kicMQ-0001dd-Jp for larch@yhetil.org; Fri, 27 Nov 2020 06:56:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kicLi-0001dI-Qg for emacs-orgmode@gnu.org; Fri, 27 Nov 2020 06:55:39 -0500 Received: from mail-eopbgr40122.outbound.protection.outlook.com ([40.107.4.122]:47492 helo=EUR03-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kicLa-00004w-9w for emacs-orgmode@gnu.org; Fri, 27 Nov 2020 06:55:34 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nMISRuCfinbpeo2eiA+ZvaX/lrSPN1kEk61zd1rqHsHzqsRdJY2JddPUL85P7+ipLphslmkQhJSFCyfpQzPg1tJcdtNxKoo5tefXIFnTq2QRo7Icn2/ImyEks0T98ghJxmE8PdnfZxl0XZI6F6ZP7XjYWtrZ0fYYgV6gxzPKWVB9fq3EpuZrOyTQ/0mOxRkWAVecMdzUVVaKqt6J3p5W7VIu3hCvLY1iTxDdqzGcM50qWx4oQZkYijJziEiTOxU++1L2I5SImdsuWh7APHEMm5GPFZ5GOUxnmAVtGRzLsVfH5U6Eo4596/SQCzc4o7D36NN2bkRIjVi9ls762E9vDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BCyd78pQbnY8ZjFo1IIxP/XL6JdgG2lbDebboKyigbo=; b=cf0nLjj7I6tNRK3izxOQ4vb6eZXNwvICUmxNGNlkBAy7g+3/LMNPeg36AYZosbZClXM/I4iKI7ebvS1j+7qE1nPBdfaD0YaNm2ICDZK4/HOZkipPA6t/4WmF5rpIFmVLXT08sTUiC52yrBXJlMF5pCyqCWA8ir/Qjw1pRNv1wTED+IRsPKQt1G4K6ZxzMpkHuDNwqlw4xsTlmm9/WZsEZoFsRbZANb5qFyRsdtcqFQ87BT2zbc/JD+ZmSD2kbLXfBm+UxQMsE36r+AC479Z7ncMIxG/+gBml/mL6s4m+UqlZW4u5MyE/Bb05ifOSZGDCHdRVg7ysoT9gltvZtG1zVw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BCyd78pQbnY8ZjFo1IIxP/XL6JdgG2lbDebboKyigbo=; b=orfEZMXqGGH1wZzDEBn5qSP75lhAD4O9j36U7w2glcA8meZgw2hdiNVIxLLKkVdno49iMufQK3DMqP5lxHPINXYQ6wvLHOcXX9hl70DKIqI3cUY1rhhEvQtUoKXOhpLp1PAfEc7xFvyB06nMGLIdD5iD5H9nYWhKwGN0GiFnjFU= Received: from VI1PR0102MB3327.eurprd01.prod.exchangelabs.com (2603:10a6:803:10::26) by VI1PR0102MB3135.eurprd01.prod.exchangelabs.com (2603:10a6:803:6::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.30; Fri, 27 Nov 2020 11:40:23 +0000 Received: from VI1PR0102MB3327.eurprd01.prod.exchangelabs.com ([fe80::d084:c8c3:14df:8d97]) by VI1PR0102MB3327.eurprd01.prod.exchangelabs.com ([fe80::d084:c8c3:14df:8d97%7]) with mapi id 15.20.3589.025; Fri, 27 Nov 2020 11:40:22 +0000 From: Eric S Fraga To: Emacs Org mode mailing list Subject: org-clock-save: possible to invoke more often? Organization: On the Interweb somewhere X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: Emacs Org mode mailing list Date: Fri, 27 Nov 2020 11:40:21 +0000 Message-ID: <87wny7hvtm.fsf@ucl.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: text/plain X-Originating-IP: [95.149.100.199] X-ClientProxiedBy: LO2P265CA0092.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::32) To VI1PR0102MB3327.eurprd01.prod.exchangelabs.com (2603:10a6:803:10::26) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from t3610 (95.149.100.199) by LO2P265CA0092.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.20 via Frontend Transport; Fri, 27 Nov 2020 11:40:22 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5b45cb59-341b-49ab-d888-08d892c939a8 X-MS-TrafficTypeDiagnostic: VI1PR0102MB3135: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rqCEoO2IfhPjFPNo9CCtF2Xqf0OGB5nadAxlCDxtjobD6Sm2vir30dP+F1T/QdSzH7plH3n80UNS3XMUclRu9sA48jUs/RoSsJOa6yr6H5hfUn+llzMVR7tMZx5NwIsi7zcNQeodEOtXuqkFbXLoITh5O2PJCuPRhN7czrD93DlY/NFu77+5Xtxib6B/cnjl2Q0agjrpym0rxPmYU+KC7l8p9usucvm+fZG0vPKPWVlT1uKQg0Q63bxtVw+e+aPmSR+AP1ffhkHC70R9oxaZd03Eahj+rP6bz06eq9UWv3LZzwaCBFWeMfat57LvD5bf X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0102MB3327.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(376002)(39860400002)(396003)(346002)(6486002)(86362001)(52116002)(5660300002)(6916009)(26005)(8676002)(36916002)(2616005)(6496006)(83380400001)(478600001)(956004)(8936002)(4744005)(66556008)(2906002)(66946007)(186003)(36756003)(786003)(316002)(16526019)(66476007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?5dvJMNBwVasLhXUIlJ2tj/cixqdfKtUTMubni6Ospueoi9mb824wENsXOB4v?= =?us-ascii?Q?9lhTPTQoOayfyo58j/MpDebs1pjIrfJCNB00bZO0tPT5GyRkCTxwgPDXMMTq?= =?us-ascii?Q?yYcxfV9scyMzObunPpa6G8f2agUGeT3V9V/lpllk6imWCT8H2iDlY5PshltB?= =?us-ascii?Q?jl3AlkuBgex175dH61+uEOQirQr5q/WQCxiyHQz8miNs3DzjzGzsWyszhuYa?= =?us-ascii?Q?BQyMfOwX5/pEc2HZ4vr3PZ5Oc7d2X5io1n9zzlkFchL0CYClZ/r9S0GHUzjU?= =?us-ascii?Q?J1K+d9ucJ2fOZxVNXOg8gidvPhIZTZ8J7nOX4vDqJmEkCDeMD3/Nbqr6rtPB?= =?us-ascii?Q?g0OU+Uzqu8zeZH4zxAeXanQhWbu7IKoWWQ4ps/uaZnNKjXNvJkhBqmEe6mDp?= =?us-ascii?Q?X151XShjjCG05bsjjNC1/6ut/AFkBgAg/vbGaq9PmKGoANorJM+j3lsTddLW?= =?us-ascii?Q?jE8Tr/H0+fBYkwEqi9IQ/TPStScuonFBidiYMU3fkoi/coLFMGYEIPlu7E92?= =?us-ascii?Q?WnC9xn701WBBXn5TyFEekNMT69vMrEYLKe7UFsupZcT0ybRALNlWApwBcyK3?= =?us-ascii?Q?qDP3m5J1Kjx59OnZ4qL3i/DtyrxhF2hqbMGFYgAdvs6Yuudz6FeJsQc8+tGy?= =?us-ascii?Q?ifxTxNnZ+jc0OTH73yiFG1sk8YopGpxNtSDweY7EzDDv9ebwemL9k+Lh15d3?= =?us-ascii?Q?bk5GE3AV569FSlj0Ffw8VfwA65oSzcsMqZ/yu8yt/xwHImwICmqoKrToPbs7?= =?us-ascii?Q?vs31jXEOHuJ33hYaw2j8UekSb5Y7NGpMOl/Wm0+1skbeNJG3K/D9YIcn9JDK?= =?us-ascii?Q?ikMUIZem+StUO2f1BdkXC99TYF59wp4IXtON/4aADm0reoKjErfYqRcDmOgO?= =?us-ascii?Q?20wT1uqxnOTnzpwNKDlLLY6ageg7MpebqE08HWBS5nMow/LuQBxN+Qm7xOSB?= =?us-ascii?Q?NFpTX7vrjzux6DocGShOFEMgqcLlh9eKJATUzpwUXzAwVgjtw9gsD3a5KTWy?= =?us-ascii?Q?LYjR?= X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: 5b45cb59-341b-49ab-d888-08d892c939a8 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0102MB3327.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2020 11:40:22.8962 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: h6jVeQchUQaQt0V03MFSE2nApms6TsnlvWLwP1rDnWH2u5KS0cUZjsxpahRen99md00A825zLLD2cheoIpbEYg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0102MB3135 Received-SPF: pass client-ip=40.107.4.122; envelope-from=e.fraga@ucl.ac.uk; helo=EUR03-DB5-obe.outbound.protection.outlook.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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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.97 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=orfEZMXq; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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-TUID: FBgaPdhbYbep Hello all, I track Emacs development from git. This means that Emacs sometimes crashes on me. When it does, none of my clock history is saved. Question: is there any reason org-clock-save could not be involved on every clock in or clock out operation? At the moment, org-clock-save is added to the kill-emacs-hook. Would there be any problem with adding this to, for instance, org-clock-in-hook? I guess it would need to be protected with a let org-clock-persist set to 'history? I could just try it and see, of course... Thank you, eric -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4-143-g9a1549