From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#27810: NS runtime feature detection Date: Mon, 24 Jul 2017 16:53:02 -0400 Message-ID: References: <20170716230109.GA54914@breton.holly.idiocy.org> <1ce59431-ff6b-dc89-31a6-8fc5bd4e3926@aurox.ch> <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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1500929655 11633 195.159.176.226 (24 Jul 2017 20:54:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Jul 2017 20:54:15 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: "Charles A. Roelli" , Anders Lindgren , 27810@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 24 22:54:09 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 1dZkMi-0002Zj-84 for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jul 2017 22:54:08 +0200 Original-Received: from localhost ([::1]:56950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZkMm-0007oG-35 for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jul 2017 16:54:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZkMd-0007nO-3U for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2017 16:54:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZkMc-0005by-CK for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2017 16:54:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52064) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dZkMc-0005bF-8b for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2017 16:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dZkMb-0001QZ-Ut for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2017 16:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jul 2017 20:54:01 +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.15009296245456 (code B ref 27810); Mon, 24 Jul 2017 20:54:01 +0000 Original-Received: (at 27810) by debbugs.gnu.org; 24 Jul 2017 20:53:44 +0000 Original-Received: from localhost ([127.0.0.1]:54741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZkMK-0001Pw-L3 for submit@debbugs.gnu.org; Mon, 24 Jul 2017 16:53:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZkMI-0001Pj-SY for 27810@debbugs.gnu.org; Mon, 24 Jul 2017 16:53:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZkMC-0005JE-Ni for 27810@debbugs.gnu.org; Mon, 24 Jul 2017 16:53:37 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZkLf-0004qA-EJ; Mon, 24 Jul 2017 16:53:03 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1dZkLf-0002q3-3J; Mon, 24 Jul 2017 16:53:03 -0400 X-Spook: weapons of mass destruction Mossad Whitehouse 64 Vauxhall X-Ran: K]2$4I@EP[h-=fnQ2ftbpuN4DQ{0%l\Q93 X-Hue: red X-Attribution: GM In-Reply-To: <20170724204404.GA20189@breton.holly.idiocy.org> (Alan Third's message of "Mon, 24 Jul 2017 21:44:04 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:134945 Archived-At: Alan Third wrote: > I think perhaps we need to just test '< 10.7'. I've attached a new > patch that deals with that and some other bits and pieces. [...] > I'm unclear where we should be using MIN_REQUIRED vs MAX_ALLOWED, but > I think we're OK with MAX everywhere for what we're doing. I've just > used MAX in both my new macros. > > We need a proper runtime OS version check in a few places. I think > there are two ways of doing this depending on which OS version you're > building on. It's getting very close to circular. ;) > > macfont.m looks like it could be a small nightmare as it has a LOT of > version dependent code. 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 =E2=80=93 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.