From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Problems with a dynamic binding Date: Sun, 15 Mar 2020 16:33:13 +0000 Message-ID: <20200315163313.GC4928@ACM> References: <20200315155658.GB4928@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="66277"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Emacs developers To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 15 17:36:28 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 1jDWFY-000H8A-Br for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Mar 2020 17:36:28 +0100 Original-Received: from localhost ([::1]:55954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDWFX-0003Q3-8W for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Mar 2020 12:36:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39068) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDWCU-0002Az-5e for emacs-devel@gnu.org; Sun, 15 Mar 2020 12:33:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDWCT-0003aN-4g for emacs-devel@gnu.org; Sun, 15 Mar 2020 12:33:18 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:49942 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1jDWCS-0003S0-QG for emacs-devel@gnu.org; Sun, 15 Mar 2020 12:33:17 -0400 Original-Received: (qmail 78124 invoked by uid 3782); 15 Mar 2020 16:33:15 -0000 Original-Received: from acm.muc.de (p2E5D5251.dip0.t-ipconnect.de [46.93.82.81]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 15 Mar 2020 17:33:13 +0100 Original-Received: (qmail 11427 invoked by uid 1000); 15 Mar 2020 16:33:13 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 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:245535 Archived-At: Hello, Noam. On Sun, Mar 15, 2020 at 12:14:57 -0400, Noam Postavsky wrote: [ .... ] > C-u C-x C-e prints the return value of C-x C-e into the buffer, but > that printing occurs after the let-bindings in the expression that > you've evaluated have finished. Try C-x C-e on the following instead > (let ((print-escape-newlines t)) (prin1 "\r\n" (current-buffer))) Thanks! -- Alan Mackenzie (Nuremberg, Germany).