On Wed, 23 Feb 2005, [EMAIL PROTECTED] wrote: > On February 23, [EMAIL PROTECTED] said: >> Hm I am not sure, that I understand: >> (eval-expression '(my:nnimap-folder-list-from-bbdb) nil) >> gives me >> (("From" "[EMAIL PROTECTED]" "testimap")) >> but I want that it returns >> ("From" "[EMAIL PROTECTED]" "testimap") >> >> So what should I change in the function or in the call of that >> function? > > you want the (car ) or (nth 0 ) of that expression. So either modify > the nnimap-folder-list-from-bbdb function so that the last thing it > does is to apply one of these functions to whatever the function was > already going to return, or use (car (my:nnimap-folder-list-from-bbdb)) > in place of (my:nnimap-folder-list-from-bbdb) > > Cheers, > Waider. Here at BBDB, we also do Elisp Help...
I advised Uwe to use Elisp macros to accomplish this on the ding list. It's a cleaner solution, I think, than inserting the data into the list "from the outside," so to speak. Uwe: you should start reading the Emacs Lisp manual (usually reachable with C-h i, then select "Elisp") now. You are definitely ready for it :) Ted ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/