From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: `C-u M-x eval-expression' no longer inserts in the current buffer Date: Sat, 20 Sep 2003 03:50:30 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1064044574 20542 80.91.224.253 (20 Sep 2003 07:56:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 20 Sep 2003 07:56:14 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Sep 20 09:56:12 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A0cbE-0007dY-00 for ; Sat, 20 Sep 2003 09:56:12 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A0cg3-0007g1-00 for ; Sat, 20 Sep 2003 10:01:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0cXz-0001wu-MU for emacs-devel@quimby.gnus.org; Sat, 20 Sep 2003 03:52:51 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A0cVx-0000jG-72 for emacs-devel@gnu.org; Sat, 20 Sep 2003 03:50:45 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A0cVp-0000hk-Kp for emacs-devel@gnu.org; Sat, 20 Sep 2003 03:50:38 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0cVp-0000hY-9U for emacs-devel@gnu.org; Sat, 20 Sep 2003 03:50:37 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 1A0cVi-0006gT-RN; Sat, 20 Sep 2003 03:50:30 -0400 Original-To: Miles Bader In-reply-to: (message from Miles Bader on 17 Sep 2003 19:30:49 +0900) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16507 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16507 Does this fix work right? *** simple.el.~1.620.~ Thu Sep 11 09:45:54 2003 --- simple.el Sat Sep 20 02:54:55 2003 *************** *** 663,669 **** (print-level eval-expression-print-level)) (if eval-expression-insert-value (with-no-warnings ! (eval-last-sexp-print-value (car values))) (prin1 (car values) t)))) (defun edit-and-eval-command (prompt command) --- 663,670 ---- (print-level eval-expression-print-level)) (if eval-expression-insert-value (with-no-warnings ! (let ((standard-output (current-buffer))) ! (eval-last-sexp-print-value (car values)))) (prin1 (car values) t)))) (defun edit-and-eval-command (prompt command)