all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: arthur miller <arthur.miller@live.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Sv: Sv: Sticky tooltips
Date: Fri, 2 Oct 2020 10:47:59 +0000	[thread overview]
Message-ID: <VI1PR06MB4526A373F696F3546B7BFFA496310@VI1PR06MB4526.eurprd06.prod.outlook.com> (raw)
In-Reply-To: <83v9fugl22.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1662 bytes --]

> ??? The name of the buffer is fixed: " *tip*" (with the leading
> space).
🙂 I was just not remembering what I saw in C file when I was
typing. But thanks for the tips. I do need to learn more about
how lispy C interacts with lisp; I think I have got some understanding,
but I definitely need to play more. The best hobby 🙂.

> We'd need to modify the code to stash the tooltip text in some buffer
> or variable.

Yes, the x-show-tip will need to be modified; my thought was to just
send in the string when Gtk tooltips are enabled, that is why I mean
string-or-buffer as argument. I am back at home on Sunday, so I'll play
with it.
________________________________
Från: Eli Zaretskii <eliz@gnu.org>
Skickat: den 1 oktober 2020 14:58
Till: arthur miller <arthur.miller@live.com>
Kopia: emacs-devel@gnu.org <emacs-devel@gnu.org>
Ämne: Re: Sv: Sticky tooltips

> From: arthur miller <arthur.miller@live.com>
> CC: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
> Date: Thu, 1 Oct 2020 02:28:25 +0000
>
> I am not sure how to get buffer out of x-show-tip,

??? The name of the buffer is fixed: " *tip*" (with the leading
space).  You can even switch to it interactively, and see the text
there (it would be the text of the last tootlip displayed), provided
that your build is not GTK, or if it is GTK, you've turned off GTK
tooltips and switched to the native ones.

> I don't know how the function would deal with Gtk tooltips; if they can also take a buffer
> and display it, that is why I mean the function to take string-or-buffer.

We'd need to modify the code to stash the tooltip text in some buffer
or variable.

[-- Attachment #2: Type: text/html, Size: 4534 bytes --]

  reply	other threads:[~2020-10-02 10:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-28 20:04 Sticky tooltips Arthur Miller
2020-09-28 22:11 ` Jean Louis
2020-09-29  3:39   ` Arthur Miller
2020-09-29  4:20     ` Jean Louis
2020-09-29  2:41 ` Eli Zaretskii
2020-09-29  3:36   ` Arthur Miller
2020-09-29 14:17     ` Eli Zaretskii
2020-09-29 21:30       ` Arthur Miller
2020-09-30 14:50         ` Eli Zaretskii
2020-09-30 15:17           ` Arthur Miller
2020-10-01  2:28           ` Sv: " arthur miller
2020-10-01 12:58             ` Eli Zaretskii
2020-10-02 10:47               ` arthur miller [this message]
2020-10-05  9:27               ` Arthur Miller
2020-10-05  9:48                 ` Eli Zaretskii
2020-10-05 10:18                   ` Arthur Miller
2020-10-05 10:52                     ` Eli Zaretskii
2020-10-05 11:04                       ` Arthur Miller

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=VI1PR06MB4526A373F696F3546B7BFFA496310@VI1PR06MB4526.eurprd06.prod.outlook.com \
    --to=arthur.miller@live.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.