all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Johan Andersson <johan.rejeep@gmail.com>
To: Andreas Schwab <schwab@suse.de>
Cc: 15180@debbugs.gnu.org
Subject: bug#15180: Using princ without ending newline
Date: Thu, 12 Sep 2013 11:40:34 +0200	[thread overview]
Message-ID: <CAB6RKMv6A655RPG+v+07D6JFQp155O6OrB+mvwzRCMSBQRf13w@mail.gmail.com> (raw)
In-Reply-To: <mvmtxhq4efn.fsf@hawking.suse.de>

[-- Attachment #1: Type: text/plain, Size: 838 bytes --]

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 <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 = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."
>

[-- Attachment #2: Type: text/html, Size: 1769 bytes --]

  reply	other threads:[~2013-09-12  9:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-24 15:49 bug#15180: Using princ without ending newline Johan Andersson
2013-08-25  1:05 ` Glenn Morris
2013-08-25  7:07   ` Johan Andersson
2013-09-12  6:20     ` Johan Andersson
2013-09-12  8:29       ` Jan Djärv
2013-09-12  8:44       ` Andreas Schwab
2013-09-12  9:40         ` Johan Andersson [this message]
2013-09-12 10:02           ` Andreas Schwab
2013-09-12 10:27             ` Johan Andersson
2013-09-12 10:35               ` Andreas Schwab
2013-09-12 10:40                 ` Johan Andersson
2013-09-12 10:45                   ` Andreas Schwab
2013-09-12 11:47                     ` Johan Andersson
2013-09-15 16:42 ` Barry OReilly
2013-09-18 19:49   ` Johan Andersson
2013-09-19 13:46     ` Stefan Monnier
2022-04-17 12:05       ` bug#15180: Add a way to fflush stdout in batch mode Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAB6RKMv6A655RPG+v+07D6JFQp155O6OrB+mvwzRCMSBQRf13w@mail.gmail.com \
    --to=johan.rejeep@gmail.com \
    --cc=15180@debbugs.gnu.org \
    --cc=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.