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

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

bug#28605: 26.0.60; Part of leftmost character hidden


From: Robert Pluim
Subject: bug#28605: 26.0.60; Part of leftmost character hidden
Date: Mon, 23 Oct 2017 14:12:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

martin rudalics <rudalics@gmx.at> writes:

>> (tool-bar-mode 0)
>> (scroll-bar-mode 0)
>> (tooltip-mode 0)
>> (menu-bar-mode 0)
>>
>> (set-frame-parameter nil 'width (+ (frame-parameter nil 'width) 5))
>> (set-frame-parameter nil 'width (- (frame-parameter nil 'width) 5))
>>
>> => frame cycles back to same size
>>

I forgot to mention: the next line is executed in the same emacs
session as the previous ones

>> (menu-bar-mode 1)
>>
>> (set-frame-parameter nil 'width (+ (frame-parameter nil 'width) 5))
>> (set-frame-parameter nil 'width (- (frame-parameter nil 'width) 5))
>>
>> => frame height shrinks
>
> Sounds "great".  To check further: If with
>
> (menu-bar-mode 0)
>
> you toggle scroll bar or tool bar off and on, does the frame also cycle
> back to the same size?

Of course not, that would make this issue too easy to fix ;-)

>From emacs -Q:

(menu-bar-mode 0)
(scroll-bar-mode 0)
(scroll-bar-mode 1)

The width goes back to the original, but the height shrinks

However things work correctly from emacs -Q with:

(menu-bar-mode 0)
(tool-bar-mode 0)
(scroll-bar-mode 0)
(scroll-bar-mode 1)

so looks like both the menu-bar and the tool-bar need to be disabled
for things to work as expected.

Robert





reply via email to

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