help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: I'd like Emacs to display a big (but short) "pop up" text


From: Stephen Berman
Subject: Re: I'd like Emacs to display a big (but short) "pop up" text
Date: Tue, 08 Aug 2017 11:57:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

On Tue, 08 Aug 2017 07:00:19 +0200 Marcin Borkowski <address@hidden> wrote:

> Hi all,
>
> I'd like to display a "pop up"/"tip", i.e., a short text (a few
> characters).  The thing is, I want it to be visible: large font,
> preferably centered on the screen.  My use case is demoing Emacs, and
> before showing the effects of e.g. C-x 2, I'd like to show
> a big-lettered "C-x 2" on the screen.  It would be nice to use something
> like the blocks in M-x tetris to build the letters, or anything else
> that would clearly show "C-x 2" or whatever keychord I'm showing.
>
> Any ideas?

How about tooltip-show with a large face, e.g.:

(set-face-attribute 'tooltip nil :height 4.0
                    :foreground "white" :background "red")

You'd also have to play with tooltip-frame-parameters to get the
position the way you want.

Steve Berman



reply via email to

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