From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: ns-do-applescript Date: Wed, 25 May 2022 12:58:41 +1000 Message-ID: <87k0aamhgw.fsf@gmail.com> References: <871qwil517.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1230"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.23; emacs 28.1.50 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 25 05:16:10 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nthVI-00008U-LG for ged-emacs-devel@m.gmane-mx.org; Wed, 25 May 2022 05:16:08 +0200 Original-Received: from localhost ([::1]:44256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nthVG-0000tk-V5 for ged-emacs-devel@m.gmane-mx.org; Tue, 24 May 2022 23:16:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nthTk-0008UH-6Z for emacs-devel@gnu.org; Tue, 24 May 2022 23:14:32 -0400 Original-Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:36804) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nthTi-0007Hm-ED for emacs-devel@gnu.org; Tue, 24 May 2022 23:14:31 -0400 Original-Received: by mail-pl1-x62c.google.com with SMTP id m1so17470775plx.3 for ; Tue, 24 May 2022 20:14:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=OuAHlElg/DOUc2+k1p/18hKEbn/hHJbGCkuDUoTccFE=; b=ZlzGNrkJGAL+/lpVn3Jk0XL8GJKn87BbpOhWhTenod0UOj4/jZjIx4dlW9kqstSiuJ Xt/frhOrbWrLyD6tHAj0YrFo57VXrZYQeZSX7ZSQI4nn0R3IzrKda7bHYSefSmyjZo7d hLGx97dCrvaBISmIIand98+FBwEwRCHK2lzXzClc+CVMfmYXR0Ei1m1CfbxWJwB6Qx2H 9A0pmQmnZnrIueBcEYY8qLzFvpiUaHQMKiSsHLJ8uSqCXOgwr8APFjvjeACd10n7HeAC U3J9rnDVVjj8/INGY6m+AmtajjG/c2xv4BaHo1BPDtLbhHw8Ou3pRV3QC4X82r5M3kEv FiHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=OuAHlElg/DOUc2+k1p/18hKEbn/hHJbGCkuDUoTccFE=; b=1XK2XXQYQ03d+MFkDZ9iCHsspmg1GOW8fifBbJqlWehW9C2uYRMswWITZXoRUUPNAT tfnavDyazp8ROs1LCokJmuMTssOSaScwWfVOKkfmzKquguluKc1AQ7/cC0yxcsbzlj28 9XofLkc5Z3AYV35k4Tf7NaEkeDteyNlVOWUA9MXy+oNgySn1/YsDIQKBa9uXmExB5q29 2/DopJEXch3uAu10im3FzuP0rGn9kx9WduT1dq4jkqUh0RrNv4lQBSLCH5XrVs5tptAO XGMWyqd4VMLetkb26+VBBBvUxrX1VvDwDCGNKXx4Nzh2A+sdIVPUYyE1mArNZYUOjaBN 2mjw== X-Gm-Message-State: AOAM5305vsxkH1c1L4ik2oa69gmO7R4VJVAlGBcO4+YjchxVFX5Q82j3 E8zEIpEll1YFJYEMoB9/zPs8FQmkmQw= X-Google-Smtp-Source: ABdhPJzJc+T1kuBNcs6iQ+MzutX+ooDPCb++8agp8yJnffYAnxJ60pUtNkMW9YW6wCWgbQ0Ftmh13A== X-Received: by 2002:a17:902:eccf:b0:161:d2d0:72d2 with SMTP id a15-20020a170902eccf00b00161d2d072d2mr30026390plh.167.1653448468604; Tue, 24 May 2022 20:14:28 -0700 (PDT) Original-Received: from dingbat (220-235-29-41.dyn.iinet.net.au. [220.235.29.41]) by smtp.gmail.com with ESMTPSA id y6-20020a62ce06000000b005082a7fd144sm10175778pfg.3.2022.05.24.20.14.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 May 2022 20:14:28 -0700 (PDT) In-reply-to: <871qwil517.fsf@yahoo.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=theophilusx@gmail.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290232 Archived-At: Po Lu writes: > Jon Snader writes: > >> I don't understand the urgent=E2=80=94or, indeed, any=E2=80=94need to el= iminate this >> call. I've been using it for years to populate an Emacs buffer with >> the URL of the current page displayed in Safari. I used to use >> osascript as recommended by those advocating ns-do-applescript's >> removal but moved to ns-do-applescript when osascript became >> unacceptably slow. That issue may have been resolved but I've never >> felt the need to revisit the matter. >> >> According the the 2020 Emacs survey, Mac users represent 26.6% of >> Emacs users (https://emacssurvey.org/2020/) so it's hardly a niche >> environment for Emacs. As macOS is the second largest user base, I >> don't see how it hurts to make Mac users' life marginally easier. > > macOS is a proprietary operating system. We don't try to make its users > lives easier, we try to encourage them switch to GNU/Linux. Supporting > a feature that is only available there would just encourage users to use > it. > This might be a reaonable argument when considering adding additional support/integration, but falls short when referencing work which ahs already been completed and has been part of Emacs for some time.=20 > Not to mention that the AppleScript support has several bugs, including > bug#39890, that I cannot fix or easily test, since AppleScript is not > available in GNUstep. Perhaps then your not the right person to address those bugs? Perhaps they need to be addressed by someone who does actually use that platform?=20 The argument that leaving such functionality in place will encourage users to use it seems somethwat flawed. This functionality is only available if your running on that platform and if your already running on that platform, encouragement to run on that platform doesn't amount to much. I would also suggest far more enrouagement comes from having support to build Emacs on that platform in the first place.=20 It is also possible that having this support means users can actually use Emacs to perform some tasks which would otherwise require closed proprietary solutions or which would be easier to do with close properietary solutions. Maybe this support actually enrouages users to use Emacs instead of a non-free editor which has applescript support? =20