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

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

[debbugs-tracker] bug#19075: closed (`toggle-frame-maximized' and `toggl


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#19075: closed (`toggle-frame-maximized' and `toggle-frame-fullscreen' on Windows)
Date: Mon, 29 Jun 2015 09:46:02 +0000

Your message dated Mon, 29 Jun 2015 11:45:08 +0200
with message-id <address@hidden>
and subject line Re: bug#19075: `toggle-frame-maximized' and 
`toggle-frame-fullscreen' on Windows
has caused the debbugs.gnu.org bug report #19075,
regarding `toggle-frame-maximized' and `toggle-frame-fullscreen' on Windows
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
19075: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19075
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: `toggle-frame-maximized' and `toggle-frame-fullscreen' on Windows Date: Mon, 17 Nov 2014 09:13:56 +0100
`init.el':

(add-hook 'window-setup-hook 'toggle-frame-maximized t)
(add-hook 'window-setup-hook 'toggle-frame-fullscreen t)

does not work as expected. Emacs goes fullscreen indeed. However, running manually `(toggle-frame-fullscreen)' once again after Emacs loaded, does not bring Emacs into maximized state, it rather returns to a small initial frame (of the default size, `emacs -q' to remind yourself how it looks like). Changing `init.el' to:

(add-to-list 'default-frame-alist '(fullscreen . maximized))
(add-hook 'window-setup-hook 'toggle-frame-fullscreen t)

does not help either.

One could think that somehow `maximized' parameter is not set, but if one has in `init.el' only:

(add-to-list 'default-frame-alist '(fullscreen . maximized))

or

(add-hook 'window-setup-hook 'toggle-frame-maximized t)

then Emacs is loaded into maximized state indeed (*).

On the other hand in `emacs -q', if one runs

(toggle-frame-maximized)
(toggle-frame-fullscreen)

manually, and then runs `(toggle-frame-fullscreen)' manually once again, then Emacs is brought to maximized state.

All this makes me think that there is some problem with memorizing `maximized' parameter during `window-setup-hook', but note that this actually contradicts (*) what makes this problem even more confusing.

It's Emacs 24.4.50 on Windows.

--- End Message ---
--- Begin Message --- Subject: Re: bug#19075: `toggle-frame-maximized' and `toggle-frame-fullscreen' on Windows Date: Mon, 29 Jun 2015 11:45:08 +0200
> ​This one can be definitely closed.​

Done.

martin



--- End Message ---

reply via email to

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