font size and multiple line entries hide the current selection (org refiling with ivy) #151

Closed
brabalan opened this Issue Jun 18, 2015 · 4 comments

Projects

None yet

2 participants

@brabalan

When refiling an entry with ivy, it seems that the font size is not taken into account, so the selection is at the very bottom of the window:
screen shot 2015-06-18 at 09 44 01
The problematic part is when the lines are too long, they can span more than one line (probably because of font size) and the selection disappears:
screen shot 2015-06-18 at 09 43 16

This happens with the leuven theme. Is there a way to ensure the selection is in the middle of the window?

@abo-abo abo-abo added a commit that referenced this issue Jun 19, 2015
@abo-abo Add a set of commands for resizing minibuffer height
* ivy.el (ivy-minibuffer-grow): New command.
(ivy-minibuffer-shrink): New command.

* ivy-hydra.el (hydra-ivy): Bind "<" and ">".

Use "C-o >>>>>" to grow the minibuffer, and "C-o <<<<<" to shrink it.

Re #151
5e3c635
@abo-abo
Owner
abo-abo commented Jun 19, 2015

I'm still looking into this, but for now I've added a way to increase the minibuffer height dynamically.

@brabalan

Thanks, this will be most useful.

@abo-abo abo-abo added a commit that closed this issue Jun 23, 2015
@abo-abo Re-scale the text height to default in the minibuffer
* ivy.el (ivy--format): Set the string height to default and turn off
  overline, so that exactly `ivy-height' lines are visible, not less.

Fixes #151
5c09439
@abo-abo abo-abo closed this in 5c09439 Jun 23, 2015
@abo-abo abo-abo added a commit that referenced this issue Jun 23, 2015
@abo-abo Fix color blending for composite faces
colir.el (colir-blend-face-background): Try to find the face among the
properties.

Re #151
321f277
@abo-abo
Owner
abo-abo commented Jun 23, 2015

Thanks, this should be fixed now. I've also fixed an issue regarding the selection not being highlighted.

@brabalan

I really like your solution. It works great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment