From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Simon Josefsson <simon@josefsson.org>
Cc: emacs-pretest-bug@gnu.org, yazicivo@ttnet.net.tr,
emacs-snapshot@packages.debian.org
Subject: Re: downcase'ing wrt locale in smtpmail.el
Date: Sat, 12 Jan 2008 13:48:42 +0100 [thread overview]
Message-ID: <v9ir1ztdjp.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87abnb8gzp.fsf@mocca.josefsson.org> (Simon Josefsson's message of "Sat, 12 Jan 2008 11:39:54 +0100")
On Sat, Jan 12 2008, Simon Josefsson wrote:
> yazicivo@ttnet.net.tr writes:
[...]
>> In smtpmail.el, protocol messages are getting downcased with respect
>> to current locale. For instance, it downcases AUTH methods (LOGIN,
>> PLAIN, etc.) and then compares them with the related downcased symbols
>> '(login plain ...). And in Turkish, a downcased I is ı (dotless i),
>> not i. Therefore, comparison fails because of logın != login or plaın
>> != plain. IMHO, downcased must be applied using en_US locale.
[...]
> I just noticed this report. Is there a function in elisp that does
> downcase in the C locale? For this use, we only care about ASCII, so a
> 'tr A-Z a-z' would work. Do smtpmail.el have to implement a
> 'downcase-ascii' function itself?
Chong Yidong has fixed some similar issues in smtpmail.el using
with-case-table / ascii-case-table, see
http://thread.gmane.org/gmane.emacs.gnus.general/64489/focus=64496
See <http://thread.gmane.org/gmane.emacs.devel/68859> for the quite
long discussion about this problem (Subject: ... Locale Dependent
Downcasing in smtpmail). Oh, know I notice that
<yazicivo@ttnet.net.tr> reported this problem, so I'd guess it has
been fixed by Chong Yidong's change.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2008-01-12 12:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87ps6t71t9.fsf@ttnet.net.tr>
2008-01-12 10:39 ` downcase'ing wrt locale in smtpmail.el Simon Josefsson
2008-01-12 12:48 ` Reiner Steib [this message]
2008-01-14 14:02 ` Simon Josefsson
2008-01-13 8:34 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v9ir1ztdjp.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=emacs-pretest-bug@gnu.org \
--cc=emacs-snapshot@packages.debian.org \
--cc=simon@josefsson.org \
--cc=yazicivo@ttnet.net.tr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.