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

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

bug#66245: [PATCH] ; Silence macOS 14 warning


From: Eshel Yaron
Subject: bug#66245: [PATCH] ; Silence macOS 14 warning
Date: Wed, 27 Sep 2023 21:00:45 +0200

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...

Attachment: 0001-Silence-macOS-14-warning.patch
Description: Text Data


reply via email to

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