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:01:49 +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> 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="21362"; 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:02:31 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 1scfBO-0005Qo-UC for ged-emacs-devel@m.gmane-mx.org; Sat, 10 Aug 2024 08:02:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1scfB7-00013g-In; Sat, 10 Aug 2024 02:02:13 -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 1scfB0-00013I-U3 for emacs-devel@gnu.org; Sat, 10 Aug 2024 02:02:07 -0400 Original-Received: from mail-ua1-x92b.google.com ([2607:f8b0:4864:20::92b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1scfAz-0006Dg-Ah for emacs-devel@gnu.org; Sat, 10 Aug 2024 02:02:06 -0400 Original-Received: by mail-ua1-x92b.google.com with SMTP id a1e0cc1a2514c-824ae03efbfso713057241.3 for ; Fri, 09 Aug 2024 23:02:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723269721; x=1723874521; 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=AA9plsX+QnoC/2Eppq5tnEanBZwGWeWkVyzfYWySG8w=; b=ixi0Lj7UuINKBuekuKPdd61tE3SPN80oRFkzVFrdMKQCQOlsVyQfyMJboyG8B8+cEM 1ziErtgPImm5DiLssD8Pix4hJSZa4bMvelgyR/1ecXC+r88ZUPFv/icNdPsWwFJ3h3YH 7NtYTtsa7speB4kGoUoK8Ca2oCV/5bbyN4hZrdTKCjQVUmfIQfTaUPYnKwljYy9PMwqH +QdMTzCG/aliBSOOy1IpxMd2q8eWUC2ZawQMwDnCnnHeLZYDI2Gx41trdDFVAXFv0Kr8 79byTUrTi2IoSurtRZpR6RfIjrrrmbBxIiPELyi8Yu0b8Cec/9rSS/tI+bQPlZBsGMfO ofXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723269721; x=1723874521; 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=AA9plsX+QnoC/2Eppq5tnEanBZwGWeWkVyzfYWySG8w=; b=GEYQlMOlKgYG2Zhat8CCuQTsTZ5LdJvy+4pp10qU5MTVG2EcJ3HzxoKrdHP+d6e1Yu L0nXc3DV/yb/yfkGmXa+wAL+/scz+lR1Dby+M8GAyQ/QBeFaM0bO7im7jGJNznE7YMCM UjjZn/x/oPW/33kF5ciqnNgEHtTYVPR53c53umCrZntD8+GnEK31aUUTXxV1lZbbGpi+ xwqkqF9K1HcFC6MZW9F9bwzt/47m+3p6nLd1b0ACdWO3Rxa3t5jYzl6JaAb1NC28BKCQ 0vddRzHGjXW6RtRz1XLoseS8VAVQMzXsQHrFj5BVNeySxocS9K9rA51EvD0d0nbtp4sl GOcQ== X-Gm-Message-State: AOJu0YwArKT104LUFE4iWn0oxKdtcV0K6OIJ0oB9s91+YmX2kM10lOe1 2dw0+5ejehvFGMgRJVBzYcQMgiZXGSqIBBIB83DrB27ulhFwB0PeE3vYWdqFdUi0oSKIkyG4KIy uX50NDkBwZm7vrqYucZv2ELnNPjx34poH0lQ= X-Google-Smtp-Source: AGHT+IGAy55DWio1Hh/Wc6eTzqpQFpzbbECIPJ+fnK8OtvkaCI+hxi4CZ2R1jK9Iprj7uhhQ4N1LSWkRTt87Ncmlt9k= X-Received: by 2002:a05:6102:5108:b0:492:96b5:aa0b with SMTP id ada2fe7eead31-495d83d8f85mr4217814137.2.1723269720666; Fri, 09 Aug 2024 23:02:00 -0700 (PDT) In-Reply-To: <87h6bt15vx.fsf@dataswamp.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::92b; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x92b.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:322609 Archived-At: On Sat, 10 Aug 2024 at 12:21, Emanuel Berg wrote: > > Interactive interface for more than one argument must be explicitly > > designed. Asking for a more defaulting, more validating sequential > > 'read-*' > > What do you mean by that, at some point a human has to do it? > > And that point is more than one? > > Hardly, even in the Emacs source, using `interface', there are > tons of such interfaces setup with easy. > > And, note that I'm not proposing what you say, I'm proposing > an interface interface so that you can set it up the way > you like. I am not against a way to describe a function=E2=80=99s argument types, validation conditions and defaults per se. I *am* against a specific user interface technique that takes those descriptions and asks for each argument in a sequence of modal prompts. In my opinion, a prompt is okay for one single argument. Two, like in =E2=80=98query-replace=E2=80=99, is straining it somewhat; a recent version= of Emacs made it possible to recall both arguments from history at the same time, and that was an improvement. Three prompts in a sequence is something I would not be able to use without irritation. Now that =E2=80=98transient=E2=80=99 is in core, some kinds of complex interactive i= nterfaces can be based on it where necessary.