,-- On Mon, 14 Mar 2005 23:25:17 +0000, Ronan Waide wrote: | | On March 14, [EMAIL PROTECTED] said: | > I've tried deleting the first line and restarting but it seems to reappear | > again. | | Try changing the value of bbdb-file-coding-system. I hate coding systems.
I've had the problem as well. I guess that it is due to a change in the treatment of the coding systems in (very) recent version of Emacs. Setting the coding system to mule-utf-8, both in the buffer (set-buffer-file-coding-system) and in the file contents (editing the top line), makes the problem go away. BBDB does not overwrite the coding setting in the file if the data base is not empty, if there is a "file version" line and if the coding setting matches the regexp "\\`;; *-\\*-coding:". It's not totally robust, but it'll cover most cases. Part of the problem may be due to the following: bbdb-file-coding-system is set as follows: (if (fboundp 'coding-system-p) (if (coding-system-p 'utf-8-emacs) 'utf-8-emacs 'iso-2022-7bit)) In GNU Emacs, that always evaluates to 'iso-2022-7bit (or nil depending on the version), since 'utf-8-emacs is not a coding system. There you'll want to test for 'mule-utf-8 (or 'utf-8). Frederik Fouvry ------------------------------------------------------- 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/