From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cNwLEaK8omS4ZQAASxT56A (envelope-from ) for ; Mon, 03 Jul 2023 14:18:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eAQZEKK8omQUPwEAG6o9tA (envelope-from ) for ; Mon, 03 Jul 2023 14:18:42 +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 E19061800F for ; Mon, 3 Jul 2023 14:18:41 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lipklim.org header.s=key1 header.b=kRRuTTg3; dmarc=pass (policy=quarantine) header.from=lipklim.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688386721; a=rsa-sha256; cv=none; b=HJTuvFnFw79eG4LE8WSAR2+taARdBQXsudwb1ee/ojP18zHlxFc+ciOgxsFTOO78Lby4jk x9G2wN3zKPbXgpZdhdCkiDuxcu5lQD9LiAZJO3khNEL+OciTqlZ9gWcJJGzEdvTUICeKaA +hQa8X6FbNcIElsIi6HE2LWVRHKuCdLuAxgDhl4pnsKCSrB4iqtcp9B8daprCACb/xLcug s7SOCaVUlP5g5x1foPWfVNqaYTHau/lBVMHgn6oxuFFVijGWwWhvs2RFpwGOtriz6AvAou cCNx0kVcTGgelneQBUPpEhuBa/b3A52twSho84df+pvJnGpP+AJK8ZuyYPEBng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lipklim.org header.s=key1 header.b=kRRuTTg3; dmarc=pass (policy=quarantine) header.from=lipklim.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688386721; 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=6JVzrRWqw9c7s7rpNF/VQBy2W0zmw1aa8h0FUiyCxoY=; b=pZpfk8Rek4fQzfXPJIY9RRC6B4QgBGGg1TIKdBeE4jqwB68P6P2zltE8AQzpDhwEyYX7DA FgXOIUjnPz5dU3MYb6qocL9US2l+ZnLG0YWDV4usj9R81jqDxZvkRF8e0pBA4Oeon643bW 4KGSJF5s76+mBn5aHYAIaFVar6c+eCr4PCLziAWRuQ78ZhnGU9oUqRDvV1MNXZhXQsOpn7 jIOGx6S4KOranuyYaSk9VSZ5h1D4nmzPXnbAiBfK4aRf1tPvmoC+XIaK2bV/1lVw+ThOQc 2mynyUMMmjRAoNqCMbM1yZ4QgTbkOd6YxWwKa94w2XOAyu7mUyK11k+jTOzZ2w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGIV7-0000o2-PY; Mon, 03 Jul 2023 08:17:53 -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 1qFZWk-0000uO-M9 for emacs-orgmode@gnu.org; Sat, 01 Jul 2023 08:16:35 -0400 Received: from out-41.mta0.migadu.com ([2001:41d0:1004:224b::29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFZWg-0007Zt-6g for emacs-orgmode@gnu.org; Sat, 01 Jul 2023 08:16:33 -0400 Date: Sat, 01 Jul 2023 13:16:23 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lipklim.org; s=key1; t=1688213786; h=from:from: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; bh=6JVzrRWqw9c7s7rpNF/VQBy2W0zmw1aa8h0FUiyCxoY=; b=kRRuTTg3oGkwrvrXeFBHp/1kxl0X/L+8FnANdohMQaljSmLxY7+OSDXisWTawudXlqlTO6 w74r/HuG52sbm5DLcSw7wMruGtuZMVTorpIIt0pgI7JELUPFZ8J9pFY2EKhIQtEGipHMdN hfk9VkjilI1AOJnn+XYvUp9sTOcEw+Q= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Evgenii Klimov To: Ihor Radchenko CC: emacs-orgmode@gnu.org Subject: Re: Add final hooks to S-/M-/S-M-cursor commands In-Reply-To: <873527q5iw.fsf@localhost> References: <20230629223129.17191-1-eugene.dev@lipklim.org> <873527q5iw.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:41d0:1004:224b::29; envelope-from=eugene.dev@lipklim.org; helo=out-41.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 03 Jul 2023 08:17:48 -0400 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: scn1.migadu.com X-Migadu-Spam-Score: -5.46 X-Migadu-Queue-Id: E19061800F X-Spam-Score: -5.46 X-TUID: Ni3Lcvy8rV9T On July 1, 2023 11:40:07 AM GMT+01:00, Ihor Radchenko wrote: >Thanks for the patch! >May you please squash it into one > Don't you mind if I also add the final hook to `org-meta-return'? I didn't do it right away because it requires a little bit of refactoring: everything after the initial hook is currently run with `call-interactively'=2E