all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org>
To: Emacs developers <emacs-devel@gnu.org>
Subject: Re: [Proposal] New EUDC backend for macOS address book
Date: Tue, 28 Apr 2020 01:41:30 +0900	[thread overview]
Message-ID: <F670F566-DE2E-4317-A8EE-8E142BAE34B4@traduction-libre.org> (raw)
In-Reply-To: <m35zdk7vvq.fsf@fitzsim.org>



> On Apr 28, 2020, at 1:10, Thomas Fitzsimmons <fitzsim@fitzsim.org> wrote:
> 
> Hi Alexander,
> 
> Alexander Adolf <alexander.adolf@condition-alpha.com> writes:
> 
>> I hence set out to write a new backend for EUDC to get access to macOS
>> address book contacts via AppleScript. The result is
>> `eudcb-macos-contacts.el', which is enclosed with this message, and
>> which I would kindly like to propose for inclusion as part of EUDC (and
>> replacing the existing `eudcb-mab.el').
> 
> Do you have a sense for how far back the AppleScript method will work?
> i.e., would it work on all systems on which eudcb-mab.el currently
> works?  Do you think we should maintain eudcb-mab and
> eudcb-macos-contacts in parallel, at least for a few releases, and
> recommend eudcb-macos-contacts to existing eudcb-mab users?

The application that is called in the applescript is called "Contacts".

Before July 2012, when macos 10.8 was released, it was called "Address Book".

So if the script wants to support machines with an OS older that 10.8 there will be a need to check the OS version and change the name of the application that is called.

I don't remember and can't find on the web whether there was an Address Book on systems before OSX, but even if there was, I don't think emacs supports such old proprietary systems.

Regarding the code itself, it looks simple enough that it would work on systems with old versions of Address Book but that would require some testing.

One could ask people on the AppleScript User list for their support, or some other place (MacScripters ?)

As far as I can tell, the Applescript itself (I've not tested the inclusion in the emacslisp code) works fine on the latest macos version.



Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune





  reply	other threads:[~2020-04-27 16:41 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27 15:09 [Proposal] New EUDC backend for macOS address book Alexander Adolf
2020-04-27 16:10 ` Thomas Fitzsimmons
2020-04-27 16:41   ` Jean-Christophe Helary [this message]
2020-05-02 16:20     ` Thomas Fitzsimmons
2020-05-06 15:14       ` Alexander Adolf
2020-05-06 17:41         ` Thomas Fitzsimmons
2020-05-07 16:03           ` Alexander Adolf
2020-05-07 18:29             ` Thomas Fitzsimmons
2020-05-08 12:17               ` Alexander Adolf
2020-05-08 13:44                 ` Thomas Fitzsimmons
2020-06-08 20:41                   ` Alexander Adolf
2020-06-10  5:03                     ` Thomas Fitzsimmons
2020-06-29 13:38                     ` Alexander Adolf
2020-07-09 15:12                     ` Alexander Adolf
2020-07-09 20:29                       ` Thomas Fitzsimmons
2020-07-10 13:36                         ` Alexander Adolf
2020-07-10  3:53                       ` Richard Stallman
2020-07-14 14:46                         ` Thomas Fitzsimmons
2020-07-15  3:49                           ` Jean-Christophe Helary
2020-07-17  0:56                             ` Richard Stallman
2020-08-09  1:57                           ` Richard Stallman
2020-09-06  3:00                             ` Thomas Fitzsimmons
2020-05-05 14:47   ` Alexander Adolf
2020-04-27 20:00 ` chad
2020-05-05 13:30   ` Alexander Adolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F670F566-DE2E-4317-A8EE-8E142BAE34B4@traduction-libre.org \
    --to=jean.christophe.helary@traduction-libre.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.