From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#43789: 27.1; Dired cannot handle file which name contains linebreak Date: Mon, 5 Oct 2020 09:53:15 -0700 (PDT) Message-ID: <7af2342b-0d97-4002-a859-99c1fe7aafcf@default> References: <368aeb12.1603.174f2d51c6d.Coremail.all_but_last@163.com> <87tuv9uiid.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3568"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43789@debbugs.gnu.org To: Michael Albinus , Zhu Zihao Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 05 18:55:53 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPTmD-0000pj-4x for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Oct 2020 18:55:53 +0200 Original-Received: from localhost ([::1]:38212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPTmC-0007JW-3W for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Oct 2020 12:55:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPTkQ-0005gO-NN for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2020 12:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPTkQ-0001lp-Ds for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2020 12:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kPTkQ-0005XO-C2 for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2020 12:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Oct 2020 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43789 X-GNU-PR-Package: emacs Original-Received: via spool by 43789-submit@debbugs.gnu.org id=B43789.160191681521239 (code B ref 43789); Mon, 05 Oct 2020 16:54:02 +0000 Original-Received: (at 43789) by debbugs.gnu.org; 5 Oct 2020 16:53:35 +0000 Original-Received: from localhost ([127.0.0.1]:50390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPTjz-0005WV-5A for submit@debbugs.gnu.org; Mon, 05 Oct 2020 12:53:35 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:35222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPTju-0005W3-0T for 43789@debbugs.gnu.org; Mon, 05 Oct 2020 12:53:34 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 095GnqkC041585; Mon, 5 Oct 2020 16:53:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=xJ7cn/gg/sM7how024ecVZH3e9hTaBYpW3eQqxjbDPE=; b=xsm7406SOD+fiQTJAWytrTyRcU/6f9GCVg1uzfw94aoGKctKvdQwpOVuA1fDdJas2HNN TiQcSuYMRGt2APojK7xMxJMLropu1v9I3I3CrWyIDjnaAnN/U8jYSpbo9zuy0Wncgbqq pUnUzg/ssU1fKxyyqicuSncQeGJHhA/mWvRJoka6Kg1MF68hfGdyvb/kWynBI4RRkz70 +Yd2h9mRpaJPHHVKloUKur+Z0Saoi4NilXzNDgOEUtiRcJ7Th/aGnfJKNE6GdstXhZFA XTTYBJFEzJ+EJfcG9pUaTeDyQjvlYnTMhnu5ghxcmnBW2vSjsWnIv0weB/5xBe5l7bax cg== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 33ym34br0m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 05 Oct 2020 16:53:19 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 095GpCxh025555; Mon, 5 Oct 2020 16:53:19 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 33y2vkrh42-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 05 Oct 2020 16:53:19 +0000 Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 095GrGRR002980; Mon, 5 Oct 2020 16:53:17 GMT In-Reply-To: <87tuv9uiid.fsf@gmx.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5056.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9765 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=999 malwarescore=0 suspectscore=0 spamscore=0 phishscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2010050124 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9765 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 impostorscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=999 clxscore=1011 bulkscore=0 spamscore=0 malwarescore=0 phishscore=0 suspectscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2010050124 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189839 Archived-At: > > 1. Use touch from coreutils or find-file in Emacs to create a file > > which name contains a linebreak. (e.g. "line\nbreak") > > 2. Visit it in dired, you cannot do anything with this file because > > the characters after "\n" was ignored by dired. >=20 > I recommend to avoid file names containing line breaks. Tramp, for > example, cannot handle them at all. And it's likely to mess up font-locking and other Dired features that expect a newline to indicate the end of a Dired line. Dired, and other line-oriented displays, are a bit fragile in this respect.