>>>>> "Ricardo" == Ricardo Marek <[EMAIL PROTECTED]> writes:
Ricardo> I posted this few days ago:
Ricardo> Is it possible to keep the BBDB sorted?
>>>>> "Josef" == Josef Schneeberger <[EMAIL PROTECTED]> writes:
Josef> Your database should be sorted. I had an unsorted database
Josef> only when editing the .bbdb file by hand. In this case try:
Josef> M-Esc (bbdb-resort-database)
well, I should emphasize that this is an undocumented feature and, therefore,
it is used by one's own risk.
Ricardo> But... :(, I tried and I still have the bbdb unsorted!., I get 'nil'
Ricardo> in the echo area after running the M-Esc (bbdb-resort-database), which
Ricardo> can be interpreted that the dbase is sorted internally, but not
Ricardo> displayed sorted... is this true?
right, but what do you feel is a sorted database?
bbdb-resort-database uses:
(defmacro bbdb-record-lessp (record1 record2)
(list 'string< (list 'bbdb-record-sortkey record1)
(list 'bbdb-record-sortkey record2)))
and sortkey consists of lastname, firstname and company.
Well, maybe you could redefine the bbdb-record-lessp ...
-- Josef