On Sun 05.Jun.11 20:40, Jostein Berntsen wrote:
On 05.06.11,11:31, Dan McDaniel wrote:


On Sat 04.Jun.11 22:51, Jostein Berntsen wrote:
>On 03.06.11,19:42, Michael wrote:
>>I don't know who else to turn to about this problem other than mutt users.
>>I have been adding phone numbers, addresses, comments, etc to abook.
>>Every so often when I start abook, everything is deleted but name and
>>email address. Not one more item.
>>Since this started, I've been keeping backups for when this happens,
>>so everything isn't lost.
>>I have looked at the good and bad (missing extra info), and everything
>>looks fine. Format is fine, even checking the beginning and ending of
>>file. I've also used "diff -y addressbook addressbook.backup and they
>>are virtually the same for name and email. Just all the info about
>>phone numbers, addresses, etc is missing on the bad file
>>
>>I've used abook for quite some time but never seen this happen till I
>>started adding the extra info.
>>
>>Anybody with understanding of abook is welcome to email me since this
>>isn't directly related to mutt.
>>
>
>You can check in ~/.abook/abookrc if you have your index_format variable
>correctly set. F.ex. mine has this setting to show the fields I want in
>the abook interface:
>
>set index_format=" {name:25} {email:30} {nick:5} {workphone:-12}
>{mobile:-12} {title:20} {notes} "

I, too, had never used an abookrc file. I created one, but when I add
the index_format line it gives me an error:
   abookrc: parse error at line 57: unknown option

I'm using abook 0.5.6-7+b1 on Debian sid. I checked the manpage for
abookrc and don't see that option mentioned either. How did you get it
to work?

Dan

Here is an extract of my configured variables. Check that you have them
set somewhat like this:

view CONTACT = name, email, title, notes, nicki
view ADDRESS = address_lines, city, state, zip, country
view PHONE = phone, workphone, mobile, fax
view OTHER = url, birthday
set autosave=true
set preserve_fields=all
set show_all_emails=true
set index_format=" {name:25} {email:30} {nick:5} {workphone:-12} {mobile:-12} 
{title:20} {notes} "
set mutt_command=mutt
set mutt_return_all_emails=true
set print_command=lpr
set www_command=lynx
set address_style=eu
set use_ascii_only=false
set add_email_prevent_duplicates=true
set sort_field=nick
set show_cursor=true


Jostein


I tried those settings but they generate more errors.
The "view" lines give "unknown token view" errors.
The "preserve_fields=" and "set index_format=" lines give "unknown option" 
errors.

What version of abook are you using? Also, where did you find the
documentation for these options? I can't find mention of them anywhere.

Dan

Attachment: signature.asc
Description: Digital signature

Reply via email to