Hi, people ! 

Why this awkward constraint for bbdb-file-coding-system? I can't read
its docs.  It says "should not changed by users", but since it's a
defcustom, describe-variable will tell you "You can customize this
variable."  Basically, what I want to do is change the coding system to
utf-8, so that the file could be saved correctly.  

    ;; iso-2022-7bit should be OK (but not optimal for Emacs, at least --
    ;; emacs-mule would be better) with both Emacs 21 and XEmacs.
    (defcustom bbdb-file-coding-system
      (bbdb-eval-when (fboundp 'coding-system-p)
        (cond ((apply 'coding-system-p '(utf-8-emacs))
               'utf-8-emacs)
              (t 'iso-8859-1)))
      "Coding system used for reading and writing `bbdb-file'.
    This should not be changed by users.
    This should not be changed in between BBDB sessions, i.e. before loading the
    BBDB which was stored in a different coding system.  Make a backup of your
    BBDB before changing this variable!"
      :group 'bbdb
      :type '(choice (const iso-8859-1)
                     (const utf-8-emacs)
                     (const iso-2022-7bit)))
    

-- 
William

http://williamxu.net9.org


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to