From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matthew White Newsgroups: gmane.emacs.devel Subject: Re: eval-print-last-sexp: "Selecting deleted buffer" error when the current buffer is killed evaluating the expression Date: Sun, 1 Aug 2021 04:09:08 +0200 Message-ID: <20210801040908.4e61211b@pineapple> References: <20210730005551.5c77f879@pineapple> <831r7gs5px.fsf@gnu.org> <20210730160753.3ca3bcb4@pineapple> <83a6m2pqxt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/ouqpRhhXfnfNOomM8QBz_e8"; protocol="application/pgp-signature"; micalg=pgp-sha256 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25439"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 01 04:12:15 2021 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 1mA0xa-0006Qz-6N for ged-emacs-devel@m.gmane-mx.org; Sun, 01 Aug 2021 04:12:14 +0200 Original-Received: from localhost ([::1]:55444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mA0xY-0005S5-EP for ged-emacs-devel@m.gmane-mx.org; Sat, 31 Jul 2021 22:12:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mA0up-0004d2-UY for emacs-devel@gnu.org; Sat, 31 Jul 2021 22:09:23 -0400 Original-Received: from devianza.investici.org ([198.167.222.108]:60837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mA0un-0007Hj-Ba; Sat, 31 Jul 2021 22:09:23 -0400 Original-Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Gcl1n5hvDz6vJK; Sun, 1 Aug 2021 02:09:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1627783757; bh=4tQfS0ZP0MwZQFwqz0cXsXAEoL7R71YyQQC6VnG47JY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=B9qulGfgrsKujpIBVCh4cNUolglFS0w5MgzxpH7rVibm3LRw5eQaxXQkItgx1hS4k dx7J2vCjCEofeNyFPgDXPTL54o3KDnxVHZCkVR8S48wGaJAYwNQr33xoKWQo55Hjsc PyHm7g/fP/0xmqb+sRlsqE8xP2/2yErgVXiQRYl0= Original-Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: mehw.is.me@inventati.org) by localhost (Postfix) with ESMTPSA id 4Gcl1n29Krz6vJJ; Sun, 1 Aug 2021 02:09:17 +0000 (UTC) In-Reply-To: <83a6m2pqxt.fsf@gnu.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Received-SPF: pass client-ip=198.167.222.108; envelope-from=mehw.is.me@inventati.org; helo=devianza.investici.org 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_PASS=-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:271909 Archived-At: --Sig_/ouqpRhhXfnfNOomM8QBz_e8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 31 Jul 2021 16:13:02 +0300 Eli Zaretskii wrote: > I think we should leave this issue alone, but maybe someone else has a > different opinion and a rationale to go with that? I definitely agree. I also read the answer of Michael Heerdegen... I was too much into studying eval-print-last-sexp... it even calls eval-print-sexp...! I understand now, thanks to you and Michael. Using C-x C-e rather than C-j to call eval-print-sexp directly, to print the evaluation result into the echo area, dispels my doubts. It was a good excuse for me to look also into Emacs' C source code... Thanks again. -Matthew --Sig_/ouqpRhhXfnfNOomM8QBz_e8 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEHleiF1SoBpqVdUvfw5wJ3TZNsgAFAmEGAkQACgkQw5wJ3TZN sgD+3wf+OS2rM939/RM538YGMW+XUOpC4aRpxp1h+BPXwYGCkq27TgWWCKBW2fnZ OUDapHmBtJYHDTCQVGd79vVSsrx+31uHMLgylXXNh5v6jQswG5Xu17yrJmuZyenl eOfwGZSRQJ9UHF/TQCQkEMQmGhPOa6Ll/EutewZ32awcuZY/Z+LhQXRoidE19sJp iYRgLTZi8GIFBSzrybuJ/MGbYdFRxbMcYmFaV/D7dLUrIgOjtCsxB+9WsoRj8waY jMc7fQFEj1LIg6WWPOA4OCYME64NsdLbDtTDEoozQtjqkBnUt8LlEfeB025lP+aj hIe1HOVDUWLCXOHr1qF4k7ZzET49oQ== =i9Pp -----END PGP SIGNATURE----- --Sig_/ouqpRhhXfnfNOomM8QBz_e8--