From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: how to speed up Lisp devel time Date: Sat, 10 Aug 2024 13:44:58 +0700 Message-ID: References: <87y156413v.fsf@dataswamp.org> <86sevekvjy.fsf@gnu.org> <87v80a402y.fsf@dataswamp.org> <86ikwakmdg.fsf@gnu.org> <87frre3pxa.fsf@dataswamp.org> <86ed6xlx9r.fsf@gnu.org> <87a5hl4x9b.fsf@dataswamp.org> <86bk21lp53.fsf@gnu.org> <871q2x4ra3.fsf@dataswamp.org> <87h6bt15vx.fsf@dataswamp.org> <87zfpkzz9b.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16402"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 10 08:46:06 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 1scfrZ-00046t-Cj for ged-emacs-devel@m.gmane-mx.org; Sat, 10 Aug 2024 08:46:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1scfqn-0000WG-UY; Sat, 10 Aug 2024 02:45:17 -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 1scfqk-0000W5-VU for emacs-devel@gnu.org; Sat, 10 Aug 2024 02:45:15 -0400 Original-Received: from mail-oo1-xc2a.google.com ([2607:f8b0:4864:20::c2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1scfqj-0002oZ-FT for emacs-devel@gnu.org; Sat, 10 Aug 2024 02:45:14 -0400 Original-Received: by mail-oo1-xc2a.google.com with SMTP id 006d021491bc7-5d5c324267aso1594057eaf.0 for ; Fri, 09 Aug 2024 23:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723272310; x=1723877110; darn=gnu.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1ToBVMvV7VpM0+fsio62U4H54wiP20ueHOC9DLgJtNY=; b=byisuPIpFFOJZRwA+/9uK3xCQe8PN+Kl7RcjLxgcGplZpbNdYn1NvfLUdpqtHuiz3k +qngOYkECi1f+ToWdNjW7PH9lt+YisEXLk4PP1HTMjxuEUwDU51jBEHwMxVKwssMLCoJ MFdkK3/VVmF2nIDkmdnOQYbw+c6lMnkfIgfhnpVXcZfkfhdsP/XkMjJb9xxCtvicX1pk 5MYQoK+MPiG6+Ex7Yi2s7qbZDDbvbrM0zQv5nVzkV2QgcOQNK/umnxxgBgBaW9jU9+nG 1kMOhEeRuyklJxrk3d562kJobdbJ64NkMsjFeLgkBGuMfDvWIskAs3Srb841fTcRRy7V eljA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723272310; x=1723877110; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1ToBVMvV7VpM0+fsio62U4H54wiP20ueHOC9DLgJtNY=; b=TeeO0zC9DoAXBzGddmH3Y4rRlLj70Wt9P3ww/obPcKsrIj9y2ZV6w9VnTC+8vWGjcM EHR1Za0ajQksDqK6/ykjrjzM3j29GoZ/gUslvhqBv8v0HKMaADPljmgA6fDN9Dpb32jc HYcbhR9ohPstEb8CKcJhdZ8FqnQbXX/ylsVpdcLnEMOp65+tck79iBrQ6JbseuoFEWZo kExBsBaXKiq1ks2ysFUNk9EAQQfgftyKHzLDhAD2baPU2YtBxiZ6L1+JyaFchZj58AUC +5YpVLHyzdRj9mwfoifiRltMiqJ52uO0mghtVwvRITLUIneyttLJIDslxfEirPvB1zLx G6dA== X-Gm-Message-State: AOJu0YzwS6EHE9o+ZpaGR29ucR5oGPFPuaZbYpq+ZbP0a/hHj9+uaMrJ LYeMmh8qEbBW8TMVkzkwFEyz/CHGLRIWgOHKBR/s3pe+34xIfcykLE5rECF0/lsmJ0vh91k2Cqm v3jM1flwl9Mp7pVssYL+bgP73G7aB7yIG X-Google-Smtp-Source: AGHT+IEZJAp27oMwY2dh73FL0yUa1BTHsQf1wU88syK/t774CSdfn2eYYg/qmUQfSepLRMqTxHyDUjlB47Pam+MncV8= X-Received: by 2002:a05:6358:785:b0:1a2:89:298c with SMTP id e5c5f4694b2df-1b176f551edmr462062355d.14.1723272310217; Fri, 09 Aug 2024 23:45:10 -0700 (PDT) In-Reply-To: <87zfpkzz9b.fsf@dataswamp.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::c2a; envelope-from=yurivkhan@gmail.com; helo=mail-oo1-xc2a.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:322612 Archived-At: On Sat, 10 Aug 2024 at 13:11, Emanuel Berg wrote: > > Now that 'transient' is in core, some kinds of complex > > interactive interfaces can be based on it where necessary. > > How do you want to input 3 args then, on the same line > > arg1 arg2 arg3 RET > -------------- I do not necessarily want them on the same line. Depending on how often or rarely I use that command, I might want labels reminding me what each argument is for. Depending on how short or long the typical value is, I might want separate lines or even separate multi-line inputs. Do a query-replace. Then invoke it again and press M-p. The last search string and replacement string are recalled to the prompt at the same time, separated with an intangible arrow label. > That is, of course, possible. What information would you like > outputted, and how, for three integers with default values and > some tests to validate? If defaults are reasonable and I rarely need to stray from them (alternatively, if the last used value gets saved in history and automatically reused), I would like not to enter them at all, and not even a RET to acknowledge the default. When I do need to change them, I=E2=80=99d see that option at the transient screen, type the corresponding key and type the new value, and press RET. At that point, validation can be performed, as long as C-g returns me to the transient with the value reverted to its previous valid value (rather than canceling the whole command). Have you used Magit? Do a diff or log, see all the options they offer.