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: Fwd: Re: ns-do-applescript Date: Mon, 30 May 2022 10:50:10 +0800 Message-ID: <871qwbd999.fsf@yahoo.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8206"; 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 Mon May 30 04:51:31 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 1nvVVC-0001tr-62 for ged-emacs-devel@m.gmane-mx.org; Mon, 30 May 2022 04:51:30 +0200 Original-Received: from localhost ([::1]:36590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvVVA-0002NC-Jo for ged-emacs-devel@m.gmane-mx.org; Sun, 29 May 2022 22:51:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvVU7-0001an-2G for emacs-devel@gnu.org; Sun, 29 May 2022 22:50:25 -0400 Original-Received: from sonic303-20.consmr.mail.ne1.yahoo.com ([66.163.188.146]:45232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvVU5-000078-0O for emacs-devel@gnu.org; Sun, 29 May 2022 22:50:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653879017; bh=T59nAHzzwpHmnbQngUm8XC03Gu8CwSdimsMoO5RHtvo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=UkgCUWG36O9Nx6xcF3H7hrzlsoVRC4UgvFZFKIqtZR818FgeHzPhHIxnPDHi48OTSjaPS0iWyIEF6YAMHkoWRVIlP7kS0qGXpiHJFp6ShMt8JbAh3etwpAh/Fx7+lkCGdfrxixykonMgior79Xt0EXXD/MbT3ZI7sL8nMAV/li1x8E8FtIXKZOrEkUgX45iVHzrXtVH4c332QH+sLcZV/BhoVKLcb9N8Mr2agqBDTZaNeNnkFBMQec9VYa1k+tSsAuXAAjA1JQ39KpBqyftpDsjU8LLivvDokashVXboNZqy+rN6HWP+Mg14xe3uEO2qLddDjgBD4fkH6VXko8451Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653879017; bh=S3eUqECRphvMguBlgUORTJ0rtaAhqE7davsTNHFo4/p=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=PqqOsrfzlCFFbKsxs85cSRUkTQ9D0I/VLkhwPIcnmVfrbl9gRUtDHoPIyisDBFvJu60W+iLSj1IQkFYCYFwM0yO+6bEDKIX78tAxIWUoBx5eeoW08MC+QxVK7V2VUX0kgcn/e4NTynU6Bq62jebFS9hJ2bzfTErMSq0TOXoRdC580yfsqRYQ2dpmw/KqQsSEbQeKTBOcKXP3wVqM2t6T+atPbJBHGmbwDIZy2Gyz5/gURT/E3FojLJKcGFRga8lLALWzehOFd70ckd2R/lxLuMCnLVnVo+0+SBgw+Ap4i5Ea/P1vBjU8BeM2oHEvu9NyhMO0/i3ifgwBDOXZywtR1Q== X-YMail-OSG: aT9oB4sVM1n1URCvgkNnSL0iwTVf_sD4llbZfkkkdGNTZWZU1pqKm4QHB0jdocG Y.obrRAPqesp5hlxY8HZhxF7KHEzSQvbTYWAcU_fK1gwG.Vxw5d0OP87QvzXLPjnFEMiqMSfsncw pnTpArwCFoUnxYqJhyqcNRgoJ6545hRRmGT2.zb9nVGCJUzfeEcZCRvlVWKPblReopUwbGNUJ3Ft .r2Ez_gAIRNkEaL.Ow2qFjozQc9u5_AtKA27m7fUtDeoTl.gIH_dDoKkCHXXxTSQcb.NOECyc1l4 Q1kZbd056nweVjzbkYDGLXIw1C1C8iHFfcNpbqvP354om8F5EMZg_yhN1GxZhltmGtu.q9ukIwIN Kc2HjXhIAtasEwvRdQvkHniaSmeLEseVLKYE8HenCc7Kitc67V5z7h3hg62iEo6ydZBOSsUk3IIc N3MOlnmK6mj1oPTUBO1x.crOnc2WY4HheeUYoyvvqadNT1Z4a_n9MO2_8Hkm6B9lbIJWzZOfLee_ Nf0EQbUUYTDk0d2ECK9LTDtNfQzf8OAw8tMzY4zOZCVomZWWqyznPGaqopZytmrE9tovZU0hgROu XvgciZXjWU4trBaEpwpqVhtHAIjNU6jCNbNvq9sixrD_BRroXj1TCtJkvyfVfZSrwbHlJLivsqL5 2.OyBUBNSN6WeigpMPMelcVkRs7bmYRi5ZWYpsjlEynTa1m0MBB.EhRMFvW5Xlz8VYv0mtHjEQ98 CuqEq62sXK2uCFGH2hegWJFpw4pLi0yma2UF3N_qjJ0kdHH8868EqBiV7uPKvgwzvhLA1BKARjrM gSrDk0USZ0gV0ywSLAKuGeupTBsMsu6_FmYhXaQNEP X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Mon, 30 May 2022 02:50:17 +0000 Original-Received: by hermes--canary-production-sg3-5f7658c994-m7v88 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e7a462bdfe4d063f4d631fdf22e80deb; Mon, 30 May 2022 02:50:14 +0000 (UTC) In-Reply-To: (Jon Snader's message of "Sun, 29 May 2022 15:35: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.188.146; envelope-from=luangruo@yahoo.com; helo=sonic303-20.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:290370 Archived-At: Jon Snader writes: >> Why do you think ns-do-applescript and osascript are just about >> getting contact data? Applescript is a terrible language but it can >> interact with macOS to do just about anything you can do from the >> keyboard. As I said in my original post, I use it to get the URL of >> Safari's current page without having to leave Emacs. So how can I do that on a free system? How do I obtain the URL of Epiphany's current page without having to leave Emacs? >> The ns-do-applescript call is (or could be considered) simply a call >> to an OS specific interface routine. It's useful for many things >> besides getting contacts and its presence in *in the macOS Emacs >> build* hurts no one, whereas its removal is sure to cause lots of >> inconvenience for Mac users and those writing packages for the >> platform. We don't want to make things convenient for Mac users, when those things are not possible on a free system. Just as Emacs doesn't provide "OS-specific interface routines" to perform tasks on non-free operating systems that are not possible on free ones.