Open fintelkai opened 4 years ago
Just chiming in that I have the same issue. Does not appear to be a problem with any other posframe package (ivy, notably).
I have same issue. It seems that some attributes can be applied while others cannot. For example, when changing the background color for which-key-posframe
, the change does take effect. Changes in which-key-posframe-parameters
, though, do not take any effect, nor does changes in which-key-posframe-border
. Not sure why the posframe-show
function does not apply these changes to the frame.
Sorry, for the late reply, one of the reason is that I have not figured out how to resolve this issue.
Most of the code is from ivy-posframe
, I checked again and did not see any mistakes :(.
If I do not remember wrong, about one year before I had the same issue, but now I can set the border as I want which makes it hard to debug, since I cannot reproduce the issure :(.
BTW, I am now using emacs-28.0.50.
I also tried the following config
(load "~/.emacs.d/elpa/which-key-20200216.1350/which-key.el")
(load "~/.emacs.d/elpa/posframe-20200426.819/posframe.el")
(load "~/.emacs.d/elpa/which-key-posframe-20190427.1103/which-key-posframe.el")
(which-key-mode)
(which-key-posframe-mode)
and it works fine.
So, I guess maybe the version of Emacs is the issue, please try on Emacs-28.
If it's worth noting, after displaying the Ivy posframe (with counsel-M-X
in this case) at least once on 27.1, the Which-Key posframe border face also displays.
I have been struggling to get
which-key-posframe
to show a border around the posframe. I tried a very minimal configuration, with the following as the only contents ofinit.el
:But no border appears when the posframe pops up.
Since the presets for the custom variable
which-key-posframe-border-width
and the facewhich-key-posframe-border
might generate a fairly faint border, I tried other settings, but no border appears.Any idea what might be going on?