From: Michael Price <ectospheno@gmail.com>
Cc: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>, emacs-devel@gnu.org
Subject: Re: Executing Emacs Lisp through AppleScript on Mac OS X?
Date: Sun, 8 Jan 2006 15:54:56 -0500 [thread overview]
Message-ID: <e84f9250601081254q1519b43enb978816aaa36fbe1@mail.gmail.com> (raw)
In-Reply-To: <42F2D88A-A20A-45ED-8193-1C97762076E1@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 793 bytes --]
On 1/8/06, David Reitter <david.reitter@gmail.com> wrote:
> On 18 Dec 2005, at 03:54, YAMAMOTO Mitsuharu wrote:
>
> > (defun mac-ae-do-lisp (event)
> > (interactive "e")
> > (eval (car (read-from-string (mac-ae-text (mac-event-ae event))))))
>
> Something like that is definitely an interesting functionality, but I
> wouldn't want to see it outside of a local installation, i.e. in
> Emacs, simply for security reasons. With such an event, any
> application can practically attain all rights that the Emacs process
> has and execute pretty much anything.
Given that emacs isn't setuid anything, I'm having trouble imagining a
scenario on a Mac where your concern is actually a concern. Can you
provide an example?
Keep in mine you can also send apple events to the terminal :)
Michael
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2006-01-08 20:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-17 11:11 Executing Emacs Lisp through AppleScript on Mac OS X? Presto W
2005-12-17 13:00 ` Lennart Borgman
2005-12-17 13:41 ` Presto W
2005-12-18 3:54 ` YAMAMOTO Mitsuharu
2006-01-08 19:46 ` David Reitter
2006-01-08 20:24 ` Lennart Borgman
2006-01-08 21:14 ` David Reitter
2006-01-09 2:21 ` YAMAMOTO Mitsuharu
2006-01-08 20:54 ` Michael Price [this message]
2005-12-17 13:28 ` Andreas Schwab
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e84f9250601081254q1519b43enb978816aaa36fbe1@mail.gmail.com \
--to=ectospheno@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=mituharu@math.s.chiba-u.ac.jp \
/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.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).