GNU bug report logs - #76399
[PATCH] Change 'fullscreen' references to 'maximized'

Previous Next

Package: emacs;

Reported by: Ship Mints <shipmints <at> gmail.com>

Date: Tue, 18 Feb 2025 17:50:02 UTC

Severity: wishlist

Tags: patch

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 76399 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>, Ship Mints <shipmints <at> gmail.com>
Cc: 76399 <at> debbugs.gnu.org
Subject: Re: bug#76399: [PATCH] Change 'fullscreen' references to 'maximized'
Date: Wed, 19 Feb 2025 18:28:47 +0100
>> In frame.el's toggle-frame-fullscreen and toggle-frame-maximized, these look like either typos, or vestigial
>> references.  The frame-parameter fullscreen is never set to 'fullscreen nor is the value 'fullscreen used in
>> other places in Emacs.  It is an undocumented value, appearing nowhere.  Unless I missed something.
[---]
> Martin, any comments?

I can only speculate.  Jan changed the semantics in 2009 so the previous
'fullscreen' became 'maximized' or 'fullboth' - I don't remember which.
For compatibility sake, he kept 'fullscreen' around since people might
have had (and maybe still have) it in their init files.  It's no more
documented to avoid that people start using it.

In either case 'fullscreen' still is a valid substitute for 'fullboth'.
Try with

(set-frame-parameter nil 'fullscreen 'fullscreen)

martin




This bug report was last modified 90 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.