On 15 Mar 2005 at 03:52 PST, Frederik Fouvry wrote: > ,-- 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
mule-utf-8 did not work for me. I got the same message when trying to save, but this time it said that the file was in mule-utf-8-unix. When I changed the buffer coding system and the top line raw-text, I didn't get an error. This will probably bite me at some point, but it gets rid of the errors for now. -- 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/ -- Ted Stern Applications Group Cray Inc. office: 206-701-2182 411 First Avenue South, Suite 600 cell: 206-383-1049 Seattle, WA 98104-2860 FAX: 206-701-2500 Frango ut patefaciam -- I break so that I may reveal (The Paleontological Society motto, equally apropos for debugging) ------------------------------------------------------- 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/