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

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

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


From: GNU bug Tracking System
Subject: bug#66245: closed ([PATCH] ; Silence macOS 14 warning)
Date: Fri, 29 Sep 2023 11:37:02 +0000

Your message dated Fri, 29 Sep 2023 04:35:57 -0700
with message-id 
<CADwFkmm6EyZ9PVRMVhmZbvC8One6Yk5+n8bXwHVQBt8n61Ssvw@mail.gmail.com>
and subject line Re: bug#66245: [PATCH] ; Silence macOS 14 warning
has caused the debbugs.gnu.org bug report #66245,
regarding [PATCH] ; Silence macOS 14 warning
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
66245: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66245
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [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


--- End Message ---
--- Begin Message --- Subject: Re: bug#66245: [PATCH] ; Silence macOS 14 warning Date: Fri, 29 Sep 2023 04:35:57 -0700
Version: 29.2

Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@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


--- End Message ---

reply via email to

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