bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Eli Zaretskii
Subject: bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width
Date: Wed, 17 Dec 2014 21:09:43 +0200

> From: Titus von der Malsburg <address@hidden>
> Cc: address@hidden
> Date: Wed, 17 Dec 2014 10:48:25 -0800
> 
> 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?

Yes, there is: the 'default' face.

> In my special case, I have the font size under control and
> `term-window-width' would be good enough.

But if we want this function to be more generally useful, it
shouldn't be limited to the frame's canonical character size, and
should at least take the face-remapping into account.  Bonus points
for accepting a face as an argument and using that face's font
dimensions.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]