From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mHQNGLB1sWLrSAAAbAwnHQ (envelope-from ) for ; Tue, 21 Jun 2022 09:39:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mC0KF7B1sWK7kAAAG6o9tA (envelope-from ) for ; Tue, 21 Jun 2022 09:39:28 +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 D53AD14DB3 for ; Tue, 21 Jun 2022 09:39:27 +0200 (CEST) Received: from localhost ([::1]:33558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3YTu-0003n4-9M for larch@yhetil.org; Tue, 21 Jun 2022 03:39:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3YTJ-0003l9-0E for emacs-orgmode@gnu.org; Tue, 21 Jun 2022 03:38:49 -0400 Received: from mail-db8eur05olkn2046.outbound.protection.outlook.com ([40.92.89.46]:38176 helo=EUR05-DB8-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 1o3YTC-000308-B2 for emacs-orgmode@gnu.org; Tue, 21 Jun 2022 03:38:47 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cena/xzo3oLLAfSBn7yj6NjPGMkoedJ40oLf6mqQ53zsuUq1vlDp6vJXou3RsLqQNHJY1eU9EWBgiUxVNu2w6xwkmqpGJWDMc/bp2J+F/BZyp8lvYAAZE9TTEds1tu8C0LqourqeqgchbNt5SkmJqxf2ZkptLRHAszDnvb9lmCuC/+NEPIRjYQYndSboXMHlZveDM+i/U7wdezwl3pmo5VbXU4rx0PG6Rcce97nT/YdWeMpbA0mA4l4FnJuf7cuum32kh9psQ45lzLe9yJSbNIH90Ob4DYsFk59A6N1HdIm5FbXvcjyKwUNT8ZCpixlqcsRx8BwgrSu/abYiGEqiKQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QVsOo57AaZ398CajNWk287iQ5S69d+JhyEYGV9Q1hNg=; b=KTa/0lwAC0UffjTJlUCpVBGo2S89HalOGqYXxft/j+l92TAntJAIQqeJTN9FR8Wnw7SLEwd2UhEkMepPGTWb5uOltXUZtoUVR+o9hqE4X0JR4aeGlYeavVmWTVzpDuS7Dd+Ol/niJhPYI4R6RCythjwGmar3C+xtzFiBFVqqVnTXUgyj2SdWCdY011GSwsrsxBweiYJoL9pQfFJQGkgVqK0Dlxkcr3cXByZI0uMcyc9hWUeaiVeD50V1cPt1tWo9sWxUXZJwc8h3ku+MN3tL0CPgB0BDb8G9kYZzTqkd0OCvsP9D91ssVEPFMtPEf/krWBDkDSdQtyZ6s4/a95fA3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QVsOo57AaZ398CajNWk287iQ5S69d+JhyEYGV9Q1hNg=; b=GQ3gb3jT2Eg8WepEPdN5S+X+kFtj6BG3VozM4z5PuZRCqL1axvs/8ANUUy4C5a/iJRgSrTK3xuZoI+Vtf8WJTS3quC3O8Qbu5s00Qr1BRs+lzfKiGuz1DK17LBHW9/OYVaAB+KXK2Lwhh7LWDjaoa+qyXLsEJv1O6HH2W8+a2HPVaoT8+aXClKJOW1iLTVhSb2/KWCCB10w1n5d5LAns/I/QgAljucCAP9wovX9E8fF1jS6TV+yDWKtKdt46NlklYxn9eayKETzpEBMm1N+oErpY4QzJHpyYsMAcCWkzfmIvn12PACoroov4Ju3Ok+g1pBCamzSHLoTkSWsvo+vMiw== Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) by HE1PR0902MB1801.eurprd09.prod.outlook.com (2603:10a6:3:f4::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.15; Tue, 21 Jun 2022 07:38:40 +0000 Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::48c7:3657:142f:a842]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::48c7:3657:142f:a842%4]) with mapi id 15.20.5353.022; Tue, 21 Jun 2022 07:38:39 +0000 From: Arthur Miller To: Ihor Radchenko Cc: Max Nikulin , emacs-orgmode@gnu.org Subject: Re: Proposal: 'executable' org-capture-templaes References: <87mtf3tui1.fsf@localhost> <87pmjyco0x.fsf@localhost> <87fskrobiw.fsf@localhost> <87a6ay1enh.fsf@localhost> <87edzvdb44.fsf@localhost> <878rpu5qf4.fsf@localhost> <87zgi7357y.fsf@localhost> <875ykuslpx.fsf@localhost> Date: Tue, 21 Jun 2022 09:38:38 +0200 In-Reply-To: <875ykuslpx.fsf@localhost> (Ihor Radchenko's message of "Tue, 21 Jun 2022 12:07:38 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) Content-Type: text/plain X-TMN: [BoLemye3EDQNioeZeWZZOL8bZoKdsm9d] X-ClientProxiedBy: GV3P280CA0078.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:a::26) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <82zgi6ihz5.fsf@live.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4cb21124-4206-4e36-cfd7-08da53590f03 X-MS-TrafficTypeDiagnostic: HE1PR0902MB1801:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: K3OIoMYLzdzxMiUxqRHjrsvcIG5umfXIpBQXfyToHLxEc7sU+ImrW8yEpw29YvFwtGQGRoWTHFlM/N7+zbXf7W1uPtCJuk9+S2akI7qqZsbaaVTZx4P5vdpfGraou4lFrjxu3NtTCJZxFSxqaDDd3Ju65ibOMWXKdOvdJJFWutneA9OJw0kwYmcjeC/ymOkpev99fvgRoTrqnZx0j/+j3Gfng5VWRcaCU2adeZx4uJtQsq6fED193MyBsqCqjR9QmFBpQjZKTHja2ozQz1Bgkp59NMt7p/HgDDIqSL9ijm9kubnmLF7f7oQxAmQR09KYFQCVFYZsrMxWFCrmRtV2ICBLqWo3XwqCQ6ERDLsR5k8Eks3W1wNs1Ny2gDZMzWq50ahRx8IZvxH0TjogMl6+VoOjX038knOaUdLrt5HC/IifQE41v6ntjSutpbxVhT2sRrNgdJXOr20QolkCZmMI15L5QOsJe/9K2hbTmQgQK8XCKDP6hS33PNxshoYP4PrZIZm675zjco3C6VPvSH9N3XhJPrb5Ohj5DixOYkl0WrjCA8s4qc71M75ukQAgLx92alPhXO8JP3jVrMz3jj8d/g== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ddLAUkzwEwrj74UnGZnrP76CQBV9GfBN7h83w6ijhXl+0vSVzSRU+o44Kr1z?= =?us-ascii?Q?+9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mS3k3NTfDFb5m?= =?us-ascii?Q?kP9kc6VvoBlfxFkTyH7JJWhw7FxNn96vFEGbmpIFY70kWAlMEE1Q4Y/nKR2o?= =?us-ascii?Q?Lp2ziIkUwH4k+ztgOh8n15oq0ApNXec1ueCC6VdzrlPSDgEcRCC8yHwNuDOQ?= =?us-ascii?Q?cdA1YRieBUDH7vVVRRvuSx5Op5Js0wrl4oICffRCs5iPtyP/OQIiyjCsKfdB?= =?us-ascii?Q?Fj4EY4YnPPkwC6Tt7zFEcveUGviRv7ygNiJpmOspkhWZLQsTD07n4gQbttLS?= =?us-ascii?Q?fpRUy2yEa4/RN+DpRF027gdUGZDBBYZOnRLAQ3iFFOqwuDMxnFxFxT4t8JF0?= =?us-ascii?Q?dWhY0zUuIlsuJNBx1f1HEcp+qyQ+nWnzwMMweT7JMhhfX0stzuwo7Axra4nY?= =?us-ascii?Q?D3vvM1ZPi9c+LO/wj8BRXOdZjy6rH9tfvAk817cMyew9BUztQabIRJirIqHZ?= =?us-ascii?Q?du5PjOVEmRez1Q3gXPnjjiMNG2KASdyKGCSMBnuxepy0NWDFWMI/nN6bhHy1?= =?us-ascii?Q?QHLztFMCicM=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-64da6.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 4cb21124-4206-4e36-cfd7-08da53590f03 X-MS-Exchange-CrossTenant-AuthSource: AM9PR09MB4977.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2022 07:38:39.9522 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0902MB1801 Received-SPF: pass client-ip=40.92.89.46; envelope-from=arthur.miller@live.com; helo=EUR05-DB8-obe.outbound.protection.outlook.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FORGED_SPF_HELO=1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=no 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655797168; 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=QVsOo57AaZ398CajNWk287iQ5S69d+JhyEYGV9Q1hNg=; b=DyW5o8kvPqZQn+Ihr0Oz0ZK0BjnKq12PkuQWZtnH0vyLKtHdxIQzvs4BVgUalKeEnGqQFZ Ph++m9OOu9cyZgglXAwfYoa6ckwv3qSD6qRCAtQOasus9WrzymB4an3e2fk6ckJuTHJ13b 2F/6XLR//2Gtfz/qIf/kUpgrvZPsNMakZu0R7UjkO3LGc1Zkqlex88WTJ7DtSSpYI/n0Ib TjWGnLYQu7w/Gy7NlWOeDzBZlZx5qS9z40fRahIMvPjxjVOI2UVGl1F4zP34vDq1hBQB0W 3q6WDw4xBkpwbuLMe4xlgkmpnR5OGRcM3I9OacgaK9zcHzx2paymJjzbgOKGRg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1655797168; a=rsa-sha256; cv=pass; b=ib4vv160bzw+/q7umWa5zJJgdkXK1/Y0AUzgVtea6D6QJ/ijXKr1owHjWEGqGAVnvsesz4 ZmZA3JdXPq3y4sCTdThExdPfyLMn4WAyx/O/IalixU1PdV1aAxRhLFNUohTrKLFLBY/onJ sKj+S5Vu6Pl12KkxJ66qrStMPtve8hW6l7wBZ/VyiO+MzLwLrtcRso7yx1Rrem/vPf9mhT vUYB0DmCh9WlKSnnuwgjOJrAGcX5t6UzYGxzAa3tnNeft2ZhMo+DQBWop4cQQUgzd5jLvF 0efeTE+kR6m7xjt90An1AjqIEMSnXbp+gf9aYnUsctNaqzAgExW3ipayvqO6IQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=live.com header.s=selector1 header.b=GQ3gb3jT; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=live.com; 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" X-Migadu-Spam-Score: -4.97 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=live.com header.s=selector1 header.b=GQ3gb3jT; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=live.com; 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" X-Migadu-Queue-Id: D53AD14DB3 X-Spam-Score: -4.97 X-Migadu-Scanner: scn1.migadu.com X-TUID: iPSZcVMuovHr Ihor Radchenko writes: > Max Nikulin writes: > >> Consider the following case. A user has 2 virtual desktops dedicated to >> rather independent tasks and an Emacs frame on each desktop. On desktop >> 1 she opens help for some function with aim to evaluate if it is >> appropriate for some particular purpose. Next she has to switch to >> another task and applications for it reside on virtual desktop 2. To >> proceed further she has to read several help pages relevant for task 2. >> After completion of this task it is time to resume task 1 and to switch >> to virtual desktop 1. Does a window with the help buffer still display >> the same content as before switching to task 2? No, context on desktop 1 >> lost due to some actions in the Emacs frame on desktop 2. >> >> Such synchronization is against multitasking and I do not like the idea >> to get it for org-capture as well. Currently read-key and modal prompt >> is a kind of excuse, but the idea of new menu library is non-blocking >> keymap-based selection. > > I understand. > From the perspective of the library being discussed, what you want does > not look impossible. > > The other question is altering the org-capture code. > I think that it is too early to discuss org-capture part just yet. > Lets first finalize the generic library itself and discuss the > appropriate adjustments to > org-capture/org-agenda/org-export/org-todo/etc code later. > I think it sounds like a wise proposal :). Thanks.