From unknown Tue Jun 24 20:51:01 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#29423 <29423@debbugs.gnu.org> To: bug#29423 <29423@debbugs.gnu.org> Subject: Status: 27.0.50; ls-lisp does not handle -F switch properly Reply-To: bug#29423 <29423@debbugs.gnu.org> Date: Wed, 25 Jun 2025 03:51:01 +0000 retitle 29423 27.0.50; ls-lisp does not handle -F switch properly reassign 29423 emacs submitter 29423 Michael Albinus severity 29423 minor tag 29423 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 07:46:04 2017 Received: (at submit) by debbugs.gnu.org; 24 Nov 2017 12:46:04 +0000 Received: from localhost ([127.0.0.1]:54783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIDMq-0004KQ-62 for submit@debbugs.gnu.org; Fri, 24 Nov 2017 07:46:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIDMo-0004Jg-2p for submit@debbugs.gnu.org; Fri, 24 Nov 2017 07:46:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIDMh-0002mL-D6 for submit@debbugs.gnu.org; Fri, 24 Nov 2017 07:45:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54531) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eIDMh-0002m1-9B for submit@debbugs.gnu.org; Fri, 24 Nov 2017 07:45:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIDMf-0003cd-4v for bug-gnu-emacs@gnu.org; Fri, 24 Nov 2017 07:45:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIDMb-0002iN-Pq for bug-gnu-emacs@gnu.org; Fri, 24 Nov 2017 07:45:53 -0500 Received: from mout.gmx.net ([212.227.17.21]:55183) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eIDMb-0002hE-D4 for bug-gnu-emacs@gnu.org; Fri, 24 Nov 2017 07:45:49 -0500 Received: from detlef.gmx.de ([212.86.52.208]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Mbfyr-1ebFmh0cJJ-00IyqP for ; Fri, 24 Nov 2017 13:45:46 +0100 From: Michael Albinus To: bug-gnu-emacs@gnu.org Subject: 27.0.50; ls-lisp does not handle -F switch properly Date: Fri, 24 Nov 2017 13:45:45 +0100 Message-ID: <87fu93yhdy.fsf@gmx.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K0:T7g6t+XiCNnknI1b2JuDHd3Z5V14Kj2hC6gknzJLhxDrIHLbRqO IE6vPw3oRbaf3lGVq3Fxxx0MWFZdmjYRR8nP2NmCD+vvGwtGckTu6zoRnnu/EP7MS0O2PeL ifdowibOT5z2hhmY6rpXbdc81flGSLtbxjhNin6gz5MYLrimEEAluNvpLtMeWNzYavwduFs qMP3UTTTnttfrlhHpS4rA== X-UI-Out-Filterresults: notjunk:1;V01:K0:MrqM0CbWdNw=:z3l2KSaf4mRFBV1m7XkQrl Vd0fuZFtbpmvfbzroK5UvDQP4w3LHxF2nBSxAVSi9sketnhYzQ48qMIQa56e+Z8UR/JR3Ltqr ncu107oSlQdPryZ8nHpuvsNXx1WUIR7LTo6/PnPX1nS+AAoRygSt4/Fp+ZpF9v3ykSzFT8dxE Df9zNFXHdUGyIWWBlL7WpTZCcM6kaqORi0QdP6lqsTP8fzvXJanBFRtKDDwOXd8V6Px2qaUd+ Bl238rrWXwVqxlDQvUz91YoW9R8Pbb7iAUk3igM8iaBd994y/s5tHgrQsVpSgLVsUP5+XSmgj sNexSgD4JLO0zuz1SWuOqcQEZhY3EmIxMNPDNzgB9beWRj73bo0qk1/EB2mDVkNjFd7dhsBIN Y3d41G9v3f25DZ7SXcf3iFDcEaK/xDQlXuvjk0gDyFhyWbUrwMCSJCCEjbwdIDsMjIXYeXxeJ Sjf2gzbspR8rHpDZzGfgv/GsW71Z2Xsl4f3Fvs63NBw/RLs+IRqY8aJmAdOof4MPksYwdV9w2 R8PBW/1CNg//IxYrsuOmQAawmTOV/uChHsqJlS0g0/I5bgYS+xbK0gI+UdmgGuV8cnGp1hrZ2 Hv3tGln0pXx8a8efKBW+b5Qamhi7Jgea3I8pn/ZrpvSn2ANLSK53p5JhR3tNjKrCOMl1G+Ty4 JOzqs1UeDI+T/KDRQMB6yIeymTOTxjpnuixo53lZQiqO5FNttABRlW0OAD6zq9XVTDLdUhV6Y w3r355WEj4DtDXuGm4YaB9nBldLGC/vJEF2Vi3NAZnIXFpJbX8M+rfkLblhGLjUO9SJLmQ/6G SgQ1VEyIznHaHYLcM0Rkzp0XM/1UQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) --=-=-= Content-Type: text/plain 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 There is no text property 'dired-filename, as it should. The following patch seems to cure the problem. Run the same test, you will see the text property 'dired-filename. --=-=-= Content-Type: text/plain Content-Disposition: inline diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el index caddc7f760..6765cc8dc9 100644 --- a/lisp/ls-lisp.el +++ b/lisp/ls-lisp.el @@ -841,9 +841,7 @@ ls-lisp-format " " (ls-lisp-format-time file-attr time-index) " " - (if (not (memq ?F switches)) ; ls-lisp-classify already did that - (propertize file-name 'dired-filename t) - file-name) + (propertize file-name 'dired-filename t) (if (stringp file-type) ; is a symbolic link (concat " -> " file-type)) "\n" --=-=-= Content-Type: text/plain This is a minor problem only. But I've stumbled over it, working on new Tramp tests. Any objection to install the patch? In GNU Emacs 27.0.50 (build 14, x86_64-pc-linux-gnu, GTK+ Version 3.22.24) of 2017-11-23 built on detlef Repository revision: 0092a856ff3900c3771408893fb7fd8d731de568 Windowing system distributor 'The X.Org Foundation', version 11.0.11905000 System Description: Ubuntu 17.10 Recent messages: Buffer B: Processing difference region 0 of 2 Processing difference regions ... done Refining difference region 1 ... Saving file /usr/local/src/emacs/lisp/ls-lisp.el... Wrote /usr/local/src/emacs/lisp/ls-lisp.el ls-lisp-format Continue... nil Type C-x 1 to delete the help window, C-M-v to scroll help. Mark set Configured using: 'configure --with-file-notification=inotify' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 LCMS2 Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8 Major mode: Lisp Interaction Minor modes in effect: diff-auto-refine-mode: t erc-notify-mode: t erc-notifications-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t url-handler-mode: t display-time-mode: t shell-dirtrack-mode: t icomplete-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/albinus/src/elpa/packages/debbugs/debbugs-org hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-org /home/albinus/src/elpa/packages/debbugs/debbugs-gnu hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-gnu /home/albinus/src/elpa/packages/debbugs/debbugs hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs /home/albinus/src/elpa/packages/debbugs/debbugs-autoloads hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-autoloads /home/albinus/src/elpa/packages/debbugs/debbugs-pkg hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-pkg /home/albinus/src/elpa/packages/debbugs/debbugs-browse hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-browse /home/albinus/.emacs.d/elpa/counsel-20171101.1121/counsel hides /home/albinus/.emacs.d/elpa/ivy-0.9.1/counsel /home/albinus/.emacs.d/elpa/swiper-20171105.42/swiper hides /home/albinus/.emacs.d/elpa/ivy-0.9.1/swiper /home/albinus/src/elpa/packages/tramp-theme/tramp-theme hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme /home/albinus/src/elpa/packages/tramp-theme/tramp-theme-autoloads hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme-autoloads /home/albinus/src/elpa/packages/tramp-theme/tramp-theme-pkg hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme-pkg /home/albinus/.emacs.d/elpa/telepathy-20131209.458/telepathy hides ~/lisp/telepathy ~/src/tramp/lisp/tramp-smb hides /usr/local/src/emacs/lisp/net/tramp-smb ~/src/tramp/lisp/tramp-uu hides /usr/local/src/emacs/lisp/net/tramp-uu ~/src/tramp/lisp/tramp-adb hides /usr/local/src/emacs/lisp/net/tramp-adb ~/src/tramp/lisp/tramp-cmds hides /usr/local/src/emacs/lisp/net/tramp-cmds ~/src/tramp/lisp/tramp-cache hides /usr/local/src/emacs/lisp/net/tramp-cache ~/src/tramp/lisp/trampver hides /usr/local/src/emacs/lisp/net/trampver ~/src/tramp/lisp/tramp-ftp hides /usr/local/src/emacs/lisp/net/tramp-ftp ~/src/tramp/lisp/tramp-sh hides /usr/local/src/emacs/lisp/net/tramp-sh ~/src/tramp/lisp/tramp hides /usr/local/src/emacs/lisp/net/tramp ~/src/tramp/lisp/tramp-loaddefs hides /usr/local/src/emacs/lisp/net/tramp-loaddefs ~/lisp/dbus hides /usr/local/src/emacs/lisp/net/dbus ~/src/tramp/lisp/tramp-gvfs hides /usr/local/src/emacs/lisp/net/tramp-gvfs ~/src/tramp/lisp/tramp-compat hides /usr/local/src/emacs/lisp/net/tramp-compat Features: (shadow sort mail-extr warnings emacsbug message rmc puny rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils add-log log-view pcvs-util ediff-vers ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff erc-replace magit-utils crm cus-edit descr-text time-stamp misearch multi-isearch tramp-adb tramp-cmds tramp-ftp cl-print edebug eieio-opt speedbar sb-image ezimage dframe help-fns radix-tree ls-lisp files-x cl-extra help-mode tramp-archive-tests tramp-archive tramp-gvfs zeroconf url-util ert find-func ewoc debug vc-hg vc-git diff-mode easy-mmode bug-reference map cus-start cus-load elec-pair erc-notify erc-desktop-notifications notifications dbus xml erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat thingatpt pp cperl-mode tramp-theme em-dirs esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util finder-inf rx docker-tramp tramp-cache slime-autoloads vagrant-tramp dash term disp-table ehelp info package easymenu epg-config url-handlers url-parse url-vars time tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete comint ansi-color ring parse-time format-spec advice auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache ido seq byte-opt gv bytecomp byte-compile cconv jka-compr icomplete paren vc cl-loaddefs cl-lib vc-dispatcher dired dired-loaddefs time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 591729 78592) (symbols 48 51583 5) (miscs 40 1187 1629) (strings 32 163059 9766) (string-bytes 1 4144809) (vectors 16 66157) (vector-slots 8 2194248 184812) (floats 8 143 706) (intervals 56 12315 1573) (buffers 992 44)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 07:51:09 2017 Received: (at control) by debbugs.gnu.org; 24 Nov 2017 12:51:09 +0000 Received: from localhost ([127.0.0.1]:54788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIDRl-0004Rv-2S for submit@debbugs.gnu.org; Fri, 24 Nov 2017 07:51:09 -0500 Received: from mout.gmx.net ([212.227.17.22]:64009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIDRj-0004RV-D7 for control@debbugs.gnu.org; Fri, 24 Nov 2017 07:51:07 -0500 Received: from detlef.gmx.de ([212.86.52.208]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MfEsY-1eTpNO3pyU-00OmRA for ; Fri, 24 Nov 2017 13:51:01 +0100 Date: Fri, 24 Nov 2017 13:51:00 +0100 Message-Id: <87efonyh57.fsf@gmx.de> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #29423 X-Provags-ID: V03:K0:UGMaBWK7NVLcd0synhbWh6ufELdsUzw17L7xiIMd1I5eUNzFyrO eHugMJ+wfBTtgl5hjKouNCqIJrUFsigqdGHB0TLsd5J+aqZJgNWZRZpQOc2T5i0dkJa8mKb mRMjuj2IUu0dr2bqyKDP+szbeqPmPE0goUuhaelH+xBVfGYfhnxn5khpt1H0JhnL4/6koPE OFKy048Lo780oQv/KLX2g== X-UI-Out-Filterresults: notjunk:1;V01:K0:uIUxJ+Bjhw0=:eqDoCUPxHZdg5oUAcrbFTn O860Q5bv71Ih6wE5xKOAjmLls7QbNM8vtr8HrOjdDg1ZI/bAYImfsTX8CimO3IjkoqAVr9IUC OAgaeFU0CtS6U1cSqi4m4qduHskUiI2dXfSrDpcKjdnLqAshGbWlZiPPrVTsKs7UUEX1X7VqW 0yF11N8ulZUbstUA2qDX4UG1eC0tdx1Bj1bPge2cyKvsbXWI/gCQZUeHirQo1oBdfMCAye+93 MzH27A5Ot7eoZZs8kfX6lUo2mIs05l5vU/MQvzyW1Ma7moosI/IrXpE9QX9xnA0KCV7IpgGO4 6HYnxvwq+M3n35wgHAQYBb3vFHBa6mhcJn7YmykYmbprK1xsLnRszFICxThhJIZ604CSH+qNa 3W9yrLU/KZ1BzqWMXZ3kg/3jJkRDbhjf5V/ay+D9VVawlZx8745/dsWPrss8f0D6SPXu+LTz0 CbwNV2a6UTCPjMNqoR9e2dn8Jzw/QFQfEFzDfVvsRKbkT2v25yd0ZSGnBxXso4Ogafd7NiNE2 CLOF8ySzJzzF0S9gqTd/PUUZmcZFzg3Cza7tpcts1ixJj7GWAxUbZF/4R2c1T/MhP9v3aGV6V /MrwUse4WCbMAFBnmmgJ30TUWGW9RVDzyYyyslZkel2UdR19o8PHWOxVoGnNtD38q5N0hQdih Cm7/Z5Zydm0dchxcmKm0PtwBhjDX38APCb9E/ScucidTB9AiAC40+66yNAVewpFMfo1PwJbwb YTYJxtQcJ/PXd7aa6RhEEKykQjNWFIs+IPwKAAx2oA31Et2wJRaTLIP+1r44Itjomoz/T0pcn rTg7W48hN6Y4GNgPwFaQ1hsA+JUtA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 29423 patch From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 07:51:26 2017 Received: (at control) by debbugs.gnu.org; 24 Nov 2017 12:51:26 +0000 Received: from localhost ([127.0.0.1]:54791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIDS2-0004SP-AD for submit@debbugs.gnu.org; Fri, 24 Nov 2017 07:51:26 -0500 Received: from mout.gmx.net ([212.227.17.22]:56528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIDRx-0004SA-Mp for control@debbugs.gnu.org; Fri, 24 Nov 2017 07:51:24 -0500 Received: from detlef.gmx.de ([212.86.52.208]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MPUFR-1eE4aQ3r5V-004lN3 for ; Fri, 24 Nov 2017 13:51:16 +0100 Date: Fri, 24 Nov 2017 13:51:15 +0100 Message-Id: <87d147yh4s.fsf@gmx.de> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #29423 X-Provags-ID: V03:K0:o+QIK13ZUvX31rYk6Ke3sK2R1Y0NPgrsAA9as2g19mZTVqlne7Y EBiVEXaNYXdAozVub52HTxruYfoUnPPlELKCxS7v8SBEzdHGqCa5o4ZY+Z49/Fur0QkI2HX fJeF9f9m2Td0QTIzgCcFr/GWj9aU5QbpDvzNa8colbjUvRjDq3RMPiEp2MXvx+u5GnipYTN ptN33jaskY+aqeoIzSt8g== X-UI-Out-Filterresults: notjunk:1;V01:K0:8skvkCgrgwY=:KN96byk5H6zFsWBoAZHfXi NnlV2pJB1JiIJte50HDf6MfDgVk1cwuB1aXh9yVzQ0zySoJQzOCj3nCDco28jokP/+rh/8Hom Cs2zXX/ahopOrID+8LC4YSBo8UhQBPQKFT2w2WL3TWXpMllXd8IoZjIrGf8fbA7l5DsGRQujC 5rrP/Dh73TzFfX6m0d9Mojafg7bj4YO6z9cqiFZ7a51N9MWol54bC3fSED1euiWRCpvZi5JqK gxzU6KtFCx3u6oKjlV7r3FcLafn44ehy51xwqVjwnexjOQVGKbim8cL/Ipy4zznHwZNWCtNrg UglRvcPRN1Aq3zRuPWtzuuGmVdkHudcDcFsLzGkDR1dWK+L4ZNctJ8DmnkZ2hgzx5raPVT4xa WldG3Ft+RiWyMllVF4za/VzUsGMxjf14kZ5it/CeQVtHYBKyKDX/lpkugeGNLsW6ZprqimsB6 XCa1cyhHqUdfOCKVrlfj46TKoGIg/QNl9tdAiyBsQbVt2Kwi9a5CLD2m8QNkzZIi5LKcOESra y/PZAfWTtXdCIYVeHneBLRRxe8ph3wv30kgC5aczijfAyCbsJSlnpRVaz4Cj0brmPLlEg8RzV rSgNTXq4FJXD2fO0r0VLP7ekCc+0zSBgsHb1v39hhHtwbs93VvI7BWwiDoRtKiARV+Iyd11VF 4365L0DBApZPEP1i70jfTnTfMaIPdhNQOdY7gzSG8ALBr3YkK8PLP0loz44g75OlwnJ+cMCYX eQJ2JTOv6DyOoyYHeWn4cbids1o99MY0TgtmR8+VEGd3pkAh5J/RVb5CpSIrQwRVZzUnJEK4s lIIhrwhEb0SThOuqk7GVdfYIAitMw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) severity 29423 minor From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 08:38:06 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 13:38:06 +0000 Received: from localhost ([127.0.0.1]:54829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIEBB-0007Rl-Pe for submit@debbugs.gnu.org; Fri, 24 Nov 2017 08:38:05 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIEBA-0007RH-6s for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 08:38:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIEB1-0007pg-Oe for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 08:37:58 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIEB1-0007pb-Li; Fri, 24 Nov 2017 08:37:55 -0500 Received: from [176.228.60.248] (port=2886 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eIEAz-00018Z-Jg; Fri, 24 Nov 2017 08:37:55 -0500 Date: Fri, 24 Nov 2017 15:37:26 +0200 Message-Id: <83fu93ajc9.fsf@gnu.org> From: Eli Zaretskii To: Michael Albinus In-reply-to: <87fu93yhdy.fsf@gmx.de> (message from Michael Albinus on Fri, 24 Nov 2017 13:45:45 +0100) Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29423 Cc: 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Date: Fri, 24 Nov 2017 13:45:45 +0100 > > 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 > > There is no text property 'dired-filename, as it should. > > The following patch seems to cure the problem. Run the same test, you > will see the text property 'dired-filename. > > > [2:text/plain Hide] > > diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el > index caddc7f760..6765cc8dc9 100644 > --- a/lisp/ls-lisp.el > +++ b/lisp/ls-lisp.el > @@ -841,9 +841,7 @@ ls-lisp-format > " " > (ls-lisp-format-time file-attr time-index) > " " > - (if (not (memq ?F switches)) ; ls-lisp-classify already did that > - (propertize file-name 'dired-filename t) > - file-name) > + (propertize file-name 'dired-filename t) > (if (stringp file-type) ; is a symbolic link > (concat " -> " file-type)) > "\n" How come ls-lisp-classify doesn't propertize the file name in this case? From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 08:41:44 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 13:41:44 +0000 Received: from localhost ([127.0.0.1]:54837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIEEi-0007XI-JR for submit@debbugs.gnu.org; Fri, 24 Nov 2017 08:41:44 -0500 Received: from mout.gmx.net ([212.227.15.19]:49599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIEEf-0007X1-TD for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 08:41:42 -0500 Received: from detlef.gmx.de ([212.86.52.208]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MF4iR-1eLFJd36Tr-00GEOV; Fri, 24 Nov 2017 14:41:34 +0100 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <83fu93ajc9.fsf@gnu.org> Date: Fri, 24 Nov 2017 14:41:33 +0100 In-Reply-To: <83fu93ajc9.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 24 Nov 2017 15:37:26 +0200") Message-ID: <87d147ssj6.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:iw2Py16JBxjzYB50cxu3YoPR/naz66OGUHOG4xHYIJmh4FAeEgh /5nbLSNv075sLN3SJtDk6YghBREhQpOEVzUWsh6UZOuobB14BwmtL8YLs5ieBDSVlO45til 1zA6AkWSoL9gjTDqPZn1MqUx916LwPdqxvTTigazKPE6Wg5S/WmKDG0YvCTtvlPAFmsQ8Zu AHU7B8XutkKrFbCDjQZzg== X-UI-Out-Filterresults: notjunk:1;V01:K0:JX90nVoiL10=:et9KEs3st2H3PCrZ/RhEN0 +ilK8Nq2cbiY2pk2XWeRO73HQZmcAgJJp2YBwaJfVycA954bKM0nVq1rRbs2Q4VVzzlETo8ro cw7vvQIM6BcQCRH8rJANw2KKcpOdEAh2l3jiAgx4fqhlf+8PRyNu79+g5Q9oF0jkfECtG5i8A 7b+inF1GJWOz+SZkp1Y0zrloDZldTaT8FMyTQacv0Ucikc5QqyVOO3YwLjL41m9uNY9ojrQh1 xToVIUboFWbjckX5rscJs197US3KxQF6ys5Q6VKeG9KIe45YWe1aZHkcNGB3bt55g0hvPwh93 3QSwEQhLD3I7n5XVLdyFsXdeCGj2gWuuKP4zea45jtLtcGtkbz7ad3tYoPlVwLxkkWE3D5TtD W+WhZ8dNPQpTU/AD7JDAttCy98G9oevoHn5pD8ZWM3zr9tk+N/vQ1d1s1XITyDdfRtAJSVQaG flBr45XiNpkZr7uc2efVJ8rut/sw+SDWSJxABBMUhZ0afezDXEfBLO+hhtja5cKAe1wdh0ajs k4gjHev9aMK3EsC7cevRcHLlmTcayKdBCWZhaGASpgEMCi6ZvyhI9a3abj2tHgcWq+YWz52PT rbd1qtBIKQpQbh8ZFkhM0f2+LojPldWcH/jVDfv2u7yWRhgEMk2wU2ehc9GbG/yA5uHHHcvtZ v9bU6IzoXGYirk0nnIZwbQhBndJhEffmejhEuwTuz+Vw/c1q81/jQIu9HHf9NOD15oA2/3CPx 5rNM17H5xRaXpAtvoItIhxWABAK4gAwq8pOlaAtSmqy6UkTKhQt9Qscuu+xT3WbiYQXEIP3C3 b+ruCdzGOCjwmFA3RBWGyEbP3OIK7PiyQXNYZBRppSw7gOzAXA= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29423 Cc: 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > How come ls-lisp-classify doesn't propertize the file name in this > case? Because it wasn't called. ls-lisp-classify-file was called only, if I'm not mistaken. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 09:56:54 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 14:56:55 +0000 Received: from localhost ([127.0.0.1]:56098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIFPS-0001Aq-Lv for submit@debbugs.gnu.org; Fri, 24 Nov 2017 09:56:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIFPP-0001AY-8n for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 09:56:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIFPE-0006Hp-OY for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 09:56:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIFPE-0006Hh-L3; Fri, 24 Nov 2017 09:56:40 -0500 Received: from [176.228.60.248] (port=2960 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eIFPC-0006md-MZ; Fri, 24 Nov 2017 09:56:40 -0500 Date: Fri, 24 Nov 2017 16:56:11 +0200 Message-Id: <837eufafp0.fsf@gnu.org> From: Eli Zaretskii To: Michael Albinus In-reply-to: <87d147ssj6.fsf@gmx.de> (message from Michael Albinus on Fri, 24 Nov 2017 14:41:33 +0100) Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <83fu93ajc9.fsf@gnu.org> <87d147ssj6.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29423 Cc: 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: 29423@debbugs.gnu.org > Date: Fri, 24 Nov 2017 14:41:33 +0100 > > Eli Zaretskii writes: > > > How come ls-lisp-classify doesn't propertize the file name in this > > case? > > Because it wasn't called. Then we should at least delete the propertize call from ls-lisp-classify, as part of your patch, no? From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 10:14:08 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 15:14:08 +0000 Received: from localhost ([127.0.0.1]:56106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIFg8-0001Zi-E4 for submit@debbugs.gnu.org; Fri, 24 Nov 2017 10:14:08 -0500 Received: from mout.gmx.net ([212.227.15.15]:65436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIFg7-0001ZV-BU for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 10:14:07 -0500 Received: from detlef.gmx.de ([212.86.52.208]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MbgKD-1ebHzm3wlJ-00J6Mi; Fri, 24 Nov 2017 16:14:00 +0100 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <83fu93ajc9.fsf@gnu.org> <87d147ssj6.fsf@gmx.de> <837eufafp0.fsf@gnu.org> Date: Fri, 24 Nov 2017 16:13:51 +0100 In-Reply-To: <837eufafp0.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 24 Nov 2017 16:56:11 +0200") Message-ID: <878tevso9c.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:ptYjb2Y7p4+SFJAVHcLCfSb8IvheIfGDkaGrEWD7N9otQb2NoKA MPYwTnUvcWVQ+kr2Nx1awddH2Y6Wp9GC+v1z/nNAYzIAZ2jmob5VqQ/bq5l5Gz0E2L7Z7NB g1Mbj/bA8NEmXNoDQ6CWCtymel7BWUVKCHQgaDafs2fCkkZ+rTJKKeKpxe5LCufGhsdFArU FnYK8EJbg3UanW2vtp1ng== X-UI-Out-Filterresults: notjunk:1;V01:K0:Owq4UOWjpqg=:YpWdRHj7BJvjKZnUfLwq+W eJbcoDZ/pMommHFZiOjA8MTMz2+ReflVQKVIY25gYbxVVL3IhradlnqkTffjni05ZR9bCsclr 0nq7zvy14lQLAsAvkEUEnEq6LQ7TLYMVLiFpOD05vAum6hMTij/l+81+47P5X3b7+NNpJNvtC MheIKePLL0HjPD0gt77faqAaKt59lyZkAqArXIuSw9f506xfu0J9ovW/JPTqKPjrFP8/bFMll nGFdfh3kMpF+G/DOf2Z+W2F/LGpDIdi6t2dBOTsGk3y5hIww89H7VO67s3/QN2BwIVyUUXQ3r ih7U4/1WLDKH8exV54QSwjbRS6Hsrn5RWWHcu1gmmkYAeMMP2AROSQW5/g+6BU8pO37HIyPSX khQKP3lBj0e9UTD2oizG8vIUV9IKUZlpkip0439Fg8eibTyc/BabRNYoRtKuXmPOKbspXiY79 htyASgh2GQj1Y7sxy9n+JRw7/tK6wbCtnr7dQTmL16KfLK8I9MzdbOxF2v6FdhlNggL3iAQ6P bgr5DQOsUvut7Tt3gsXiDcd4kVU1sHJxJG+iF/HSK8MV/DqOH6htOVRyu6HUPGjR9i5Pgw+3v j/dA2dvV/FnADIYS0WwYQD7B2gXV8+MykaoVuqsa8ceh5ccHBbdKR+8yyFxBC9+ki6WSism8V +wHu6pQ2R8Wf8omhOLo4NanfsK+53e8/bfte2MGgsSkFti1ASe01ZtGKPC4Rchv2DoEHaXK+k L44H0QVfj16r/UAbqnShrZRk2q7AmTBS/rE4SIUUjQVOVfvHBEludaDBUNAo1gLl9qSOtgNlt Z7pBsfBuLD0U9Xanw9jZg/prbANg6Ml/NgnnPY1EVzlnISkWXZge25W0eyNzh0j2OogqT/9 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29423 Cc: 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > Then we should at least delete the propertize call from > ls-lisp-classify, as part of your patch, no? Yes. At least my (new) Tramp tests still pass, after I've done this. Don't know, whether there are other insert-directory tests in Emacs' test subdirectory. Shall I commit to master? Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 10:48:34 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 15:48:34 +0000 Received: from localhost ([127.0.0.1]:56128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIGDR-0002Ni-VJ for submit@debbugs.gnu.org; Fri, 24 Nov 2017 10:48:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIGDP-0002NV-Sg for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 10:48:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIGDG-0003Ec-6P for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 10:48:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIGDG-0003EG-2n; Fri, 24 Nov 2017 10:48:22 -0500 Received: from [176.228.60.248] (port=3110 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eIGDE-0007ou-4o; Fri, 24 Nov 2017 10:48:21 -0500 Date: Fri, 24 Nov 2017 17:47:54 +0200 Message-Id: <833753adat.fsf@gnu.org> From: Eli Zaretskii To: Michael Albinus In-reply-to: <878tevso9c.fsf@gmx.de> (message from Michael Albinus on Fri, 24 Nov 2017 16:13:51 +0100) Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <83fu93ajc9.fsf@gnu.org> <87d147ssj6.fsf@gmx.de> <837eufafp0.fsf@gnu.org> <878tevso9c.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29423 Cc: 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: 29423@debbugs.gnu.org > Date: Fri, 24 Nov 2017 16:13:51 +0100 > > Eli Zaretskii writes: > > > Then we should at least delete the propertize call from > > ls-lisp-classify, as part of your patch, no? > > Yes. At least my (new) Tramp tests still pass, after I've done > this. Don't know, whether there are other insert-directory tests in > Emacs' test subdirectory. > > Shall I commit to master? Yes, please, and thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 11:30:59 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 16:30:59 +0000 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 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 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 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 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 MIME-Version: 1.0 Message-ID: <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> Date: Fri, 24 Nov 2017 08:30:47 -0800 (PST) From: Drew Adams To: Michael Albinus , 29423@debbugs.gnu.org Subject: RE: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> 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)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 29423 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > 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.) From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 11:56:40 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 16:56:40 +0000 Received: from localhost ([127.0.0.1]:56216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIHHM-000461-9m for submit@debbugs.gnu.org; Fri, 24 Nov 2017 11:56:40 -0500 Received: from mout.gmx.net ([212.227.17.20]:61280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIHHK-00045j-Ju for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 11:56:39 -0500 Received: from detlef.gmx.de ([212.86.52.208]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LeNGL-1evE2w23un-00qEnN; Fri, 24 Nov 2017 17:56:27 +0100 From: Michael Albinus To: Drew Adams Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> Date: Fri, 24 Nov 2017 17:56:23 +0100 In-Reply-To: <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> (Drew Adams's message of "Fri, 24 Nov 2017 08:30:47 -0800 (PST)") Message-ID: <87k1yfpqdk.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:uoAT0xLQa+WmnnRqX4vGjdFZlNyzc873bY1kdGy7ebvpJGG0HcK o4U4MyJKR108W9zvAf4nflE1v+2xUReVop5/MVSRh9+XpWdqR0PPr+C3DMu6o3OefifaQNg oKYrSqTROghoLxA7fi+256ObdaugJnBe4bh8gHNU1+R+Js4w37YMDt6Wm30fPw7E8NN+c8z FvdoT3gsU7WISchpEcWRA== X-UI-Out-Filterresults: notjunk:1;V01:K0:0IiSJ+Y9Dp8=:jyiiflHxxh1tYRRuCtXr1f MkVa7a2vKqzEfjLymKAyhtm6mxZlVmVnc4moLnSnbQLdG2NtM34+JNo21/b2EV1JBDRfPLB93 r04qXPiuKzufw1LaFgYH6YR3VVWSZdlGxJLYTQyLs92OegHp3BxuDfp9OIJXfvG9KCcYCpka0 jyBiI5SJH/70XvGs2Yb2iy7glVIqe1wmrQy+DVXzhpBI87kvvJzGi7PjZZbyT72yjg2vFa8yi isf62boYJwzhLy8yhdqUI8iLK1Uw8WJ9CKc6WxWA41byAqgRjG+epBrl7mPSxFhc2aDVohLPb UkZQ9pvWlKgm5cgWyap6P7YFNBOIb3BLJTs+bQNSOGXzK/mK92zjFFwJUJeA0Y/c3OB0wllf9 rDVacMGL5v9JHqWRyJXS7QASwpFOyTp5VnxAJu8nXwfdp7idPBikEAi5oqgAQIb+Zt0XYypS6 pkTh0bfMdpYomRROO3xk/rJ7WzKWGH3FZehJCL++c0pwCI2h/ZRkvRU3fKSaMrmhuq1O/FLV0 NnXmEr52Xjc/NGpeCBn/dKJ5gCKqsRwjCWHxQOrcsoZGW63Uz/PMxsSPas8bMqvyAhcpUewfe QUXXklxZjTUGIAg6tFtnHoJ7Qzx6mBF3ZvbU/1G3t3O8SLoLodQorn0pW2O3vMbk75GOqDSKg FJYo2arp0DEFnMSn27RazSsyCXyCMf4n+E4yR8tn0MrY/gGE5Q+YYEclHc7wo/co7/7HC1LkV aJS+G2X2VFKIv5eAREqG66oLW3JNKmqn55H5Z2rok2dwGNzAOwHKpHOcRTzqz5WbnDqQODQfw fLskvEhTgTs6uQ15/1LGuk16kSh3iyUoQ407prJASjmgXxBzxI= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29423 Cc: 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Drew Adams writes: Hi Drew, >> 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 >> >> 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. Yes. Finally, it was triggered by Tramp using the F switch. This was added by Tramp in order to get a trailing / for directory names in the directory listing. > 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. No, it is not part of the file name. Like the trailing " -> foo" for symlinks. My problem is, that the whole file name is missing the text property, not only the trailing slash. > 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 agree. However, in the given case, the text property 'dired-filename shall highlight exactly the file name. It is used later in dired (as the name of the property says), but it is also used in Tramp, because for some of the Tramp backends, ls-lisp-insert-directory is used internally, and Tramp needs some massage on the result. > I don't know whether the / should have that property. No. > I have checked and see that in Emacs 22 it has it, and > thereafter it does not. Regression? Intentional change? Likely intentionally. > 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? Again, this is not my point. My point is, that the name itself does not 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? Parsing the output of any insert-directory is a pain. Therefore, it is helpful to know that the file name part of this output is marked with 'dired-filename. Even in backends where Tramp does not use ls-lisp-insert-directory, Tramp tries its best to set this text property for dired. See tramp-sh-handle-insert-directory, for example. > 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.) I believe it is a bug. I have just applied my patch locally, and I have rerun the whole Emacs testsuite. Several errors did appear I haven't seen before. I'll check, whether they are related to my change. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 12:03:06 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 17:03:07 +0000 Received: from localhost ([127.0.0.1]:56229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIHNa-0004Hr-Lo for submit@debbugs.gnu.org; Fri, 24 Nov 2017 12:03:06 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIHNX-0004H8-TH for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 12:03:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIHNP-0003sS-MN for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 12:02:58 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIHNP-0003qz-IT; Fri, 24 Nov 2017 12:02:55 -0500 Received: from [176.228.60.248] (port=3169 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eIHNO-0001mu-6X; Fri, 24 Nov 2017 12:02:55 -0500 Date: Fri, 24 Nov 2017 19:02:28 +0200 Message-Id: <83zi7b8va3.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> (message from Drew Adams on Fri, 24 Nov 2017 08:30:47 -0800 (PST)) Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29423 Cc: michael.albinus@gmx.de, 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Fri, 24 Nov 2017 08:30:47 -0800 (PST) > From: Drew Adams > > > 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 > > > > 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? No, it isn't. It's what -F append to the file name to indicate that it's a directory. So if that's the problem, the patch is not TRT, IMO. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 12:12:21 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 17:12:21 +0000 Received: from localhost ([127.0.0.1]:56248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIHWW-0004Wa-TN for submit@debbugs.gnu.org; Fri, 24 Nov 2017 12:12:21 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:44873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIHWV-0004WK-0H for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 12:12:19 -0500 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vAOHCDhM002901 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Nov 2017 17:12:13 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vAOHCDYS025491 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Nov 2017 17:12:13 GMT 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 vAOHCCFM010243; Fri, 24 Nov 2017 17:12:12 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 24 Nov 2017 09:12:11 -0800 (PST) From: Drew Adams To: Michael Albinus Subject: RE: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> <87k1yfpqdk.fsf@gmx.de> In-Reply-To: <87k1yfpqdk.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)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 29423 Cc: 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > I think you're talking (only) about the final / char. > > That seems to be the only place where the property is not > > present. >=20 > Yes. Finally, it was triggered by Tramp using the F switch. This was > added by Tramp in order to get a trailing / for directory names in the > directory listing. You said "Yes", but below you seem to say "No". Is the / 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. >=20 > No, it is not part of the file name. Like the trailing " -> foo" for > symlinks. >=20 > My problem is, that the whole file name is missing the text property, > not only the trailing slash. (See above for (my) confusion about this.) That's not what I see, in any Emacs release or in the 26.1 prerelease (MS Windows binary). Perhaps what you see is a problem introduced after that prerelease or is platform-dependent? > > 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. >=20 > I agree. However, in the given case, the text property 'dired-filename > shall highlight exactly the file name. It is used later in dired (as the > name of the property says), but it is also used in Tramp, because for > some of the Tramp backends, ls-lisp-insert-directory is used internally, > and Tramp needs some massage on the result. I definitely agree that the name of the directory (sans /) needs the property. If that's missing then there is likely a regression. > Parsing the output of any insert-directory is a pain. Therefore, it is > helpful to know that the file name part of this output is marked with > 'dired-filename. I agree 100% that the name needs the property. As the only char I see missing the property is the final /, I thought that's what you were asking about and reporting as a problem. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 13:49:13 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 18:49:13 +0000 Received: from localhost ([127.0.0.1]:56347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIJ2G-0002Kr-Pp for submit@debbugs.gnu.org; Fri, 24 Nov 2017 13:49:12 -0500 Received: from mout.gmx.net ([212.227.17.21]:64276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIJ2E-0002Kd-Uf for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 13:49:11 -0500 Received: from detlef.gmx.de ([212.86.52.208]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LfTC1-1eu5Yr0XkH-00p8q8; Fri, 24 Nov 2017 19:49:00 +0100 From: Michael Albinus To: Drew Adams Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> <87k1yfpqdk.fsf@gmx.de> Date: Fri, 24 Nov 2017 19:48:59 +0100 In-Reply-To: (Drew Adams's message of "Fri, 24 Nov 2017 09:12:11 -0800 (PST)") Message-ID: <87indzzf50.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:RfAab3XgdXk1gp6WwK2dm/2ORoggsHNUr1ZdCZhCDVdN89VBdJ0 L1bNnYvA5cUOo97sj1PZ14AS8IQ4ZjxA/JKEw8FifCuiuzrY3Y9EHGaCnQQDCE2AvGE2a41 uYlK1QetIAz6ZKKx4E4pv4Xm4kAaFCCc++RhhmKruUO3jiOE+8zQG+dVQQ0LAC7si1Udg7Y E8oRAvODqTC4Fu8RHd5yA== X-UI-Out-Filterresults: notjunk:1;V01:K0:ohuiwTrWR6c=:OaFh3egcUHr1kW4GewIjv8 nasr7r80mozOUEDHYGzp5ua8KwScG9w1HsXcQ/RUV1X6C7nJy2bvD4V6brlg89/XKIBWguq4Z D/phzHJQIA474cDj7WWxpHZNHSA5cjHqybWcrk/HHMkcPDpib1ZAvtpNz1Ru/1Y8BMldzrEHz VyKJ8MQe7cKToNGbTd3x8pQ4Su2+5nNWdOYVAehpac05DW84zeOhmGDZnx46SafPG4P7FFbkK VAApmGSLP232MJnDYlClCbtpPhTuibes9tmABlg6n5vXTuBJje92CI3LpjimiWCFt9Tv2ZpeO 1P5/M6308HjwtrQj2kJoSe198cHiyMdlxGyYn0dIxQVIBycEqO2r+RkxmPNBhGUNxOmw3TAug 7rhxUnwhNGxQarkjUnz7togmconBqMQFNtjjJPcv6CFr/vSJOwp4HaXG6OFy/kzOjxE+ceTUY kjPw3x96UWMmS7ISQQWk2bHDqETDD3/sG8gcwgWch+99zXoYQFv97gysECEqyaAa9KowzBODm sRROMI1utzxL4AgFvWnrhx7P1IokWqfEar6xvtxLf1anEY93X6ogXbxNK8x9Z53yy1PSO9hB/ ioSmJJV/diG8iyd01uN3h4oBQPwhLscFt5ulC4xoLFFbkQ60vnzaSAJXCuMaa32a7S/ZsXQGk 56/sdrQNA/gzN6wiCnct8SgH1GAXqaECm0zbZ1GczfFzZWcDnkwcXkXt21M95AxfTDk1qQlbh Qkc85iX2HY5kTShUXGk6zXfsHIEChEmOPvg2nZqBZjlWAoLaIMxlWQ4woqezvA6BYEjpT2Aqe 8kYWomj/bILtxTCFv576ocOUa7dfwXZutlyA6QGmDLbiKOypJQ= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29423 Cc: 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Drew Adams writes: Hi Drew, > That's not what I see, in any Emacs release or in the > 26.1 prerelease (MS Windows binary). Perhaps what you > see is a problem introduced after that prerelease or > is platform-dependent? I've just checked again my recipe with the Emacs 26 branch, started as "emacs -Q". Reproduced. And I could reproduce it also with Emacs 25, as provided by Ubuntu 17.10. Maybe the difference is that I haven't said explicitly that you need (require 'ls-lisp) prior my recipe. I thought it was obvious, due to the subject of the bug report. Sorry. > As the only char I see missing the property is the > final /, I thought that's what you were asking about > and reporting as a problem. Use ls-lisp. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 13:50:21 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 18:50:21 +0000 Received: from localhost ([127.0.0.1]:56351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIJ3N-0002Me-5C for submit@debbugs.gnu.org; Fri, 24 Nov 2017 13:50:21 -0500 Received: from mout.gmx.net ([212.227.17.21]:64211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIJ3L-0002MQ-0Y for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 13:50:19 -0500 Received: from detlef.gmx.de ([212.86.52.208]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M9fLX-1eQnEM0Kad-00D2ZC; Fri, 24 Nov 2017 19:50:09 +0100 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> <83zi7b8va3.fsf@gnu.org> Date: Fri, 24 Nov 2017 19:49:56 +0100 In-Reply-To: <83zi7b8va3.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 24 Nov 2017 19:02:28 +0200") Message-ID: <87efonzf3f.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:AEGruWwmWfrnNZ3WnOgwJlDi1LiAjA8qySVlRIoUijWI6UIpTsS agZkvQou6Zh3KTCOF8+FbImpvlKrzNbghU7v9DogjO0Zpm00gFNBEmhwuq8HNUvau8PzolL f9rSA99cgOISJcnk2Q3ZuKYxgyli9gf905/JTLp1Ci7p2sRO+0RiWkcOcK1kJ+4V2aRFaN8 zdxZNLIhDltNKF/vsyzQA== X-UI-Out-Filterresults: notjunk:1;V01:K0:xUZx/mQREnI=:fp86ygTiJ5fl2omvM+19fE Yyej8Rc4WX+RHbCTDmDLHGQShKwppu/v988yTuEa/UXeGcpvKarEa5cyVMpa9mh5suiEO+CXU wYG3QVZa50wGgclrCxlNVDzD1XbhF4LhdG2Ezzj08lCs2nj/3ienPvhbGSqQpyyw32eTlCOEB QU6NkMqmt2h/2sv/lGRvpCi1tfhtE2p6lIbDAVevpK+8ZKANiHP82r751Sogz6oSvhMlzxTu2 VCPNjB088E70yiP2cy+y16qH5j4WhqqTL4c893NuUz+j5lfpx+9JMQ5L1XUberF8qDqkLLb31 T05/fEQMWd2BX9zElPOkzPFx/AFk75UsPFAtTLwJKWhF1IjHUCXpkWNrY2JGZNL0xO8DHpTmi aOc+Q9TD344JWOKQA8f81mYlXkjZmkbYD7B9PwHI0f09iGCfvFPwb8DNc/HPbAl+6+Yg9R0zH hEeJvOMMjMbETLd0vA6P/zVDL4W5dtrtxsXR8NIpaFZYf7ONKwsI4EeeK4oOovbiBXNnu3uXK LjKQB+nKfVOq0AgfW6QizV8RIaZe/Zx0e2P0Q8RTCF1svH53/M84AhlY6hEmz1huIgqcBnNae bjr9CJA1f28xOXnNnW9OgA/7gg5kgVkfJLtk0Dz1nI5jbJV7GsHSI7ZNP/0vQvYw0z2iqqenP 4EDvhap7rIUVNv+ipXdewyYp8of7IvubaOrmWEfrgzt0CJx0RvI7Up8eE9+s2iB1DTjgFdmHI xLBAqkOCeMRYOZdUb2WBcK+au10g99zy3iYywwfzQUJsfXfbn8lhXgi8MJoxL5kNFddZ/6p8t fpWBrqwH8Q52bumlh9f3FpjRrVy8fvdDjp8IsVimLTZ9CxBStCoNYHSI2VK3uE5qbAnkyW3 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29423 Cc: Drew Adams , 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> Is that / part of the (directory as) file name? > > No, it isn't. It's what -F append to the file name to indicate that > it's a directory. > > So if that's the problem, the patch is not TRT, IMO. I'll check. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 14:28:21 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 19:28:21 +0000 Received: from localhost ([127.0.0.1]:56363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIJe9-0003GH-Jp for submit@debbugs.gnu.org; Fri, 24 Nov 2017 14:28:21 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:35382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIJe7-0003G3-Tz for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 14:28:20 -0500 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vAOJSDWf030021 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Nov 2017 19:28:14 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vAOJSDOQ006671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Nov 2017 19:28:13 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id vAOJSCUx026946; Fri, 24 Nov 2017 19:28:12 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 24 Nov 2017 11:28:11 -0800 (PST) From: Drew Adams To: Michael Albinus Subject: RE: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> <87k1yfpqdk.fsf@gmx.de> <87indzzf50.fsf@gmx.de> In-Reply-To: <87indzzf50.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)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 29423 Cc: 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > That's not what I see, in any Emacs release or in the > > 26.1 prerelease (MS Windows binary). Perhaps what you > > see is a problem introduced after that prerelease or > > is platform-dependent? >=20 > I've just checked again my recipe with the Emacs 26 branch, started as > "emacs -Q". Reproduced. And I could reproduce it also with Emacs 25, as > provided by Ubuntu 17.10. >=20 > Maybe the difference is that I haven't said explicitly that you need > (require 'ls-lisp) prior my recipe. I thought it was obvious, due to the > subject of the bug report. Sorry. >=20 > > As the only char I see missing the property is the > > final /, I thought that's what you were asking about > > and reporting as a problem. >=20 > Use ls-lisp. I did it again, from emacs -Q, with the Emacs 26.1 pretest. I tried with M-x load-library ls-lisp.el, and I tried with M-x load-library ls-lisp.elc. And I think that neither should be needed, since Emacs on MS Windows (which I'm using) uses ls-lisp by default. I still see what I reported earlier: the property is on the directory name (but not on the /). I'm guessing that the Emacs 26 you're using is something later than the pretest. Or else the difference has something to do with the platform. HTH. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 14:51:23 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 19:51:24 +0000 Received: from localhost ([127.0.0.1]:56372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIK0R-0003nV-Nd for submit@debbugs.gnu.org; Fri, 24 Nov 2017 14:51:23 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:46159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIK0P-0003nJ-Hn for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 14:51:21 -0500 Received: by mail-wm0-f49.google.com with SMTP id u83so24340535wmb.5 for <29423@debbugs.gnu.org>; Fri, 24 Nov 2017 11:51:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=GzksyD7tZ32jgSLM9FSm4Qf70Ti+kIt6ePKOVre0j5g=; b=mxukrvC6FIdEkCFdLptMxj5emgXW76flMAnB3Fw+oFa4kLU6wwIJ8jVuilVdtz2nFb Q0Y9P+3du7rgC1fY4YAoZpW083+G4EUQfJvlnuMafo2sVpwau9Tduj56bnxKzTvqPCgr bhO6fMSUtEOT9moRJgLQwjji3IXoucLMczA001mu/NwCIR8zOFbdFNUMIFWlVe4K/fiD MQPMY0S1bddBLa8NVip9VoNhaIwTbJZQr4MEiRxVoFEJIFRGqyGlkzEzp8KTNomFy/IM yXJ1Nm062fRpuJtPa/sh+9GxvEEzIuoA1MFrYplVZJu+cSsNzF+AISEQ9ONsO80hNU0S 2pEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=GzksyD7tZ32jgSLM9FSm4Qf70Ti+kIt6ePKOVre0j5g=; b=ehQO4bpWksqBp32b5AlQEi9Uf6aRynIjNzR1Z+3QhN6K+jIta5/jitIOu9F9cBDxuq gfVJUjJ44YeLN7GpkhwJHpvI13xeTiHhICbwnu2Cn3oBZDDftf8RjdtV2RXA39CN6Czl HWF5b6YFP8U7ZSH9COwZlvPlBFRsM2xSGt7eeiZfjonbH77kRVEDZXC5fOqCME8wM80/ SATOGQhdGau7ra5tHbpkRV5MsBxvTTI00YoBQIigm6cbLDUHPnsoJ2eV8L6/t0jczILT Jzl1CGKSf3rylvBtaVpK8SyDd2UJZXBhbgzyxBikPyxK0ORevQo1M9D5B7W8nMV4HtS0 IQQg== X-Gm-Message-State: AJaThX4zw3xRHz8hHfP9xL+MrNdvpjV4+stpF2d99zopaCGhm7T8ztQ+ 5WjftkfCGfHAX9jifl2yHhRZ1ku223x7ixyyGO0= X-Google-Smtp-Source: AGs4zMaJ3PBOIqfBY0dbD6DcXBT/GOOlSbjvZOpgLz08jBBJS4RURoHi9sFxKVHJocyyyZXzepXr12vToFDJkXXs7NE= X-Received: by 10.28.39.196 with SMTP id n187mr12233784wmn.114.1511553075773; Fri, 24 Nov 2017 11:51:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.151.116 with HTTP; Fri, 24 Nov 2017 11:51:15 -0800 (PST) In-Reply-To: References: <87fu93yhdy.fsf@gmx.de> <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> <87k1yfpqdk.fsf@gmx.de> <87indzzf50.fsf@gmx.de> From: Noam Postavsky Date: Fri, 24 Nov 2017 14:51:15 -0500 X-Google-Sender-Auth: nKUTXhx9ULKkrB9-4MqGuTVdp1c Message-ID: Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly To: Drew Adams Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 29423 Cc: Michael Albinus , 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) On Fri, Nov 24, 2017 at 2:28 PM, Drew Adams wrote: > I did it again, from emacs -Q, with the Emacs 26.1 pretest. > > I tried with M-x load-library ls-lisp.el, and > I tried with M-x load-library ls-lisp.elc. And I > think that neither should be needed, since Emacs > on MS Windows (which I'm using) uses ls-lisp by > default. > > I still see what I reported earlier: the property > is on the directory name (but not on the /). I can reproduce according to Michael's instructions on MS-Windows, in Emacs 24.5, 25.3, and an Emacs 26 pretest (I don't have exactly 26.0.90 handy though). > I'm guessing that the Emacs 26 you're using is > something later than the pretest. Or else the > difference has something to do with the platform. Are you looking at a dired buffer? That's the only I can replicate what you are reporting. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 14:53:26 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 19:53:26 +0000 Received: from localhost ([127.0.0.1]:56376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIK2Q-0003qb-4a for submit@debbugs.gnu.org; Fri, 24 Nov 2017 14:53:26 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIK2N-0003qO-FL for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 14:53:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIK2E-0007Xn-9O for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 14:53:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIK2E-0007Xi-5d; Fri, 24 Nov 2017 14:53:14 -0500 Received: from [176.228.60.248] (port=3320 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eIK2C-0000fU-8P; Fri, 24 Nov 2017 14:53:14 -0500 Date: Fri, 24 Nov 2017 21:52:45 +0200 Message-Id: <83vahz8nea.fsf@gnu.org> From: Eli Zaretskii To: Michael Albinus In-reply-to: <87efonzf3f.fsf@gmx.de> (message from Michael Albinus on Fri, 24 Nov 2017 19:49:56 +0100) Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> <83zi7b8va3.fsf@gnu.org> <87efonzf3f.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29423 Cc: drew.adams@oracle.com, 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: Drew Adams , 29423@debbugs.gnu.org > Date: Fri, 24 Nov 2017 19:49:56 +0100 > > Eli Zaretskii writes: > > >> Is that / part of the (directory as) file name? > > > > No, it isn't. It's what -F append to the file name to indicate that > > it's a directory. > > > > So if that's the problem, the patch is not TRT, IMO. > > I'll check. The more I think about this the less I understand how your patch is going to work. How can ls-lisp-format know what was appended to a file name by ls-lisp-classify-file? From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 15:27:16 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 20:27:16 +0000 Received: from localhost ([127.0.0.1]:56410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIKZA-0004fj-Di for submit@debbugs.gnu.org; Fri, 24 Nov 2017 15:27:16 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:44639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIKZ8-0004fT-S5 for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 15:27:15 -0500 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vAOKR7Yk002047 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Nov 2017 20:27:08 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id vAOKR6SJ030459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Nov 2017 20:27:06 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id vAOKR6ti003224; Fri, 24 Nov 2017 20:27:06 GMT MIME-Version: 1.0 Message-ID: <85a23256-a6b2-4ae0-a798-a13034531dd1@default> Date: Fri, 24 Nov 2017 12:27:05 -0800 (PST) From: Drew Adams To: Noam Postavsky Subject: RE: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> <87k1yfpqdk.fsf@gmx.de> <87indzzf50.fsf@gmx.de> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4615.0 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0021.oracle.com [156.151.31.71] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 29423 Cc: Michael Albinus , 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > I did it again, from emacs -Q, with the Emacs 26.1 pretest. > > > > I tried with M-x load-library ls-lisp.el, and > > I tried with M-x load-library ls-lisp.elc. And I > > think that neither should be needed, since Emacs > > on MS Windows (which I'm using) uses ls-lisp by > > default. > > > > I still see what I reported earlier: the property > > is on the directory name (but not on the /). >=20 > I can reproduce according to Michael's instructions on MS-Windows, in > Emacs 24.5, 25.3, and an Emacs 26 pretest (I don't have exactly > 26.0.90 handy though). OK. If you can repro it then I'm probably not helping here. > > I'm guessing that the Emacs 26 you're using is > > something later than the pretest. Or else the > > difference has something to do with the platform. >=20 > Are you looking at a dired buffer? That's the only I can replicate > what you are reporting. I can't parse your last sentence. Yes, I was looking at a dired buffer. I tested with this pretest build: In GNU Emacs 26.0.90 (build 3, x86_64-w64-mingw32) of 2017-10-13 built on LAPHROAIG Repository revision: 906224eba147bdfc0514090064e8e8f53160f1d4 Windowing system distributor 'Microsoft Corp.', version 6.1.7601 I just repeated the test with this other pretest build, and I see the same things as before. In GNU Emacs 26.0.90 (build 3, x86_64-w64-mingw32) of 2017-10-13 built on LAPHROAIG Repository revision: 906224eba147bdfc0514090064e8e8f53160f1d4 Windowing system distributor 'Microsoft Corp.', version 6.1.7601 And I just repeated the test with Emacs 25.3.1, and I see the same things I reported earlier. In GNU Emacs 25.3.1 (x86_64-w64-mingw32) of 2017-09-26 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Configured using: 'configure --without-dbus --without-compress-install 'CFLAGS=3D-O2 -static -g3' PKG_CONFIG_PATH=3D/mingw64/lib/pkgconfig' HTH. (I'm still guessing that you guys are using a more recent Emacs 26 than these pretests, and that something broke this since these pretest builds.) From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 15:37:37 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 20:37:37 +0000 Received: from localhost ([127.0.0.1]:56419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIKjA-0004vf-M2 for submit@debbugs.gnu.org; Fri, 24 Nov 2017 15:37:36 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:41955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIKj9-0004vR-38 for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 15:37:35 -0500 Received: by mail-wm0-f47.google.com with SMTP id b189so24320949wmd.0 for <29423@debbugs.gnu.org>; Fri, 24 Nov 2017 12:37:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=QqRc6XS3QLOSwv7PtM0NNGIC2ofypKn3C5CIqddvCp8=; b=Q76Lsnz49FLH4c/an9FqR4axGgyLwu7hkF6gFkm3nDvGmhTuJFvpCeGCdIjhZGFyAT vkxD0Hhy4iaTImJY5IV64+LaCGgzcLdPXbqFR74kqAnPBmfbo9Y0COtq/lMC/yzdAyUx PMv1veSWFo05+RnrNeVmX+57/+2QJ43ycIQxHldqhTnvJHDQXHB+mwIGJUTOs5D41Lj0 i7BC545JG+78LYTojPIGDhzSwkmCDuFfMX86Ke03xYCftFjTbWVpprZOO4B2yZ6bbgXM gszJehemtHzBSOqDR9qpKUIN5SfXYjWZRXcEf2qbgvVXPtmHNh8dmcIYpphjupp4SlTM lKwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=QqRc6XS3QLOSwv7PtM0NNGIC2ofypKn3C5CIqddvCp8=; b=WchYtT3SXMAomGKZvOMYkFD//875Pm4WJACyYQh81jhfpzhZml+ywCKRxnFnzxmnDz YlcMkZF5aQi3eZ3WCUih7L2qwb44uS+xm34+OzHAJWexhrTguge3np/DPGf2sKCZ46jY ECM6hh9KMaWaH6keHbH1EAPklLrPVwMxE7QxqsDo7gw6p+D+U1L9t5PyQ9yv4Abb7qLs AFQE1dnNzuGE0P/vRe+B7mQk7Yo8CnYiUmda5YpiZnWMbSuhHAGUXXoI7Bbi1LwS1ckH jXO+f+maQP36454TYrVA7/Tz7s3ma72l08d2TvfU8BmSs/OisJzzYcQO5HN/r2YMIa1P kuWA== X-Gm-Message-State: AJaThX4eB03cbMR1JMi3nwt3qWe9vf6baAY4FKIRAL+pBRHsMTlrD86d QN7IRKZnmI96j+cskkzmTMoCw9lRbpr8awY25C8= X-Google-Smtp-Source: AGs4zMaMvScNUYSCJYvIRttOJB76ktsktWl0XmUFATwdjr+eEFMge2Zu0Si7m5tXz7dI1Auax6rJZC0t7go8URWtNs4= X-Received: by 10.28.93.80 with SMTP id r77mr2208256wmb.117.1511555849403; Fri, 24 Nov 2017 12:37:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.151.116 with HTTP; Fri, 24 Nov 2017 12:37:28 -0800 (PST) In-Reply-To: <85a23256-a6b2-4ae0-a798-a13034531dd1@default> References: <87fu93yhdy.fsf@gmx.de> <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> <87k1yfpqdk.fsf@gmx.de> <87indzzf50.fsf@gmx.de> <85a23256-a6b2-4ae0-a798-a13034531dd1@default> From: Noam Postavsky Date: Fri, 24 Nov 2017 15:37:28 -0500 X-Google-Sender-Auth: fzSOEFuipwPiNPjg9JjNCKs1rEE Message-ID: Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly To: Drew Adams Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 29423 Cc: Michael Albinus , 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) On Fri, Nov 24, 2017 at 3:27 PM, Drew Adams wrote: >> Are you looking at a dired buffer? That's the only I can replicate ^ way >> what you are reporting. > Yes, I was looking > at a dired buffer. Then you didn't follow the instructions in the OP: Goto the *scratch* buffer, and perform M-: (ls-lisp-insert-directory "/tmp/" '(?F) nil nil nil) No calls to dired. The ls-lisp-insert-directory function does not create a dired buffer. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 15:51:46 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 20:51:46 +0000 Received: from localhost ([127.0.0.1]:56434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIKws-0005I6-Ep for submit@debbugs.gnu.org; Fri, 24 Nov 2017 15:51:46 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:48021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIKwq-0005Hs-0c for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 15:51:44 -0500 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 vAOKpZPo016782 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Nov 2017 20:51:36 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id vAOKpZlu013019 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Nov 2017 20:51:35 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id vAOKpYn2022757; Fri, 24 Nov 2017 20:51:35 GMT MIME-Version: 1.0 Message-ID: <46cc3128-0d19-454e-82cd-c435b178bfb4@default> Date: Fri, 24 Nov 2017 12:51:33 -0800 (PST) From: Drew Adams To: Noam Postavsky Subject: RE: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> <87k1yfpqdk.fsf@gmx.de> <87indzzf50.fsf@gmx.de> <85a23256-a6b2-4ae0-a798-a13034531dd1@default> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4615.0 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 29423 Cc: Michael Albinus , 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > Yes, I was looking at a dired buffer. >=20 > Then you didn't follow the instructions in the OP: > Goto the *scratch* buffer, and perform > M-: (ls-lisp-insert-directory "/tmp/" '(?F) nil nil nil) >=20 > No calls to dired. The ls-lisp-insert-directory function does not > create a dired buffer. I see, and I see what you see if I follow the recipe. I missed that. Sorry for the noise. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 16:04:19 2017 Received: (at 29423) by debbugs.gnu.org; 24 Nov 2017 21:04:19 +0000 Received: from localhost ([127.0.0.1]:56457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIL91-0005en-6c for submit@debbugs.gnu.org; Fri, 24 Nov 2017 16:04:19 -0500 Received: from mout.gmx.net ([212.227.15.19]:53206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIL8y-0005eW-MP for 29423@debbugs.gnu.org; Fri, 24 Nov 2017 16:04:18 -0500 Received: from detlef.gmx.de ([212.86.52.208]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MOfcU-1eFc7X2LzC-00665w; Fri, 24 Nov 2017 22:04:05 +0100 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <335b6fe8-7d72-462d-a0ef-778b93955ddb@default> <83zi7b8va3.fsf@gnu.org> <87efonzf3f.fsf@gmx.de> <83vahz8nea.fsf@gnu.org> Date: Fri, 24 Nov 2017 22:03:53 +0100 In-Reply-To: <83vahz8nea.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 24 Nov 2017 21:52:45 +0200") Message-ID: <87a7zbz8w6.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:Z4QzIfVvGS9ldrnwJpJuRRHcAWgr4TtdOkW6659ZpoLpkJkrdWN ggCPXeilCg0KS9o4kXjUfQz5xTHsd422fFQEN607YY0Nw9RRPDdmN499YoRV3U4yGN7C8P7 o/0oMw3Exf7obZdkeGJuCyCNxwEK4ztUPB9bAXYvLP5IhfUba6eSEtJz2BuMbJWx8ISp4Qm qfIrPoilqMAKQ4lhI1XPA== X-UI-Out-Filterresults: notjunk:1;V01:K0:/SClif/vO4c=:L8I9o2q3TJGrFjBx/O/TMC ve79CfqOBQbPZFeEZMmw9cvxvhSfYnjLzieFBVLBncW/YsumFJ+NEju4Jj/V1e9F4jtQ3z6jj igDTQfGVLPu7UunHnhaof+6FFztiz+SkwjN1KlTZSLkZAQsrR37UQNavWSVUD+POYRXZ1Y7CR +N12c9QWIqTVJI40YW1UQOBOAjjnWZoSsHp86sYzMEDwsujU7bJXmYP42sw5HmteNbBnjD+x/ BUGfosBx4OgAuKbiQXcHZeuiaM/NRu5MGDEmhEqSZtCJBJzJ1iaJ+K3svU1qGFEe8UjYg7nSC Wb9jSeGnJTZHAdwjeHas3W6qj4v7/5t/yX6V3+MwKAdxetWf6g9SkTrn82D1JqIajweyEVqUi E9c0EI3d8E1XAI8MiV7JgzZHuIwp+JsqnjeDAvtNUyCwkhlJlJmIUO2Yrc/ImS6ibh115ZC/v 5C+jVgdkOmCWorrVAhnxQcpBuUTe4yH5HAzlvPDt/POH/pQ2GumwMCrnz8E/8BHpz1CePzQnM SgWXRBNoXQ5VHYRvtx0ZlP1U5i9xM0sFPo+/lDcEE6I+hT2rEJXgf9owUKXNWhq6oI+f9i33g Z2Y5OhVJhW9ZTpkS6DAK+y+Fn7h3piMbhTdvvWtthj93jGB3wQANk3mDD3HjLuJ7MRMYmRjnh iVZ7CdmU0w575vJDPkqQ8TjHay3o26gj9B5FebllOgMxVYipyFGEeqqoQ2pNjRTBMRNSgfQ6e GQ9cxMYw0QTNi+EELsrl8M8COktUoeXjI6W7HtoedUYIjyrH7HVZVs10ndeRtqGdf9/wHzguI uP8b4dH8xUlwl5m7byfKz3d0c0/+bLvKXpa9c0ZGB6uThIgW8A/sq1YWWcdQjWBtnNbQIan X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29423 Cc: drew.adams@oracle.com, 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > The more I think about this the less I understand how your patch is > going to work. Me too. > How can ls-lisp-format know what was appended to a file name by > ls-lisp-classify-file? Give me more time to check, please. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 25 03:13:22 2017 Received: (at 29423) by debbugs.gnu.org; 25 Nov 2017 08:13:22 +0000 Received: from localhost ([127.0.0.1]:56696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIVaU-0005lW-1D for submit@debbugs.gnu.org; Sat, 25 Nov 2017 03:13:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIVaS-0005lD-RO for 29423@debbugs.gnu.org; Sat, 25 Nov 2017 03:13:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIVaJ-0007sT-4U for 29423@debbugs.gnu.org; Sat, 25 Nov 2017 03:13:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIVaJ-0007sO-0u; Sat, 25 Nov 2017 03:13:11 -0500 Received: from [176.228.60.248] (port=3752 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eIVaI-0000Zk-EL; Sat, 25 Nov 2017 03:13:10 -0500 Date: Sat, 25 Nov 2017 10:12:53 +0200 Message-Id: <83fu9293p6.fsf@gnu.org> From: Eli Zaretskii To: Michael Albinus In-reply-to: <87d147ssj6.fsf@gmx.de> (message from Michael Albinus on Fri, 24 Nov 2017 14:41:33 +0100) Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <83fu93ajc9.fsf@gnu.org> <87d147ssj6.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29423 Cc: 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: 29423@debbugs.gnu.org > Date: Fri, 24 Nov 2017 14:41:33 +0100 > > Eli Zaretskii writes: > > > How come ls-lisp-classify doesn't propertize the file name in this > > case? > > Because it wasn't called. ls-lisp-classify-file was called only, if I'm > not mistaken. Right, and so the correct fix is below, I think. Do you agree? We can install this on the release branch, unless the original problem with Tramp exists only on master. Let me know. Thanks. diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el index caddc7f..cf3bff5 100644 --- a/lisp/ls-lisp.el +++ b/lisp/ls-lisp.el @@ -713,23 +713,26 @@ ls-lisp-handle-switches (defun ls-lisp-classify-file (filename fattr) "Append a character to FILENAME indicating the file type. +This function puts the `dired-filename' property on FILENAME, but +not on the character indicator it appends. FATTR is the file attributes returned by `file-attributes' for the file. The file type indicators are `/' for directories, `@' for symbolic links, `|' for FIFOs, `=' for sockets, `*' for regular files that are executable, and nothing for other types of files." (let* ((type (car fattr)) (modestr (nth 8 fattr)) - (typestr (substring modestr 0 1))) + (typestr (substring modestr 0 1)) + (file-name (propertize filename 'dired-filename t))) (cond (type - (concat filename (if (eq type t) "/" "@"))) + (concat file-name (if (eq type t) "/" "@"))) ((string-match "x" modestr) - (concat filename "*")) + (concat file-name "*")) ((string= "p" typestr) - (concat filename "|")) + (concat file-name "|")) ((string= "s" typestr) - (concat filename "=")) - (t filename)))) + (concat file-name "=")) + (t file-name)))) (defun ls-lisp-classify (filedata) "Append a character to file name in FILEDATA indicating the file type. @@ -742,7 +745,6 @@ ls-lisp-classify are executable, and nothing for other types of files." (let ((file-name (car filedata)) (fattr (cdr filedata))) - (setq file-name (propertize file-name 'dired-filename t)) (cons (ls-lisp-classify-file file-name fattr) fattr))) (defun ls-lisp-extension (filename) From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 25 04:00:02 2017 Received: (at 29423) by debbugs.gnu.org; 25 Nov 2017 09:00:03 +0000 Received: from localhost ([127.0.0.1]:56730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIWJe-00073N-B8 for submit@debbugs.gnu.org; Sat, 25 Nov 2017 04:00:02 -0500 Received: from mout.gmx.net ([212.227.15.19]:62523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIWJc-00072f-IR for 29423@debbugs.gnu.org; Sat, 25 Nov 2017 04:00:01 -0500 Received: from detlef.gmx.de ([212.86.62.61]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MUHoI-1ejVOd3Vb8-00QxJC; Sat, 25 Nov 2017 09:59:53 +0100 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <83fu93ajc9.fsf@gnu.org> <87d147ssj6.fsf@gmx.de> <83fu9293p6.fsf@gnu.org> Date: Sat, 25 Nov 2017 09:59:52 +0100 In-Reply-To: <83fu9293p6.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 25 Nov 2017 10:12:53 +0200") Message-ID: <87609yzqbb.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:dAUeHqIjClfD7feHv53i8wH4eM2C4vio2cCQ5Pfv8NPhFEVHx1f IwZkNLdYHFg/daZMJxMg9iriDqeRloxlBjcKQ4wZ4kTs7TjOCMfdgdpLPbdEEA2M+mojWMe +QeinrImMgN4E0k+7WoWV7OQWQ/ZPeFjEVNhT6/N4Rdzb11/kbCErCZsDg8JYECdZIS46Dp a/MPNgxQMBerTN4kbSwpQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:T+bWastAbZo=:MMTYaCp0nt6WjRcrvhUKTu BY+rK8FAllB/sNwgC59dk2GzF7Q/I+fRyfDPElP03PxEVlrxboo7OfzmuPuPNV4+X61o6Z3bo kpLKGHLgYlSx9qjWzrHIUVz08BHkDdzW3z050a7H2xJ6YK7H0RwjPnbLWNsy1uVbDiBKrTcJ6 pzoKYosrbm1HqdtLLnM+bCKvTuVcUFIx+vA0EpLeHwZbZ4+ggNcZV925CsAWX7bx7WpzelDVf 9y7NaO9kJjBQ2u9fCN5aD+JCkObqH4PPk5cntwLXo63yRoKbzZuwaMjEixyo6bDMy28ugjriv KxK+NBRkjvfKM3mahb8cUBjwArSXI67/W6LUaG0nNLrA/wMBA8Dx9AWHkAq0OMMbF06lVeM7W McF8lj+7wuYz9j5ripWDv47M3sY2VGMaaZG+YT5sEPYfsTirps2x8E9wsyLK47VZJDY+vBEYm 2uCgewEGphxDz0eaDL1GaQAWt9V9v1Eub6vskWyBOGSSjbOvmoQU8RTHpf8m2NXAZDRIKE+yE FJi2SjqaxO8ifT+yxceLwmLuarBATxTXqvux60IjoX7P/nCMCggFfptL+h5/HgQi81k/WrzAl nHEnJT9i+atwXHqQMuJOXQtuDWFXTFAtIRH1FrWhF9AFyY2te74Iugg9aKZTryBdHJxqGTZ4Z hhc3P25YvnOOY8ve2tmEF3uwOdYjWjlQwGXBMsmcCC3c9U03sPIlN0NmvVKuTeYLLUEYTb5th CezywCj8YQTj4qcbofmo17IQ4qF+eWDdISk744cNrjKD8rwG/9jey6b4+OuBHQ5MybVf3H/+L IvP9eOTD9mqr/NjgDfa8sHQRwbgicFyptes6FLz16PRXybSxH8= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29423 Cc: 29423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: Hi Eli, >> Because it wasn't called. ls-lisp-classify-file was called only, if I'm >> not mistaken. > > Right, and so the correct fix is below, I think. Do you agree? Yes. I've applied your patch instead of mine, and the corresponding test still passes. > We can install this on the release branch, unless the original problem > with Tramp exists only on master. Let me know. Yes, please. The problem does not happen in existing Tramp, but in the not published yet tramp-archive.el I'm working on. It shall support as many older Emacsen as the existing Tramp; if it would be fixed in Emacs 26 it would be great. If needed, I will add some compat code for older Emacsen (24, 25), as it is tradition in Tramp. > Thanks. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 25 05:37:59 2017 Received: (at 29423-done) by debbugs.gnu.org; 25 Nov 2017 10:37:59 +0000 Received: from localhost ([127.0.0.1]:56749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIXqR-0000tI-IK for submit@debbugs.gnu.org; Sat, 25 Nov 2017 05:37:59 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIXqP-0000t5-5h for 29423-done@debbugs.gnu.org; Sat, 25 Nov 2017 05:37:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIXqG-0005Co-Tn for 29423-done@debbugs.gnu.org; Sat, 25 Nov 2017 05:37:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIXqG-0005Cd-QC; Sat, 25 Nov 2017 05:37:48 -0500 Received: from [176.228.60.248] (port=3838 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eIXqF-0006ue-Dz; Sat, 25 Nov 2017 05:37:48 -0500 Date: Sat, 25 Nov 2017 12:37:30 +0200 Message-Id: <83efom8x05.fsf@gnu.org> From: Eli Zaretskii To: Michael Albinus In-reply-to: <87609yzqbb.fsf@gmx.de> (message from Michael Albinus on Sat, 25 Nov 2017 09:59:52 +0100) Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly References: <87fu93yhdy.fsf@gmx.de> <83fu93ajc9.fsf@gnu.org> <87d147ssj6.fsf@gmx.de> <83fu9293p6.fsf@gnu.org> <87609yzqbb.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29423-done Cc: 29423-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: 29423@debbugs.gnu.org > Date: Sat, 25 Nov 2017 09:59:52 +0100 > > > We can install this on the release branch, unless the original problem > > with Tramp exists only on master. Let me know. > > Yes, please. The problem does not happen in existing Tramp, but in the > not published yet tramp-archive.el I'm working on. It shall support as > many older Emacsen as the existing Tramp; if it would be fixed in Emacs > 26 it would be great. Done. From unknown Tue Jun 24 20:51:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 23 Dec 2017 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator