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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18601: 24.3.94; set-fringe-mode with left fringe 0 breaks window wid


From: Constantine Vetoshev
Subject: bug#18601: 24.3.94; set-fringe-mode with left fringe 0 breaks window width calculations on Mac OS
Date: Sat, 4 Oct 2014 10:45:59 -0700

On Sat, Oct 4, 2014 at 12:08 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Constantine Vetoshev <vetoshev@gmail.com>
>> (defun term-window-width ()
>>   (if (and (not (featurep ‘xemacs))
>>   (display-graphic-p)
>>   overflow-newline-into-fringe
>>   (/= (frame-parameter nil ‘right-fringe) 0)
>>   (/= (frame-parameter nil ‘left-fringe) 0))
>>       (window-body-width)
>>     (1- (window-body-width))))
>>
>> That does make the problem go away.
>
> That's what I meant, yes.

Should this be used to patch term.el?





reply via email to

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