From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Kevin Rodgers <kevin.d.rodgers@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: alphabets resp. locales
Date: Fri, 13 Aug 2010 08:22:55 +0200 [thread overview]
Message-ID: <4C64E4BF.4050103@easy-emacs.de> (raw)
In-Reply-To: <i42cn6$bls$1@dough.gmane.org>
Am 13.08.2010 05:04, schrieb Kevin Rodgers:
> Andreas Röhler wrote:
>>
>> 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.
>
> I don't know how to map the locale/language to a character set (possibly
> via
> a coding system), but locale-language-names looks promising.
>
> Once that's done, here's a start:
>
> (map-charset-chars (lambda (range arg)
> (let ((char (car range)))
> (while (<= char (cdr range))
> (when (string-match "[[:alpha:]]"
> (char-to-string char))
> (print (char-to-string char)))
> (setq char (1+ char)))))
> character-set) ; e.g. iso-8859-1
>
Thats interesting, however, these iso-sets cover more than one language,
ie output is a comprehension of several alphabets and others signs.
Needed alphabet to construct and retrieve filenames from it, storing
there regexps relating to word-beginnings.
Thougt at reading keyboard layouts meanwhile, but assume they also
deliver more than just a specific alphabet.
For the moment it's done.
Thanks.
Andreas
--
https://code.launchpad.net/~a-roehler/python-mode
https://code.launchpad.net/s-x-emacs-werkstatt/
next prev parent reply other threads:[~2010-08-13 6:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-11 7:51 alphabets resp. locales Andreas Röhler
2010-08-11 11:31 ` Peter Dyballa
2010-08-11 11:56 ` Andreas Röhler
2010-08-11 13:05 ` Peter Dyballa
2010-08-11 13:48 ` Andreas Röhler
2010-08-11 14:52 ` Peter Dyballa
2010-08-13 3:04 ` Kevin Rodgers
2010-08-13 6:22 ` Andreas Röhler [this message]
[not found] <mailman.1.1281513191.2982.help-gnu-emacs@gnu.org>
2010-08-11 15:45 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C64E4BF.4050103@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=help-gnu-emacs@gnu.org \
--cc=kevin.d.rodgers@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.