From: Dmitry Gutov <dgutov@yandex.ru>
To: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>,
61449@debbugs.gnu.org
Subject: bug#61449: 30.0.50; diff-hl-dired: Consider adding a cookie to diff-hl-dired overlay
Date: Sun, 12 Feb 2023 15:12:37 +0200 [thread overview]
Message-ID: <8e8703e8-b41b-3fb1-edf1-8764fe725488@yandex.ru> (raw)
In-Reply-To: <TY2PR0101MB3693A169203A1DD38A8F4C6CDADC9@TY2PR0101MB3693.apcprd01.prod.exchangelabs.com>
Hi!
On 12/02/2023 07:32, Ramesh Nedunchezian wrote:
> (when-let* ((diff-hl-overlay
> (->> (overlays-in
> (line-beginning-position)
> (line-end-position))
> (--filter (overlay-get it 'diff-hl))
> car)))
> (overlay-get diff-hl-overlay 'diff-hl-dired-cookie))
Why do you need a cookie here?
IIUC all such overlays (with 'diff-hl' property) inside Dired buffers
are relevant.
next prev parent reply other threads:[~2023-02-12 13:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-12 5:32 bug#61449: 30.0.50; diff-hl-dired: Consider adding a cookie to diff-hl-dired overlay Ramesh Nedunchezian
[not found] ` <handler.61449.B.167618026110384.ack@debbugs.gnu.org>
2023-02-12 5:41 ` bug#61449: Acknowledgement (30.0.50; diff-hl-dired: Consider adding a cookie to diff-hl-dired overlay) Ramesh Nedunchezian
2023-02-12 6:34 ` bug#61449: 30.0.50; diff-hl-dired: Consider adding a cookie to diff-hl-dired overlay Ramesh Nedunchezian
2023-02-12 13:12 ` Dmitry Gutov
2023-02-13 11:32 ` Ramesh Nedunchezian
2023-02-12 13:12 ` Dmitry Gutov [this message]
2023-02-13 11:19 ` Ramesh Nedunchezian
2023-02-18 23:25 ` Dmitry Gutov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8e8703e8-b41b-3fb1-edf1-8764fe725488@yandex.ru \
--to=dgutov@yandex.ru \
--cc=61449@debbugs.gnu.org \
--cc=rameshnedunchezian@outlook.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).