From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johan Andersson Newsgroups: gmane.emacs.bugs Subject: bug#15180: Using princ without ending newline Date: Thu, 12 Sep 2013 11:40:34 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e013cbdc4c0468d04e62c8817 X-Trace: ger.gmane.org 1378978956 15859 80.91.229.3 (12 Sep 2013 09:42:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2013 09:42:36 +0000 (UTC) Cc: 15180@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 12 11:42:38 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VK3Q5-0004j0-OL for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Sep 2013 11:42:37 +0200 Original-Received: from localhost ([::1]:40672 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VK3Q5-0002Hh-7R for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Sep 2013 05:42:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VK3Pt-0002Fy-Mm for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2013 05:42:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VK3PW-0003sL-Gi for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2013 05:42:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VK3PW-0003s5-DF for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2013 05:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VK3PV-0008Ul-Po for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2013 05:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Johan Andersson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Sep 2013 09:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15180 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15180-submit@debbugs.gnu.org id=B15180.137897886332580 (code B ref 15180); Thu, 12 Sep 2013 09:42:01 +0000 Original-Received: (at 15180) by debbugs.gnu.org; 12 Sep 2013 09:41:03 +0000 Original-Received: from localhost ([127.0.0.1]:58031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VK3OY-0008TP-JY for submit@debbugs.gnu.org; Thu, 12 Sep 2013 05:41:03 -0400 Original-Received: from mail-oa0-f41.google.com ([209.85.219.41]:65376) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VK3OV-0008Ss-PR for 15180@debbugs.gnu.org; Thu, 12 Sep 2013 05:41:00 -0400 Original-Received: by mail-oa0-f41.google.com with SMTP id j6so10610163oag.28 for <15180@debbugs.gnu.org>; Thu, 12 Sep 2013 02:40:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Bsyx+7QBEglBdamDbdXD9J+dSfj0yLY9vsz19evFGP0=; b=L+KPtjFjLGIHtv4DZZuhEDkzDxZrB4ZDUJkh0//Kn4kwz8VrD99j4bPI8vgvj1dB/d Whzdnoc8yyuW3gwqgz8p15ELJMxOCt7kw7VBi8qmO3VPsafSE6Wco4S2zThUOAG2Ixld zWe7C5Cx08hAdL28Rz/0DFoZKc6rFcB8GywCXuB7QyVGkx/pAJ8MhXP5ci34m6dW1vAR Jtq/pCvMH3ZvrKpZSCP71jirj9jjCqt6KP/6Ox98h86RuP/+a9QOj3nsIeQAeXqKiAdk nBrG8bYu/Iy1IMA7kxCuGlPjveYhz5kvFhEVDfschNOx46uiEuO7ZAEtyuP3Zb+dlVdC aB5A== X-Received: by 10.182.130.131 with SMTP id oe3mr5893745obb.34.1378978854091; Thu, 12 Sep 2013 02:40:54 -0700 (PDT) Original-Received: by 10.182.7.99 with HTTP; Thu, 12 Sep 2013 02:40:34 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78275 Archived-At: --089e013cbdc4c0468d04e62c8817 Content-Type: text/plain; charset=ISO-8859-1 I don't think I will be able to write a test case. But here's a step to step instruction for how to reproduce it: Create a file called *princ.el* with this content: (princ "foo\n") (princ "bar") (princ "baz") (sleep-for 3) Run command: emacs -Q --script princ.el I expect this to be printed *directly*: foo barbaz But what happens is that "foo" is printed directly and then after three seconds "barbaz" is printed. On Thu, Sep 12, 2013 at 10:44 AM, Andreas Schwab wrote: > Johan Andersson writes: > > > Did anyone reproduce this? > > You didn't provide a complete test case, starting from emacs -Q. > > Andreas. > > -- > Andreas Schwab, SUSE Labs, schwab@suse.de > GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 > "And now for something completely different." > --089e013cbdc4c0468d04e62c8817 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I don't think I will be able to write a test case. But= here's a step to step instruction for how to reproduce it:

Create a file called princ.el with this content:

(princ "foo\= n")
(princ &quo= t;bar")
(princ = "baz")
(sleep-for 3)
=

Run command:=A0emacs -Q --script princ.el
I expect this to be printed directly:
foo
barbaz

But what happens is that "foo&quo= t; is printed directly and then after three seconds "barbaz" is p= rinted.


On Thu, Sep 12, 2013 at 10:44 AM, Andreas Schwab <schwab@suse.de> wrote:
Johan Andersson <johan.rejeep@= gmail.com> writes:

> Did anyone reproduce this?

You didn't provide a complete test case, starting from emacs -Q.

Andreas.

--
Andreas Schwab, SUSE Labs, schwab@suse.de=
GPG Key fingerprint =3D 0196 BAD8 1CE9 1970 F4BE =A01748 E4D4 88E3 0EEA B9D= 7
"And now for something completely different."

--089e013cbdc4c0468d04e62c8817--