From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#27810: NS runtime feature detection Date: Tue, 25 Jul 2017 22:08:36 +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: multipart/alternative; boundary="001a114fbd16982f0d055529e5a4" X-Trace: blaine.gmane.org 1501013357 32494 195.159.176.226 (25 Jul 2017 20:09:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Jul 2017 20:09:17 +0000 (UTC) Cc: Alan Third , 27810@debbugs.gnu.org To: "Charles A. Roelli" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 25 22:09:13 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 1da68h-0007xQ-Nd for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Jul 2017 22:09:07 +0200 Original-Received: from localhost ([::1]:34465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1da68n-0006UP-Dd for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Jul 2017 16:09:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1da68h-0006U5-BR for bug-gnu-emacs@gnu.org; Tue, 25 Jul 2017 16:09:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1da68c-0004Ug-FS for bug-gnu-emacs@gnu.org; Tue, 25 Jul 2017 16:09:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53677) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1da68c-0004UW-BH for bug-gnu-emacs@gnu.org; Tue, 25 Jul 2017 16:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1da68b-0008Ak-VP for bug-gnu-emacs@gnu.org; Tue, 25 Jul 2017 16:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Jul 2017 20:09: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.150101332631380 (code B ref 27810); Tue, 25 Jul 2017 20:09:01 +0000 Original-Received: (at 27810) by debbugs.gnu.org; 25 Jul 2017 20:08:46 +0000 Original-Received: from localhost ([127.0.0.1]:56354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1da68L-0008A3-4q for submit@debbugs.gnu.org; Tue, 25 Jul 2017 16:08:45 -0400 Original-Received: from mail-ua0-f177.google.com ([209.85.217.177]:35271) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1da68J-00089m-7R for 27810@debbugs.gnu.org; Tue, 25 Jul 2017 16:08:43 -0400 Original-Received: by mail-ua0-f177.google.com with SMTP id d29so99924361uai.2 for <27810@debbugs.gnu.org>; Tue, 25 Jul 2017 13:08:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cWK0cVW3t+OGryC5QBYgr1DWkONkhmXmZ+E4yJnfhjw=; b=JlspnN5uoUC+Nyv4fHo4EA0JEC5TirvDzwXp4G+VOYwbWwQtW0xSUZNPsJ7sIhPq0U Kx5tkOpEmGB/2z225OWD2q8y1LSi8i8WGLaPtQE48DbkNaVz9cVLtvTGbjBJTolJjQnC nyeCwmG+f4vSdmOtR2O+hEQgA4uJC+06FV1hQuwVojW8T3gtRazg0pcZkBTJodSx9CZj 2QpaXBcQ+UGROUXOfyIwN0WWCyC64bDt7kx0djVfEWjXd0r3XBTmAkPNtSERkMeXL1pS P149Z8HRKohDLRRs7idPTKG6pojgZZcoEWkO+Ue8bCDck3qgfcb6cTALJPgb61pwL8ok /HzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cWK0cVW3t+OGryC5QBYgr1DWkONkhmXmZ+E4yJnfhjw=; b=c/DWfgNZTaGV+RbcxgS+w9C5pCwPmBdFllfUvM392u8StKVVqvw38dWMMRf/oDmiRK 4ZuIEeMrU3jUW4KujhpQICjCATnSK47uwXIj9LMEJzLcbpvKDkMaaaul1wWA6fQbnFPm ogbwENha4JuTnEwm9i39QKErjOoVdnbmkZRFUKYc4mZXKV6Ok6nePMimaJ7lmbmTeCEG 2kzSzybIFML5vkN2fYvNIsjUmeitowHvjsnmLMSjLbkxhqP0MIKkRFOc/4sw+TLvepEd 4gA+MWHKXbRU8J44OgxB9CwTx43iFX5OVexQfuzdOnHQg3+woASAPu9t7BnlHTvak9Z+ Q97Q== X-Gm-Message-State: AIVw110UHXDLGrFmjaNv5QQv9YAaOK3Wwrn9ZEkPL1A70biF0YPstG9H +hH1QTRH7iddG5PFP9L9zWQyag/NjA== X-Received: by 10.176.68.71 with SMTP id m65mr6641812uam.121.1501013317527; Tue, 25 Jul 2017 13:08:37 -0700 (PDT) Original-Received: by 10.31.210.2 with HTTP; Tue, 25 Jul 2017 13:08:36 -0700 (PDT) In-Reply-To: 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:134993 Archived-At: --001a114fbd16982f0d055529e5a4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi! There are a lot of Mac:s still used where the last supported OS version is 10.6.8. It would be a nice touch to support them, at least as long as all we need to come up with is a good set of preprocessor tests to exclude code. Of course, should we need to put a lot of effort into maintaining support, I too would vote for dropping them (after all, there are fairly modern versions of Emacs available for them). -- Anders On Tue, Jul 25, 2017 at 8:22 PM, Charles A. Roelli wrote= : > 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 >=3D MAC_OS_X_VERSION_10_7 > 157:#if MAC_OS_X_VERSION_MAX_ALLOWED >=3D MAC_OS_X_VERSION_10_7 > 5567: MAC_OS_X_VERSION_MAX_ALLOWED <=3D 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 <=3D MAC_OS_X_VERSION_10_9 > 7098: MAC_OS_X_VERSION_MAX_ALLOWED <=3D MAC_OS_X_VERSION_10_9 > 7365:#if MAC_OS_X_VERSION_MAX_ALLOWED >=3D MAC_OS_X_VERSION_10_7 > 7516: MAC_OS_X_VERSION_MAX_ALLOWED >=3D MAC_OS_X_VERSION_10_9 > 7547: MAC_OS_X_VERSION_MAX_ALLOWED <=3D MAC_OS_X_VERSION_10_9 > 8109:#if MAC_OS_X_VERSION_MAX_ALLOWED >=3D MAC_OS_X_VERSION_10_9 > 8120:#endif /* MAC_OS_X_VERSION_MAX_ALLOWED >=3D 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 =E2=80=93 10.11. Apple stop= ped >>> providing security updates for Mac OS 10.8 and earlier versions wi= th >>> 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=E2=80=99s the only other >> person regularly working on the NS port. >> > > --001a114fbd16982f0d055529e5a4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!

There are a lot of Mac:s still used= where the last supported OS version is 10.6.8. It would be a nice touch to= support them, at least as long as all we need to come up with is a good se= t of preprocessor tests to exclude code. Of course, should we need to put a= lot of effort into maintaining support, I too would vote for dropping them= (after all, there are fairly modern versions of Emacs available for them).=

=C2=A0 =C2=A0 -- Anders

On Tue, Jul 25, 2017 at 8:22 PM= , Charles A. Roelli <charles@aurox.ch> wrote:
I'm not attached to 10.6, but if we can keep support= ing 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=
=C2=A0 =C2=A0 140:#if MAC_OS_X_VERSION_MAX_ALLOWED >=3D MAC_OS_X_VERSION= _10_7
=C2=A0 =C2=A0 157:#if MAC_OS_X_VERSION_MAX_ALLOWED >=3D MAC_OS_X_VERSION= _10_7
=C2=A0 =C2=A05567:=C2=A0 MAC_OS_X_VERSION_MAX_ALLOWED <=3D MAC_OS_X_VERS= ION_10_9
=C2=A0 =C2=A06329:=C2=A0 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION= _10_7
=C2=A0 =C2=A07036:=C2=A0 MAC_OS_X_VERSION_MAX_ALLOWED <=3D MAC_OS_X_VERS= ION_10_9
=C2=A0 =C2=A07098:=C2=A0 MAC_OS_X_VERSION_MAX_ALLOWED <=3D MAC_OS_X_VERS= ION_10_9
=C2=A0 =C2=A07365:#if MAC_OS_X_VERSION_MAX_ALLOWED >=3D MAC_OS_X_VERSION= _10_7
=C2=A0 =C2=A07516:=C2=A0 MAC_OS_X_VERSION_MAX_ALLOWED >=3D MAC_OS_X_VERS= ION_10_9
=C2=A0 =C2=A07547:=C2=A0 MAC_OS_X_VERSION_MAX_ALLOWED <=3D MAC_OS_X_VERS= ION_10_9
=C2=A0 =C2=A08109:#if MAC_OS_X_VERSION_MAX_ALLOWED >=3D MAC_OS_X_VERSION= _10_9
=C2=A0 =C2=A08120:#endif /* MAC_OS_X_VERSION_MAX_ALLOWED >=3D MAC_OS_X_V= ERSION_10_9 */
=C2=A0 =C2=A08327:=C2=A0 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION= _10_7

which seems manageable.=C2=A0 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:

=C2=A0 =C2=A0 =C2=A0Apple is only supporting Mac OS X 10.9 =E2=80=93 10.11.= Apple stopped
=C2=A0 =C2=A0 =C2=A0providing security updates for Mac OS 10.8 and earlier = versions with
=C2=A0 =C2=A0 =C2=A0the 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=E2=80=99s the only other person regularly working on the NS port.


--001a114fbd16982f0d055529e5a4--