From unknown Mon Aug 18 11:21:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29643: 27.0.50; Deprecation warnings on macOS High Sierra Resent-From: Philipp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Dec 2017 13:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29643 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 29643@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.151291427218121 (code B ref -1); Sun, 10 Dec 2017 13:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Dec 2017 13:57:52 +0000 Received: from localhost ([127.0.0.1]:54607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eO275-0004iD-L3 for submit@debbugs.gnu.org; Sun, 10 Dec 2017 08:57:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eO273-0004i0-F1 for submit@debbugs.gnu.org; Sun, 10 Dec 2017 08:57:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO26w-0004CJ-I8 for submit@debbugs.gnu.org; Sun, 10 Dec 2017 08:57:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35670) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eO26w-0004CB-De for submit@debbugs.gnu.org; Sun, 10 Dec 2017 08:57:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO26u-00024F-Fc for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2017 08:57:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO26s-00049o-V5 for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2017 08:57:40 -0500 Received: from mail-wr0-x22a.google.com ([2a00:1450:400c:c0c::22a]:36830) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eO26s-00049L-Lo for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2017 08:57:38 -0500 Received: by mail-wr0-x22a.google.com with SMTP id v105so14971416wrc.3 for ; Sun, 10 Dec 2017 05:57:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=/X/T7KHhVXi3+2Anx5tf6u1GaxWZqZmodZB25VqWlhc=; b=M4huGfWVaFItKhQHIEl6dxykeBqqym644rj/zI/Gz2+ShVqbNBphZl4GDw4gxSA3of liMrqbMs7YfzMTG8DgCMTYKuz0z94DOCvJQUmIl68f506nM79Bt5mZSY3Ana++BrgjYo cF1WABm2voULGDRlC4DmPgamq5aRGrF3Ret3fE4PinjvO0/ZNEF2pcxlYkqWMmwWIecE 9WgXxa3tUIKWB9ERSRnR625KQS8bYUdD3WnT7csEXVDKT9SKhYCuN7i8Stm4QBlRB/la IltHN4hcfGg4riJmKFmoxqr6WS5HdDaRYbMDNFTlTpfJXugzOm005EK+ez45URB8AKvk ZrKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=/X/T7KHhVXi3+2Anx5tf6u1GaxWZqZmodZB25VqWlhc=; b=BgyeYSp3YJvLByLxNA3PmOmzJZlsEbVAMdbqn5XUcGe8RR8KhfUM7XQRi1Q2fCkJnT cbLsmSAdRnwxXhP2yxoxhfGb4nR7sKKh4rg9h0BAtKl6Iy0bzk7x9HvjcGUw9teq9KNC JiD2vuMGfHOi5063C7vn34BfUV9aoKNT10WQUblxGGi8qpxgrRG69bBRrlv1hljuPJET MEvTX4HgdcWPIpnZMVNNdieGZ9u81LM1ZZ7HsfNrCPQRTzigGroMLHpqySNwHq/w7SEM 2c6IJaNJ+0hvZ7z4O/8kHPpPxO9ufw2eK2xRktCFvKoVWLcp4A5urKvSlPdHA2VAtKuF 6IJQ== X-Gm-Message-State: AJaThX5aMzjWyygFmcm37n4hd9fTDJEIF8PdXmONovn9vAoUn+CDxhcN 6Mvb4y1ovVHsuf+fpdr7+NrwygWQ X-Google-Smtp-Source: AGs4zMaBksQ7lwKYQTxJZ3ZBJZJXnNV41m3BeXaSysnZmIbC4mh2UB+GQWNHLIN8KCzYsnkVtvFX8A== X-Received: by 10.223.195.113 with SMTP id e46mr30851790wrg.149.1512914256966; Sun, 10 Dec 2017 05:57:36 -0800 (PST) Received: from p ([2001:4c50:25a:f300:504b:a1c8:b0b5:7594]) by smtp.gmail.com with ESMTPSA id j77sm8621704wmf.36.2017.12.10.05.57.36 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 10 Dec 2017 05:57:36 -0800 (PST) From: Philipp Date: Sun, 10 Dec 2017 14:57:35 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) When building Emacs on macOS High Sierra, I get the following deprecation warnings: nsterm.m:6019:18: warning: 'setOnMouseEntered:' is deprecated: first deprecated in macOS 10.13 - setOnMouseEntered is unused and should not be called [-Wdeprecated-declarations] [currentCursor setOnMouseEntered: YES]; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCursor.h:77:1: note: 'setOnMouseEntered:' has been explicitly marked deprecated here - (void)setOnMouseEntered:(BOOL)flag NS_DEPRECATED_MAC(10_0, 10_13, "setOnMouseEntered is unused and should not be called"); ^ nsterm.m:8749:27: warning: 'setOnMouseEntered:' is deprecated: first deprecated in macOS 10.13 - setOnMouseEntered is unused and should not be called [-Wdeprecated-declarations] [[NSCursor arrowCursor] setOnMouseEntered: YES]; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCursor.h:77:1: note: 'setOnMouseEntered:' has been explicitly marked deprecated here - (void)setOnMouseEntered:(BOOL)flag NS_DEPRECATED_MAC(10_0, 10_13, "setOnMouseEntered is unused and should not be called"); ^ 2 warnings generated. CC nsfns.o nsfns.m:1899:10: warning: 'NSBackingStoreRetained' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations] case NSBackingStoreRetained: ^~~~~~~~~~~~~~~~~~~~~~ NSBackingStoreBuffered /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:96:5: note: 'NSBackingStoreRetained' has been explicitly marked deprecated here NSBackingStoreRetained NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSBackingStoreBuffered", 10.0, 10.13) = 0, ^ nsfns.m:1901:10: warning: 'NSBackingStoreNonretained' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations] case NSBackingStoreNonretained: ^~~~~~~~~~~~~~~~~~~~~~~~~ NSBackingStoreBuffered /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:97:5: note: 'NSBackingStoreNonretained' has been explicitly marked deprecated here NSBackingStoreNonretained NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSBackingStoreBuffered", 10.0, 10.13) = 1, ^ nsfns.m:1956:10: warning: 'NSBackingStoreRetained' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations] case NSBackingStoreRetained: ^~~~~~~~~~~~~~~~~~~~~~ NSBackingStoreBuffered /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:96:5: note: 'NSBackingStoreRetained' has been explicitly marked deprecated here NSBackingStoreRetained NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSBackingStoreBuffered", 10.0, 10.13) = 0, ^ nsfns.m:1957:10: warning: 'NSBackingStoreNonretained' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations] case NSBackingStoreNonretained: ^~~~~~~~~~~~~~~~~~~~~~~~~ NSBackingStoreBuffered /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:97:5: note: 'NSBackingStoreNonretained' has been explicitly marked deprecated here NSBackingStoreNonretained NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSBackingStoreBuffered", 10.0, 10.13) = 1, ^ 4 warnings generated. CC nsmenu.o CC nsselect.o nsselect.m:57:38: warning: 'NSGeneralPboard' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations] if (EQ (sym, QCLIPBOARD)) return NSGeneralPboard; ^~~~~~~~~~~~~~~ NSPasteboardNameGeneral /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:343:32: note: 'NSGeneralPboard' has been explicitly marked deprecated here APPKIT_EXTERN NSPasteboardName NSGeneralPboard NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardNameGeneral", 10.0, 10.13); ^ nsselect.m:73:27: warning: 'NSGeneralPboard' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations] if ([t isEqualToString: NSGeneralPboard]) ^~~~~~~~~~~~~~~ NSPasteboardNameGeneral /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:343:32: note: 'NSGeneralPboard' has been explicitly marked deprecated here APPKIT_EXTERN NSPasteboardName NSGeneralPboard NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardNameGeneral", 10.0, 10.13); ^ nsselect.m:472:36: warning: 'NSGeneralPboard' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations] [NSNumber numberWithLong:0], NSGeneralPboard, ^~~~~~~~~~~~~~~ NSPasteboardNameGeneral /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:343:32: note: 'NSGeneralPboard' has been explicitly marked deprecated here APPKIT_EXTERN NSPasteboardName NSGeneralPboard NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardNameGeneral", 10.0, 10.13); In GNU Emacs 27.0.50 (build 20, x86_64-apple-darwin17.2.0, NS appkit-1561.10 Version 10.13.1 (Build 17B1003)) of 2017-12-10 built on p Repository revision: ab203e36d5f84a99b6d4b04f1a22ba028be750e3 Windowing system distributor 'Apple', version 10.3.1561 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --enable-checking --enable-check-lisp-object-type --enable-gtk-deprecation-warnings --with-modules --without-xml2 --without-pop --with-mailutils --enable-gcc-warnings=warn-only MAKEINFO=/usr/local/opt/texinfo/bin/makeinfo 'CFLAGS=-O0 -ggdb3' LDFLAGS=-O0' Configured features: NOTIFY ACL GNUTLS ZLIB TOOLKIT_SCROLL_BARS NS MODULES JSON Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 204682 7183) (symbols 48 20164 1) (miscs 40 57 176) (strings 32 28803 1608) (string-bytes 1 764939) (vectors 16 35163) (vector-slots 8 719992 9580) (floats 8 52 64) (intervals 56 214 0) (buffers 992 11)) From unknown Mon Aug 18 11:21:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29643: [PATCH] Silence macOS 10.13 deprecation notices (Bug#29643) Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Dec 2017 20:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29643 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Philipp Cc: 29643@debbugs.gnu.org Received: via spool by 29643-submit@debbugs.gnu.org id=B29643.151293766728069 (code B ref 29643); Sun, 10 Dec 2017 20:28:02 +0000 Received: (at 29643) by debbugs.gnu.org; 10 Dec 2017 20:27:47 +0000 Received: from localhost ([127.0.0.1]:55630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eO8CR-0007If-3n for submit@debbugs.gnu.org; Sun, 10 Dec 2017 15:27:47 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:34340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eO8CO-0007IP-Uf for 29643@debbugs.gnu.org; Sun, 10 Dec 2017 15:27:45 -0500 Received: by mail-wm0-f46.google.com with SMTP id y82so10801930wmg.1 for <29643@debbugs.gnu.org>; Sun, 10 Dec 2017 12:27:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=r4RdMIQuquPSlMA3BoCNhQab8djPW5zFSFvmhNmsBXM=; b=fvyLYw6k5xYj7EDl+KcoKDmBi2GJtmYaumBUZJ9XEGE7dUP3mZcRE7Z7zWnCP/e2bW 2l4htyB4L/YPjFv1oJGWXOtraL8IW3JhWj3LNSYM89AU/kjQSmPtKVXkVt4I048xYlIn XaaC8G5MEmoQWKcQXGwJglfAHFXyteklCYn3PPnPbk3CBvRfTN6qF/k7/blL4xkRYF3T LFS0teDVuRNsjSG2X6U/j5xja40dIeaq3gAoaFR7kbjk3WPi/RpD2fjkCpiv6FqEpthH CJzGDgQXp+Gg+j1+VJpU+kesqykkubIoKZYQSmfUl7mCUE3wfDxjU9Po/V5y3axiJrYw F1tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=r4RdMIQuquPSlMA3BoCNhQab8djPW5zFSFvmhNmsBXM=; b=LWs9HzBn/XcpxGH/H9IRO60Gxw52ly1VjjV37r1sslAVWwF7Iy3dZzHiHLpusKZB// ANWfSh3WZd4+IesIwS9+jLrj8KGItlXCF4PaRz9R9eX/r7WwF27UATHiIg249DRl+fMo PfMdXYApXLhPV2xEDya7PH/odYfkvMN04AlVJjjTJXLxF6bnQVN30zg9bLOFdPi+k4Vv 0NI/MB+bsPaibx5sPJP4SvrxUpqQwDYUurX6T0q7+SYj7Fp3B3PUTqvPd8SYvMtwopSJ ZRvX52+4775Pb0/lr3LeAMrHeVhWH3rtOjWXw6Z62l7G62zkioWNqEyMk/zhVTXsUHXJ ZkMw== X-Gm-Message-State: AKGB3mLJu/4ocGxpXVSQr/B22aKpZI40phLZKyaUdnFEyIJO7arhVPjy csITa0mUyQZy7JVyM5wK9TE= X-Google-Smtp-Source: AGs4zMZddksjZlu1rSny+f/3oNsHz9eBMEIB8AYHae2XOBTTivwcpnN6iZX+QfulpS5vlBsXol90zg== X-Received: by 10.28.133.142 with SMTP id h136mr8141686wmd.122.1512937659211; Sun, 10 Dec 2017 12:27:39 -0800 (PST) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-09c7-7705-5027-72ca.holly.idiocy.org. [2001:8b0:3f8:8129:9c7:7705:5027:72ca]) by smtp.gmail.com with ESMTPSA id k30sm15379261wrf.63.2017.12.10.12.27.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Dec 2017 12:27:38 -0800 (PST) Date: Sun, 10 Dec 2017 20:27:37 +0000 From: Alan Third Message-ID: <20171210202737.GA78649@breton.holly.idiocy.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) * src/nsfns.m (Fx_display_backing_store): (Fx_display_save_under): Don't use NSBackingStoreRetained or NSBackingStoreNonretained on macOS 10.13+. * src/nsselect.m (symbol_to_nsstring): (ns_string_to_symbol): (nxatoms_of_nsselect): Replace NSGeneralPboard with NSPasteboardNameGeneral. * src/nsterm.h: #define NSPasteboardNameGeneral to NSGeneralPboard on GNUstep and macOS < 10.13. * src/nsterm.m (EmacsView::resetCursorRects): (EmacsScroller::resetCursorRects): Don't use setOnMouseEntered on macOS 10.13+. --- src/nsfns.m | 4 ++++ src/nsselect.m | 8 ++++---- src/nsterm.h | 5 +++++ src/nsterm.m | 17 +++++++++++++++-- 4 files changed, 28 insertions(+), 6 deletions(-) diff --git a/src/nsfns.m b/src/nsfns.m index 8172268167..064b476fb4 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -1896,10 +1896,12 @@ and GNUstep implementations ("distributor-specific release { case NSBackingStoreBuffered: return intern ("buffered"); +#if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 101300 case NSBackingStoreRetained: return intern ("retained"); case NSBackingStoreNonretained: return intern ("non-retained"); +#endif default: error ("Strange value for backingType parameter of frame"); } @@ -1953,9 +1955,11 @@ and GNUstep implementations ("distributor-specific release case NSBackingStoreBuffered: return Qt; +#if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 101300 case NSBackingStoreRetained: case NSBackingStoreNonretained: return Qnil; +#endif default: error ("Strange value for backingType parameter of frame"); diff --git a/src/nsselect.m b/src/nsselect.m index 067c7788e8..d1ce9437a7 100644 --- a/src/nsselect.m +++ b/src/nsselect.m @@ -36,7 +36,7 @@ Updated by Christian Limpach (chris@nice.ch) static Lisp_Object Vselection_alist; -/* NSGeneralPboard is pretty much analogous to X11 CLIPBOARD */ +/* NSPasteboardNameGeneral is pretty much analogous to X11 CLIPBOARD */ static NSString *NXPrimaryPboard; static NSString *NXSecondaryPboard; @@ -54,7 +54,7 @@ Updated by Christian Limpach (chris@nice.ch) symbol_to_nsstring (Lisp_Object sym) { CHECK_SYMBOL (sym); - if (EQ (sym, QCLIPBOARD)) return NSGeneralPboard; + if (EQ (sym, QCLIPBOARD)) return NSPasteboardNameGeneral; if (EQ (sym, QPRIMARY)) return NXPrimaryPboard; if (EQ (sym, QSECONDARY)) return NXSecondaryPboard; if (EQ (sym, QTEXT)) return NSStringPboardType; @@ -70,7 +70,7 @@ Updated by Christian Limpach (chris@nice.ch) static Lisp_Object ns_string_to_symbol (NSString *t) { - if ([t isEqualToString: NSGeneralPboard]) + if ([t isEqualToString: NSPasteboardNameGeneral]) return QCLIPBOARD; if ([t isEqualToString: NXPrimaryPboard]) return QPRIMARY; @@ -469,7 +469,7 @@ Updated by Christian Limpach (chris@nice.ch) pasteboard_changecount = [[NSMutableDictionary dictionaryWithObjectsAndKeys: - [NSNumber numberWithLong:0], NSGeneralPboard, + [NSNumber numberWithLong:0], NSPasteboardNameGeneral, [NSNumber numberWithLong:0], NXPrimaryPboard, [NSNumber numberWithLong:0], NXSecondaryPboard, [NSNumber numberWithLong:0], NSStringPboardType, diff --git a/src/nsterm.h b/src/nsterm.h index c81bf5fb63..e669c95931 100644 --- a/src/nsterm.h +++ b/src/nsterm.h @@ -1322,5 +1322,10 @@ enum NSWindowTabbingMode NSWindowTabbingModePreferred, NSWindowTabbingModeDisallowed }; +#endif /* !defined (NS_IMPL_COCOA) || !defined (MAC_OS_X_VERSION_10_12) */ + +#if !defined (NS_IMPL_COCOA) || !defined (MAC_OS_X_VERSION_10_13) +/* Deprecated in macOS 10.13. */ +#define NSPasteboardNameGeneral NSGeneralPboard #endif #endif /* HAVE_NS */ diff --git a/src/nsterm.m b/src/nsterm.m index 50e06c94d4..07ac8f978f 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -6016,7 +6016,13 @@ - (void)resetCursorRects if (!NSIsEmptyRect (visible)) [self addCursorRect: visible cursor: currentCursor]; - [currentCursor setOnMouseEntered: YES]; + +#if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 101300 +#if MAC_OS_X_VERSION_MAX_ALLOWED >= 101300 + if ([currentCursor respondsToSelector: @selector(setOnMouseEntered)]) +#endif + [currentCursor setOnMouseEntered: YES]; +#endif } @@ -8746,7 +8752,14 @@ - (void)resetCursorRects if (!NSIsEmptyRect (visible)) [self addCursorRect: visible cursor: [NSCursor arrowCursor]]; - [[NSCursor arrowCursor] setOnMouseEntered: YES]; + +#if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 101300 +#if MAC_OS_X_VERSION_MAX_ALLOWED >= 101300 + if ([[NSCursor arrowCursor] respondsToSelector: + @selector(setOnMouseEntered)]) +#endif + [[NSCursor arrowCursor] setOnMouseEntered: YES]; +#endif } -- Hi Philipp, can you please check whether this patch silences the deprecation notices? I’m still on 10.12, so I can’t check myself. -- Alan Third From unknown Mon Aug 18 11:21:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29643: [PATCH] Silence macOS 10.13 deprecation notices (Bug#29643) Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Dec 2017 18:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29643 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Third Cc: 29643@debbugs.gnu.org Received: via spool by 29643-submit@debbugs.gnu.org id=B29643.151344801729179 (code B ref 29643); Sat, 16 Dec 2017 18:14:01 +0000 Received: (at 29643) by debbugs.gnu.org; 16 Dec 2017 18:13:37 +0000 Received: from localhost ([127.0.0.1]:37627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQGxt-0007aY-CL for submit@debbugs.gnu.org; Sat, 16 Dec 2017 13:13:37 -0500 Received: from mail-qt0-f173.google.com ([209.85.216.173]:42808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQGxr-0007aL-BP for 29643@debbugs.gnu.org; Sat, 16 Dec 2017 13:13:36 -0500 Received: by mail-qt0-f173.google.com with SMTP id g9so15771312qth.9 for <29643@debbugs.gnu.org>; Sat, 16 Dec 2017 10:13:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9Qj+fE5vObcVTtbcqFkPE5C5YWMV093FCJJHhb2cY+c=; b=moEm6xKnwwnZcgy/Wi9X2DDsCA40QfAQ2kMbo+P/AmnaIZxs7SxSC6cKA9VM6CN22I Hl5T/TLcy3H+4X38UBVMFdkH/SDoXgl4mkoOKQvhGcfco6DaJtteqrmS9CYRdXrgPIAa zUB8OWF/gpuYisAJhx0WzNbv6r/pDQLulgeaMiawCkAjDwW4eojmPYOqhcb/qPgEXzj2 thZUGNfs8qKPRUqpHSHv6u448MPHjBinwfr49afdRP03MgiImVcQ55iZpBuEdklGHRn3 uHa9nYCqoOCrsupwtpj4jmVWMYr2/24kE8k5GzErsiXR4T0U2QKuSJ4oBdpuXNXu6bb/ t+UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9Qj+fE5vObcVTtbcqFkPE5C5YWMV093FCJJHhb2cY+c=; b=cSSyIoHEM5ZWWri8Y382ZJ3tqCMHO+LVLrWtmIWsqfvvu2EuQHLjCLg63cn10ysVDS ZGNCyEc4hCMcdDaRGRGW6RFDjrBcKSz9A3399FcbngUxl1HfAoaDX3fV7jzKo6u5v4rG gVk4YOQTJn6rCX3FbBczOJIW4B1hxMJLl20Woz2gc9SWkaWYDBQJodryUdlor0GYHlgp nfILOOVc0vzuXZboH98z7gYIQgsz40uKlHgorWp4Us66CRAXKXq5MRVyK7Gf1gZyi145 g36pakj3CkEI62YMB2qzPAsG0XoADz8YCJ2WS98KuRgXei3SXzd11JRR2J1wtPR4ISCn IttA== X-Gm-Message-State: AKGB3mK/wunAQv9akVUcr94g0Fp43T12lTJc59BuQJeIr70+F6AOKAHW LDU7poPj88UU4DIu6uYZpBGglgIadUzyX8aFySQ= X-Google-Smtp-Source: ACJfBouVPdCyOlKAfsadWPvFBHsvOiFyrPeGqj+JRQbiK+LggmQkXteN6DXPLcpG+HPYNnxbnQXU6JWnyoGD7osSwyg= X-Received: by 10.200.35.28 with SMTP id a28mr29847955qta.51.1513448009777; Sat, 16 Dec 2017 10:13:29 -0800 (PST) MIME-Version: 1.0 References: <20171210202737.GA78649@breton.holly.idiocy.org> In-Reply-To: <20171210202737.GA78649@breton.holly.idiocy.org> From: Philipp Stephani Date: Sat, 16 Dec 2017 18:13:19 +0000 Message-ID: Content-Type: multipart/alternative; boundary="001a113a870a02480e056079138d" X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) --001a113a870a02480e056079138d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, the patch works fine. Alan Third schrieb am So., 10. Dez. 2017 um 21:27 Uhr: > * src/nsfns.m (Fx_display_backing_store): > (Fx_display_save_under): Don't use NSBackingStoreRetained or > NSBackingStoreNonretained on macOS 10.13+. > * src/nsselect.m (symbol_to_nsstring): > (ns_string_to_symbol): > (nxatoms_of_nsselect): Replace NSGeneralPboard with > NSPasteboardNameGeneral. > * src/nsterm.h: #define NSPasteboardNameGeneral to NSGeneralPboard on > GNUstep and macOS < 10.13. > * src/nsterm.m (EmacsView::resetCursorRects): > (EmacsScroller::resetCursorRects): Don't use setOnMouseEntered on > macOS 10.13+. > --- > src/nsfns.m | 4 ++++ > src/nsselect.m | 8 ++++---- > src/nsterm.h | 5 +++++ > src/nsterm.m | 17 +++++++++++++++-- > 4 files changed, 28 insertions(+), 6 deletions(-) > > diff --git a/src/nsfns.m b/src/nsfns.m > index 8172268167..064b476fb4 100644 > --- a/src/nsfns.m > +++ b/src/nsfns.m > @@ -1896,10 +1896,12 @@ and GNUstep implementations ("distributor-specifi= c > release > { > case NSBackingStoreBuffered: > return intern ("buffered"); > +#if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 101300 > case NSBackingStoreRetained: > return intern ("retained"); > case NSBackingStoreNonretained: > return intern ("non-retained"); > +#endif > default: > error ("Strange value for backingType parameter of frame"); > } > @@ -1953,9 +1955,11 @@ and GNUstep implementations ("distributor-specific > release > case NSBackingStoreBuffered: > return Qt; > > +#if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 101300 > case NSBackingStoreRetained: > case NSBackingStoreNonretained: > return Qnil; > +#endif > > default: > error ("Strange value for backingType parameter of frame"); > diff --git a/src/nsselect.m b/src/nsselect.m > index 067c7788e8..d1ce9437a7 100644 > --- a/src/nsselect.m > +++ b/src/nsselect.m > @@ -36,7 +36,7 @@ Updated by Christian Limpach (chris@nice.ch) > > static Lisp_Object Vselection_alist; > > -/* NSGeneralPboard is pretty much analogous to X11 CLIPBOARD */ > +/* NSPasteboardNameGeneral is pretty much analogous to X11 CLIPBOARD */ > static NSString *NXPrimaryPboard; > static NSString *NXSecondaryPboard; > > @@ -54,7 +54,7 @@ Updated by Christian Limpach (chris@nice.ch) > symbol_to_nsstring (Lisp_Object sym) > { > CHECK_SYMBOL (sym); > - if (EQ (sym, QCLIPBOARD)) return NSGeneralPboard; > + if (EQ (sym, QCLIPBOARD)) return NSPasteboardNameGeneral; > if (EQ (sym, QPRIMARY)) return NXPrimaryPboard; > if (EQ (sym, QSECONDARY)) return NXSecondaryPboard; > if (EQ (sym, QTEXT)) return NSStringPboardType; > @@ -70,7 +70,7 @@ Updated by Christian Limpach (chris@nice.ch) > static Lisp_Object > ns_string_to_symbol (NSString *t) > { > - if ([t isEqualToString: NSGeneralPboard]) > + if ([t isEqualToString: NSPasteboardNameGeneral]) > return QCLIPBOARD; > if ([t isEqualToString: NXPrimaryPboard]) > return QPRIMARY; > @@ -469,7 +469,7 @@ Updated by Christian Limpach (chris@nice.ch) > pasteboard_changecount > =3D [[NSMutableDictionary > dictionaryWithObjectsAndKeys: > - [NSNumber numberWithLong:0], NSGeneralPboard, > + [NSNumber numberWithLong:0], NSPasteboardNameGeneral, > [NSNumber numberWithLong:0], NXPrimaryPboard, > [NSNumber numberWithLong:0], NXSecondaryPboard, > [NSNumber numberWithLong:0], NSStringPboardType, > diff --git a/src/nsterm.h b/src/nsterm.h > index c81bf5fb63..e669c95931 100644 > --- a/src/nsterm.h > +++ b/src/nsterm.h > @@ -1322,5 +1322,10 @@ enum NSWindowTabbingMode > NSWindowTabbingModePreferred, > NSWindowTabbingModeDisallowed > }; > +#endif /* !defined (NS_IMPL_COCOA) || !defined (MAC_OS_X_VERSION_10_12) > */ > + > +#if !defined (NS_IMPL_COCOA) || !defined (MAC_OS_X_VERSION_10_13) > +/* Deprecated in macOS 10.13. */ > +#define NSPasteboardNameGeneral NSGeneralPboard > #endif > #endif /* HAVE_NS */ > diff --git a/src/nsterm.m b/src/nsterm.m > index 50e06c94d4..07ac8f978f 100644 > --- a/src/nsterm.m > +++ b/src/nsterm.m > @@ -6016,7 +6016,13 @@ - (void)resetCursorRects > > if (!NSIsEmptyRect (visible)) > [self addCursorRect: visible cursor: currentCursor]; > - [currentCursor setOnMouseEntered: YES]; > + > +#if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 101300 > +#if MAC_OS_X_VERSION_MAX_ALLOWED >=3D 101300 > + if ([currentCursor respondsToSelector: @selector(setOnMouseEntered)]) > +#endif > + [currentCursor setOnMouseEntered: YES]; > +#endif > } > > > @@ -8746,7 +8752,14 @@ - (void)resetCursorRects > > if (!NSIsEmptyRect (visible)) > [self addCursorRect: visible cursor: [NSCursor arrowCursor]]; > - [[NSCursor arrowCursor] setOnMouseEntered: YES]; > + > +#if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 101300 > +#if MAC_OS_X_VERSION_MAX_ALLOWED >=3D 101300 > + if ([[NSCursor arrowCursor] respondsToSelector: > + @selector(setOnMouseEntered)]) > +#endif > + [[NSCursor arrowCursor] setOnMouseEntered: YES]; > +#endif > } > > > -- > > Hi Philipp, can you please check whether this patch silences the > deprecation notices? > > I=E2=80=99m still on 10.12, so I can=E2=80=99t check myself. > > -- > Alan Third > --001a113a870a02480e056079138d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, the patch works fine.

Alan Third <= alan@idiocy.org> schrieb am So., 10. Dez. 2017 um 21:27=C2=A0Uhr:
* src/nsfns.m (Fx_display_backing_sto= re):
(Fx_display_save_under): Don't use NSBackingStoreRetained or
NSBackingStoreNonretained on macOS 10.13+.
* src/nsselect.m (symbol_to_nsstring):
(ns_string_to_symbol):
(nxatoms_of_nsselect): Replace NSGeneralPboard with
NSPasteboardNameGeneral.
* src/nsterm.h: #define NSPasteboardNameGeneral to NSGeneralPboard on
GNUstep and macOS < 10.13.
* src/nsterm.m (EmacsView::resetCursorRects):
(EmacsScroller::resetCursorRects): Don't use setOnMouseEntered on
macOS 10.13+.
---
=C2=A0src/nsfns.m=C2=A0 =C2=A0 |=C2=A0 4 ++++
=C2=A0src/nsselect.m |=C2=A0 8 ++++----
=C2=A0src/nsterm.h=C2=A0 =C2=A0|=C2=A0 5 +++++
=C2=A0src/nsterm.m=C2=A0 =C2=A0| 17 +++++++++++++++--
=C2=A04 files changed, 28 insertions(+), 6 deletions(-)

diff --git a/src/nsfns.m b/src/nsfns.m
index 8172268167..064b476fb4 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -1896,10 +1896,12 @@ and GNUstep implementations ("distributor-spec= ific release
=C2=A0 =C2=A0 =C2=A0{
=C2=A0 =C2=A0 =C2=A0case NSBackingStoreBuffered:
=C2=A0 =C2=A0 =C2=A0 =C2=A0return intern ("buffered");
+#if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 101300=
=C2=A0 =C2=A0 =C2=A0case NSBackingStoreRetained:
=C2=A0 =C2=A0 =C2=A0 =C2=A0return intern ("retained");
=C2=A0 =C2=A0 =C2=A0case NSBackingStoreNonretained:
=C2=A0 =C2=A0 =C2=A0 =C2=A0return intern ("non-retained");
+#endif
=C2=A0 =C2=A0 =C2=A0default:
=C2=A0 =C2=A0 =C2=A0 =C2=A0error ("Strange value for backingType param= eter of frame");
=C2=A0 =C2=A0 =C2=A0}
@@ -1953,9 +1955,11 @@ and GNUstep implementations ("distributor-speci= fic release
=C2=A0 =C2=A0 =C2=A0case NSBackingStoreBuffered:
=C2=A0 =C2=A0 =C2=A0 =C2=A0return Qt;

+#if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 101300=
=C2=A0 =C2=A0 =C2=A0case NSBackingStoreRetained:
=C2=A0 =C2=A0 =C2=A0case NSBackingStoreNonretained:
=C2=A0 =C2=A0 =C2=A0 =C2=A0return Qnil;
+#endif

=C2=A0 =C2=A0 =C2=A0default:
=C2=A0 =C2=A0 =C2=A0 =C2=A0error ("Strange value for backingType param= eter of frame");
diff --git a/src/nsselect.m b/src/nsselect.m
index 067c7788e8..d1ce9437a7 100644
--- a/src/nsselect.m
+++ b/src/nsselect.m
@@ -36,7 +36,7 @@ Updated by Christian Limpach (chris@nice.ch)

=C2=A0static Lisp_Object Vselection_alist;

-/* NSGeneralPboard is pretty much analogous to X11 CLIPBOARD */
+/* NSPasteboardNameGeneral is pretty much analogous to X11 CLIPBOARD */ =C2=A0static NSString *NXPrimaryPboard;
=C2=A0static NSString *NXSecondaryPboard;

@@ -54,7 +54,7 @@ Updated by Christian Limpach (chris@nice.ch)
=C2=A0symbol_to_nsstring (Lisp_Object sym)
=C2=A0{
=C2=A0 =C2=A0CHECK_SYMBOL (sym);
-=C2=A0 if (EQ (sym, QCLIPBOARD))=C2=A0 =C2=A0return NSGeneralPboard;
+=C2=A0 if (EQ (sym, QCLIPBOARD))=C2=A0 =C2=A0return NSPasteboardNameGenera= l;
=C2=A0 =C2=A0if (EQ (sym, QPRIMARY))=C2=A0 =C2=A0 =C2=A0return NXPrimaryPbo= ard;
=C2=A0 =C2=A0if (EQ (sym, QSECONDARY))=C2=A0 =C2=A0return NXSecondaryPboard= ;
=C2=A0 =C2=A0if (EQ (sym, QTEXT))=C2=A0 =C2=A0 =C2=A0 =C2=A0 return NSStrin= gPboardType;
@@ -70,7 +70,7 @@ Updated by Christian Limpach (chris@nice.ch)
=C2=A0static Lisp_Object
=C2=A0ns_string_to_symbol (NSString *t)
=C2=A0{
-=C2=A0 if ([t isEqualToString: NSGeneralPboard])
+=C2=A0 if ([t isEqualToString: NSPasteboardNameGeneral])
=C2=A0 =C2=A0 =C2=A0return QCLIPBOARD;
=C2=A0 =C2=A0if ([t isEqualToString: NXPrimaryPboard])
=C2=A0 =C2=A0 =C2=A0return QPRIMARY;
@@ -469,7 +469,7 @@ Updated by Christian Limpach (chris@nice.ch)
=C2=A0 =C2=A0pasteboard_changecount
=C2=A0 =C2=A0 =C2=A0=3D [[NSMutableDictionary
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dictionaryWithObjectsAndKeys:
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [NSNumber numberWithLong:0], NSG= eneralPboard,
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [NSNumber numberWithLong:0], NSP= asteboardNameGeneral,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[NSNumber numberWithLong:0]= , NXPrimaryPboard,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[NSNumber numberWithLong:0]= , NXSecondaryPboard,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[NSNumber numberWithLong:0]= , NSStringPboardType,
diff --git a/src/nsterm.h b/src/nsterm.h
index c81bf5fb63..e669c95931 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -1322,5 +1322,10 @@ enum NSWindowTabbingMode
=C2=A0 =C2=A0 =C2=A0NSWindowTabbingModePreferred,
=C2=A0 =C2=A0 =C2=A0NSWindowTabbingModeDisallowed
=C2=A0 =C2=A0};
+#endif /* !defined (NS_IMPL_COCOA) || !defined (MAC_OS_X_VERSION_10_12)=C2= =A0 */
+
+#if !defined (NS_IMPL_COCOA) || !defined (MAC_OS_X_VERSION_10_13)
+/* Deprecated in macOS 10.13.=C2=A0 */
+#define NSPasteboardNameGeneral NSGeneralPboard
=C2=A0#endif
=C2=A0#endif /* HAVE_NS */
diff --git a/src/nsterm.m b/src/nsterm.m
index 50e06c94d4..07ac8f978f 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -6016,7 +6016,13 @@ - (void)resetCursorRects

=C2=A0 =C2=A0if (!NSIsEmptyRect (visible))
=C2=A0 =C2=A0 =C2=A0[self addCursorRect: visible cursor: currentCursor]; -=C2=A0 [currentCursor setOnMouseEntered: YES];
+
+#if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 101300=
+#if MAC_OS_X_VERSION_MAX_ALLOWED >=3D 101300
+=C2=A0 if ([currentCursor respondsToSelector: @selector(setOnMouseEntered)= ])
+#endif
+=C2=A0 =C2=A0 [currentCursor setOnMouseEntered: YES];
+#endif
=C2=A0}


@@ -8746,7 +8752,14 @@ - (void)resetCursorRects

=C2=A0 =C2=A0if (!NSIsEmptyRect (visible))
=C2=A0 =C2=A0 =C2=A0[self addCursorRect: visible cursor: [NSCursor arrowCur= sor]];
-=C2=A0 [[NSCursor arrowCursor] setOnMouseEntered: YES];
+
+#if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 101300=
+#if MAC_OS_X_VERSION_MAX_ALLOWED >=3D 101300
+=C2=A0 if ([[NSCursor arrowCursor] respondsToSelector:
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 @selector(setOnMouseEntered)])
+#endif
+=C2=A0 =C2=A0 [[NSCursor arrowCursor] setOnMouseEntered: YES];
+#endif
=C2=A0}


--

Hi Philipp, can you please check whether this patch silences the
deprecation notices?

I=E2=80=99m still on 10.12, so I can=E2=80=99t check myself.

--
Alan Third
--001a113a870a02480e056079138d-- From unknown Mon Aug 18 11:21:10 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Philipp Subject: bug#29643: closed (Re: bug#29643: [PATCH] Silence macOS 10.13 deprecation notices (Bug#29643)) Message-ID: References: <20171217000842.GA14555@breton.holly.idiocy.org> X-Gnu-PR-Message: they-closed 29643 X-Gnu-PR-Package: emacs Reply-To: 29643@debbugs.gnu.org Date: Sun, 17 Dec 2017 00:09:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1513469342-29186-1" This is a multi-part message in MIME format... ------------=_1513469342-29186-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #29643: 27.0.50; Deprecation warnings on macOS High Sierra 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 29643@debbugs.gnu.org. --=20 29643: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29643 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1513469342-29186-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 29643-done) by debbugs.gnu.org; 17 Dec 2017 00:08:53 +0000 Received: from localhost ([127.0.0.1]:37846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQMVg-0007aQ-Qt for submit@debbugs.gnu.org; Sat, 16 Dec 2017 19:08:52 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:42779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQMVe-0007aD-RM for 29643-done@debbugs.gnu.org; Sat, 16 Dec 2017 19:08:51 -0500 Received: by mail-wm0-f52.google.com with SMTP id b199so23522556wme.1 for <29643-done@debbugs.gnu.org>; Sat, 16 Dec 2017 16:08:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=fDHad5q8uUl96qRmznLQsb6lhc0uqMMH5gPExTCSPhk=; b=jUub+ratSsrmS6AKuzXbak1I73603oun9e3BQ4BhmyuQ69I7GGC3rEBnyIREWkd9+u ZEcSmO/fAr3O82KCwbvCiCOI/F8TSQd7plHp9AfpbJvvf/edQUynv2/gaMhuZjRJHFFS iBPMgObJH+LNwVN9tJ/dpp8ZtgQcCC9aCLVx2cuB7dR4OEzpMfcQOikd9S6L/AE1B3aq VIkzGAn+Ij26MZ/WWGMmyiON4tY5LHBA8SA7GI+7EmJn/uDB9QGM3KX55lrDaAYdbNAZ ++YSQyBxGDncEjJjsKclZqsE3HF3TjFi9/tdLnUFt7RW2q211EekEaQfO8UCS+akui+Q ofvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=fDHad5q8uUl96qRmznLQsb6lhc0uqMMH5gPExTCSPhk=; b=LFbaQnl0BqEIPu8/0oiYOSY8p+O9HomSI30+klMcE029ZUkKv90Wis3L66DpOYly8D 8/OzHSr+XVjnd2mMd9jDjawVj75d8g1XIxsWQ23PKCVuWnGHdN4sCfl3uLZ574dw33+9 ojvEZ22o0z6mQlOPYRQRleVZyg0i7oVo4yiA8Bm9mb+HGE2vMjXkLgiUezlwJR5l93Kd 6QWT8MRx5a5lW3oft1TMOSPSI6XSlka63Lvoyj3Zl96xHc8FFmW6yC6qFFSuBKt7VH7C 8WqloTUXIUzVnHgpdiQsE8INGeY8p3nhSrvh/t9TKpqnJc+lcewci2xIXcKSg0cjqOCZ Q6YA== X-Gm-Message-State: AKGB3mLU6qKOPXq+jHAypoAgUbCP9SDXrA2FKP2ycEYAzq4ko7m8MhoP 0aHoqC4PIojS3jhR2ocowfc= X-Google-Smtp-Source: ACJfBouAmwd7EbcGBLfpK0OQG9Rv798iyD/h3akuJeEIZQwVkn8JhsZRQYKTbg1b9FCrXfDLIpwTDw== X-Received: by 10.28.142.193 with SMTP id q184mr7726778wmd.62.1513469324950; Sat, 16 Dec 2017 16:08:44 -0800 (PST) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-f9b9-51e6-17ae-73d0.holly.idiocy.org. [2001:8b0:3f8:8129:f9b9:51e6:17ae:73d0]) by smtp.gmail.com with ESMTPSA id u46sm5609018wrc.26.2017.12.16.16.08.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Dec 2017 16:08:44 -0800 (PST) Date: Sun, 17 Dec 2017 00:08:42 +0000 From: Alan Third To: Philipp Stephani Subject: Re: bug#29643: [PATCH] Silence macOS 10.13 deprecation notices (Bug#29643) Message-ID: <20171217000842.GA14555@breton.holly.idiocy.org> References: <20171210202737.GA78649@breton.holly.idiocy.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 29643-done Cc: 29643-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) On Sat, Dec 16, 2017 at 06:13:19PM +0000, Philipp Stephani wrote: > Thanks, the patch works fine. Thanks! Pushed to master. -- Alan Third ------------=_1513469342-29186-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Dec 2017 13:57:52 +0000 Received: from localhost ([127.0.0.1]:54607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eO275-0004iD-L3 for submit@debbugs.gnu.org; Sun, 10 Dec 2017 08:57:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eO273-0004i0-F1 for submit@debbugs.gnu.org; Sun, 10 Dec 2017 08:57:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO26w-0004CJ-I8 for submit@debbugs.gnu.org; Sun, 10 Dec 2017 08:57:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35670) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eO26w-0004CB-De for submit@debbugs.gnu.org; Sun, 10 Dec 2017 08:57:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO26u-00024F-Fc for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2017 08:57:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO26s-00049o-V5 for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2017 08:57:40 -0500 Received: from mail-wr0-x22a.google.com ([2a00:1450:400c:c0c::22a]:36830) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eO26s-00049L-Lo for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2017 08:57:38 -0500 Received: by mail-wr0-x22a.google.com with SMTP id v105so14971416wrc.3 for ; Sun, 10 Dec 2017 05:57:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=/X/T7KHhVXi3+2Anx5tf6u1GaxWZqZmodZB25VqWlhc=; b=M4huGfWVaFItKhQHIEl6dxykeBqqym644rj/zI/Gz2+ShVqbNBphZl4GDw4gxSA3of liMrqbMs7YfzMTG8DgCMTYKuz0z94DOCvJQUmIl68f506nM79Bt5mZSY3Ana++BrgjYo cF1WABm2voULGDRlC4DmPgamq5aRGrF3Ret3fE4PinjvO0/ZNEF2pcxlYkqWMmwWIecE 9WgXxa3tUIKWB9ERSRnR625KQS8bYUdD3WnT7csEXVDKT9SKhYCuN7i8Stm4QBlRB/la IltHN4hcfGg4riJmKFmoxqr6WS5HdDaRYbMDNFTlTpfJXugzOm005EK+ez45URB8AKvk ZrKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=/X/T7KHhVXi3+2Anx5tf6u1GaxWZqZmodZB25VqWlhc=; b=BgyeYSp3YJvLByLxNA3PmOmzJZlsEbVAMdbqn5XUcGe8RR8KhfUM7XQRi1Q2fCkJnT cbLsmSAdRnwxXhP2yxoxhfGb4nR7sKKh4rg9h0BAtKl6Iy0bzk7x9HvjcGUw9teq9KNC JiD2vuMGfHOi5063C7vn34BfUV9aoKNT10WQUblxGGi8qpxgrRG69bBRrlv1hljuPJET MEvTX4HgdcWPIpnZMVNNdieGZ9u81LM1ZZ7HsfNrCPQRTzigGroMLHpqySNwHq/w7SEM 2c6IJaNJ+0hvZ7z4O/8kHPpPxO9ufw2eK2xRktCFvKoVWLcp4A5urKvSlPdHA2VAtKuF 6IJQ== X-Gm-Message-State: AJaThX5aMzjWyygFmcm37n4hd9fTDJEIF8PdXmONovn9vAoUn+CDxhcN 6Mvb4y1ovVHsuf+fpdr7+NrwygWQ X-Google-Smtp-Source: AGs4zMaBksQ7lwKYQTxJZ3ZBJZJXnNV41m3BeXaSysnZmIbC4mh2UB+GQWNHLIN8KCzYsnkVtvFX8A== X-Received: by 10.223.195.113 with SMTP id e46mr30851790wrg.149.1512914256966; Sun, 10 Dec 2017 05:57:36 -0800 (PST) Received: from p ([2001:4c50:25a:f300:504b:a1c8:b0b5:7594]) by smtp.gmail.com with ESMTPSA id j77sm8621704wmf.36.2017.12.10.05.57.36 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 10 Dec 2017 05:57:36 -0800 (PST) From: Philipp To: bug-gnu-emacs@gnu.org Subject: 27.0.50; Deprecation warnings on macOS High Sierra Date: Sun, 10 Dec 2017 14:57:35 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) When building Emacs on macOS High Sierra, I get the following deprecation warnings: nsterm.m:6019:18: warning: 'setOnMouseEntered:' is deprecated: first deprecated in macOS 10.13 - setOnMouseEntered is unused and should not be called [-Wdeprecated-declarations] [currentCursor setOnMouseEntered: YES]; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCursor.h:77:1: note: 'setOnMouseEntered:' has been explicitly marked deprecated here - (void)setOnMouseEntered:(BOOL)flag NS_DEPRECATED_MAC(10_0, 10_13, "setOnMouseEntered is unused and should not be called"); ^ nsterm.m:8749:27: warning: 'setOnMouseEntered:' is deprecated: first deprecated in macOS 10.13 - setOnMouseEntered is unused and should not be called [-Wdeprecated-declarations] [[NSCursor arrowCursor] setOnMouseEntered: YES]; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCursor.h:77:1: note: 'setOnMouseEntered:' has been explicitly marked deprecated here - (void)setOnMouseEntered:(BOOL)flag NS_DEPRECATED_MAC(10_0, 10_13, "setOnMouseEntered is unused and should not be called"); ^ 2 warnings generated. CC nsfns.o nsfns.m:1899:10: warning: 'NSBackingStoreRetained' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations] case NSBackingStoreRetained: ^~~~~~~~~~~~~~~~~~~~~~ NSBackingStoreBuffered /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:96:5: note: 'NSBackingStoreRetained' has been explicitly marked deprecated here NSBackingStoreRetained NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSBackingStoreBuffered", 10.0, 10.13) = 0, ^ nsfns.m:1901:10: warning: 'NSBackingStoreNonretained' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations] case NSBackingStoreNonretained: ^~~~~~~~~~~~~~~~~~~~~~~~~ NSBackingStoreBuffered /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:97:5: note: 'NSBackingStoreNonretained' has been explicitly marked deprecated here NSBackingStoreNonretained NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSBackingStoreBuffered", 10.0, 10.13) = 1, ^ nsfns.m:1956:10: warning: 'NSBackingStoreRetained' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations] case NSBackingStoreRetained: ^~~~~~~~~~~~~~~~~~~~~~ NSBackingStoreBuffered /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:96:5: note: 'NSBackingStoreRetained' has been explicitly marked deprecated here NSBackingStoreRetained NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSBackingStoreBuffered", 10.0, 10.13) = 0, ^ nsfns.m:1957:10: warning: 'NSBackingStoreNonretained' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations] case NSBackingStoreNonretained: ^~~~~~~~~~~~~~~~~~~~~~~~~ NSBackingStoreBuffered /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:97:5: note: 'NSBackingStoreNonretained' has been explicitly marked deprecated here NSBackingStoreNonretained NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSBackingStoreBuffered", 10.0, 10.13) = 1, ^ 4 warnings generated. CC nsmenu.o CC nsselect.o nsselect.m:57:38: warning: 'NSGeneralPboard' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations] if (EQ (sym, QCLIPBOARD)) return NSGeneralPboard; ^~~~~~~~~~~~~~~ NSPasteboardNameGeneral /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:343:32: note: 'NSGeneralPboard' has been explicitly marked deprecated here APPKIT_EXTERN NSPasteboardName NSGeneralPboard NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardNameGeneral", 10.0, 10.13); ^ nsselect.m:73:27: warning: 'NSGeneralPboard' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations] if ([t isEqualToString: NSGeneralPboard]) ^~~~~~~~~~~~~~~ NSPasteboardNameGeneral /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:343:32: note: 'NSGeneralPboard' has been explicitly marked deprecated here APPKIT_EXTERN NSPasteboardName NSGeneralPboard NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardNameGeneral", 10.0, 10.13); ^ nsselect.m:472:36: warning: 'NSGeneralPboard' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations] [NSNumber numberWithLong:0], NSGeneralPboard, ^~~~~~~~~~~~~~~ NSPasteboardNameGeneral /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:343:32: note: 'NSGeneralPboard' has been explicitly marked deprecated here APPKIT_EXTERN NSPasteboardName NSGeneralPboard NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardNameGeneral", 10.0, 10.13); In GNU Emacs 27.0.50 (build 20, x86_64-apple-darwin17.2.0, NS appkit-1561.10 Version 10.13.1 (Build 17B1003)) of 2017-12-10 built on p Repository revision: ab203e36d5f84a99b6d4b04f1a22ba028be750e3 Windowing system distributor 'Apple', version 10.3.1561 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --enable-checking --enable-check-lisp-object-type --enable-gtk-deprecation-warnings --with-modules --without-xml2 --without-pop --with-mailutils --enable-gcc-warnings=warn-only MAKEINFO=/usr/local/opt/texinfo/bin/makeinfo 'CFLAGS=-O0 -ggdb3' LDFLAGS=-O0' Configured features: NOTIFY ACL GNUTLS ZLIB TOOLKIT_SCROLL_BARS NS MODULES JSON Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 204682 7183) (symbols 48 20164 1) (miscs 40 57 176) (strings 32 28803 1608) (string-bytes 1 764939) (vectors 16 35163) (vector-slots 8 719992 9580) (floats 8 52 64) (intervals 56 214 0) (buffers 992 11)) ------------=_1513469342-29186-1--