[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22096: 25.0.50; reading from fifo breaks display
From: |
Stefan Kangas |
Subject: |
bug#22096: 25.0.50; reading from fifo breaks display |
Date: |
Mon, 31 Aug 2020 02:11:34 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Mark Oteiza <mvoteiza@udel.edu> writes:
> On 05/12/15 at 09:38pm, Eli Zaretskii wrote:
>> > From: Mark Oteiza <mvoteiza@udel.edu>
>> > Date: Sat, 05 Dec 2015 13:29:14 -0500
>> >
>> > 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.
>>
>> Thanks. My Emacs is configured with --enable-checking, so it aborted
>> due to assertion violation. The patch below fixes that for me; please
>> see if it fixes the display problem for you.
>>
>> diff --git a/src/fileio.c b/src/fileio.c
>> index 6cda1e3..8e44eb0 100644
>> --- a/src/fileio.c
>> +++ b/src/fileio.c
>> @@ -4265,7 +4265,7 @@ by calling `format-decode', which see. */)
>> && NILP (replace))
>> /* Visiting a file with these coding system makes the buffer
>> unibyte. */
>> - bset_enable_multibyte_characters (current_buffer, Qnil);
>> + Fset_buffer_multibyte (Qnil);
>> }
>>
>> coding.dst_multibyte = ! NILP (BVAR (current_buffer,
>> enable_multibyte_charac\
>> ters));
>>
>
> The patch does indeed fix the display problem. Thank you.
This was fixed, but the bug was never closed.
I'm therefore closing this bug report now.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#22096: 25.0.50; reading from fifo breaks display,
Stefan Kangas <=