From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#56997: [PATCH] Analogue of project-shell for Python Date: Fri, 05 Aug 2022 11:52:55 +0200 Message-ID: <87mtcj6mq0.fsf@gmail.com> References: <874jyr87ux.fsf@gmail.com> <874jyrjb8y.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16068"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56997@debbugs.gnu.org, monnier@iro.umontreal.ca To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 05 12:14:41 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oJuLp-00044k-8u for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 12:14:41 +0200 Original-Received: from localhost ([::1]:58018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJuLo-00057T-1A for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 06:14:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJu1r-0007R9-9R for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 05:54:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38285) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJu1p-0003pY-Ul for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 05:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJu1p-0008Io-Nx for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 05:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Aug 2022 09:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56997 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org, Stefan Monnier Original-Received: via spool by submit@debbugs.gnu.org id=B.165969318631850 (code B ref -1); Fri, 05 Aug 2022 09:54:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Aug 2022 09:53:06 +0000 Original-Received: from localhost ([127.0.0.1]:56267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJu0w-0008He-7K for submit@debbugs.gnu.org; Fri, 05 Aug 2022 05:53:06 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:40686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJu0r-0008HC-AU for submit@debbugs.gnu.org; Fri, 05 Aug 2022 05:53:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJu0r-0006Rw-3U for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 05:53:01 -0400 Original-Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:43665) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJu0o-0003iT-MT for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 05:53:00 -0400 Original-Received: by mail-ej1-x633.google.com with SMTP id gb36so4049262ejc.10 for ; Fri, 05 Aug 2022 02:52:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc; bh=8onAGs6OL9ei0EAEBFSEa/E6sFaqDbtx1n4f8BcHxbo=; b=lQjIJt4liPGXraMsCm3sm968SnKM6MV8Q9E+SWm2+cj5BxWUp7EOUpJy/IH7aMgW/7 3oOWjbTkhGQK7mc2VBJi99e+xzGtNSNnukBkT6r7LrE9rlsUf1Zw2rw/o+dqBJOv8dr3 wcem2f6ObMAJZ4OkW8DQSM2XHHzSwvcPYORvclKvdT2NrQbiUWckaILcrluWlB9K+BNG 0cHPYwubXVspg19U0cAbCkKMMOgNq2aRp7TBUPfOdPu8CaYXyyOlCROdID4O20btmEdf iIJVsD68H4HIO/h16HT6St6a4Wqoc6QX/IBN988h5F6s/XF6+8CVSO7KX7RrhpWYECFg p33w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc; bh=8onAGs6OL9ei0EAEBFSEa/E6sFaqDbtx1n4f8BcHxbo=; b=lfRhVLk0pOxJYlWAOEV/XMCvc3ZFqTRqo32DwgzRZ9QaP0vwWe+G1dNAGsLK+TDxP3 IHyYY2UzRZQYLeIvWjvjWQJeniyIy9QhEbzBX9ePs8WtUOcL0ItVXaqhcW+9mktt4XYB rHw7kS0v9DshfBdVOeAk6EKGm/Pyf0QTwReW6yzwZUfhhtCpuiUhfKy4o3iR2YRtO3Ce Ifc0hdA1ji/j7Ey62t5wcvVYBx6kxqyeYX9OKpM7A8eYV3BMpFdbWWuBs8X9mSUIDDyk gyyqCFhMKqqP/bHVNl8ygMwth+xTrC+Sz+o0YQELEV/jhaUM05hKDbHTAlbkGVtXb3LP Dw5Q== X-Gm-Message-State: ACgBeo0jsE3ALEnWGuHljFAhb8tJhbA4mesCsoNSm74iplOrZGML16wB AjfuQSWmscqRa73A5SmWLnU= X-Google-Smtp-Source: AA6agR5pfptt4Pw0SGqHosMNhPYxGlN9hZLy9gn/G/oG2CG7QAN96w4GAR9//Tn2MZtPmeQXu0MtZg== X-Received: by 2002:a17:907:2854:b0:72b:7daf:cc0d with SMTP id el20-20020a170907285400b0072b7dafcc0dmr4779827ejc.524.1659693176985; Fri, 05 Aug 2022 02:52:56 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::a827]) by smtp.gmail.com with ESMTPSA id g12-20020a170906348c00b00711edab7622sm1367771ejb.40.2022.08.05.02.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Aug 2022 02:52:56 -0700 (PDT) In-Reply-To: <874jyrjb8y.fsf@posteo.net> (Philip Kaludercic's message of "Fri, 05 Aug 2022 09:22:21 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=arstoffel@gmail.com; helo=mail-ej1-x633.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:238849 Archived-At: On Fri, 5 Aug 2022 at 09:22, Philip Kaludercic wrote: > Augusto Stoffel writes: > >> Philip: I'm working around the possible absence of >> 'read-multiple-choice' here. Not sure it's a popular/useful enough >> function to include in compat, but I thought I would bring this up. > > I have considered it, but the code in rmc.el is about 230 lines of code, > that I didn't want to copy verbatim. If you think it is worthwhile, I > can try to add `read-multiple-choice' in some form or another. A bare-bones version that ignores the optional arguments could be much smaller, but I think it's at best borderline worth implementing it.