From: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Basil L. Contovounesios" <contovob@tcd.ie>,
68637@debbugs.gnu.org, stefankangas@gmail.com
Subject: bug#68637: 30.0.50; image-dired-mark-tagged-files and ls -F
Date: Sat, 27 Jan 2024 17:25:30 +0100 [thread overview]
Message-ID: <871qa2aglh.fsf@ledu-giraud.fr> (raw)
In-Reply-To: <86il3f83nm.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Jan 2024 12:35:41 +0200")
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
[...]
> Manuel, would you please post a complete patch, with the corresponding
> log message, so we could install this?
Sure. Here it is.
--
Manuel Giraud
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-image-dired-Enable-marking-tagged-with-ls-F.patch --]
[-- Type: text/x-patch, Size: 1167 bytes --]
From 1722de2ac01376d17cedb219f82dd304cd21d11a Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel@ledu-giraud.fr>
Date: Sat, 27 Jan 2024 17:23:06 +0100
Subject: [PATCH] [image-dired] Enable marking tagged with ls -F
Bug#68637
* lisp/image/image-dired-dired.el (image-dired-mark-tagged-files):
Enable marking tagged for executable and symlink images when
'dired-listing-switches' includes -F.
---
lisp/image/image-dired-dired.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/image/image-dired-dired.el b/lisp/image/image-dired-dired.el
index f4778d8e121..7219a106ca8 100644
--- a/lisp/image/image-dired-dired.el
+++ b/lisp/image/image-dired-dired.el
@@ -383,7 +383,7 @@ image-dired-mark-tagged-files
(file-name-directory curr-file)))
(setq curr-file (file-name-nondirectory curr-file))
(goto-char (point-min))
- (when (search-forward-regexp (format "\\s %s$" curr-file) nil t)
+ (when (search-forward-regexp (format "\\s %s[*@]?$" curr-file) nil t)
(setq hits (+ hits 1))
(dired-mark 1))))
(message "%d files with matching tag marked" hits)))
--
2.43.0
next prev parent reply other threads:[~2024-01-27 16:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-21 13:30 bug#68637: 30.0.50; image-dired-mark-tagged-files and ls -F Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-21 21:44 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-23 9:51 ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-27 10:35 ` Eli Zaretskii
2024-01-27 16:25 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-01-27 18:45 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871qa2aglh.fsf@ledu-giraud.fr \
--to=bug-gnu-emacs@gnu.org \
--cc=68637@debbugs.gnu.org \
--cc=contovob@tcd.ie \
--cc=eliz@gnu.org \
--cc=manuel@ledu-giraud.fr \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.