[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacin
From: |
martin rudalics |
Subject: |
bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing |
Date: |
Wed, 2 Oct 2019 10:54:03 +0200 |
> I surely find the complexity of all this code jarring, so I have to
> restrict myself to looking at a single issue; and here, it's clearly
> fixing a bug, using the char height is simply wrong, IMO.
Agreed. But if I change 'fit-frame-to-buffer', then, for consistency,
I have to at least change 'fit-window-to-buffer' too.
> + (setq height (* (/ (+ height line-height -1) line-height)
> + line-height)))
[...]
> And then char-height can be dropped.
Right.
Thanks, martin
- bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing, martin rudalics, 2019/10/01
- Message not available
- bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing, martin rudalics, 2019/10/01
- bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing, Ingo Lohmar, 2019/10/01
- bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing,
martin rudalics <=
- bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing, martin rudalics, 2019/10/03
- bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing, Ingo Lohmar, 2019/10/03
- bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing, martin rudalics, 2019/10/03
- bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing, Ingo Lohmar, 2019/10/03
- bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing, martin rudalics, 2019/10/05
- bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing, Ingo Lohmar, 2019/10/05
- bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing, martin rudalics, 2019/10/07
- bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing, Ingo Lohmar, 2019/10/07
- bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing, martin rudalics, 2019/10/08
- bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing, martin rudalics, 2019/10/11