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: Tue, 03 Apr 2007 17:40:23 -0400 Message-ID: References: <87ejn2jsnu.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 1175636641 16759 80.91.229.12 (3 Apr 2007 21:44:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Apr 2007 21:44:01 +0000 (UTC) Cc: 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 Tue Apr 03 23:43:52 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 1HYqn9-0000VY-4z for ged-emacs-devel@m.gmane.org; Tue, 03 Apr 2007 23:43:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYqqJ-0007cG-7h for ged-emacs-devel@m.gmane.org; Tue, 03 Apr 2007 17:47:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HYqpN-0006p2-JH for emacs-devel@gnu.org; Tue, 03 Apr 2007 17:46:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HYqpN-0006oN-26 for emacs-devel@gnu.org; Tue, 03 Apr 2007 17:46:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYqpM-0006o5-Pe for emacs-devel@gnu.org; Tue, 03 Apr 2007 17:46:08 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HYqm5-0003Bq-7T for emacs-devel@gnu.org; Tue, 03 Apr 2007 17:42:45 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HYqjn-0008GZ-Bp; Tue, 03 Apr 2007 17:40:23 -0400 In-reply-to: <87ejn2jsnu.fsf@stupidchicken.com> (message from Chong Yidong on Mon, 02 Apr 2007 18:52:21 -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:69021 Archived-At: I wonder if there's a better way to do this. Maybe we can define an ascii case table that doesn't get overwritten by the locale; then code like the above can bind to this case table temporarily (or we can define a downcase-ascii function that does such a thing). That seems like a good approach. It should be just as simple as the hack that is proposed, and much faster. (I do not know whether the speed of that code matters.)