On 8 Oct 2013, Uwe Brauer wrote: >>> "Gijs" == Gijs Hillenius <[email protected]> writes: > >> On 7 Oct 2013, Uwe Brauer wrote: >>>>> "Gijs" == Gijs Hillenius <[email protected]> writes: >>> >>> Hi >>> >>> >>> Here is a similar code I wrote up some time ago. It includes also >>> smime, which I find an important alternative to pgp. > >> Hello Uwe! >> >> I just ran a test, after having loaded bbdbadapt-encrypt.el >> >> and >> (add-hook 'message-send-hook 'bbdbencryptadpt-try-bbdbencrypt) >> >> bbdbencryptadpt-search-record: Symbol's function definition is void: >> bbdb-extract-field-value >> >> >> What did I do wrong? > > *Nothing*. > > It just means that contrary to my believe my code is not compatible > with bbdb 3.X. bbdb-extract-field-value exists in bbdb 2X but Roland > throw it out (why?). we could ask him to introduce it again but he > might refuse. > > Uwe
I did a few tests, seeing that I have to then change Uwe's
bbdbadapt-encrypt.el in four places.
1) bbdb-canonicalize-net-hook should maybe become
bbdb-canonicalize-mail-function
and ditto
2) bbdb-search-simple -> bbdb-message-search
3) bbdb-extract-field-value -> bbdb-message-header
4) bbdb-record-getprop -> bbdb-record-field
However my test result is that it does not work. I get the same
nil
that I got when using bbdb-record-field in bbdb-pgp.el
Coincidence, or not? It is likely just me. I'm still finding my way
around edebug..
The test record in .bbbd now is
Test Name
mail: [email protected]
pgp-mail: sign
notes: test address
encrypt: pgp
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________ [email protected] https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
