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.devel Subject: Re: Standardized access to a REPL Date: Sat, 19 Nov 2022 16:10:58 +0000 Message-ID: <87pmdilyb1.fsf@posteo.net> References: <0249C656-21C8-49F2-B979-A1894BF80637@gmail.com> <874juvhoyi.fsf@posteo.net> <72C5E060-76D5-45C7-80E8-C794468DAAB8@gmail.com> <87o7t35sjm.fsf@posteo.net> <87zgcnkmvq.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="13185"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu , Jostein =?utf-8?Q?Kj=C3=B8nigsen?= , emacs-devel , Theodor Thornhill , Eli Zaretskii , jostein@kjonigsen.net To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 19 17:11:28 2022 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 1owQRE-0003EC-3C for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Nov 2022 17:11:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owQQv-00016p-PZ; Sat, 19 Nov 2022 11:11:09 -0500 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 1owQQu-00016Q-9p for emacs-devel@gnu.org; Sat, 19 Nov 2022 11:11:08 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owQQq-0000DU-OH for emacs-devel@gnu.org; Sat, 19 Nov 2022 11:11:08 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id DB9C224002A for ; Sat, 19 Nov 2022 17:11:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668874262; bh=lnYq9VvTn9wuiBfL7FpLjy4v1DK0HE9ohybXR/Crky8=; h=From:To:Cc:Subject:Date:From; b=D3iDJ1JZGPZ8PPF14ktH7kr97Mc3Q+z/Znc1xMx7lv0nSZNFb/r9bQlvObZ4z9F6k 5Jn6mJixqBM78peci5WJtbVgrtZ9/29Ae9bSkOFexH+rUsTGHs6Worno4rtbi0GZxc TmmebhfRDFIAi9QCFGpiNJQ4YZPHaRAYx+w59fIjBG02UuH9ckDgmdJ9rLUD08Su9Z b6YYK5N8DY2MAf9Nvx/JZnBqyITZSmLRjZMJAtg9LffI2HgPKvYotbxl5lvd+wO5/8 LjYSK1jAft1TZAEcl1E0Slm3X1rmqcKqDU4PLy27mMM5VHsNMllLEuqFubA/oRIXJU wofi97JafCHdA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NDzCk3swQz6tnN; Sat, 19 Nov 2022 17:10:58 +0100 (CET) In-Reply-To: (Stefan Monnier's message of "Sat, 19 Nov 2022 11:07:52 -0500") Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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:300189 Archived-At: Stefan Monnier writes: >> Perhaps it would be better to extend prog-mode and bind keys in the >> default map that call methods with the current major mode. > > Agreed. > [ And my muscle memory says that `C-c C-c` should be used for "send this > buffer to its natural destination". ] I don't know if some a thing is even practical, but I'd want to bind C-c C-c to a generalised `do-what-i-mean' command that is context sensitive, and even bound globally.