From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thibaut Verron Newsgroups: gmane.emacs.devel Subject: Re: Standardizing more key bindings? Date: Mon, 28 Sep 2020 06:38:31 +0200 Message-ID: References: Reply-To: thibaut.verron@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28679"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 28 06:39:47 2020 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 1kMkx1-0007Lq-BU for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Sep 2020 06:39:47 +0200 Original-Received: from localhost ([::1]:54886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMkx0-0003y7-9K for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Sep 2020 00:39:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMkw1-0003W6-Pn for emacs-devel@gnu.org; Mon, 28 Sep 2020 00:38:45 -0400 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:38322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMkw0-0003Kj-2e; Mon, 28 Sep 2020 00:38:45 -0400 Original-Received: by mail-wr1-x434.google.com with SMTP id g4so10610331wrs.5; Sun, 27 Sep 2020 21:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=IPHrD7mnJSY8Jk6nco7nGdxYjjze0ibMCEGGWKbughc=; b=Ok725Ptj5PE3hjYBQS9Yju6ep8nmd8RZ7EMYVBQlHTA/m0LL+x5WIcDpUL21Cvv0Xg M4e0poqQ4XdHFDYAVK7IQVCwticCSrQVD6IfvMMayoVW4g61MJzN3fWVOvuRfIEZfNVQ iW7D7B39lptxnCXt3pu5Nf0b5UG5GHSfsX32FBxR33N3UqpUJZLhMNuvjDU3CiHqjmIg 9wbdnHcWMUmuaxbbsMQXMjRVzZxqRQfz4v8qWXxc7IrlR0KJUC5MO+Mb0QNbkbM0tiGq zduInDlKWfxgYksco2NIjTLuOMDZSe5G1PHe94z3Cd5mWBGtlS0uGz0NpN1z02P1tPub Dbgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=IPHrD7mnJSY8Jk6nco7nGdxYjjze0ibMCEGGWKbughc=; b=uEfmRj52U/pRkWeqwlb0wmhc1K1tfqC191mgoH8Jlci7YbNo+DRUfc1bWVoGLDYQIw bl1rS4NYLqrhOxPvmN6UsW3BH4ipLCEaxSsAoBLanSN11dodEREHuWKeyQ1qcjtYhHiB v+YSBvrvG2uA/8F+TwMTd3FGH3kLfV6kTpzESalHR0FCtXnL6XF0A1DjIjCON79HLCeM kKk6kBnq9cZyppQK+1P7FqPOQgd6it+YbfQRyG7l6UnIO/PO0rOBs+vazZjbkkgyi3I8 GoZvdezEgo0A0nSkvhBXU96RXu60I5bKV0HiX0kFUWN8D4Od8BB5t234fSIZWDPG3wiF NxVQ== X-Gm-Message-State: AOAM531aCb1ZzBdKEQSXbSo9qWHe6cvzaDT75tRQlFb8wvZ2jZcedhg4 mBg9OwvnaO4j6SFbFVIdrGCW6t9JV6frhY0TWrlQJI9q6Tc= X-Google-Smtp-Source: ABdhPJyeiqIZlcT/cNn2GMtE9/UFkAQOKL1KxU9529/2fIRqylBSNveQws+gkxXIF9mRZOnImbmGbHC+0B652WDM/yI= X-Received: by 2002:adf:e7c4:: with SMTP id e4mr16166976wrn.113.1601267922015; Sun, 27 Sep 2020 21:38:42 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=thibaut.verron@gmail.com; helo=mail-wr1-x434.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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.23 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" Xref: news.gmane.io gmane.emacs.devel:256569 Archived-At: > > The example given, I believe, was sending a region to the > > REPL. > > Would you be so kind as to post again the text that you're referring > to? As far as I know, Emacs does not have such a command. It has M-: > and C-x C-e. Assuming that you mean "does have", that's actually not what I have in mind. For emacs lisp, the closest would be a command sending a region to a IELM buffer and evaluating it. It is not the same as M-:, for instance when it comes to acting on the selected buffer. > > Or... are you talking about languages other than Lisp? Most of those > languages do not HAVE functions comparable to read, eval, and print. > They may have the ability to execute a program sent interactively > but the term REPL is not applicable to them. My terminology might be inexact. I'm thinking of the interactive interfaces of software like Python, R, Caml, Shell... My point is that currently there is no way of binding C-c C-e, C-c C-r or whatever to "send this region to the process-interaction buffer".