From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [yazicivo@ttnet.net.tr: Locale Dependent Downcasing in smtpmail] Date: Wed, 04 Apr 2007 10:02:31 -0400 Message-ID: References: <87wt0uhee5.fsf@ttnet.net.tr> <873b3hssyt.fsf@mocca.josefsson.org> <87y7l9608n.fsf@ttnet.net.tr> <87ircdh13m.fsf@stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1175695656 27351 80.91.229.12 (4 Apr 2007 14:07:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Apr 2007 14:07:36 +0000 (UTC) Cc: simon@josefsson.org, eliz@gnu.org, yazicivo@ttnet.net.tr, emacs-devel@gnu.org, handa@m17n.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 04 16:07:24 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HZ68r-0000R7-Ad for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2007 16:07:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZ6C7-0005Vj-Bn for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2007 10:10:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HZ69l-0003SO-KG for emacs-devel@gnu.org; Wed, 04 Apr 2007 10:08:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HZ69k-0003Ru-Ti for emacs-devel@gnu.org; Wed, 04 Apr 2007 10:08:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZ69k-0003Rq-Mn for emacs-devel@gnu.org; Wed, 04 Apr 2007 10:08:12 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HZ66T-0006nq-Td for emacs-devel@gnu.org; Wed, 04 Apr 2007 10:04:49 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HZ64F-0002gZ-9i; Wed, 04 Apr 2007 10:02:31 -0400 In-reply-to: <87ircdh13m.fsf@stupidchicken.com> (message from Chong Yidong on Tue, 03 Apr 2007 12:30:37 -0400) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69050 Archived-At: + (defun downcase-ascii (string) + "Convert ASCII argument to lower case and return that. This seems to be a good solution. The general macro would also be ok. Using "ASCII" for the name and doc string are somewhat misleading, since this is not limited to ASCII. For instance, it works fine for Latin 1 also. What this function does is downcase in the most standard way.