From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59350: 29.0.50; Eval region or buffer Date: Fri, 18 Nov 2022 10:49:49 +0200 Message-ID: <83sfigbqaa.fsf@gnu.org> References: <86y1s8btaw.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12872"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59350@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 18 09:51:21 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 1ovx5k-00036v-HU for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Nov 2022 09:51:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovx5b-0000rt-M1; Fri, 18 Nov 2022 03:51:12 -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 1ovx5V-0000rc-LS for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 03:51:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ovx5S-0001kr-Nb for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 03:51:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovx5S-00067z-CT for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 03:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Nov 2022 08:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59350 X-GNU-PR-Package: emacs Original-Received: via spool by 59350-submit@debbugs.gnu.org id=B59350.166876140723487 (code B ref 59350); Fri, 18 Nov 2022 08:51:02 +0000 Original-Received: (at 59350) by debbugs.gnu.org; 18 Nov 2022 08:50:07 +0000 Original-Received: from localhost ([127.0.0.1]:35234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovx4Z-00066l-4d for submit@debbugs.gnu.org; Fri, 18 Nov 2022 03:50:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovx4V-000668-0x for 59350@debbugs.gnu.org; Fri, 18 Nov 2022 03:50:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovx4P-0001Kv-KE; Fri, 18 Nov 2022 03:49:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=b0jDkTWATXUhQmzHg8wUEAhKyBf6gHpsjqVqIpttIuY=; b=mg2yMx1a9vFs O/KlBaasCLFzKSnPOPtB36n0vk0TC85rKb2FAfOUzkfVRkNQ/k9/ha+bNhKkl8zk59pWXlp68jP5a kSATfJa/5YiAdZ1HbXX23lMCPoufJ3uxp2SDc8/nkFXnmiMyn37uuALi4Te0L75SjxbxuoEvZNk4v TU6nj2+hmNrWXVMx5LizOu6w//9oV4tnmDJRBtYVip6cRMSXc8/mARUqBO1ufxKzZVAVYcO4ENmGu 9eZ9cRiej0K5/Ryhv2vW09gf4m2uA2rAf0/shPuLTFiEfLP0pQrlEZpzV0ktuVGO82EZUosc8jzKm xVQ/OddHU4F+wnSKR+NQ+A==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovx4D-0003LI-3O; Fri, 18 Nov 2022 03:49:56 -0500 In-Reply-To: <86y1s8btaw.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 18 Nov 2022 09:44:39 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248189 Archived-At: > From: Juri Linkov > Date: Fri, 18 Nov 2022 09:44:39 +0200 > > 'elisp-eval-buffer' is a nice new command that evaluates the current buffer > with a convenient keybinding 'C-c C-e'. It would be nicer also to react on > the currently active region: That'd be confusing, IMO, given that the command says "buffer" in its name. We usually do this the other way around: eval-region should work on the entire accessible portion of the buffer if the mark is not set. But note that eval-region doesn't need the region to be active, so there be dragons.