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: Sat, 24 Aug 2013 17:49:12 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b33d5481d809704e4b378b8 X-Trace: ger.gmane.org 1377359410 1009 80.91.229.3 (24 Aug 2013 15:50:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Aug 2013 15:50:10 +0000 (UTC) To: 15180@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 24 17:50:11 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 1VDG6N-0006Ze-4t for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Aug 2013 17:50:11 +0200 Original-Received: from localhost ([::1]:42080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDG6M-0007eM-Qo for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Aug 2013 11:50:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDG6I-0007bj-Qk for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 11:50:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDG6F-0004BS-Bc for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 11:50:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDG6F-0004Ar-9K for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 11:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VDG6E-0000YL-8B for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 11:50: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: Sat, 24 Aug 2013 15:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15180 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13773593812088 (code B ref -1); Sat, 24 Aug 2013 15:50:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Aug 2013 15:49:41 +0000 Original-Received: from localhost ([127.0.0.1]:52705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VDG5s-0000Xa-Ao for submit@debbugs.gnu.org; Sat, 24 Aug 2013 11:49:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38336) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VDG5p-0000XS-Md for submit@debbugs.gnu.org; Sat, 24 Aug 2013 11:49:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDG5o-0003zR-FN for submit@debbugs.gnu.org; Sat, 24 Aug 2013 11:49:37 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDG5o-0003zN-C2 for submit@debbugs.gnu.org; Sat, 24 Aug 2013 11:49:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDG5m-00072G-5b for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 11:49:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDG5l-0003ye-CZ for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 11:49:34 -0400 Original-Received: from mail-ob0-x233.google.com ([2607:f8b0:4003:c01::233]:63126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDG5l-0003yW-6g for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 11:49:33 -0400 Original-Received: by mail-ob0-f179.google.com with SMTP id fb19so1772466obc.24 for ; Sat, 24 Aug 2013 08:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Bzq1ro4jIIY64qViqe1atZEslAqlqejs5ZtpAazaTec=; b=lTsceqKqo1tGBjnMr7vzTe+1FLNfIn1ToJxSriMeqwkGNs2aJAwmrJ8nr1tw1rq+ZO WphLqdSwfykSvoWuF9jRhfUo9scMMyf92Y73d0mjH6Vc3ORAYzwVfYALN9l9IxbPJVhm I/5W2tbYl37GnnoVZk0tgRzoGKKoOIjGru+q4I4inIwBySdBJW7HsYSgcIaXc/8lWgs4 2Bf5wD+fDX+00khW/oY7c6Agsq4UVu/6KMLFzh1Q/s3NiKsK/BiFp37VnMB3tDEb3/zG T8BBQ7IpdUVlUssk6vtUq/Q/DQa28p+xyasOym4AHShVQiMoKicw/ojTMPVH1YN30jrW DhrQ== X-Received: by 10.60.76.72 with SMTP id i8mr5103031oew.11.1377359372319; Sat, 24 Aug 2013 08:49:32 -0700 (PDT) Original-Received: by 10.182.89.10 with HTTP; Sat, 24 Aug 2013 08:49:12 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:77701 Archived-At: --047d7b33d5481d809704e4b378b8 Content-Type: text/plain; charset=ISO-8859-1 Hi, It seems that princ will not print output directly if there's no ending newline. For example: (princ "foo\n") (princ "bar") (sleep-for 3) This will print "foo" directly, then wait three seconds and then print "bar". Why does it not print "bar" directly? --047d7b33d5481d809704e4b378b8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

It seems that princ will not print = output directly if there's no ending newline. For example:
(princ "foo\n&= quot;)
(princ "bar")
(sleep-for 3)

This will print "foo" directly, then wait= three seconds and then print "bar". Why does it not print "= bar" directly?
--047d7b33d5481d809704e4b378b8--