GNU bug report logs -
#66245
[PATCH] ; Silence macOS 14 warning
Previous Next
Reported by: Eshel Yaron <me <at> eshelyaron.com>
Date: Wed, 27 Sep 2023 19:02:02 UTC
Severity: normal
Tags: patch
Merged with 66269
Found in version 29.1.50
Fixed in version 29.2
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#66245: [PATCH] ; Silence macOS 14 warning
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 66245 <at> debbugs.gnu.org.
--
66245: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66245
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Version: 29.2
Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:
> Tags: patch
>
> Hi,
>
> After updating to macOS 14 (and rebuilding Emacs), I see the following
> warning whenever I start Emacs:
>
> WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
>
> This patch does exactly what the warning suggests, and it silences the
> warning.
Thanks, this patch is now installed on emacs-29 ([1: a4185f87bd0]).
I'm also closing the bug, but this obviously doesn't preclude further
discussion.
[1: a4185f87bd0]: 2023-09-29 13:32:55 +0200
; Silence macOS 14 warning
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=a4185f87bd0e5c129ce93a56b5a3330e2d6b1776
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Tags: patch
Hi,
After updating to macOS 14 (and rebuilding Emacs), I see the following
warning whenever I start Emacs:
WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
This patch does exactly what the warning suggests, and it silences the
warning.
TBH I'm not entirely sure I understand the implications of implementing
`applicationSupportsSecureRestorableState`. IIUC it makes Emacs opt-in
to the "secure state restoration" mechanism in contrast to a former
(supposedly less secure) mechanism, but AFAICT Emacs doesn't opt-in to
state restoration in the NS port in the first place...
[0001-Silence-macOS-14-warning.patch (text/patch, attachment)]
This bug report was last modified 1 year and 231 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.