From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Case mapping of sharp s Date: Sun, 15 Nov 2009 15:29:18 +0100 Message-ID: <19200.4158.380820.761685@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1258295394 3620 80.91.229.12 (15 Nov 2009 14:29:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Nov 2009 14:29:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 15 15:29:48 2009 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 1N9g6t-0000hs-2A for ged-emacs-devel@m.gmane.org; Sun, 15 Nov 2009 15:29:47 +0100 Original-Received: from localhost ([127.0.0.1]:54465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9g6s-0005fE-I3 for ged-emacs-devel@m.gmane.org; Sun, 15 Nov 2009 09:29:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N9g6m-0005es-EU for emacs-devel@gnu.org; Sun, 15 Nov 2009 09:29:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N9g6h-0005e3-1G for emacs-devel@gnu.org; Sun, 15 Nov 2009 09:29:39 -0500 Original-Received: from [199.232.76.173] (port=43012 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9g6g-0005e0-So for emacs-devel@gnu.org; Sun, 15 Nov 2009 09:29:34 -0500 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:45474) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N9g6g-0001Zc-Cp for emacs-devel@gnu.org; Sun, 15 Nov 2009 09:29:34 -0500 Original-Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1iwww1.kph.uni-mainz.de (8.14.0/8.13.4) with ESMTP id nAFETIWC027089 for ; Sun, 15 Nov 2009 15:29:18 +0100 Original-Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.3/8.14.2) with ESMTP id nAFETICi005354; Sun, 15 Nov 2009 15:29:18 +0100 Original-Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.3/8.14.3/Submit) id nAFETIHi005351; Sun, 15 Nov 2009 15:29:18 +0100 X-Mailer: VM 8.0.12 under 23.1.1 (x86_64-pc-linux-gnu) X-MIME-Autoconverted: from 8bit to quoted-printable by a1iwww1.kph.uni-mainz.de id nAFETIWC027089 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 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:117003 Archived-At: In Unicode since version 5.1.0 the U+1E9E code point is assigned to "LATIN CAPITAL LETTER SHARP S". Would it be possible to add a mapping from this to the lower case =C3=9F, as in the patch below? However, I've noticed that similar mappings for Turkish =C4=B1 (dotless i= ) and =C4=B0 (I with dot) were commented out [1]. Is it still so that such = a change would "make searches slow", as stated in the comment? Ulrich [1] --- emacs/lisp/international/characters.el +++ emacs/lisp/international/characters.el @@ -589,6 +589,11 @@ (or (<=3D c #x1e94) (>=3D c #x1ea0)) (set-case-syntax-pair c (1+ c) tbl)) (setq c (1+ c))) + ;; U+1E9E LATIN CAPITAL LETTER SHARP S + ;; Note: In regular German orthography the sharp s has no upper case + ;; form, but is written as double S instead. Therefore the inverse + ;; mapping from lower to upper case shouldn't be done by default. + (set-downcase-syntax ?=E1=BA=9E ?=C3=9F tbl) =20 ;; Greek (modify-category-entry '(#x0370 . #x03ff) ?g)