[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23468: Feature request: highlight Edebug breakpoints
From: |
Lars Ingebrigtsen |
Subject: |
bug#23468: Feature request: highlight Edebug breakpoints |
Date: |
Mon, 21 Oct 2019 22:29:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> No, that's not it. Sorry, I've misled you: you need to look at
> gdb-mi.el, where it puts on an overlay string a display property whose
> value includes 'left-fringe. See, e.g., gdb-put-string.
Ah, I see. I've never used fringe stuff before and how it interacts
with overlays isn't self-evident. Perhaps there should be an example in
the manual?
By cargo-culting the code from gdb-mi, I get the following way to make
an overlay that's not hiding anything in the buffer, but just showing a
fringe bitmap:
(let ((fringe (make-overlay pos pos)))
(overlay-put fringe 'before-string
(propertize "x" 'display `(left-fringe breakpoint ,face)))))))))
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#23468: Feature request: highlight Edebug breakpoints, Lars Ingebrigtsen, 2019/10/20
- bug#23468: Feature request: highlight Edebug breakpoints, Eli Zaretskii, 2019/10/20
- bug#23468: Feature request: highlight Edebug breakpoints, Lars Ingebrigtsen, 2019/10/20
- bug#23468: Feature request: highlight Edebug breakpoints, Eli Zaretskii, 2019/10/20
- bug#23468: Feature request: highlight Edebug breakpoints, Lars Ingebrigtsen, 2019/10/20
- bug#23468: Feature request: highlight Edebug breakpoints, Eli Zaretskii, 2019/10/20
- bug#23468: Feature request: highlight Edebug breakpoints, Lars Ingebrigtsen, 2019/10/20
- bug#23468: Feature request: highlight Edebug breakpoints, Eli Zaretskii, 2019/10/20
- bug#23468: Feature request: highlight Edebug breakpoints,
Lars Ingebrigtsen <=
- bug#23468: Feature request: highlight Edebug breakpoints, Eli Zaretskii, 2019/10/21
- bug#23468: Feature request: highlight Edebug breakpoints, Lars Ingebrigtsen, 2019/10/22