From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22096: 25.0.50; reading from fifo breaks display Date: Sat, 05 Dec 2015 18:45:15 +0200 Message-ID: <83a8pog7z8.fsf@gnu.org> References: <87lh9aglih.fsf@udel.edu> <83oae5fgtn.fsf@gnu.org> <87oae4opjl.fsf@udel.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1449333986 29181 80.91.229.3 (5 Dec 2015 16:46:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2015 16:46:26 +0000 (UTC) Cc: 22096@debbugs.gnu.org To: Mark Oteiza Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 05 17:46:15 2015 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 1a5FyO-0007p0-Vz for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Dec 2015 17:46:13 +0100 Original-Received: from localhost ([::1]:47051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5FyO-0006nl-4c for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Dec 2015 11:46:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5FyJ-0006kA-Kj for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2015 11:46:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a5FyE-0004Zx-HO for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2015 11:46:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5FyE-0004Zs-EB for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2015 11:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a5FyE-0007f4-7Y for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2015 11:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Dec 2015 16:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22096 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22096-submit@debbugs.gnu.org id=B22096.144933393029404 (code B ref 22096); Sat, 05 Dec 2015 16:46:02 +0000 Original-Received: (at 22096) by debbugs.gnu.org; 5 Dec 2015 16:45:30 +0000 Original-Received: from localhost ([127.0.0.1]:40020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a5Fxh-0007eB-Ly for submit@debbugs.gnu.org; Sat, 05 Dec 2015 11:45:29 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:39060) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a5Fxf-0007dz-Lc for 22096@debbugs.gnu.org; Sat, 05 Dec 2015 11:45:28 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NYW006008TM5400@a-mtaout22.012.net.il> for 22096@debbugs.gnu.org; Sat, 05 Dec 2015 18:45:25 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYW006Z697P0C60@a-mtaout22.012.net.il>; Sat, 05 Dec 2015 18:45:25 +0200 (IST) In-reply-to: <87oae4opjl.fsf@udel.edu> X-012-Sender: halo1@inter.net.il 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: 208.118.235.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:109652 Archived-At: > From: Mark Oteiza > Date: Sat, 05 Dec 2015 10:58:38 -0500 > > > Anyway, you are reading a binary byte stream from an audio daemon, so > > I think you cannot expect it to be displayed in any human-readable > > way, let alone hope that the major mode in effect in *scratch will be > > able to fontify it in some reasonable way. You should use > > insert-file-contents-literally instead, I think. (And I very much > > doubt that "visiting" a non-regular file makes sense, but maybe I'm > > missing something.) > > Right, I didn't expect VISIT=t to make sense, but the resulting breakage > is unexpected. Emacs tries to decode the binary stream (unless you use the -literally variant), and the result could look (to Emacs) like some text that fits some font-locking or paren-matching pattern.