From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: [yazicivo@ttnet.net.tr: Locale Dependent Downcasing in smtpmail] Date: Sat, 07 Apr 2007 11:03:25 -0400 Message-ID: <876488mdky.fsf@stupidchicken.com> References: <87wt0uhee5.fsf@ttnet.net.tr> <873b3hssyt.fsf@mocca.josefsson.org> <87y7l9608n.fsf@ttnet.net.tr> <87ircdh13m.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175958241 10901 80.91.229.12 (7 Apr 2007 15:04:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Apr 2007 15:04:01 +0000 (UTC) Cc: handa@m17n.org, rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 07 17:03:44 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 1HaCS6-0008Lc-Mh for ged-emacs-devel@m.gmane.org; Sat, 07 Apr 2007 17:03:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HaCVi-0006Qh-2E for ged-emacs-devel@m.gmane.org; Sat, 07 Apr 2007 11:07:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HaCVe-0006QH-Qd for emacs-devel@gnu.org; Sat, 07 Apr 2007 11:07:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HaCVd-0006N1-Nz for emacs-devel@gnu.org; Sat, 07 Apr 2007 11:07:21 -0400 Original-Received: from south-station-annex.mit.edu ([18.72.1.2]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HaCS1-0002vk-Bl; Sat, 07 Apr 2007 11:03:37 -0400 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id l37F3YpD006792; Sat, 7 Apr 2007 11:03:34 -0400 (EDT) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by central-city-carrier-station.mit.edu (8.13.6/8.9.2) with ESMTP id l37F3QOh002367; Sat, 7 Apr 2007 11:03:29 -0400 (EDT) Original-Received: from localhost (SYDNEYPACIFIC-SIXTY-ONE.MIT.EDU [18.95.5.61]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id l37F3PFV012228; Sat, 7 Apr 2007 11:03:25 -0400 (EDT) Original-Received: from cyd by localhost with local (Exim 3.36 #1 (Debian)) id 1HaCRp-0000pK-00; Sat, 07 Apr 2007 11:03:25 -0400 In-Reply-To: (Eli Zaretskii's message of "Sat\, 07 Apr 2007 12\:18\:16 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: 0 X-detected-kernel: Solaris 9.1 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:69168 Archived-At: Eli Zaretskii writes: >> From: Richard Stallman >> CC: handa@m17n.org, emacs-devel@gnu.org >> Date: Fri, 06 Apr 2007 15:47:35 -0400 >> >> ??? I'm probably missing something: what other characters would be >> changed by using standard-case-table? AFAIK, it is set up to change >> case only for letters from A to Z; see casetab.c:init_casetab_once. >> The letters A to Z appear in many Latin-x character sets, so A to Z >> does not imply US ASCII. >> >> During normal execution, standard-case-table handles all the alphabets >> that have a case distinction. If ascii-case-table is a copy made >> after standard-case-table is initialized, it will handle them all too. > > Sorry, I still don't understand. casetab.c explicitly sets up > standard-case-table to convert only A-Z. Could you please point out a > character outside this range whose case would be changed by using > standard-case-table, e.g. in the Latin-1 alphabet? To be precise, characters.el later adds Latin and other characters to this standard case table. The Lisp variable ascii-case-table makes a copy of the standard case table before all this work is done. (BTW, Emacs' default case table is internally named Vascii_case_table in casetab.c. This variable name is misleading because this case table gets updated with non-ascii information with impunity. So we might want to rename this C variable to something more appropriate (after the release).)