From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly Date: Fri, 24 Nov 2017 08:30:47 -0800 (PST) Message-ID: <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> References: <87fu93yhdy.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1511541083 21289 195.159.176.226 (24 Nov 2017 16:31:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 24 Nov 2017 16:31:23 +0000 (UTC) To: Michael Albinus , 29423@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 24 17:31:15 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIGsf-0004NZ-F0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Nov 2017 17:31:09 +0100 Original-Received: from localhost ([::1]:50070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIGsh-0005d8-Ql for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Nov 2017 11:31:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIGsb-0005cz-U5 for bug-gnu-emacs@gnu.org; Fri, 24 Nov 2017 11:31:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIGsY-0006oI-PT for bug-gnu-emacs@gnu.org; Fri, 24 Nov 2017 11:31:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47481) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eIGsY-0006i3-Km for bug-gnu-emacs@gnu.org; Fri, 24 Nov 2017 11:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eIGsX-0003QZ-Vn for bug-gnu-emacs@gnu.org; Fri, 24 Nov 2017 11:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Nov 2017 16:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29423 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 29423-submit@debbugs.gnu.org id=B29423.151154105913165 (code B ref 29423); Fri, 24 Nov 2017 16:31:01 +0000 Original-Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 16:30:59 +0000 Original-Received: from localhost ([127.0.0.1]:56162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIGsU-0003QG-Qi for submit@debbugs.gnu.org; Fri, 24 Nov 2017 11:30:59 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:34150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIGsT-0003Q2-21 for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 11:30:57 -0500 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vAOGUohG003206 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Nov 2017 16:30:50 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id vAOGUoAl025079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Nov 2017 16:30:50 GMT Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id vAOGUnbC022746; Fri, 24 Nov 2017 16:30:50 GMT In-Reply-To: <87fu93yhdy.fsf@gmx.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4615.0 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:140314 Archived-At: > Goto the *scratch* buffer, and perform > M-: (ls-lisp-insert-directory "/tmp/" '(?F) nil nil nil) > Move the cursor into the string /tmp/, and perform > M-x describe-char >=20 > There is no text property 'dired-filename, as it should. I think you're talking (only) about the final / char. That seems to be the only place where the property is not present. Is that / part of the (directory as) file name? Dunno whether that consideration helps here - probably not. What to cover by the property really depends on what the property is used for. Unfortunately perhaps, unlike the case for functions and variables, there is no doc string for text properties. Unless something is called out for this in some doc string or in code comments, only the current uses of the property can guide what it should apply to. I don't know whether the / should have that property. I have checked and see that in Emacs 22 it has it, and thereafter it does not. Regression? Intentional change? The current uses of the property, as I quickly check them don't suggest that it matters whether / has the property. Do you have something (e.g. some use case) particular in mind, where you think that the / should have the property? Should we consider code that expects the result of checking for that property to give the same position regardless of whether switch `F' is used? Should the file name be considered to be the same, regardless of whether a / is appended? In sum, is this a bug to be fixed, a design question, or design that was already changed intentionally for Emacs 23? (I have no idea, and no code of mine depends on what is decided, AFAIK.)