>>>>> "Eric" == Eric D Hendrickson <[EMAIL PROTECTED]> writes:

    Eric> Is there a way to change the delimiter for a specific field
    Eric> (in this case the "notes" field)?  I want to change it from
    Eric> a newline ("\n") to a comma-space (", "), so that the notes
    Eric> field does not take up so much vertical space in my BBDB
    Eric> window.

Here's what I do.  You could improve it to test for the fieldname in
the lambda function and set the separator accordingly.

;;; Change all the field separators to commas

(defun my-bbdb-after-read-db-hook ()
  (mapcar
   (function
    (lambda (fieldname)
      (put (intern (car fieldname)) 'field-separator ", ")))
   (bbdb-propnames))
  nil)

(add-hook 'bbdb-after-read-db-hook 'my-bbdb-after-read-db-hook)

--------------------------------------------- _--_|\  |
Rod Whitby ([EMAIL PROTECTED])    /      \ |
Canon Information Systems Research Australia \_.--._/ |
1 Thomas Holt Drive, North Ryde, N.S.W., 2113.     v  |

Reply via email to