From: Ken Mankoff <mankoff@gmail.com>
To: "Charles C. Berry" <ccberry@ucsd.edu>
Cc: Ivan Andrus <darthandrus@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Fwd: Mac OS Alias file links
Date: Mon, 14 Apr 2014 21:58:35 -0400 [thread overview]
Message-ID: <m28ur7z73o.fsf@gmail.com> (raw)
In-Reply-To: <alpine.OSX.2.00.1404141655130.6237@charles-berrys-macbook.local>
On 2014-04-14 at 20:21, Charles C. Berry wrote:
> BibDesk has an archive of entries typically stored at
>
> ~/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/*.bdskcache
>
> and the 'NS.data' element of Bdsk-File-1 seems to point to one element.
>
> The *.bdskcache file has a bplist and I guess the 'FileAlias' component
> is what points to the pdf or whatever.
Aha! I think this is essentially what you described in your last
email when you said,
>> OTOH, writing an AppleScript to make an alias in a folder that is
>> never moved, writing elisp to call that script and then make an
>> org-mode link to the alias just created might work for you.
I guess that is how it is done. I think I can figure out how to do this
much in elisp + a system language. The elisp side will be a good
learning project.
> One approach that sidesteps having to know the CoreFoundation.h stuff
> is to use the BibDesk AppleScript capabilities. There is a model for
> this at
>
> http://www.jonathansick.ca/adsbibdesk/
>
> written in python, FWIW.
Yes. The AppKit module is a nice interface from Python to the OSX
system. I think I will likely write the non-emacs code using this, or
AppleScript or Automator directly.
-k.
prev parent reply other threads:[~2014-04-15 1:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-08 7:03 Mac OS Alias file links Ken Mankoff
2014-04-13 22:39 ` Fwd: " Ken Mankoff
2014-04-14 9:22 ` Bastien
2014-04-14 11:32 ` Ken Mankoff
2014-04-14 12:42 ` Nick Dokos
2014-04-14 13:17 ` Ken Mankoff
2014-04-14 16:26 ` Achim Gratz
2014-04-14 16:48 ` Ken Mankoff
2014-04-14 17:42 ` Charles Berry
2014-04-14 18:36 ` Ken Mankoff
2014-04-14 23:19 ` Ivan Andrus
2014-04-15 0:21 ` Charles C. Berry
2014-04-15 1:58 ` Ken Mankoff [this message]
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m28ur7z73o.fsf@gmail.com \
--to=mankoff@gmail.com \
--cc=ccberry@ucsd.edu \
--cc=darthandrus@gmail.com \
--cc=emacs-orgmode@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).