[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width
From: |
Titus von der Malsburg |
Subject: |
bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width |
Date: |
Wed, 17 Dec 2014 10:48:25 -0800 |
On 2014-12-17 Wed 10:21, Eli Zaretskii wrote:
>> From: Titus von der Malsburg <malsburg@posteo.de>
>> Cc: 19395@debbugs.gnu.org
>> Date: Wed, 17 Dec 2014 09:18:34 -0800
>>
>> I want to use the full number of available columns for displaying data
>> but avoid line breaks at all cost because they would mess up the table
>> layout. That's why I need a robust way to determine the maximal number
>> of characters that I can put on a line. `term-window-width' is better
>> at doing that then `window-width' because it corrects (window-width) in
>> a number of special cases. (It's not perfect, though, because like
>> `window-width' it ignores the size of the font in the window and
>> pretends the window is using the default size.)
>
> Exactly. So perhaps we need a different function, one that returns
> exactly the result that you want here.
The problem is that there may not be a clean solution to that
problem. A buffer can contain text is several font sizes and as far as
I know there is no notion of a default size for a buffer, or is there?
In my special case, I have the font size under control and
`term-window-width' would be good enough.
Titus
signature.asc
Description: PGP signature
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, (continued)
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Titus von der Malsburg, 2014/12/16
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Eli Zaretskii, 2014/12/17
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Stefan Monnier, 2014/12/17
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Eli Zaretskii, 2014/12/17
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Stefan Monnier, 2014/12/18
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Eli Zaretskii, 2014/12/18
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Titus von der Malsburg, 2014/12/16
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Eli Zaretskii, 2014/12/17
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Titus von der Malsburg, 2014/12/17
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Eli Zaretskii, 2014/12/17
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width,
Titus von der Malsburg <=
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Eli Zaretskii, 2014/12/17
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Titus von der Malsburg, 2014/12/17
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Eli Zaretskii, 2014/12/18
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, martin rudalics, 2014/12/19
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Eli Zaretskii, 2014/12/19
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, martin rudalics, 2014/12/20
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Eli Zaretskii, 2014/12/20
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, martin rudalics, 2014/12/20
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, Eli Zaretskii, 2014/12/20
- bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width, martin rudalics, 2014/12/20