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: Sat, 28 May 2022 08:43:13 +0800 Message-ID: <87leumebby.fsf@yahoo.com> References: <87bkvoo38y.fsf.ref@yahoo.com> <87bkvoo38y.fsf@yahoo.com> <871qwjn5ca.fsf@yahoo.com> <87fskwk79v.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38078"; 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: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 28 02:45:21 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 1nuka0-0009mx-Vr for ged-emacs-devel@m.gmane-mx.org; Sat, 28 May 2022 02:45:20 +0200 Original-Received: from localhost ([::1]:57204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nukZz-0008L4-TA for ged-emacs-devel@m.gmane-mx.org; Fri, 27 May 2022 20:45:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nukYC-0006Fj-TN for emacs-devel@gnu.org; Fri, 27 May 2022 20:43:28 -0400 Original-Received: from sonic315-21.consmr.mail.ne1.yahoo.com ([66.163.190.147]:41211) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nukYA-0004x9-9c for emacs-devel@gnu.org; Fri, 27 May 2022 20:43:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653698604; bh=vZUlyNpyjwBs7XH0KnfttA3o0DSwZ23Xj5eZKhMRAHs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=UeUnAlLyatUhwCfWEjzIEVYtqJ11+RglqQT0p7RAN57HsqOqUofiiXUJ8N+ZbOCmPa3ZHX2Ri4LbrUrCXUum7xP4/E+jOp99jjysJXEKfATW9Xawj64YOFYxiVsCYNaYNM4tncB+O1pd3hOvEcr5HgE3NC3jGpTdJjCCJaZLjYZGb7mpLFdKeYMDAYH+Yhxcxp7YdkwkvbHHZal2ioo9OIK7HpWQXV2KtSvkgM53TPDkx3w8u4++VJ990tbPCgUh1Fa1jJhY9782Omde7H6+vlSsCjLzLSFROVtHndfLyBzlPjwmfe9zG0y+k9AiiXlwHJOT7+to9PzKWOHdcLEFag== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653698604; bh=1+C1ZncetB2xWEKQuSbRsmg4qYMbA15PvYUXcvWGEH8=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=X6HreMZD8Sb+fkNSa/C8hIvInBf4hWUPmPuH7iA1qzxiIr9XbxUrOEM4684/N/TREMSeqbrSrljil8/L7cYel3TAeXUuxnP7ywwTJAadmoKgyWgpFvellmAbEzpSPdncwyjf1CDHutLcIjYmCqGSA815Ry5mwNvklF4jd6d5/mLTpC3M+8uBlTFbYnn7CoJSogAtYkC1HiEBQc/99NIYsKUpVmesA9hVfQAR26LCOGDR3iBI5sLS0liAK35FiChTQ6FhRk4V1arIf/WUc14yrfGzSqVFlMaU1HDqtV+IzITT8l0XlaDNGg2SP1gC70PC85UIQp+esFqi+kGmhWK0ag== X-YMail-OSG: iRTny6kVM1lgUaItmi_jTiGfF.JFjs_9VIRMxnosjBBW4X6WWkj0M_OTqM9rLhu 1HG0V3vooMNox9.O7ttP2rX4RSuO8tJxRc7.vrixBp.QDNHJ1yOkxcDYyv.loZTONvZItpECZZzA NEZ2ULIv8srAM8WHlSLJoZxzWMzLNJTuzM__XgENdFaR.AkGaNsrjIcuqg8DeVqxaat94ookrz7b ljhD2dZ7bpC.RFyCszAb8q4stc4RXMbnpaioJOnrZhUoM6z_JTSjlHp61zywraZ5o6D3iCBmpend t.WMLP27X2ZAKcXBdlBjHaSM3D08mCZUUQG4SVAfogpcjWS3YvFOOetr6dD2iahjS73x3JilG3gj OANvXEZ6MsBJYyJaC5RCe6CVEaDtQvg3aKGuna5RYw_5Jwka4GqNe0nSDbS8T9nibAUzLgS9hVdr ANDv9Ny4plYcgAwRIHrT8_lwEWbEWOl8ONn_Z0jhoC8A9yD0o1CpFWLcsTgEgffbHBbf_XU8nvEp Ghwc.CVDKse6VoabR7u0ZnpWBH2YYRrhQHwNJyOFySdO4I08kLEnZrhvXkAR8NpB27iPfMqRZhrb sRM4g_fPv6HHYBOYGQE3nG7sFEtPd7C6ebbCsKN9tVNTnY7YmH9u9BL11mXr76dIDahEb0R.yELY KzKi.LCy8CZQ4oD7YvR.KLxrlYMrRpfrVEIORr4UIp_GKTf5N.a3MS4B.rBVCephtJIDAAtWTrs2 .JQLgQjQlpHn6tHapHKEJDy2i6O4iS7QEiZZ_55zHIV0AJwxxRiUTWsE.MDAsJ1Mrr6z0G6BHc2G L2fwXcfsYbk7.eRStNCAxifIX1P4v3HbYgmMSGkuI9 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Sat, 28 May 2022 00:43:24 +0000 Original-Received: by hermes--canary-production-sg3-5f7658c994-qwjwx (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 31259e12d3addd68414cfd7ed1f0c62f; Sat, 28 May 2022 00:43:18 +0000 (UTC) In-Reply-To: (Richard Stallman's message of "Fri, 27 May 2022 18:49:47 -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.190.147; envelope-from=luangruo@yahoo.com; helo=sonic315-21.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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:290323 Archived-At: Richard Stallman writes: > I have never heard of "osascript". What is that? What systems > support it? Does it exist on GNU/Linux? It's only present in macOS. > Basically, what are the differences that make it better to use > osascript than applescript? I think that binary _is_ Apple's proprietary AppleScript interpreter, but using it in a subprocess to retrieve only contacts data (which is already possible on free systems) must be more acceptable than Emacs including a C primitive to do the same thing.