Subject: Re: bug#22096: 25.0.50; reading from fifo breaks display

From: Mark Oteiza <[email-masked]>
Date: Sat, 05 Dec 2015 13:29:14 -0500

Mark Oteiza <[email-masked]> writes:

> Second issue: changing the VISIT argument to t and evaluating:
>
> (insert-file-contents "/tmp/mpd.fifo" t 0 10 nil)
>
> breaks the display engine. "nil)" becomes invisible, the last "r" in the
> scratch buffer message becomes fontified as a matching paren, and
> hitting C-a at the end of the form takes me to the aforementioned "r".

Simpler recipe:

1. mkfifo foo
2. echo "bar" > foo

In emacs -Q:

3. Evaluate (insert-file-contents-literally "foo" t)

The buffer display is now broken.