From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: alphabets resp. locales Date: Wed, 11 Aug 2010 09:51:36 +0200 Message-ID: <4C625688.6080600@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1281513235 10252 80.91.229.12 (11 Aug 2010 07:53:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Aug 2010 07:53:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 11 09:53:50 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oj68B-000757-SP for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Aug 2010 09:53:48 +0200 Original-Received: from localhost ([127.0.0.1]:60504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oj68B-0005ok-AT for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Aug 2010 03:53:47 -0400 Original-Received: from [140.186.70.92] (port=45292 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oj67Z-0005n3-CB for help-gnu-emacs@gnu.org; Wed, 11 Aug 2010 03:53:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oj67W-0008S9-VY for help-gnu-emacs@gnu.org; Wed, 11 Aug 2010 03:53:09 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.8]:54039) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oj67W-0008Rg-Hv for help-gnu-emacs@gnu.org; Wed, 11 Aug 2010 03:53:06 -0400 Original-Received: from [192.168.178.27] (brln-4db9e6cb.pool.mediaWays.net [77.185.230.203]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0LqYLt-1PN5hO09pJ-00ebTU; Wed, 11 Aug 2010 09:53:03 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 X-Provags-ID: V02:K0:sau57E/YejaBov+slzhfQHS7IHF8mTDiarFt+bTRQ+p u6isWPTlM78G/+vxgUt4CdxygqDg15siEAllvfhmCBT0uxiu7X Dji09raOoqHXn5e+thLXWWZz0wNnmN8RZht+HO7tCqD2kVM4n9 T4w1Ad7bAA99cGe7CTs70gYWijebvVZZis8sv/DLnSGkToogEH DlXNJ31zc/xKysfDPvKS4bKZxMgZe8rbn/oX1sNuF0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74533 Archived-At: Hi, is there a way to get the chars of alphabets with resp. to locales? A general way to get all chars of the french alphabet for example? Below some work-around for the german alphabet. Comments welcome Andreas -- https://code.launchpad.net/~a-roehler/python-mode https://code.launchpad.net/s-x-emacs-werkstatt/ ;;;;;;;;;; (defun german-alphabet () "Returns chars of german alphabet. " (interactive) (let (gebundene-staebe) (loop for i upfrom 97 to 122 do (setq gebundene-staebe (concat gebundene-staebe (format "%c" i)))) (loop for i upfrom 65 to 90 do (setq gebundene-staebe (concat gebundene-staebe (format "%c" i)))) (setq gebundene-staebe (concat gebundene-staebe "äöüÄÖÜß")) (when (interactive-p) (message "%s" gebundene-staebe)) gebundene-staebe))