[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Modifying Emacs to use the Mac OS X Keychain Services
From: |
Ted Zlatanov |
Subject: |
Re: Modifying Emacs to use the Mac OS X Keychain Services |
Date: |
Sun, 12 Jun 2011 17:21:06 -0500 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
On Sat, 11 Jun 2011 21:28:19 -0500 Ben Key <address@hidden> wrote:
BK> Note that to avoid resource leaks, I will also have to provide a
BK> ns-keychain-close function.
Will it get cleaned up properly when Emacs exits if you don't close
explicitly? If not, maybe it's nice to provide a helper macro,
something like this:
(defmacro with-ns-keychain (keychain &rest body)
`(unwind-protect (progn
(ns-keychain-open ,keychain)
,@body)
(ns-keychain-close ,keychain)))
...but that's easy to add.
Ted
- Re: Modifying Emacs to use the Mac OS X Keychain Services, (continued)
- Re: Modifying Emacs to use the Mac OS X Keychain Services, Stefan Monnier, 2011/06/13
- Re: Modifying Emacs to use the Mac OS X Keychain Services, Ben Key, 2011/06/14
- Re: Modifying Emacs to use the Mac OS X Keychain Services, Ted Zlatanov, 2011/06/15
- Re: Modifying Emacs to use the Mac OS X Keychain Services, Andreas Schwab, 2011/06/15
- Re: Modifying Emacs to use the Mac OS X Keychain Services, Ted Zlatanov, 2011/06/15
- Re: Modifying Emacs to use the Mac OS X Keychain Services, Stefan Monnier, 2011/06/15
- Re: Modifying Emacs to use the Mac OS X Keychain Services, Chong Yidong, 2011/06/17
Re: Modifying Emacs to use the Mac OS X Keychain Services,
Ted Zlatanov <=