From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: bug#70577: [PATCH] New command other-project-prefix Date: Sun, 28 Apr 2024 18:56:37 +0300 Message-ID: References: <86le501ykg.fsf@mail.linkov.net> <87wmohlm7a.fsf@zephyr.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4984"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 70577@debbugs.gnu.org To: Sean Whitton , Juri Linkov , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 28 17:57:05 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s16tk-000155-Uy for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Apr 2024 17:57:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s16tS-0000ho-RC; Sun, 28 Apr 2024 11:56:47 -0400 Original-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 1s16tR-0000hg-Pa for emacs-devel@gnu.org; Sun, 28 Apr 2024 11:56:45 -0400 Original-Received: from fhigh2-smtp.messagingengine.com ([103.168.172.153]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s16tQ-0005jD-0i for emacs-devel@gnu.org; Sun, 28 Apr 2024 11:56:45 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 91AFB11400E2; Sun, 28 Apr 2024 11:56:41 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 28 Apr 2024 11:56:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1714319801; x=1714406201; bh=0B8bnQB40HVEtm5QShryeiee4j7Rm2ENLOpPyrUGFug=; b= LWaCikoHqKog2mXnFIOlpR5F4qcTSa24Ni4cPCuachUGpGXXJNdd0tW3U5c0fzF6 SLCXnmqs/kBZNgKecHifXI9G3xZBJnPBxiHGWcLqA4Q8DZhX610iWmcw+rubm/lF mvg3v0WTJy6aKUf15SCEjn2J7YCdlPP1O0T0amZiZvyeC/Z3yxEzg4t2oC/sO1sT vFq4/8xKVTSVKopkBrYVYhzGlor8vbYMSgIpZjWKV86n400vcG1yU4VfmlCXkZry bojcmmTst4Hi0bwNPH/FvdfHzQ0FYujqa6FkDTYrBPPJ+cAQfbxroXmspnO6BE47 BPaXnXHLdDo3zoYcphkAzw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1714319801; x= 1714406201; bh=0B8bnQB40HVEtm5QShryeiee4j7Rm2ENLOpPyrUGFug=; b=C JvHEE1QhFNi2KHVXWRwBhisc0mEi0rAxbozb62OUSxxracZOrdZEPPsul6OLhngN cbKgxfvZ+jpT8etERrc0+aF9GpfT3dBOXEJ3+Z095cYvxJZj/LQJJLKOoL74hSYw l6w6dSeEzaqivCHaFXi33PnofQHs/Iufqz4gmuh8O2vxwS6t95XcSom76HcwgdO2 3TgqkTDr4NGtfvGGVTnj9A8Fh6J+z3Jvz7wxujfF/DZIyxu3eWMj3GYYQE180G4K ltDfCHZnaALfuNgjIXbSJNrNsn8lqKCEqalu9sipfFoIgGJh7oAtKJSCprC8aAa+ sjuZelQUTnOfCybfnpG3w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddtgedguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedtvddtveefhfdvveeg udejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 28 Apr 2024 11:56:39 -0400 (EDT) Content-Language: en-US In-Reply-To: <87wmohlm7a.fsf@zephyr.silentflame.com> Received-SPF: pass client-ip=103.168.172.153; envelope-from=dmitry@gutov.dev; helo=fhigh2-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318297 Archived-At: On 28/04/2024 15:13, Sean Whitton wrote: > In passing, this pattern where you letrec a hook that removes itself, > and also consider minibuffer-depth, is now in several places. > The one I am thinking of is vc-edit-next-command but I based that on > some code of Juri's somewhere. > > It would be good to factor out a macro for this pattern, I think. Makes sense. Maybe a helper function, not necessarily a macro.