emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] User-defined fringe tooltips (a request for review)


From: Vladimir Kazanov
Subject: Re: [PATCH] User-defined fringe tooltips (a request for review)
Date: Sat, 13 Apr 2024 10:32:01 +0100

Hi Eli,

Sure, here's the code I used to test tooltips. Just eval the
corresponding forms:

  (insert (propertize "foo" 'left-fringe-help "left tooltip"))
  (insert (propertize "foo" 'right-fringe-help "right tooltip"))

  (overlay-put
   (make-overlay (point) (1+ (point)))
   'after-string
   (propertize
    "lll"
    'left-fringe-help "left tooltip"))

  (overlay-put
   (make-overlay (point) (1+ (point)))
   'after-string
   (propertize
    "rrr"
    'right-fringe-help "right tooltip"))

On Sat, 13 Apr 2024 at 10:14, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: Vladimir Kazanov <vekazanov@gmail.com>
> > Date: Mon, 8 Apr 2024 15:41:38 +0100
> > Cc: emacs-devel@gnu.org
> >
> > Here is the v4 patch. As we discussed, this is option 3 i.e., looking
> > up properties in visible text only. In addition to the implementation,
> > I've fixed the docs, NEWS and TODO files.
>
> Thanks.  Can you post some simple Lisp to test this feature after
> applying the patch?  I'd like to run some tests before I install it.



-- 
Regards,

Vladimir Kazanov



reply via email to

[Prev in Thread] Current Thread [Next in Thread]