Created by Piotr Kalinowski on 2013-07-17 and last modified on 2013-07-17
Get this branch:
bzr branch lp:~pitkali/+junk/pos-tip.el
Only Piotr Kalinowski can upload to this branch. If you are Piotr Kalinowski please log in for upload directions.

Related bugs

Related blueprints

Branch information

Piotr Kalinowski

Recent revisions

119. By Piotr Kalinowski on 2013-07-17

Fix problem when using pos-tip-show for the first time

When displaying first tooltip after starting Emacs, text attributes
would not be correctly applied, resulting in incorrect colour of tooltip
text and background. This would be visible only for the text, frame
foreground and background were set correctly.

This seems to have been related to the use of `make-face' to create a
temporary face for applying those text attributes. According to
documentation this function should not be used from Lisp source code. In
fact it turns out that there's no need to use a separate face at all: it
is sufficient to use a list of desired face attributes that should be
applied to text.

This fixes the problem and removes potentially costly operations
involving changing selected windows and manipulating face properties for
all the frames.

118. By Piotr Kalinowski on 2013-07-17

Fix setting foreground colour when using pos-tip-show

pos-tip-show would only pass the tip-color to pos-tip-show-no-propertize,
which resulted in applying it only to frame properties by x-show-tip, but not
to the font of the tooltip itself. This seemed to work actually, but only as
long as user did not choose a custom colour theme.

Otherwise it was impossible to set text foreground colour using
pos-tip-show. (You could not just propertize the text using face as
pos-tip-show replaces the face property of the input text.)

The solution is based on how tooltip.el uses x-show-tooltip: it does set
foreground-color and background-color frame parameters, but it also
additionally applies the tooltip face to the tooltip text.

117. By Piotr Kalinowski on 2013-07-17

Fix tip-color in pos-tip-calibrate-frame-offset

This ensures that tip-color constructed in pos-tip-calibrate-offset has
correct form, i.e., its background component is a string, rather than a lambda
that needs to be executed in order to get valid background colour.

116. By IRIE Shinsuke on 2010-10-07

my-describe-function.el: Added newline to the end of file

115. By IRIE Shinsuke on 2010-09-27

Bumped version to 0.4.5

114. By IRIE Shinsuke on 2010-09-27

pos-tip-window-system: Simplified the implementation by using 'framep'

113. By IRIE Shinsuke on 2010-08-20

Bumped version to 0.4.4

112. By IRIE Shinsuke on 2010-08-20

pos-tip-string-width-height: Changed to ignore last empty line of STRING

111. By IRIE Shinsuke on 2010-07-31

pos-tip-compute-pixel-position: Changed to use 'window-line-height' instead of 'posn-object-width-height'

110. By IRIE Shinsuke on 2010-07-25

Bumped version to 0.4.3

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.