From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#68637: 30.0.50; image-dired-mark-tagged-files and ls -F Date: Sun, 21 Jan 2024 14:30:55 +0100 Message-ID: <87mssyak4w.fsf@epfl.ch> Reply-To: "Basil L. Contovounesios" Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19358"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stefan Kangas To: 68637@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 21 14:32:26 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rRXw1-0004rC-P0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Jan 2024 14:32:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRXvk-0007FH-6G; Sun, 21 Jan 2024 08:32:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRXvg-0007F6-3m for bug-gnu-emacs@gnu.org; Sun, 21 Jan 2024 08:32:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rRXvb-0007Gq-5N for bug-gnu-emacs@gnu.org; Sun, 21 Jan 2024 08:32:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRXve-0001jY-1Z; Sun, 21 Jan 2024 08:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: stefankangas@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Jan 2024 13:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68637 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Stefan Kangas Original-Received: via spool by submit@debbugs.gnu.org id=B.17058438886623 (code B ref -1); Sun, 21 Jan 2024 13:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jan 2024 13:31:28 +0000 Original-Received: from localhost ([127.0.0.1]:36758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRXv6-0001ik-0P for submit@debbugs.gnu.org; Sun, 21 Jan 2024 08:31:28 -0500 Original-Received: from lists.gnu.org ([2001:470:142::17]:53380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRXv2-0001iW-VY for submit@debbugs.gnu.org; Sun, 21 Jan 2024 08:31:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRXus-0007Cs-IZ for bug-gnu-emacs@gnu.org; Sun, 21 Jan 2024 08:31:16 -0500 Original-Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rRXuo-0006no-Nl for bug-gnu-emacs@gnu.org; Sun, 21 Jan 2024 08:31:14 -0500 Original-Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a28da6285c1so413798766b.0 for ; Sun, 21 Jan 2024 05:31:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; t=1705843867; x=1706448667; darn=gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=8RO2zPjdETsOSl9pOp863K/6RK4WppMyw+kd8dBNCn8=; b=br2Cak94YkojsazgWGTmkBQXxa3IyGAOu0f7F3LgHSWt9GeLzYYSehbBKsfO/Xo/pQ gpLsLtU/tAunjzZdICcTwSMveExBFdL14xvcNb4R2zj8DJET7j9mTeMl4tkTCNKisx6z OorCT2Kflz7gzYDdX40uOeE9SJEl8V9Qe9ctg3MkhSgCjIkAhg70Oe24waiLaSSjawOw 63f20dppk4RJBeYYOYgTDn0WhRPH/2I29paGvfWAWK7c6irHgVXolcgHtiRZQPLXt2c4 RwLN6CsRXpeNunzK5hAkQnzIV+WYCQ1nsAaKxb/JL8T90wNoSVWvX/T4nide47eDYajX evwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705843867; x=1706448667; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8RO2zPjdETsOSl9pOp863K/6RK4WppMyw+kd8dBNCn8=; b=hRsiJzYskcjOog3hC9x7cdpLaJboltrRT3sU2g2GVgu5q3zZ4vXvjnK9lR7CG9dznf 5psLs07cKugvBvJCU9Kp61cYyxEcgvFEI3FPeRIb2K8ddVox8NEvGBDnlBt0NPWHRCbv VWjsDmjsiP4MiHopA44kGx8kR9h1RfAAN9cVtgV/ZKETjdEM/uYxlf4Mhk2rBnRmAC6i IAYN25tbFzVT3ZcgOUgCiEog+XZOG3cn8dveGe8t2Q3HiT9bjSa7odhWI5rLI7p5peHI SmkOpbIPNGh579pXEVmrxabuDabN+1zqyYpBbmF3xDxJPlIekh72P7lNyP/6XR5okz8D qI5Q== X-Gm-Message-State: AOJu0Yw2qg6nNB5s51cpo4hPU0Kr59Q/d3o2sABrBnFu6+myWvb5v+jL DriiMKlWJYiCAn87slZdlUJgdmQdohaVm+8AAK9Ok307yakCGJ49tXba0fDmA5JkuyjilvMXGZQ V X-Google-Smtp-Source: AGHT+IF/lyBipg6zBH9oHioP2QBLJUBhO0QJfqV7bGAbhwpj1iWL1S6QDaoPxv6vn2hPjwn7pfuddQ== X-Received: by 2002:a17:907:7817:b0:a28:ac22:7575 with SMTP id la23-20020a170907781700b00a28ac227575mr4545133ejc.4.1705843867252; Sun, 21 Jan 2024 05:31:07 -0800 (PST) Original-Received: from localhost (mob-194-230-158-42.cgn.sunrise.net. [194.230.158.42]) by smtp.gmail.com with ESMTPSA id wr8-20020a170907700800b00a2e08b24ea3sm7704214ejb.174.2024.01.21.05.31.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 05:31:06 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=contovob@tcd.ie; helo=mail-ej1-x630.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278674 Archived-At: Severity: wishlist 0. cd "$(mktemp -d)" 1. HOME="${PWD}" XDG_CONFIG_HOME="${PWD}/.config" emacs 2. M-x set-variable RET dired-listing-switches RET 3. M-n C-e C-b F RET 4. C-x C-j 5. M-x dired-create-empty-file RET rc RET 6. M u+x RET 7. M-x load-library RET image-dired RET [this step needed because of bug#68636] 8. C-t t tag RET 9. C-t f tag RET Result : 0 files with matching tag marked Expected : 1 files with matching tag marked At first glance it looks like the (search-forward-regexp (format "\\s %s$" curr-file) nil t) in image-dired-mark-tagged-files doesn't take into account any of the indicators that 'ls -F' may append to file names. The commentary suggests using dired-mark-files-regexp would be too slow. I wonder if that's still the case, or if there are any faster alternatives without loss of generality? Thanks, -- Basil In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars) of 2024-01-18 built on tia Repository revision: a33f3947ea1ba429570e2ecb4c3167341dcae1a2 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101010 System Description: Debian GNU/Linux trixie/sid Configured using: 'configure 'CFLAGS=-Og -ggdb3' -C --prefix=/home/blc/.local --enable-checking=structs --without-native-compilation --with-file-notification=yes --with-x-toolkit=lucid --with-x' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LANG: en_IE.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Dired by name Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t minibuffer-regexp-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils image-dired-dired image-dired image-dired-tags image-dired-external image-dired-util xdg image-mode exif find-func dired-aux cus-edit pp icons wid-edit dired dired-loaddefs cus-start cus-load thingatpt help-fns radix-tree help-mode cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 68253 9240) (symbols 48 7826 0) (strings 32 20916 2086) (string-bytes 1 576398) (vectors 16 11867) (vector-slots 8 130263 8964) (floats 8 42 1) (intervals 56 418 0) (buffers 984 12))