From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Charles A. Roelli" Newsgroups: gmane.emacs.bugs Subject: bug#27810: NS runtime feature detection Date: Tue, 25 Jul 2017 20:22:14 +0200 Message-ID: References: <20170718221629.GA55506@breton.holly.idiocy.org> <20170722112230.GA58424@breton.holly.idiocy.org> <20170723121701.GA3730@breton.holly.idiocy.org> <508a4930-feab-588b-0ab9-f55a10ea85ec@aurox.ch> <20170724204404.GA20189@breton.holly.idiocy.org> <20170725175658.GA20438@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1501007019 1793 195.159.176.226 (25 Jul 2017 18:23:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Jul 2017 18:23:39 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cc: Anders Lindgren , 27810@debbugs.gnu.org To: Alan Third , Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 25 20:23:35 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1da4US-0008OH-BG for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Jul 2017 20:23:28 +0200 Original-Received: from localhost ([::1]:34093 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1da4UX-0004re-Vb for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Jul 2017 14:23:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1da4U6-0004cy-0B for bug-gnu-emacs@gnu.org; Tue, 25 Jul 2017 14:23:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1da4U2-0000yc-R0 for bug-gnu-emacs@gnu.org; Tue, 25 Jul 2017 14:23:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53576) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1da4U2-0000yP-MH for bug-gnu-emacs@gnu.org; Tue, 25 Jul 2017 14:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1da4U2-000515-GQ for bug-gnu-emacs@gnu.org; Tue, 25 Jul 2017 14:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Charles A. Roelli" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Jul 2017 18:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27810 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27810-submit@debbugs.gnu.org id=B27810.150100694019196 (code B ref 27810); Tue, 25 Jul 2017 18:23:02 +0000 Original-Received: (at 27810) by debbugs.gnu.org; 25 Jul 2017 18:22:20 +0000 Original-Received: from localhost ([127.0.0.1]:56253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1da4TM-0004zX-Al for submit@debbugs.gnu.org; Tue, 25 Jul 2017 14:22:20 -0400 Original-Received: from sinyavsky.aurox.ch ([37.35.109.145]:44982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1da4TK-0004zD-5t for 27810@debbugs.gnu.org; Tue, 25 Jul 2017 14:22:19 -0400 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 289ED224CC for <27810@debbugs.gnu.org>; Tue, 25 Jul 2017 18:16:48 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:to:subject:subject; s=dkim; t=1501006606; x= 1501870607; bh=KFvPNkTHrzpOoqN01S/IKdD+WwPKAgfcduAQmWfCUw8=; b=N H4v5yNSqZOm57pQxXmJrMGj+0J6fKvhtanIwVV03P4+erzpAN344pDmddMnSkj3I taT9t5UvqZOYd0inxBjeb8Dj7rrfIVCcl6kmOqr/kSWLscc6G2sN1zPu3vRxvoM4 cDcUnfourFhyBfjX+yKA6QqtFNzKZ5yZtcOwjeFZHs= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Original-Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kwRiILrb3MgI for <27810@debbugs.gnu.org>; Tue, 25 Jul 2017 18:16:46 +0000 (UTC) Original-Received: from [192.168.1.120] (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 5E30D224A4; Tue, 25 Jul 2017 18:16:46 +0000 (UTC) In-Reply-To: <20170725175658.GA20438@breton.holly.idiocy.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134989 Archived-At: I'm not attached to 10.6, but if we can keep supporting it, I'd like to. And for what it's worth, there are 11 places in nsterm.m with version-specific code (unless I've missed some): 12 matches for "MAC_OS_X_VERSION_MAX_ALLOWED" in buffer: nsterm.m 140:#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 157:#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 5567: MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_9 6329: MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 7036: MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_9 7098: MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_9 7365:#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 7516: MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 7547: MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_9 8109:#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 8120:#endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 */ 8327: MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 which seems manageable. But if and when support for earlier macOSen causes problems, then I'd have no objections removing support. On 25/07/2017 19:56, Alan Third wrote: > On Mon, Jul 24, 2017 at 04:53:02PM -0400, Glenn Morris wrote: >> FWIW, a comment from someone who is disinterested in OS X: >> >> You could probably make your life easier by not supporting more >> than Apple does. Eg on the net I read: >> >> Apple is only supporting Mac OS X 10.9 – 10.11. Apple stopped >> providing security updates for Mac OS 10.8 and earlier versions with >> the release of Mac OS X 10.11 (El Capitan) in 2015. > It would make life a lot easier, we could get rid of almost all > version dependent code. Just dropping support for 10.6 would remove a > lot too. > > I doubt Charles would like that, though, and he’s the only other > person regularly working on the NS port.