From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: ns-do-applescript Date: Wed, 25 May 2022 10:28:20 +0800 Message-ID: <871qwil517.fsf@yahoo.com> References: 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="31775"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: Jon Snader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 25 04:29:17 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 1ntglx-00088J-HV for ged-emacs-devel@m.gmane-mx.org; Wed, 25 May 2022 04:29:17 +0200 Original-Received: from localhost ([::1]:36516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntglv-0007id-Um for ged-emacs-devel@m.gmane-mx.org; Tue, 24 May 2022 22:29:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntglH-0006pN-59 for emacs-devel@gnu.org; Tue, 24 May 2022 22:28:35 -0400 Original-Received: from sonic312-25.consmr.mail.ne1.yahoo.com ([66.163.191.206]:40003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntglF-0000LH-7a for emacs-devel@gnu.org; Tue, 24 May 2022 22:28:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653445710; bh=0Vyn1rXjBaTb9fd0yvaJhC3Wek0oc8UxmPJLeETG1+4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=C5oePWKeNFtRH+LqmGEhj+eIF8Fth0j1PseAHX8KL+Y3+XQOBWj/F2o+QBuB6jXV3cx/JomflErTAEvefsu34LcKNKzcVm4aRErdj1HffHHNa/pm5e2bsX7+H+I2rq1fRK3ZO7EukrGK7IEwN1BMWmkYYu6QztP4i2QJC/F3f5mmjmUO/IHcuK589VmY/cC1ejuFo+q0OAEBlvzK9NhOg6pmNc6NqUsF3iyAlD3rau2vYyOOHjojUT+SDx/UbVGh2SbLEw/p70Gnd5zYmy8raOtGPsB1nf6slKSuK8h8W8M6x3x2fZ/WanLnebkN5WPQNbEocoSvy0b+2ZktZkgGFQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653445710; bh=rby6AtLeG+RE/imJ+ywOpZ51V7+kvUp7k45Qw3Xo0jX=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=CHfEgDYz494Ew+iW30yCY7poduEZcD+4/iSsmpGEGyrv63jt4bseV9O3ja7wIEFrfFz6JD9mjtAqYvKs1nw2BQ2ctim/t61HeWDes4JsqmiG0XyGLuxSv7kZ8DAO2+jg+EckVJ6VEfIgbFb2tBCetFfZsYVsxeEhIcE4aT2czlHTICVY72r4i9aKszGKYq7RxiilXzPganoHLwZ5RD1dTdxbsLfuyJqYg3Ms4+PErhoVZJPrjQXRzl1UnVzyiql33tJSEiFLyAllyo9P5XPYuGkp7RaA8HxQDGTltl8py7zXP2nFKx4uXfoFsRVK/sO0tVVT4YdJtGF29bbWR696/A== X-YMail-OSG: 7mvvT6AVM1mkNsYs923MFApHhJ2jKgoUe88xZ3T8FG11z_ESTgnaHNKPqCKqDgp RgQFZWZG2hPID52yW1k6vkSBdMH3F.f1qRQFiyRTDh2pDvbeHIkt6lFWK_zI_u3WBFIm0wJpWreA pW3B.7nAgqgULvy63UJA_9QA6Bw1iPgG5PWf9A6irsBBKfFpNhtb26hkzSvy.dxE8a1F8_MTMbaA Ef2qOOLDQCVmaS0AOCsN8jSVCXlRdmIYVA3HbCSY0oqfgiJf1II__fRWwvjySy5fEIkq9mlpntv7 3dk5xS97ZGQ_QzVMyB4bkFaiICCN9ieGqYa_DKAB1YfMhXRYKpjO.5EkQk8v_quF4zqmLM1ru79l 9RIA.gtwKpN5Pk1fU7C7Nhj4RywBH29PEPi7y9IVLPJJ9fv47RWEVE1ECxR6n3Fg0qz2BCgRIpyJ 06wF02Jlx5bjEIGIclNCdL0V5eIpHCCVNkWcXuX32acmz7.qCF77yWwDYJOZQlVu2mjuZk5aqcks m7raYxhYtaHDZ.VbADWVyZmpRr64CWCZVsJ1aEmlspMz4KmqFvvbb7_3gZ1ixPYPvrScyf0iu4by P2wuu_F3_.Z1Hmm7vMHbOGNreWQcXMRpF9wpoHUccJP90qsMILK7Gtok4AV15MSsMM6dS4eH5Hu7 J1ma89UDFDPxinIxWyS9KKvC7LKpHjZEvrEG9AcNW0Sr8X5MmamJ2HHNTZzmk6fkNs.VMedC6SZR L7T6v0mseAXKfJ53rZgnEnKDb4QXVPFenHS8VZGC_UnxSlDXdhogwo0WgZ1NkicnmSfegQ2Ll2rw q8pfp6wd9TuuiRBSiPxIjclv8_ETA6TzA7yeDarEJu X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Wed, 25 May 2022 02:28:30 +0000 Original-Received: by hermes--canary-production-sg3-7959d4d9bd-9nmmr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e43f57a022f37ad3c74c4a5038b85dc6; Wed, 25 May 2022 02:28:24 +0000 (UTC) In-Reply-To: (Jon Snader's message of "Tue, 24 May 2022 17:21:08 -0400") X-Mailer: WebService/1.1.20225 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.191.206; envelope-from=luangruo@yahoo.com; helo=sonic312-25.consmr.mail.ne1.yahoo.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:290231 Archived-At: Jon Snader writes: > I don't understand the urgent=E2=80=94or, indeed, any=E2=80=94need to eli= minate 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. 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.