,-- On Wed, 16 Mar 2005 17:30:46 +0000, Ronan Waide wrote:
| 

[...]

| If anyone feels like throwing me a patch to fix this properly, I'll
| gladly accept it. Fredrick (I think) already pointed out to me that
| the coding cookie in the file isn't updated to match changes in the
| coding-system variable, so I should probably fix that at least, but as
| previously mentioned, I hate coding systems.

This will help a bit: it'll choose utf-8 in Emacs 22 (whenever it has
to set the coding system itself).  (In Emacs 22, utf-8-Emacs is not a
coding system, but perhaps it is in XEmacs.)


*** bbdb.el     2004-05-29 09:00:08.000000000 +0200
--- bbdb.el.new 2005-03-17 10:51:41.000000000 +0100
***************
*** 746,754 ****
  ;; emacs-mule would be better) with both Emacs 21 and XEmacs.  Emacs
  ;; 22 will really need utf-8-emacs.
  (defconst bbdb-file-coding-system (if (fboundp 'coding-system-p)
!                       (if (coding-system-p 'utf-8-emacs)
!                       'utf-8-emacs
!                     'iso-2022-7bit))
    "Coding system used for reading and writing `bbdb-file'.
  This should not be changed by users.")
  
--- 746,756 ----
  ;; emacs-mule would be better) with both Emacs 21 and XEmacs.  Emacs
  ;; 22 will really need utf-8-emacs.
  (defconst bbdb-file-coding-system (if (fboundp 'coding-system-p)
!                       (cond ((coding-system-p 'utf-8-emacs)
!                            'utf-8-emacs)
!                           ((coding-system-p 'mule-utf-8)
!                            'mule-utf-8)
!                           (t 'iso-2022-7bit)))
    "Coding system used for reading and writing `bbdb-file'.
  This should not be changed by users.")


-------------------------------------------------------
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/

Reply via email to