GNU bug report logs -
#71669
30.0.50; macOS: `emacs --geometry` flag broken, only `-geometry` works
Previous Next
Reported by: Stefan Kangas <stefankangas <at> gmail.com>
Date: Thu, 20 Jun 2024 07:53:01 UTC
Severity: normal
Found in version 30.0.50
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #25 received at 71669-done <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> Not necessarily. My reading of the VC history is that before commit
> d7d8c62a57e7, which unified the NS handling of command-line arguments
> with the rest of GUI platforms, there was no support for -g (in any of
> its forms, including -geometry and --geometry) on macOS. So it could
> be that the fact we now support -g and -geometry is a bug.
In d7d8c62a57e7 it was actually still commented out. Proper support was
only added 4 years later, in commit e543ae917.
The fact that "--geometry" wasn't commented out at the time looks like
it was just an oversight.
> If you add --geometry to command-line-ns-option-alist, does it work as
> expected, with all formats of -geometry that are supposed to be
> supported? If yes, we could enable that on macOS and see if anything
> breaks or someone complains. But maybe if you try this, you will find
> the reason why this switch is not fully supported on NS.
It works fine, so I pushed a patch to master. Closing this now, thanks.
This bug report was last modified 337 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.