From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#56997: [PATCH] Analogue of project-shell for Python Date: Fri, 05 Aug 2022 11:00:28 +0000 Message-ID: <8735eb3qgj.fsf@posteo.net> References: <874jyr87ux.fsf@gmail.com> <874jyrjb8y.fsf@posteo.net> <87mtcj6mq0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17451"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56997@debbugs.gnu.org, monnier@iro.umontreal.ca To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 05 13:13:20 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 1oJvGa-0004Pw-T5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 13:13:20 +0200 Original-Received: from localhost ([::1]:45362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJvGZ-0001Jq-Nz for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 07:13:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJv4h-0007wv-Pn for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 07:01:14 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38382) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJv4g-0006XX-92 for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 07:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJv4g-0001qF-1i for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 07:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Aug 2022 11:01:02 +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.16596972427040 (code B ref -1); Fri, 05 Aug 2022 11:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Aug 2022 11:00:42 +0000 Original-Received: from localhost ([127.0.0.1]:56364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJv4M-0001pT-51 for submit@debbugs.gnu.org; Fri, 05 Aug 2022 07:00:42 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:47962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJv4I-0001pK-VN for submit@debbugs.gnu.org; Fri, 05 Aug 2022 07:00:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJv4F-0007hg-P2 for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 07:00:38 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:59051) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJv4D-0006Tw-E8 for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 07:00:35 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id EF19C240026 for ; Fri, 5 Aug 2022 13:00:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1659697231; bh=aON8vhBDDw3TFtM3bldGvoC1cJzuimBccLVc+JH2SeY=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=NbqdRw7z0rhWbLda05PVYZ4dl5nl3Z77RvjjuUPB24GLaiA58cqloqhtOAXd3mifY lKwTgUFaAS3juDnusANjJvYjgNynvsK9t2UaUDi99hrl2qq9q5iaMI5K9Q/N76qyPa j2ThtTajW/nAOFBaj3krlG/DKbnrOfAaENuU38LLq+9xrdnEHs54QHkF/YaCOegV/d I1KKmpZ6NqqMRgYz8Dg54FkDjKqARkOoIHUx1u57ngCR5ROayA5V2wRa1KQTIDCf34 pdc5UCF0DxusrkqPgpzm1olu/ixj5eJr62goD3AX769uTTqYO2oBzysfwrz42pxcB3 c+9K1DV2CRW5Q== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LzjLP2v4Mz9rxM; Fri, 5 Aug 2022 13:00:29 +0200 (CEST) In-Reply-To: <87mtcj6mq0.fsf@gmail.com> (Augusto Stoffel's message of "Fri, 05 Aug 2022 11:52:55 +0200") Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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:238859 Archived-At: Augusto Stoffel writes: > 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. Would this be enough: https://git.sr.ht/~pkal/compat/commit/1250ea050737db8ba07c44eaeab7be2e4faefe0a?