[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
alphabets resp. locales
From: |
Andreas Röhler |
Subject: |
alphabets resp. locales |
Date: |
Wed, 11 Aug 2010 09:51:36 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 |
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))
- alphabets resp. locales,
Andreas Röhler <=
Re: alphabets resp. locales, Kevin Rodgers, 2010/08/12