On August 10, [EMAIL PROTECTED] said:
> The current CVS version of bbdb.el has bogusly changed the coding
> system for .bbdb in Emacs 21 to mule-utf-8.  That's not, and never
> will be, a universal coding system:
> 
>   (memq 'mule-utf-8
>         (find-coding-systems-string (string (make-char 'chinese-gb2312 68 99)
>                                           (make-char 'chinese-gb2312 58 67))))
>     => nil
> 
> [And before someone says it encodes gb2312 in some unreleased version
> or with an add-on:  yes, I wrote the support, and it's beside the
> point.]
> 
> Is the change supposed to fix some problem I could address, or just
> due to utf-8 fundamentalism?

Um.

This is the current code:

;; iso-2022-7bit should be OK (but not optimal for Emacs, at least --
;; 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.")

The mule-utf-8 stuff was contributed by someone using Emacs 22 (ha,
and me just ranting about not supporting CVS/unreleased versions) and
has been in place since March 19th this year. It pretty cleary says to
me that if it's not defined as a coding system then it won't get
used. So have you actually had it corrupt a file on you, or are you
just commenting on the mere presence of mule-utf-8 in the code (which
seems to be a utf-8 fundamentalism of its own...)?

Personally I'm leery of touching any of the coding stuff and really
*would* prefer if it could all be flushed away into a nice tidy pile
of Unicode without the find-coding-system-for-tying-shoelaces stuff,
but that's neither here nor that.

Cheers,
Waider.
-- 
[EMAIL PROTECTED] / Yes, it /is/ very personal of me.
"It's too bad that most people don't get the fact that an object-oriented
 programming style has exactly nothing to do with the programming language you
 use." - Jamie Zawinski


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to