Alex Schroeder <[EMAIL PROTECTED]> writes:

> Dave Love <[EMAIL PROTECTED]> writes:
>
>> Xavier Maillard <[EMAIL PROTECTED]> writes:
>>
>>> So what is the *best* or the *recommended* coding system to use for
>>> BBDB knowing that my contacts are world wide.
>>
>> The one that's set in recent versions (as far as I know),
>> i.e. `iso-2022-7bit', at least if you want to be at all portable
>> between Emacs and XEmacs as some people apparently do.  The _correct_
>> one in Emacs 21 is really `emacs-mule', as etc/MORE.STUFF says, but
>> `iso-2022-7bit' happens to DTRT with eight-bit characters.
>
> Do you think the following code and comment in bbdb.el is correct?

Yes, as in the explanation above.  Why do not think so?

> ;; 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)
>                       (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.")
>
>
> Maybe this explains why I'm getting utf-8-emacs...  I'm using the
> unicode branch from CVS Emacs:  GNU Emacs 22.0.0.1 (i686-pc-linux-gnu,
> X toolkit, Xaw3d scroll bars) of 2004-02-11 on confusibombus

That's brave.  When I left it, it wasn't in a state that I'd trust
mail to it...  It specifically doesn't DTRT with Babyl.

> I'd just like to see both code and comment fixed such that I can
> understand it a few months from now.  Can you suggest a change?

Sorry, you'll have to explain why either needs fixing.  (I can still
understand them, for what it's worth.)


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to